diff --git a/cache/api.github.com.json b/cache/api.github.com.json index f0b4aa0..bc84bad 100644 --- a/cache/api.github.com.json +++ b/cache/api.github.com.json @@ -74,7 +74,10 @@ "name": "packages", "description": "Manage packages for authenticated users and organizations." }, - { "name": "projects", "description": "Interact with GitHub Projects." }, + { + "name": "projects-classic", + "description": "Interact with GitHub Projects (classic)." + }, { "name": "pulls", "description": "Interact with GitHub Pull Requests." }, { "name": "rate-limit", @@ -136,6 +139,10 @@ { "name": "campaigns", "description": "Endpoints to manage campaigns via the REST API." + }, + { + "name": "projects", + "description": "Endpoints to manage Projects using the REST API." } ], "servers": [{ "url": "https://api.github.com" }], @@ -5674,13 +5681,13 @@ } } }, - "issues-assigned": { + "issue-dependencies-blocked-by-added": { "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was assigned to a user.", - "operationId": "issues/assigned", + "summary": "This event occurs when there is activity relating to issue dependencies, such as blocking or blocked-by relationships.\n\nFor activity relating to issues more generally, use the `issues` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permissions.", + "description": "An issue was marked as blocked by another issue.", + "operationId": "issue-dependencies/blocked-by-added", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issue-dependencies" }, "parameters": [ { @@ -5731,7 +5738,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-assigned" + "$ref": "#/components/schemas/webhook-issue-dependencies-blocked-by-added" } } } @@ -5744,18 +5751,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "issues", + "subcategory": "issue-dependencies", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "issues-closed": { + "issue-dependencies-blocked-by-removed": { "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was closed.", - "operationId": "issues/closed", + "summary": "This event occurs when there is activity relating to issue dependencies, such as blocking or blocked-by relationships.\n\nFor activity relating to issues more generally, use the `issues` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permissions.", + "description": "The blocked by relationship between an issue and another issue was removed.", + "operationId": "issue-dependencies/blocked-by-removed", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issue-dependencies" }, "parameters": [ { @@ -5805,7 +5812,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-issues-closed" } + "schema": { + "$ref": "#/components/schemas/webhook-issue-dependencies-blocked-by-removed" + } } } }, @@ -5817,18 +5826,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "issues", + "subcategory": "issue-dependencies", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "issues-deleted": { + "issue-dependencies-blocking-added": { "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was deleted.", - "operationId": "issues/deleted", + "summary": "This event occurs when there is activity relating to issue dependencies, such as blocking or blocked-by relationships.\n\nFor activity relating to issues more generally, use the `issues` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permissions.", + "description": "An issue was marked as blocking another issue.", + "operationId": "issue-dependencies/blocking-added", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issue-dependencies" }, "parameters": [ { @@ -5879,7 +5888,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-deleted" + "$ref": "#/components/schemas/webhook-issue-dependencies-blocking-added" } } } @@ -5892,18 +5901,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "issues", + "subcategory": "issue-dependencies", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "issues-demilestoned": { + "issue-dependencies-blocking-removed": { "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was removed from a milestone.", - "operationId": "issues/demilestoned", + "summary": "This event occurs when there is activity relating to issue dependencies, such as blocking or blocked-by relationships.\n\nFor activity relating to issues more generally, use the `issues` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permissions.", + "description": "The blocking relationship between an issue and another issue was removed.", + "operationId": "issue-dependencies/blocking-removed", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issue-dependencies" }, "parameters": [ { @@ -5954,7 +5963,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-demilestoned" + "$ref": "#/components/schemas/webhook-issue-dependencies-blocking-removed" } } } @@ -5967,16 +5976,16 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "issues", + "subcategory": "issue-dependencies", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "issues-edited": { + "issues-assigned": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "The title or body on an issue was edited.", - "operationId": "issues/edited", + "description": "An issue was assigned to a user.", + "operationId": "issues/assigned", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -6028,7 +6037,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-issues-edited" } + "schema": { + "$ref": "#/components/schemas/webhook-issues-assigned" + } } } }, @@ -6045,11 +6056,11 @@ } } }, - "issues-labeled": { + "issues-closed": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A label was added to an issue.", - "operationId": "issues/labeled", + "description": "An issue was closed.", + "operationId": "issues/closed", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -6101,9 +6112,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-issues-labeled" - } + "schema": { "$ref": "#/components/schemas/webhook-issues-closed" } } } }, @@ -6120,11 +6129,11 @@ } } }, - "issues-locked": { + "issues-deleted": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/communities/moderating-comments-and-conversations/locking-conversations).\"", - "operationId": "issues/locked", + "description": "An issue was deleted.", + "operationId": "issues/deleted", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -6176,7 +6185,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-issues-locked" } + "schema": { + "$ref": "#/components/schemas/webhook-issues-deleted" + } } } }, @@ -6193,11 +6204,11 @@ } } }, - "issues-milestoned": { + "issues-demilestoned": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was added to a milestone.", - "operationId": "issues/milestoned", + "description": "An issue was removed from a milestone.", + "operationId": "issues/demilestoned", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -6250,7 +6261,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-milestoned" + "$ref": "#/components/schemas/webhook-issues-demilestoned" } } } @@ -6268,11 +6279,11 @@ } } }, - "issues-opened": { + "issues-edited": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was created. When a closed issue is reopened, the action will be `reopened` instead.", - "operationId": "issues/opened", + "description": "The title or body on an issue was edited.", + "operationId": "issues/edited", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -6324,7 +6335,7 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-issues-opened" } + "schema": { "$ref": "#/components/schemas/webhook-issues-edited" } } } }, @@ -6341,11 +6352,11 @@ } } }, - "issues-pinned": { + "issues-labeled": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was pinned to a repository. For more information, see \"[Pinning an issue to your repository](https://docs.github.com/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository).\"", - "operationId": "issues/pinned", + "description": "A label was added to an issue.", + "operationId": "issues/labeled", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -6397,7 +6408,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-issues-pinned" } + "schema": { + "$ref": "#/components/schemas/webhook-issues-labeled" + } } } }, @@ -6414,11 +6427,11 @@ } } }, - "issues-reopened": { + "issues-locked": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A closed issue was reopened.", - "operationId": "issues/reopened", + "description": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/communities/moderating-comments-and-conversations/locking-conversations).\"", + "operationId": "issues/locked", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -6470,9 +6483,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-issues-reopened" - } + "schema": { "$ref": "#/components/schemas/webhook-issues-locked" } } } }, @@ -6489,11 +6500,11 @@ } } }, - "issues-transferred": { + "issues-milestoned": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was transferred to another repository. For more information, see \"[Transferring an issue to another repository](https://docs.github.com/issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository).\"", - "operationId": "issues/transferred", + "description": "An issue was added to a milestone.", + "operationId": "issues/milestoned", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -6546,7 +6557,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-transferred" + "$ref": "#/components/schemas/webhook-issues-milestoned" } } } @@ -6564,11 +6575,11 @@ } } }, - "issues-typed": { + "issues-opened": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue type was added to an issue.", - "operationId": "issues/typed", + "description": "An issue was created. When a closed issue is reopened, the action will be `reopened` instead.", + "operationId": "issues/opened", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -6620,7 +6631,7 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-issues-typed" } + "schema": { "$ref": "#/components/schemas/webhook-issues-opened" } } } }, @@ -6637,11 +6648,11 @@ } } }, - "issues-unassigned": { + "issues-pinned": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A user was unassigned from an issue.", - "operationId": "issues/unassigned", + "description": "An issue was pinned to a repository. For more information, see \"[Pinning an issue to your repository](https://docs.github.com/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository).\"", + "operationId": "issues/pinned", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -6693,9 +6704,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-issues-unassigned" - } + "schema": { "$ref": "#/components/schemas/webhook-issues-pinned" } } } }, @@ -6712,11 +6721,11 @@ } } }, - "issues-unlabeled": { + "issues-reopened": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A label was removed from an issue.", - "operationId": "issues/unlabeled", + "description": "A closed issue was reopened.", + "operationId": "issues/reopened", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -6769,7 +6778,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unlabeled" + "$ref": "#/components/schemas/webhook-issues-reopened" } } } @@ -6787,11 +6796,11 @@ } } }, - "issues-unlocked": { + "issues-transferred": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/communities/moderating-comments-and-conversations/locking-conversations).\"", - "operationId": "issues/unlocked", + "description": "An issue was transferred to another repository. For more information, see \"[Transferring an issue to another repository](https://docs.github.com/issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository).\"", + "operationId": "issues/transferred", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -6844,7 +6853,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unlocked" + "$ref": "#/components/schemas/webhook-issues-transferred" } } } @@ -6862,11 +6871,11 @@ } } }, - "issues-unpinned": { + "issues-typed": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was unpinned from a repository. For more information, see \"[Pinning an issue to your repository](https://docs.github.com/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository).\"", - "operationId": "issues/unpinned", + "description": "An issue type was added to an issue.", + "operationId": "issues/typed", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -6918,9 +6927,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-issues-unpinned" - } + "schema": { "$ref": "#/components/schemas/webhook-issues-typed" } } } }, @@ -6937,11 +6944,11 @@ } } }, - "issues-untyped": { + "issues-unassigned": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue type was removed from an issue.", - "operationId": "issues/untyped", + "description": "A user was unassigned from an issue.", + "operationId": "issues/unassigned", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -6994,7 +7001,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-untyped" + "$ref": "#/components/schemas/webhook-issues-unassigned" } } } @@ -7012,86 +7019,13 @@ } } }, - "label-created": { - "post": { - "summary": "This event occurs when there is activity relating to labels. For more information, see \"[Managing labels](https://docs.github.com/issues/using-labels-and-milestones-to-track-work/managing-labels).\" For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#label) or \"[Labels](https://docs.github.com/rest/issues/labels)\" in the REST API documentation.\n\nIf you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "A label was created.", - "operationId": "label/created", - "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#label" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-label-created" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "label", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "label-deleted": { + "issues-unlabeled": { "post": { - "summary": "This event occurs when there is activity relating to labels. For more information, see \"[Managing labels](https://docs.github.com/issues/using-labels-and-milestones-to-track-work/managing-labels).\" For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#label) or \"[Labels](https://docs.github.com/rest/issues/labels)\" in the REST API documentation.\n\nIf you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "A label was deleted.", - "operationId": "label/deleted", + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "A label was removed from an issue.", + "operationId": "issues/unlabeled", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#label" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, "parameters": [ { @@ -7141,7 +7075,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-label-deleted" } + "schema": { + "$ref": "#/components/schemas/webhook-issues-unlabeled" + } } } }, @@ -7153,18 +7089,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "label", + "subcategory": "issues", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "label-edited": { + "issues-unlocked": { "post": { - "summary": "This event occurs when there is activity relating to labels. For more information, see \"[Managing labels](https://docs.github.com/issues/using-labels-and-milestones-to-track-work/managing-labels).\" For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#label) or \"[Labels](https://docs.github.com/rest/issues/labels)\" in the REST API documentation.\n\nIf you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "A label's name, description, or color was changed.", - "operationId": "label/edited", + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/communities/moderating-comments-and-conversations/locking-conversations).\"", + "operationId": "issues/unlocked", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#label" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, "parameters": [ { @@ -7214,7 +7150,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-label-edited" } + "schema": { + "$ref": "#/components/schemas/webhook-issues-unlocked" + } } } }, @@ -7226,18 +7164,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "label", + "subcategory": "issues", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "marketplace-purchase-cancelled": { + "issues-unpinned": { "post": { - "summary": "This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see \"[GitHub Marketplace](https://docs.github.com/marketplace).\" For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#marketplacelisting) or \"[GitHub Marketplace](https://docs.github.com/rest/apps/marketplace)\" in the REST API documentation.", - "description": "Someone cancelled a GitHub Marketplace plan, and the last billing cycle has ended. The change will take effect on the account immediately.", - "operationId": "marketplace-purchase/cancelled", + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "An issue was unpinned from a repository. For more information, see \"[Pinning an issue to your repository](https://docs.github.com/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository).\"", + "operationId": "issues/unpinned", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#marketplace_purchase" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, "parameters": [ { @@ -7288,7 +7226,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-marketplace-purchase-cancelled" + "$ref": "#/components/schemas/webhook-issues-unpinned" } } } @@ -7301,18 +7239,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "marketplace_purchase", - "supported-webhook-types": ["marketplace"] + "subcategory": "issues", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "marketplace-purchase-changed": { + "issues-untyped": { "post": { - "summary": "This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see \"[GitHub Marketplace](https://docs.github.com/marketplace).\" For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#marketplacelisting) or \"[GitHub Marketplace](https://docs.github.com/rest/apps/marketplace)\" in the REST API documentation.", - "description": "Someone upgraded or downgraded a GitHub Marketplace plan, and the last billing cycle has ended. The change will take effect on the account immediately.", - "operationId": "marketplace-purchase/changed", + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "An issue type was removed from an issue.", + "operationId": "issues/untyped", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#marketplace_purchase" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, "parameters": [ { @@ -7363,7 +7301,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-marketplace-purchase-changed" + "$ref": "#/components/schemas/webhook-issues-untyped" } } } @@ -7376,18 +7314,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "marketplace_purchase", - "supported-webhook-types": ["marketplace"] + "subcategory": "issues", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "marketplace-purchase-pending-change": { + "label-created": { "post": { - "summary": "This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see \"[GitHub Marketplace](https://docs.github.com/marketplace).\" For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#marketplacelisting) or \"[GitHub Marketplace](https://docs.github.com/rest/apps/marketplace)\" in the REST API documentation.", - "description": "Someone downgraded or cancelled a GitHub Marketplace plan. The new plan or cancellation will take effect at the end of the current billing cycle. When the change takes effect, the `changed` or `cancelled` event will be sent.", - "operationId": "marketplace-purchase/pending-change", + "summary": "This event occurs when there is activity relating to labels. For more information, see \"[Managing labels](https://docs.github.com/issues/using-labels-and-milestones-to-track-work/managing-labels).\" For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#label) or \"[Labels](https://docs.github.com/rest/issues/labels)\" in the REST API documentation.\n\nIf you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "description": "A label was created.", + "operationId": "label/created", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#marketplace_purchase" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#label" }, "parameters": [ { @@ -7437,9 +7375,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-marketplace-purchase-pending-change" - } + "schema": { "$ref": "#/components/schemas/webhook-label-created" } } } }, @@ -7451,18 +7387,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "marketplace_purchase", - "supported-webhook-types": ["marketplace"] + "subcategory": "label", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "marketplace-purchase-pending-change-cancelled": { + "label-deleted": { "post": { - "summary": "This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see \"[GitHub Marketplace](https://docs.github.com/marketplace).\" For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#marketplacelisting) or \"[GitHub Marketplace](https://docs.github.com/rest/apps/marketplace)\" in the REST API documentation.", - "description": "Someone cancelled a pending change to a GitHub Marketplace plan. Pending changes include plan cancellations and downgrades that will take effect at the end of a billing cycle.", - "operationId": "marketplace-purchase/pending-change-cancelled", + "summary": "This event occurs when there is activity relating to labels. For more information, see \"[Managing labels](https://docs.github.com/issues/using-labels-and-milestones-to-track-work/managing-labels).\" For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#label) or \"[Labels](https://docs.github.com/rest/issues/labels)\" in the REST API documentation.\n\nIf you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "description": "A label was deleted.", + "operationId": "label/deleted", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#marketplace_purchase" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#label" }, "parameters": [ { @@ -7512,9 +7448,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-marketplace-purchase-pending-change-cancelled" - } + "schema": { "$ref": "#/components/schemas/webhook-label-deleted" } } } }, @@ -7526,18 +7460,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "marketplace_purchase", - "supported-webhook-types": ["marketplace"] + "subcategory": "label", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "marketplace-purchase-purchased": { + "label-edited": { "post": { - "summary": "This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see \"[GitHub Marketplace](https://docs.github.com/marketplace).\" For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#marketplacelisting) or \"[GitHub Marketplace](https://docs.github.com/rest/apps/marketplace)\" in the REST API documentation.", - "description": "Someone purchased a GitHub Marketplace plan. The change will take effect on the account immediately.", - "operationId": "marketplace-purchase/purchased", + "summary": "This event occurs when there is activity relating to labels. For more information, see \"[Managing labels](https://docs.github.com/issues/using-labels-and-milestones-to-track-work/managing-labels).\" For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#label) or \"[Labels](https://docs.github.com/rest/issues/labels)\" in the REST API documentation.\n\nIf you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "description": "A label's name, description, or color was changed.", + "operationId": "label/edited", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#marketplace_purchase" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#label" }, "parameters": [ { @@ -7587,9 +7521,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-marketplace-purchase-purchased" - } + "schema": { "$ref": "#/components/schemas/webhook-label-edited" } } } }, @@ -7601,18 +7533,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "marketplace_purchase", - "supported-webhook-types": ["marketplace"] + "subcategory": "label", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "member-added": { + "marketplace-purchase-cancelled": { "post": { - "summary": "This event occurs when there is activity relating to collaborators in a repository. For more information, see \"[Adding outside collaborators to repositories in your organization](https://docs.github.com/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization).\" For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#repositorycollaboratorconnection) or \"[Collaborators](https://docs.github.com/rest/collaborators/collaborators)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "A GitHub user accepted an invitation to a repository.", - "operationId": "member/added", + "summary": "This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see \"[GitHub Marketplace](https://docs.github.com/marketplace).\" For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#marketplacelisting) or \"[GitHub Marketplace](https://docs.github.com/rest/apps/marketplace)\" in the REST API documentation.", + "description": "Someone cancelled a GitHub Marketplace plan, and the last billing cycle has ended. The change will take effect on the account immediately.", + "operationId": "marketplace-purchase/cancelled", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#member" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#marketplace_purchase" }, "parameters": [ { @@ -7662,7 +7594,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-member-added" } + "schema": { + "$ref": "#/components/schemas/webhook-marketplace-purchase-cancelled" + } } } }, @@ -7674,23 +7608,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "member", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] + "subcategory": "marketplace_purchase", + "supported-webhook-types": ["marketplace"] } } }, - "member-edited": { + "marketplace-purchase-changed": { "post": { - "summary": "This event occurs when there is activity relating to collaborators in a repository. For more information, see \"[Adding outside collaborators to repositories in your organization](https://docs.github.com/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization).\" For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#repositorycollaboratorconnection) or \"[Collaborators](https://docs.github.com/rest/collaborators/collaborators)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "Permissions were changed for a collaborator on a repository.", - "operationId": "member/edited", + "summary": "This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see \"[GitHub Marketplace](https://docs.github.com/marketplace).\" For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#marketplacelisting) or \"[GitHub Marketplace](https://docs.github.com/rest/apps/marketplace)\" in the REST API documentation.", + "description": "Someone upgraded or downgraded a GitHub Marketplace plan, and the last billing cycle has ended. The change will take effect on the account immediately.", + "operationId": "marketplace-purchase/changed", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#member" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#marketplace_purchase" }, "parameters": [ { @@ -7740,7 +7669,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-member-edited" } + "schema": { + "$ref": "#/components/schemas/webhook-marketplace-purchase-changed" + } } } }, @@ -7752,23 +7683,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "member", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] + "subcategory": "marketplace_purchase", + "supported-webhook-types": ["marketplace"] } } }, - "member-removed": { + "marketplace-purchase-pending-change": { "post": { - "summary": "This event occurs when there is activity relating to collaborators in a repository. For more information, see \"[Adding outside collaborators to repositories in your organization](https://docs.github.com/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization).\" For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#repositorycollaboratorconnection) or \"[Collaborators](https://docs.github.com/rest/collaborators/collaborators)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "A collaborator was removed from a repository.", - "operationId": "member/removed", + "summary": "This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see \"[GitHub Marketplace](https://docs.github.com/marketplace).\" For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#marketplacelisting) or \"[GitHub Marketplace](https://docs.github.com/rest/apps/marketplace)\" in the REST API documentation.", + "description": "Someone downgraded or cancelled a GitHub Marketplace plan. The new plan or cancellation will take effect at the end of the current billing cycle. When the change takes effect, the `changed` or `cancelled` event will be sent.", + "operationId": "marketplace-purchase/pending-change", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#member" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#marketplace_purchase" }, "parameters": [ { @@ -7819,7 +7745,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-member-removed" + "$ref": "#/components/schemas/webhook-marketplace-purchase-pending-change" } } } @@ -7832,23 +7758,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "member", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] + "subcategory": "marketplace_purchase", + "supported-webhook-types": ["marketplace"] } } }, - "membership-added": { + "marketplace-purchase-pending-change-cancelled": { "post": { - "summary": "This event occurs when there is activity relating to team membership. For more information, see \"[About teams](https://docs.github.com/organizations/organizing-members-into-teams/about-teams).\" For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#team) or \"[Team members](https://docs.github.com/rest/teams/members)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "An organization member was added to a team.", - "operationId": "membership/added", + "summary": "This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see \"[GitHub Marketplace](https://docs.github.com/marketplace).\" For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#marketplacelisting) or \"[GitHub Marketplace](https://docs.github.com/rest/apps/marketplace)\" in the REST API documentation.", + "description": "Someone cancelled a pending change to a GitHub Marketplace plan. Pending changes include plan cancellations and downgrades that will take effect at the end of a billing cycle.", + "operationId": "marketplace-purchase/pending-change-cancelled", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#membership" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#marketplace_purchase" }, "parameters": [ { @@ -7899,7 +7820,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-membership-added" + "$ref": "#/components/schemas/webhook-marketplace-purchase-pending-change-cancelled" } } } @@ -7912,18 +7833,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "membership", - "supported-webhook-types": ["organization", "business", "app"] + "subcategory": "marketplace_purchase", + "supported-webhook-types": ["marketplace"] } } }, - "membership-removed": { + "marketplace-purchase-purchased": { "post": { - "summary": "This event occurs when there is activity relating to team membership. For more information, see \"[About teams](https://docs.github.com/organizations/organizing-members-into-teams/about-teams).\" For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#team) or \"[Team members](https://docs.github.com/rest/teams/members)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "An organization member was removed from a team.", - "operationId": "membership/removed", + "summary": "This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see \"[GitHub Marketplace](https://docs.github.com/marketplace).\" For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#marketplacelisting) or \"[GitHub Marketplace](https://docs.github.com/rest/apps/marketplace)\" in the REST API documentation.", + "description": "Someone purchased a GitHub Marketplace plan. The change will take effect on the account immediately.", + "operationId": "marketplace-purchase/purchased", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#membership" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#marketplace_purchase" }, "parameters": [ { @@ -7974,7 +7895,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-membership-removed" + "$ref": "#/components/schemas/webhook-marketplace-purchase-purchased" } } } @@ -7987,19 +7908,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "membership", - "supported-webhook-types": ["organization", "business", "app"] + "subcategory": "marketplace_purchase", + "supported-webhook-types": ["marketplace"] } } }, - "merge-group-checks-requested": { + "member-added": { "post": { - "summary": "This event occurs when there is activity relating to a merge group in a merge queue. For more information, see \"[Managing a merge queue](https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Merge queues\" repository permission.", - "description": "Status checks were requested for a merge group. This happens when a merge group is created or added to by the merge queue because a pull request was queued.\n\nWhen you receive this event, you should perform checks on the head SHA and report status back using check runs or commit statuses.", - "operationId": "merge-group/checks-requested", - "tags": ["merge-queue"], + "summary": "This event occurs when there is activity relating to collaborators in a repository. For more information, see \"[Adding outside collaborators to repositories in your organization](https://docs.github.com/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization).\" For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#repositorycollaboratorconnection) or \"[Collaborators](https://docs.github.com/rest/collaborators/collaborators)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "description": "A GitHub user accepted an invitation to a repository.", + "operationId": "member/added", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#merge_group" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#member" }, "parameters": [ { @@ -8049,9 +7969,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-merge-group-checks-requested" - } + "schema": { "$ref": "#/components/schemas/webhook-member-added" } } } }, @@ -8063,19 +7981,23 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "merge_group", - "supported-webhook-types": ["app"] + "subcategory": "member", + "supported-webhook-types": [ + "business", + "repository", + "organization", + "app" + ] } } }, - "merge-group-destroyed": { + "member-edited": { "post": { - "summary": "This event occurs when there is activity relating to a merge group in a merge queue. For more information, see \"[Managing a merge queue](https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Merge queues\" repository permission.", - "description": "The merge queue groups pull requests together to be merged. This event indicates that one of those merge groups was destroyed. This happens when a pull request is removed from the queue: any group containing that pull request is also destroyed.\n\nWhen you receive this event, you may want to cancel any checks that are running on the head SHA to avoid wasting computing resources on a merge group that will not be used.", - "operationId": "merge-group/destroyed", - "tags": ["merge-queue"], + "summary": "This event occurs when there is activity relating to collaborators in a repository. For more information, see \"[Adding outside collaborators to repositories in your organization](https://docs.github.com/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization).\" For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#repositorycollaboratorconnection) or \"[Collaborators](https://docs.github.com/rest/collaborators/collaborators)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "description": "Permissions were changed for a collaborator on a repository.", + "operationId": "member/edited", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#merge_group" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#member" }, "parameters": [ { @@ -8125,9 +8047,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-merge-group-destroyed" - } + "schema": { "$ref": "#/components/schemas/webhook-member-edited" } } } }, @@ -8139,18 +8059,23 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "merge_group", - "supported-webhook-types": ["app"] + "subcategory": "member", + "supported-webhook-types": [ + "business", + "repository", + "organization", + "app" + ] } } }, - "meta-deleted": { + "member-removed": { "post": { - "summary": "This event occurs when there is activity relating to a webhook itself.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Meta\" app permission.", - "description": "The webhook was deleted.", - "operationId": "meta/deleted", + "summary": "This event occurs when there is activity relating to collaborators in a repository. For more information, see \"[Adding outside collaborators to repositories in your organization](https://docs.github.com/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization).\" For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#repositorycollaboratorconnection) or \"[Collaborators](https://docs.github.com/rest/collaborators/collaborators)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "description": "A collaborator was removed from a repository.", + "operationId": "member/removed", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#meta" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#member" }, "parameters": [ { @@ -8200,7 +8125,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-meta-deleted" } + "schema": { + "$ref": "#/components/schemas/webhook-member-removed" + } } } }, @@ -8212,9 +8139,8 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "meta", + "subcategory": "member", "supported-webhook-types": [ - "marketplace", "business", "repository", "organization", @@ -8223,13 +8149,13 @@ } } }, - "milestone-closed": { + "membership-added": { "post": { - "summary": "This event occurs when there is activity relating to milestones. For more information, see \"[About milestones](https://docs.github.com/issues/using-labels-and-milestones-to-track-work/about-milestones).\" For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#milestone) or \"[Milestones](https://docs.github.com/rest/issues/milestones)\" in the REST API documentation.\n\nIf you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", - "description": "A milestone was closed.", - "operationId": "milestone/closed", + "summary": "This event occurs when there is activity relating to team membership. For more information, see \"[About teams](https://docs.github.com/organizations/organizing-members-into-teams/about-teams).\" For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#team) or \"[Team members](https://docs.github.com/rest/teams/members)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "description": "An organization member was added to a team.", + "operationId": "membership/added", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#milestone" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#membership" }, "parameters": [ { @@ -8280,82 +8206,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-milestone-closed" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "milestone", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "milestone-created": { - "post": { - "summary": "This event occurs when there is activity relating to milestones. For more information, see \"[About milestones](https://docs.github.com/issues/using-labels-and-milestones-to-track-work/about-milestones).\" For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#milestone) or \"[Milestones](https://docs.github.com/rest/issues/milestones)\" in the REST API documentation.\n\nIf you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", - "description": "A milestone was created.", - "operationId": "milestone/created", - "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#milestone" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-milestone-created" + "$ref": "#/components/schemas/webhook-membership-added" } } } @@ -8368,18 +8219,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "milestone", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "membership", + "supported-webhook-types": ["organization", "business", "app"] } } }, - "milestone-deleted": { + "membership-removed": { "post": { - "summary": "This event occurs when there is activity relating to milestones. For more information, see \"[About milestones](https://docs.github.com/issues/using-labels-and-milestones-to-track-work/about-milestones).\" For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#milestone) or \"[Milestones](https://docs.github.com/rest/issues/milestones)\" in the REST API documentation.\n\nIf you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", - "description": "A milestone was deleted.", - "operationId": "milestone/deleted", + "summary": "This event occurs when there is activity relating to team membership. For more information, see \"[About teams](https://docs.github.com/organizations/organizing-members-into-teams/about-teams).\" For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#team) or \"[Team members](https://docs.github.com/rest/teams/members)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "description": "An organization member was removed from a team.", + "operationId": "membership/removed", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#milestone" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#membership" }, "parameters": [ { @@ -8430,7 +8281,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-milestone-deleted" + "$ref": "#/components/schemas/webhook-membership-removed" } } } @@ -8443,18 +8294,19 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "milestone", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "membership", + "supported-webhook-types": ["organization", "business", "app"] } } }, - "milestone-edited": { + "merge-group-checks-requested": { "post": { - "summary": "This event occurs when there is activity relating to milestones. For more information, see \"[About milestones](https://docs.github.com/issues/using-labels-and-milestones-to-track-work/about-milestones).\" For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#milestone) or \"[Milestones](https://docs.github.com/rest/issues/milestones)\" in the REST API documentation.\n\nIf you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", - "description": "A milestone was edited.", - "operationId": "milestone/edited", + "summary": "This event occurs when there is activity relating to a merge group in a merge queue. For more information, see \"[Managing a merge queue](https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Merge queues\" repository permission.", + "description": "Status checks were requested for a merge group. This happens when a merge group is created or added to by the merge queue because a pull request was queued.\n\nWhen you receive this event, you should perform checks on the head SHA and report status back using check runs or commit statuses.", + "operationId": "merge-group/checks-requested", + "tags": ["merge-queue"], "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#milestone" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#merge_group" }, "parameters": [ { @@ -8505,7 +8357,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-milestone-edited" + "$ref": "#/components/schemas/webhook-merge-group-checks-requested" } } } @@ -8518,18 +8370,19 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "milestone", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "merge_group", + "supported-webhook-types": ["app"] } } }, - "milestone-opened": { + "merge-group-destroyed": { "post": { - "summary": "This event occurs when there is activity relating to milestones. For more information, see \"[About milestones](https://docs.github.com/issues/using-labels-and-milestones-to-track-work/about-milestones).\" For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#milestone) or \"[Milestones](https://docs.github.com/rest/issues/milestones)\" in the REST API documentation.\n\nIf you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", - "description": "A milestone was opened.", - "operationId": "milestone/opened", + "summary": "This event occurs when there is activity relating to a merge group in a merge queue. For more information, see \"[Managing a merge queue](https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Merge queues\" repository permission.", + "description": "The merge queue groups pull requests together to be merged. This event indicates that one of those merge groups was destroyed. This happens when a pull request is removed from the queue: any group containing that pull request is also destroyed.\n\nWhen you receive this event, you may want to cancel any checks that are running on the head SHA to avoid wasting computing resources on a merge group that will not be used.", + "operationId": "merge-group/destroyed", + "tags": ["merge-queue"], "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#milestone" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#merge_group" }, "parameters": [ { @@ -8580,7 +8433,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-milestone-opened" + "$ref": "#/components/schemas/webhook-merge-group-destroyed" } } } @@ -8593,18 +8446,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "milestone", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "merge_group", + "supported-webhook-types": ["app"] } } }, - "org-block-blocked": { + "meta-deleted": { "post": { - "summary": "This event occurs when organization owners or moderators block or unblock a non-member from collaborating on the organization's repositories. For more information, see \"[Blocking a user from your organization](https://docs.github.com/communities/maintaining-your-safety-on-github/blocking-a-user-from-your-organization).\" For information about the APIs to manage blocked users, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#userblockedevent) or \"[Blocking users](https://docs.github.com/rest/orgs/blocking)\" in the REST API documentation.\n\nIf you want to receive an event when members are added or removed from an organization, use the `organization` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" organization permission.", - "description": "A user was blocked from the organization.", - "operationId": "org-block/blocked", + "summary": "This event occurs when there is activity relating to a webhook itself.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Meta\" app permission.", + "description": "The webhook was deleted.", + "operationId": "meta/deleted", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#org_block" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#meta" }, "parameters": [ { @@ -8654,9 +8507,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-org-block-blocked" - } + "schema": { "$ref": "#/components/schemas/webhook-meta-deleted" } } } }, @@ -8668,18 +8519,24 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "org_block", - "supported-webhook-types": ["organization", "business", "app"] + "subcategory": "meta", + "supported-webhook-types": [ + "marketplace", + "business", + "repository", + "organization", + "app" + ] } } }, - "org-block-unblocked": { + "milestone-closed": { "post": { - "summary": "This event occurs when organization owners or moderators block or unblock a non-member from collaborating on the organization's repositories. For more information, see \"[Blocking a user from your organization](https://docs.github.com/communities/maintaining-your-safety-on-github/blocking-a-user-from-your-organization).\" For information about the APIs to manage blocked users, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#userblockedevent) or \"[Blocking users](https://docs.github.com/rest/orgs/blocking)\" in the REST API documentation.\n\nIf you want to receive an event when members are added or removed from an organization, use the `organization` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" organization permission.", - "description": "A previously blocked user was unblocked from the organization.", - "operationId": "org-block/unblocked", + "summary": "This event occurs when there is activity relating to milestones. For more information, see \"[About milestones](https://docs.github.com/issues/using-labels-and-milestones-to-track-work/about-milestones).\" For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#milestone) or \"[Milestones](https://docs.github.com/rest/issues/milestones)\" in the REST API documentation.\n\nIf you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", + "description": "A milestone was closed.", + "operationId": "milestone/closed", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#org_block" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#milestone" }, "parameters": [ { @@ -8730,7 +8587,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-org-block-unblocked" + "$ref": "#/components/schemas/webhook-milestone-closed" } } } @@ -8743,18 +8600,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "org_block", - "supported-webhook-types": ["organization", "business", "app"] + "subcategory": "milestone", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "organization-deleted": { + "milestone-created": { "post": { - "summary": "This event occurs when there is activity relating to an organization and its members. For more information, see \"[About organizations](https://docs.github.com/organizations/collaborating-with-groups-in-organizations/about-organizations).\" For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#organization) or \"[Organizations](https://docs.github.com/rest/orgs)\" in the REST API documentation.\n\nIf you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "An organization was deleted.", - "operationId": "organization/deleted", + "summary": "This event occurs when there is activity relating to milestones. For more information, see \"[About milestones](https://docs.github.com/issues/using-labels-and-milestones-to-track-work/about-milestones).\" For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#milestone) or \"[Milestones](https://docs.github.com/rest/issues/milestones)\" in the REST API documentation.\n\nIf you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", + "description": "A milestone was created.", + "operationId": "milestone/created", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#organization" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#milestone" }, "parameters": [ { @@ -8805,7 +8662,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-organization-deleted" + "$ref": "#/components/schemas/webhook-milestone-created" } } } @@ -8818,18 +8675,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "organization", - "supported-webhook-types": ["organization", "business", "app"] + "subcategory": "milestone", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "organization-member-added": { + "milestone-deleted": { "post": { - "summary": "This event occurs when there is activity relating to an organization and its members. For more information, see \"[About organizations](https://docs.github.com/organizations/collaborating-with-groups-in-organizations/about-organizations).\" For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#organization) or \"[Organizations](https://docs.github.com/rest/orgs)\" in the REST API documentation.\n\nIf you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "A member accepted an invitation to join an organization.", - "operationId": "organization/member-added", + "summary": "This event occurs when there is activity relating to milestones. For more information, see \"[About milestones](https://docs.github.com/issues/using-labels-and-milestones-to-track-work/about-milestones).\" For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#milestone) or \"[Milestones](https://docs.github.com/rest/issues/milestones)\" in the REST API documentation.\n\nIf you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", + "description": "A milestone was deleted.", + "operationId": "milestone/deleted", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#organization" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#milestone" }, "parameters": [ { @@ -8880,7 +8737,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-organization-member-added" + "$ref": "#/components/schemas/webhook-milestone-deleted" } } } @@ -8893,18 +8750,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "organization", - "supported-webhook-types": ["organization", "business", "app"] + "subcategory": "milestone", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "organization-member-invited": { + "milestone-edited": { "post": { - "summary": "This event occurs when there is activity relating to an organization and its members. For more information, see \"[About organizations](https://docs.github.com/organizations/collaborating-with-groups-in-organizations/about-organizations).\" For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#organization) or \"[Organizations](https://docs.github.com/rest/orgs)\" in the REST API documentation.\n\nIf you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "A member was invited to join the organization.", - "operationId": "organization/member-invited", + "summary": "This event occurs when there is activity relating to milestones. For more information, see \"[About milestones](https://docs.github.com/issues/using-labels-and-milestones-to-track-work/about-milestones).\" For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#milestone) or \"[Milestones](https://docs.github.com/rest/issues/milestones)\" in the REST API documentation.\n\nIf you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", + "description": "A milestone was edited.", + "operationId": "milestone/edited", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#organization" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#milestone" }, "parameters": [ { @@ -8955,7 +8812,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-organization-member-invited" + "$ref": "#/components/schemas/webhook-milestone-edited" } } } @@ -8968,18 +8825,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "organization", - "supported-webhook-types": ["organization", "business", "app"] + "subcategory": "milestone", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "organization-member-removed": { + "milestone-opened": { "post": { - "summary": "This event occurs when there is activity relating to an organization and its members. For more information, see \"[About organizations](https://docs.github.com/organizations/collaborating-with-groups-in-organizations/about-organizations).\" For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#organization) or \"[Organizations](https://docs.github.com/rest/orgs)\" in the REST API documentation.\n\nIf you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "A member was removed from the organization.", - "operationId": "organization/member-removed", + "summary": "This event occurs when there is activity relating to milestones. For more information, see \"[About milestones](https://docs.github.com/issues/using-labels-and-milestones-to-track-work/about-milestones).\" For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#milestone) or \"[Milestones](https://docs.github.com/rest/issues/milestones)\" in the REST API documentation.\n\nIf you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", + "description": "A milestone was opened.", + "operationId": "milestone/opened", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#organization" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#milestone" }, "parameters": [ { @@ -9030,7 +8887,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-organization-member-removed" + "$ref": "#/components/schemas/webhook-milestone-opened" } } } @@ -9043,18 +8900,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "organization", - "supported-webhook-types": ["organization", "business", "app"] + "subcategory": "milestone", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "organization-renamed": { + "org-block-blocked": { "post": { - "summary": "This event occurs when there is activity relating to an organization and its members. For more information, see \"[About organizations](https://docs.github.com/organizations/collaborating-with-groups-in-organizations/about-organizations).\" For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#organization) or \"[Organizations](https://docs.github.com/rest/orgs)\" in the REST API documentation.\n\nIf you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "The name of an organization was changed.", - "operationId": "organization/renamed", + "summary": "This event occurs when organization owners or moderators block or unblock a non-member from collaborating on the organization's repositories. For more information, see \"[Blocking a user from your organization](https://docs.github.com/communities/maintaining-your-safety-on-github/blocking-a-user-from-your-organization).\" For information about the APIs to manage blocked users, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#userblockedevent) or \"[Blocking users](https://docs.github.com/rest/orgs/blocking)\" in the REST API documentation.\n\nIf you want to receive an event when members are added or removed from an organization, use the `organization` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" organization permission.", + "description": "A user was blocked from the organization.", + "operationId": "org-block/blocked", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#organization" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#org_block" }, "parameters": [ { @@ -9105,7 +8962,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-organization-renamed" + "$ref": "#/components/schemas/webhook-org-block-blocked" } } } @@ -9118,18 +8975,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "organization", + "subcategory": "org_block", "supported-webhook-types": ["organization", "business", "app"] } } }, - "package-published": { + "org-block-unblocked": { "post": { - "summary": "This event occurs when there is activity relating to GitHub Packages. For more information, see \"[Introduction to GitHub Packages](https://docs.github.com/packages/learn-github-packages/introduction-to-github-packages).\" For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#package) or \"[Packages](https://docs.github.com/rest/packages)\" in the REST API documentation.\n\nTo install this event on a GitHub App, the app must have at least read-level access for the \"Packages\" repository permission.", - "description": "A package was published to a registry.", - "operationId": "package/published", + "summary": "This event occurs when organization owners or moderators block or unblock a non-member from collaborating on the organization's repositories. For more information, see \"[Blocking a user from your organization](https://docs.github.com/communities/maintaining-your-safety-on-github/blocking-a-user-from-your-organization).\" For information about the APIs to manage blocked users, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#userblockedevent) or \"[Blocking users](https://docs.github.com/rest/orgs/blocking)\" in the REST API documentation.\n\nIf you want to receive an event when members are added or removed from an organization, use the `organization` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" organization permission.", + "description": "A previously blocked user was unblocked from the organization.", + "operationId": "org-block/unblocked", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#package" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#org_block" }, "parameters": [ { @@ -9180,7 +9037,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-package-published" + "$ref": "#/components/schemas/webhook-org-block-unblocked" } } } @@ -9193,18 +9050,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "package", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "org_block", + "supported-webhook-types": ["organization", "business", "app"] } } }, - "package-updated": { + "organization-deleted": { "post": { - "summary": "This event occurs when there is activity relating to GitHub Packages. For more information, see \"[Introduction to GitHub Packages](https://docs.github.com/packages/learn-github-packages/introduction-to-github-packages).\" For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#package) or \"[Packages](https://docs.github.com/rest/packages)\" in the REST API documentation.\n\nTo install this event on a GitHub App, the app must have at least read-level access for the \"Packages\" repository permission.", - "description": "A previously published package was updated.", - "operationId": "package/updated", + "summary": "This event occurs when there is activity relating to an organization and its members. For more information, see \"[About organizations](https://docs.github.com/organizations/collaborating-with-groups-in-organizations/about-organizations).\" For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#organization) or \"[Organizations](https://docs.github.com/rest/orgs)\" in the REST API documentation.\n\nIf you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "description": "An organization was deleted.", + "operationId": "organization/deleted", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#package" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#organization" }, "parameters": [ { @@ -9255,7 +9112,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-package-updated" + "$ref": "#/components/schemas/webhook-organization-deleted" } } } @@ -9268,17 +9125,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "package", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "organization", + "supported-webhook-types": ["organization", "business", "app"] } } }, - "page-build": { + "organization-member-added": { "post": { - "summary": "This event occurs when there is an attempted build of a GitHub Pages site. This event occurs regardless of whether the build is successful. For more information, see \"[Configuring a publishing source for your GitHub Pages site](https://docs.github.com/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site).\" For information about the API to manage GitHub Pages, see \"[Pages](https://docs.github.com/rest/pages)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pages\" repository permission.", - "operationId": "page-build", + "summary": "This event occurs when there is activity relating to an organization and its members. For more information, see \"[About organizations](https://docs.github.com/organizations/collaborating-with-groups-in-organizations/about-organizations).\" For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#organization) or \"[Organizations](https://docs.github.com/rest/orgs)\" in the REST API documentation.\n\nIf you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "description": "A member accepted an invitation to join an organization.", + "operationId": "organization/member-added", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#page_build" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#organization" }, "parameters": [ { @@ -9328,7 +9186,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-page-build" } + "schema": { + "$ref": "#/components/schemas/webhook-organization-member-added" + } } } }, @@ -9340,18 +9200,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "page_build", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "organization", + "supported-webhook-types": ["organization", "business", "app"] } } }, - "personal-access-token-request-approved": { + "organization-member-invited": { "post": { - "summary": "This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see \"[Creating a personal access token](https://docs.github.com/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Personal access token requests\" organization permission.", - "description": "A fine-grained personal access token request was approved.", - "operationId": "personal-access-token-request/approved", + "summary": "This event occurs when there is activity relating to an organization and its members. For more information, see \"[About organizations](https://docs.github.com/organizations/collaborating-with-groups-in-organizations/about-organizations).\" For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#organization) or \"[Organizations](https://docs.github.com/rest/orgs)\" in the REST API documentation.\n\nIf you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "description": "A member was invited to join the organization.", + "operationId": "organization/member-invited", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#personal_access_token_request" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#organization" }, "parameters": [ { @@ -9361,21 +9221,15 @@ "schema": { "type": "string" } }, { - "name": "X-GitHub-Delivery", + "name": "X-Github-Hook-Id", "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "example": 12312312, "schema": { "type": "string" } }, { "name": "X-Github-Event", "in": "header", - "example": "personal_access_token_request", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, + "example": "issues", "schema": { "type": "string" } }, { @@ -9387,52 +9241,7 @@ { "name": "X-Github-Hook-Installation-Target-Type", "in": "header", - "example": "integration", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-personal-access-token-request-approved" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "personal_access_token_request", - "supported-webhook-types": ["app", "organization"] - } - } - }, - "personal-access-token-request-cancelled": { - "post": { - "summary": "This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see \"[Creating a personal access token](https://docs.github.com/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Personal access token requests\" organization permission.", - "description": "A fine-grained personal access token request was cancelled by the requester.", - "operationId": "personal-access-token-request/cancelled", - "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#personal_access_token_request" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", + "example": "repository", "schema": { "type": "string" } }, { @@ -9441,30 +9250,6 @@ "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", "schema": { "type": "string" } }, - { - "name": "X-Github-Event", - "in": "header", - "example": "personal_access_token_request", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "integration", - "schema": { "type": "string" } - }, { "name": "X-Hub-Signature-256", "in": "header", @@ -9477,7 +9262,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-personal-access-token-request-cancelled" + "$ref": "#/components/schemas/webhook-organization-member-invited" } } } @@ -9490,18 +9275,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "personal_access_token_request", - "supported-webhook-types": ["app", "organization"] + "subcategory": "organization", + "supported-webhook-types": ["organization", "business", "app"] } } }, - "personal-access-token-request-created": { + "organization-member-removed": { "post": { - "summary": "This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see \"[Creating a personal access token](https://docs.github.com/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Personal access token requests\" organization permission.", - "description": "A fine-grained personal access token request was created.", - "operationId": "personal-access-token-request/created", + "summary": "This event occurs when there is activity relating to an organization and its members. For more information, see \"[About organizations](https://docs.github.com/organizations/collaborating-with-groups-in-organizations/about-organizations).\" For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#organization) or \"[Organizations](https://docs.github.com/rest/orgs)\" in the REST API documentation.\n\nIf you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "description": "A member was removed from the organization.", + "operationId": "organization/member-removed", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#personal_access_token_request" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#organization" }, "parameters": [ { @@ -9511,33 +9296,33 @@ "schema": { "type": "string" } }, { - "name": "X-GitHub-Delivery", + "name": "X-Github-Hook-Id", "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "example": 12312312, "schema": { "type": "string" } }, { "name": "X-Github-Event", "in": "header", - "example": "personal_access_token_request", + "example": "issues", "schema": { "type": "string" } }, { - "name": "X-Github-Hook-Id", + "name": "X-Github-Hook-Installation-Target-Id", "in": "header", - "example": 12312312, + "example": 123123, "schema": { "type": "string" } }, { - "name": "X-Github-Hook-Installation-Target-Id", + "name": "X-Github-Hook-Installation-Target-Type", "in": "header", - "example": 123123, + "example": "repository", "schema": { "type": "string" } }, { - "name": "X-Github-Hook-Installation-Target-Type", + "name": "X-GitHub-Delivery", "in": "header", - "example": "integration", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", "schema": { "type": "string" } }, { @@ -9552,7 +9337,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-personal-access-token-request-created" + "$ref": "#/components/schemas/webhook-organization-member-removed" } } } @@ -9565,18 +9350,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "personal_access_token_request", - "supported-webhook-types": ["app", "organization"] + "subcategory": "organization", + "supported-webhook-types": ["organization", "business", "app"] } } }, - "personal-access-token-request-denied": { + "organization-renamed": { "post": { - "summary": "This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see \"[Creating a personal access token](https://docs.github.com/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Personal access token requests\" organization permission.", - "description": "A fine-grained personal access token request was denied.", - "operationId": "personal-access-token-request/denied", + "summary": "This event occurs when there is activity relating to an organization and its members. For more information, see \"[About organizations](https://docs.github.com/organizations/collaborating-with-groups-in-organizations/about-organizations).\" For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#organization) or \"[Organizations](https://docs.github.com/rest/orgs)\" in the REST API documentation.\n\nIf you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "description": "The name of an organization was changed.", + "operationId": "organization/renamed", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#personal_access_token_request" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#organization" }, "parameters": [ { @@ -9586,33 +9371,33 @@ "schema": { "type": "string" } }, { - "name": "X-GitHub-Delivery", + "name": "X-Github-Hook-Id", "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "example": 12312312, "schema": { "type": "string" } }, { "name": "X-Github-Event", "in": "header", - "example": "personal_access_token_request", + "example": "issues", "schema": { "type": "string" } }, { - "name": "X-Github-Hook-Id", + "name": "X-Github-Hook-Installation-Target-Id", "in": "header", - "example": 12312312, + "example": 123123, "schema": { "type": "string" } }, { - "name": "X-Github-Hook-Installation-Target-Id", + "name": "X-Github-Hook-Installation-Target-Type", "in": "header", - "example": 123123, + "example": "repository", "schema": { "type": "string" } }, { - "name": "X-Github-Hook-Installation-Target-Type", + "name": "X-GitHub-Delivery", "in": "header", - "example": "integration", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", "schema": { "type": "string" } }, { @@ -9627,7 +9412,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-personal-access-token-request-denied" + "$ref": "#/components/schemas/webhook-organization-renamed" } } } @@ -9640,17 +9425,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "personal_access_token_request", - "supported-webhook-types": ["app", "organization"] + "subcategory": "organization", + "supported-webhook-types": ["organization", "business", "app"] } } }, - "ping": { + "package-published": { "post": { - "summary": "This event occurs when you create a new webhook. The ping event is a confirmation from GitHub that you configured the webhook correctly.", - "operationId": "ping", + "summary": "This event occurs when there is activity relating to GitHub Packages. For more information, see \"[Introduction to GitHub Packages](https://docs.github.com/packages/learn-github-packages/introduction-to-github-packages).\" For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#package) or \"[Packages](https://docs.github.com/rest/packages)\" in the REST API documentation.\n\nTo install this event on a GitHub App, the app must have at least read-level access for the \"Packages\" repository permission.", + "description": "A package was published to a registry.", + "operationId": "package/published", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#ping" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#package" }, "parameters": [ { @@ -9700,17 +9486,8 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-ping" }, - "examples": { - "default": { "$ref": "#/components/examples/ping" } - } - }, - "application/x-www-form-urlencoded": { "schema": { - "$ref": "#/components/schemas/webhook-ping-form-encoded" - }, - "examples": { - "default": { "$ref": "#/components/examples/ping-form-encoded" } + "$ref": "#/components/schemas/webhook-package-published" } } } @@ -9722,26 +9499,19 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "ping", - "supported-webhook-types": [ - "repository", - "organization", - "app", - "business", - "marketplace" - ] + "subcategory": "package", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "project-card-converted": { + "package-updated": { "post": { - "summary": "This event occurs when there is activity relating to a card on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", - "description": "A note in a project (classic) was converted to an issue.", - "operationId": "project-card/converted", + "summary": "This event occurs when there is activity relating to GitHub Packages. For more information, see \"[Introduction to GitHub Packages](https://docs.github.com/packages/learn-github-packages/introduction-to-github-packages).\" For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#package) or \"[Packages](https://docs.github.com/rest/packages)\" in the REST API documentation.\n\nTo install this event on a GitHub App, the app must have at least read-level access for the \"Packages\" repository permission.", + "description": "A previously published package was updated.", + "operationId": "package/updated", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#project_card" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#package" }, "parameters": [ { @@ -9792,7 +9562,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-project-card-converted" + "$ref": "#/components/schemas/webhook-package-updated" } } } @@ -9805,18 +9575,17 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "project_card", + "subcategory": "package", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "project-card-created": { + "page-build": { "post": { - "summary": "This event occurs when there is activity relating to a card on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", - "description": "A card was added to a project (classic).", - "operationId": "project-card/created", + "summary": "This event occurs when there is an attempted build of a GitHub Pages site. This event occurs regardless of whether the build is successful. For more information, see \"[Configuring a publishing source for your GitHub Pages site](https://docs.github.com/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site).\" For information about the API to manage GitHub Pages, see \"[Pages](https://docs.github.com/rest/pages)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pages\" repository permission.", + "operationId": "page-build", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#project_card" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#page_build" }, "parameters": [ { @@ -9866,9 +9635,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-project-card-created" - } + "schema": { "$ref": "#/components/schemas/webhook-page-build" } } } }, @@ -9880,18 +9647,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "project_card", + "subcategory": "page_build", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "project-card-deleted": { + "personal-access-token-request-approved": { "post": { - "summary": "This event occurs when there is activity relating to a card on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", - "description": "A card on a project (classic) was deleted.", - "operationId": "project-card/deleted", + "summary": "This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see \"[Creating a personal access token](https://docs.github.com/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Personal access token requests\" organization permission.", + "description": "A fine-grained personal access token request was approved.", + "operationId": "personal-access-token-request/approved", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#project_card" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#personal_access_token_request" }, "parameters": [ { @@ -9900,30 +9667,6 @@ "example": "GitHub-Hookshot/123abc", "schema": { "type": "string" } }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, { "name": "X-GitHub-Delivery", "in": "header", @@ -9931,48 +9674,9 @@ "schema": { "type": "string" } }, { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-project-card-deleted" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "project_card", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "project-card-edited": { - "post": { - "summary": "This event occurs when there is activity relating to a card on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", - "description": "A note on a project (classic) was edited.", - "operationId": "project-card/edited", - "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#project_card" - }, - "parameters": [ - { - "name": "User-Agent", + "name": "X-Github-Event", "in": "header", - "example": "GitHub-Hookshot/123abc", + "example": "personal_access_token_request", "schema": { "type": "string" } }, { @@ -9981,12 +9685,6 @@ "example": 12312312, "schema": { "type": "string" } }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, { "name": "X-Github-Hook-Installation-Target-Id", "in": "header", @@ -9996,13 +9694,7 @@ { "name": "X-Github-Hook-Installation-Target-Type", "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "example": "integration", "schema": { "type": "string" } }, { @@ -10017,7 +9709,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-project-card-edited" + "$ref": "#/components/schemas/webhook-personal-access-token-request-approved" } } } @@ -10030,18 +9722,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "project_card", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "personal_access_token_request", + "supported-webhook-types": ["app", "organization"] } } }, - "project-card-moved": { + "personal-access-token-request-cancelled": { "post": { - "summary": "This event occurs when there is activity relating to a card on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", - "description": "A card on a project (classic) was moved to another column or to another position in its column.", - "operationId": "project-card/moved", + "summary": "This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see \"[Creating a personal access token](https://docs.github.com/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Personal access token requests\" organization permission.", + "description": "A fine-grained personal access token request was cancelled by the requester.", + "operationId": "personal-access-token-request/cancelled", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#project_card" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#personal_access_token_request" }, "parameters": [ { @@ -10051,33 +9743,33 @@ "schema": { "type": "string" } }, { - "name": "X-Github-Hook-Id", + "name": "X-GitHub-Delivery", "in": "header", - "example": 12312312, + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", "schema": { "type": "string" } }, { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "personal_access_token_request", "schema": { "type": "string" } }, { - "name": "X-Github-Hook-Installation-Target-Id", + "name": "X-Github-Hook-Id", "in": "header", - "example": 123123, + "example": 12312312, "schema": { "type": "string" } }, { - "name": "X-Github-Hook-Installation-Target-Type", + "name": "X-Github-Hook-Installation-Target-Id", "in": "header", - "example": "repository", + "example": 123123, "schema": { "type": "string" } }, { - "name": "X-GitHub-Delivery", + "name": "X-Github-Hook-Installation-Target-Type", "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "example": "integration", "schema": { "type": "string" } }, { @@ -10092,7 +9784,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-project-card-moved" + "$ref": "#/components/schemas/webhook-personal-access-token-request-cancelled" } } } @@ -10105,18 +9797,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "project_card", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "personal_access_token_request", + "supported-webhook-types": ["app", "organization"] } } }, - "project-closed": { + "personal-access-token-request-created": { "post": { - "summary": "This event occurs when there is activity relating to a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", - "description": "A project (classic) was closed.", - "operationId": "project/closed", + "summary": "This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see \"[Creating a personal access token](https://docs.github.com/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Personal access token requests\" organization permission.", + "description": "A fine-grained personal access token request was created.", + "operationId": "personal-access-token-request/created", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#project" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#personal_access_token_request" }, "parameters": [ { @@ -10126,33 +9818,33 @@ "schema": { "type": "string" } }, { - "name": "X-Github-Hook-Id", + "name": "X-GitHub-Delivery", "in": "header", - "example": 12312312, + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", "schema": { "type": "string" } }, { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "personal_access_token_request", "schema": { "type": "string" } }, { - "name": "X-Github-Hook-Installation-Target-Id", + "name": "X-Github-Hook-Id", "in": "header", - "example": 123123, + "example": 12312312, "schema": { "type": "string" } }, { - "name": "X-Github-Hook-Installation-Target-Type", + "name": "X-Github-Hook-Installation-Target-Id", "in": "header", - "example": "repository", + "example": 123123, "schema": { "type": "string" } }, { - "name": "X-GitHub-Delivery", + "name": "X-Github-Hook-Installation-Target-Type", "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "example": "integration", "schema": { "type": "string" } }, { @@ -10167,7 +9859,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-project-closed" + "$ref": "#/components/schemas/webhook-personal-access-token-request-created" } } } @@ -10180,18 +9872,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "project", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "personal_access_token_request", + "supported-webhook-types": ["app", "organization"] } } }, - "project-column-created": { + "personal-access-token-request-denied": { "post": { - "summary": "This event occurs when there is activity relating to a column on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", - "description": "A column was added to a project (classic).", - "operationId": "project-column/created", + "summary": "This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see \"[Creating a personal access token](https://docs.github.com/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Personal access token requests\" organization permission.", + "description": "A fine-grained personal access token request was denied.", + "operationId": "personal-access-token-request/denied", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#project_column" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#personal_access_token_request" }, "parameters": [ { @@ -10201,33 +9893,33 @@ "schema": { "type": "string" } }, { - "name": "X-Github-Hook-Id", + "name": "X-GitHub-Delivery", "in": "header", - "example": 12312312, + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", "schema": { "type": "string" } }, { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "personal_access_token_request", "schema": { "type": "string" } }, { - "name": "X-Github-Hook-Installation-Target-Id", + "name": "X-Github-Hook-Id", "in": "header", - "example": 123123, + "example": 12312312, "schema": { "type": "string" } }, { - "name": "X-Github-Hook-Installation-Target-Type", + "name": "X-Github-Hook-Installation-Target-Id", "in": "header", - "example": "repository", + "example": 123123, "schema": { "type": "string" } }, { - "name": "X-GitHub-Delivery", + "name": "X-Github-Hook-Installation-Target-Type", "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "example": "integration", "schema": { "type": "string" } }, { @@ -10242,7 +9934,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-project-column-created" + "$ref": "#/components/schemas/webhook-personal-access-token-request-denied" } } } @@ -10255,18 +9947,17 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "project_column", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "personal_access_token_request", + "supported-webhook-types": ["app", "organization"] } } }, - "project-column-deleted": { + "ping": { "post": { - "summary": "This event occurs when there is activity relating to a column on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", - "description": "A column was deleted from a project (classic).", - "operationId": "project-column/deleted", + "summary": "This event occurs when you create a new webhook. The ping event is a confirmation from GitHub that you configured the webhook correctly.", + "operationId": "ping", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#project_column" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#ping" }, "parameters": [ { @@ -10316,8 +10007,17 @@ "required": true, "content": { "application/json": { + "schema": { "$ref": "#/components/schemas/webhook-ping" }, + "examples": { + "default": { "$ref": "#/components/examples/ping" } + } + }, + "application/x-www-form-urlencoded": { "schema": { - "$ref": "#/components/schemas/webhook-project-column-deleted" + "$ref": "#/components/schemas/webhook-ping-form-encoded" + }, + "examples": { + "default": { "$ref": "#/components/examples/ping-form-encoded" } } } } @@ -10329,19 +10029,26 @@ }, "x-github": { "githubCloudOnly": false, + "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "project_column", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "ping", + "supported-webhook-types": [ + "repository", + "organization", + "app", + "business", + "marketplace" + ] } } }, - "project-column-edited": { + "project-card-converted": { "post": { - "summary": "This event occurs when there is activity relating to a column on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", - "description": "The name of a column on a project (classic) was changed.", - "operationId": "project-column/edited", + "summary": "This event occurs when there is activity relating to a card on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", + "description": "A note in a project (classic) was converted to an issue.", + "operationId": "project-card/converted", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#project_column" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#project_card" }, "parameters": [ { @@ -10392,7 +10099,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-project-column-edited" + "$ref": "#/components/schemas/webhook-project-card-converted" } } } @@ -10405,18 +10112,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "project_column", + "subcategory": "project_card", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "project-column-moved": { + "project-card-created": { "post": { - "summary": "This event occurs when there is activity relating to a column on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", - "description": "A column was moved to a new position on a project (classic).", - "operationId": "project-column/moved", + "summary": "This event occurs when there is activity relating to a card on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", + "description": "A card was added to a project (classic).", + "operationId": "project-card/created", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#project_column" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#project_card" }, "parameters": [ { @@ -10467,7 +10174,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-project-column-moved" + "$ref": "#/components/schemas/webhook-project-card-created" } } } @@ -10480,18 +10187,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "project_column", + "subcategory": "project_card", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "project-created": { + "project-card-deleted": { "post": { - "summary": "This event occurs when there is activity relating to a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", - "description": "A project (classic) was created.", - "operationId": "project/created", + "summary": "This event occurs when there is activity relating to a card on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", + "description": "A card on a project (classic) was deleted.", + "operationId": "project-card/deleted", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#project" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#project_card" }, "parameters": [ { @@ -10542,7 +10249,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-project-created" + "$ref": "#/components/schemas/webhook-project-card-deleted" } } } @@ -10555,18 +10262,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "project", + "subcategory": "project_card", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "project-deleted": { + "project-card-edited": { "post": { - "summary": "This event occurs when there is activity relating to a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", - "description": "A project (classic) was deleted.", - "operationId": "project/deleted", + "summary": "This event occurs when there is activity relating to a card on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", + "description": "A note on a project (classic) was edited.", + "operationId": "project-card/edited", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#project" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#project_card" }, "parameters": [ { @@ -10617,7 +10324,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-project-deleted" + "$ref": "#/components/schemas/webhook-project-card-edited" } } } @@ -10630,18 +10337,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "project", + "subcategory": "project_card", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "project-edited": { + "project-card-moved": { "post": { - "summary": "This event occurs when there is activity relating to a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", - "description": "The name or description of a project (classic) was changed.", - "operationId": "project/edited", + "summary": "This event occurs when there is activity relating to a card on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", + "description": "A card on a project (classic) was moved to another column or to another position in its column.", + "operationId": "project-card/moved", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#project" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#project_card" }, "parameters": [ { @@ -10692,7 +10399,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-project-edited" + "$ref": "#/components/schemas/webhook-project-card-moved" } } } @@ -10705,16 +10412,16 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "project", + "subcategory": "project_card", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "project-reopened": { + "project-closed": { "post": { "summary": "This event occurs when there is activity relating to a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", "description": "A project (classic) was closed.", - "operationId": "project/reopened", + "operationId": "project/closed", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#project" }, @@ -10767,7 +10474,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-project-reopened" + "$ref": "#/components/schemas/webhook-project-closed" } } } @@ -10785,13 +10492,13 @@ } } }, - "projects-v2-closed": { + "project-column-created": { "post": { - "summary": "This event occurs when there is activity relating to an organization-level project. For more information, see \"[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2).\n\nFor activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "A project in the organization was closed.", - "operationId": "projects-v2/closed", + "summary": "This event occurs when there is activity relating to a column on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", + "description": "A column was added to a project (classic).", + "operationId": "project-column/created", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#project_column" }, "parameters": [ { @@ -10809,7 +10516,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "project-v2", + "example": "issues", "schema": { "type": "string" } }, { @@ -10842,7 +10549,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-projects-v2-project-closed" + "$ref": "#/components/schemas/webhook-project-column-created" } } } @@ -10854,20 +10561,19 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "projects_v2", - "supported-webhook-types": ["organization"] + "subcategory": "project_column", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "projects-v2-created": { + "project-column-deleted": { "post": { - "summary": "This event occurs when there is activity relating to an organization-level project. For more information, see \"[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2).\n\nFor activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "A project in the organization was created.", - "operationId": "projects-v2/created", + "summary": "This event occurs when there is activity relating to a column on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", + "description": "A column was deleted from a project (classic).", + "operationId": "project-column/deleted", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#project_column" }, "parameters": [ { @@ -10885,7 +10591,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "project-v2", + "example": "issues", "schema": { "type": "string" } }, { @@ -10918,7 +10624,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-projects-v2-project-created" + "$ref": "#/components/schemas/webhook-project-column-deleted" } } } @@ -10930,20 +10636,19 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "projects_v2", - "supported-webhook-types": ["organization"] + "subcategory": "project_column", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "projects-v2-deleted": { + "project-column-edited": { "post": { - "summary": "This event occurs when there is activity relating to an organization-level project. For more information, see \"[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2).\n\nFor activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "A project in the organization was deleted.", - "operationId": "projects-v2/deleted", + "summary": "This event occurs when there is activity relating to a column on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", + "description": "The name of a column on a project (classic) was changed.", + "operationId": "project-column/edited", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#project_column" }, "parameters": [ { @@ -10961,7 +10666,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "project-v2", + "example": "issues", "schema": { "type": "string" } }, { @@ -10994,7 +10699,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-projects-v2-project-deleted" + "$ref": "#/components/schemas/webhook-project-column-edited" } } } @@ -11006,20 +10711,19 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "projects_v2", - "supported-webhook-types": ["organization"] + "subcategory": "project_column", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "projects-v2-edited": { + "project-column-moved": { "post": { - "summary": "This event occurs when there is activity relating to an organization-level project. For more information, see \"[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2).\n\nFor activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "The title, description, or README of a project in the organization was changed.", - "operationId": "projects-v2/edited", + "summary": "This event occurs when there is activity relating to a column on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", + "description": "A column was moved to a new position on a project (classic).", + "operationId": "project-column/moved", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#project_column" }, "parameters": [ { @@ -11037,7 +10741,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "project-v2", + "example": "issues", "schema": { "type": "string" } }, { @@ -11070,7 +10774,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-projects-v2-project-edited" + "$ref": "#/components/schemas/webhook-project-column-moved" } } } @@ -11082,20 +10786,19 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "projects_v2", - "supported-webhook-types": ["organization"] + "subcategory": "project_column", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "projects-v2-item-archived": { + "project-created": { "post": { - "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "An item on an organization project was archived. For more information, see \"[Archiving items from your project](https://docs.github.com/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project).\"", - "operationId": "projects-v2-item/archived", + "summary": "This event occurs when there is activity relating to a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", + "description": "A project (classic) was created.", + "operationId": "project/created", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2_item" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#project" }, "parameters": [ { @@ -11113,7 +10816,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "project-v2-item", + "example": "issues", "schema": { "type": "string" } }, { @@ -11146,7 +10849,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-projects-v2-item-archived" + "$ref": "#/components/schemas/webhook-project-created" } } } @@ -11158,20 +10861,19 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "projects_v2_item", - "supported-webhook-types": ["organization"] + "subcategory": "project", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "projects-v2-item-converted": { + "project-deleted": { "post": { - "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "A draft issue in an organization project was converted to an issue.", - "operationId": "projects-v2-item/converted", + "summary": "This event occurs when there is activity relating to a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", + "description": "A project (classic) was deleted.", + "operationId": "project/deleted", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2_item" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#project" }, "parameters": [ { @@ -11189,7 +10891,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "project-v2-item", + "example": "issues", "schema": { "type": "string" } }, { @@ -11222,7 +10924,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-projects-v2-item-converted" + "$ref": "#/components/schemas/webhook-project-deleted" } } } @@ -11234,20 +10936,19 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "projects_v2_item", - "supported-webhook-types": ["organization"] + "subcategory": "project", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "projects-v2-item-created": { + "project-edited": { "post": { - "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "An item was added to a project in the organization.", - "operationId": "projects-v2-item/created", + "summary": "This event occurs when there is activity relating to a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", + "description": "The name or description of a project (classic) was changed.", + "operationId": "project/edited", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2_item" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#project" }, "parameters": [ { @@ -11265,7 +10966,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "project-v2-item", + "example": "issues", "schema": { "type": "string" } }, { @@ -11298,7 +10999,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-projects-v2-item-created" + "$ref": "#/components/schemas/webhook-project-edited" } } } @@ -11310,20 +11011,19 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "projects_v2_item", - "supported-webhook-types": ["organization"] + "subcategory": "project", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "projects-v2-item-deleted": { + "project-reopened": { "post": { - "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "An item was deleted from a project in the organization.", - "operationId": "projects-v2-item/deleted", + "summary": "This event occurs when there is activity relating to a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", + "description": "A project (classic) was closed.", + "operationId": "project/reopened", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2_item" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#project" }, "parameters": [ { @@ -11341,7 +11041,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "project-v2-item", + "example": "issues", "schema": { "type": "string" } }, { @@ -11374,7 +11074,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-projects-v2-item-deleted" + "$ref": "#/components/schemas/webhook-project-reopened" } } } @@ -11386,20 +11086,19 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "projects_v2_item", - "supported-webhook-types": ["organization"] + "subcategory": "project", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "projects-v2-item-edited": { + "projects-v2-closed": { "post": { - "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "The values or state of an item in an organization project were changed. For example, the value of a field was updated, the body of a draft issue was changed, or a draft issue was converted to an issue.", - "operationId": "projects-v2-item/edited", + "summary": "This event occurs when there is activity relating to an organization-level project. For more information, see \"[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2).\n\nFor activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", + "description": "A project in the organization was closed.", + "operationId": "projects-v2/closed", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2_item" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2" }, "parameters": [ { @@ -11417,7 +11116,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "project-v2-item", + "example": "project-v2", "schema": { "type": "string" } }, { @@ -11450,7 +11149,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-projects-v2-item-edited" + "$ref": "#/components/schemas/webhook-projects-v2-project-closed" } } } @@ -11464,18 +11163,18 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "projects_v2_item", + "subcategory": "projects_v2", "supported-webhook-types": ["organization"] } } }, - "projects-v2-item-reordered": { + "projects-v2-created": { "post": { - "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "The position of an item in an organization project was changed. For example, an item was moved above or below another item in the table or board layout.", - "operationId": "projects-v2-item/reordered", + "summary": "This event occurs when there is activity relating to an organization-level project. For more information, see \"[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2).\n\nFor activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", + "description": "A project in the organization was created.", + "operationId": "projects-v2/created", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2_item" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2" }, "parameters": [ { @@ -11493,7 +11192,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "project-v2-item", + "example": "project-v2", "schema": { "type": "string" } }, { @@ -11526,7 +11225,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-projects-v2-item-reordered" + "$ref": "#/components/schemas/webhook-projects-v2-project-created" } } } @@ -11540,18 +11239,18 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "projects_v2_item", + "subcategory": "projects_v2", "supported-webhook-types": ["organization"] } } }, - "projects-v2-item-restored": { + "projects-v2-deleted": { "post": { - "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "An archived item on an organization project was restored from the archive. For more information, see \"[Archiving items from your project](https://docs.github.com/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project).\"", - "operationId": "projects-v2-item/restored", + "summary": "This event occurs when there is activity relating to an organization-level project. For more information, see \"[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2).\n\nFor activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", + "description": "A project in the organization was deleted.", + "operationId": "projects-v2/deleted", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2_item" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2" }, "parameters": [ { @@ -11569,7 +11268,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "project-v2-item", + "example": "project-v2", "schema": { "type": "string" } }, { @@ -11602,7 +11301,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-projects-v2-item-restored" + "$ref": "#/components/schemas/webhook-projects-v2-project-deleted" } } } @@ -11616,16 +11315,16 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "projects_v2_item", + "subcategory": "projects_v2", "supported-webhook-types": ["organization"] } } }, - "projects-v2-reopened": { + "projects-v2-edited": { "post": { "summary": "This event occurs when there is activity relating to an organization-level project. For more information, see \"[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2).\n\nFor activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "A project in the organization was reopened.", - "operationId": "projects-v2/reopened", + "description": "The title, description, or README of a project in the organization was changed.", + "operationId": "projects-v2/edited", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2" }, @@ -11678,7 +11377,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-projects-v2-project-reopened" + "$ref": "#/components/schemas/webhook-projects-v2-project-edited" } } } @@ -11697,13 +11396,13 @@ } } }, - "projects-v2-status-update-created": { + "projects-v2-item-archived": { "post": { - "summary": "This event occurs when there is activity relating to a status update on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\"\n\nFor activity relating to a project, use the `projects_v2` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "A status update was added to a project in the organization.", - "operationId": "projects-v2-status-update/created", + "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", + "description": "An item on an organization project was archived. For more information, see \"[Archiving items from your project](https://docs.github.com/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project).\"", + "operationId": "projects-v2-item/archived", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2_status_update" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2_item" }, "parameters": [ { @@ -11721,7 +11420,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "project-v2-status-update", + "example": "project-v2-item", "schema": { "type": "string" } }, { @@ -11754,7 +11453,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-projects-v2-status-update-created" + "$ref": "#/components/schemas/webhook-projects-v2-item-archived" } } } @@ -11768,18 +11467,18 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "projects_v2_status_update", + "subcategory": "projects_v2_item", "supported-webhook-types": ["organization"] } } }, - "projects-v2-status-update-deleted": { + "projects-v2-item-converted": { "post": { - "summary": "This event occurs when there is activity relating to a status update on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\"\n\nFor activity relating to a project, use the `projects_v2` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "A status update was removed from a project in the organization.", - "operationId": "projects-v2-status-update/deleted", + "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", + "description": "A draft issue in an organization project was converted to an issue.", + "operationId": "projects-v2-item/converted", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2_status_update" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2_item" }, "parameters": [ { @@ -11797,7 +11496,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "project-v2-status-update", + "example": "project-v2-item", "schema": { "type": "string" } }, { @@ -11830,7 +11529,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-projects-v2-status-update-deleted" + "$ref": "#/components/schemas/webhook-projects-v2-item-converted" } } } @@ -11844,18 +11543,18 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "projects_v2_status_update", + "subcategory": "projects_v2_item", "supported-webhook-types": ["organization"] } } }, - "projects-v2-status-update-edited": { + "projects-v2-item-created": { "post": { - "summary": "This event occurs when there is activity relating to a status update on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\"\n\nFor activity relating to a project, use the `projects_v2` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "A status update was edited on a project in the organization.", - "operationId": "projects-v2-status-update/edited", + "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", + "description": "An item was added to a project in the organization.", + "operationId": "projects-v2-item/created", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2_status_update" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2_item" }, "parameters": [ { @@ -11873,7 +11572,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "project-v2-status-update", + "example": "project-v2-item", "schema": { "type": "string" } }, { @@ -11906,7 +11605,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-projects-v2-status-update-edited" + "$ref": "#/components/schemas/webhook-projects-v2-item-created" } } } @@ -11920,17 +11619,18 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "projects_v2_status_update", + "subcategory": "projects_v2_item", "supported-webhook-types": ["organization"] } } }, - "public": { + "projects-v2-item-deleted": { "post": { - "summary": "This event occurs when repository visibility changes from private to public. For more information, see \"[Setting repository visibility](https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "operationId": "public", + "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", + "description": "An item was deleted from a project in the organization.", + "operationId": "projects-v2-item/deleted", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#public" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2_item" }, "parameters": [ { @@ -11948,7 +11648,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "project-v2-item", "schema": { "type": "string" } }, { @@ -11980,7 +11680,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-public" } + "schema": { + "$ref": "#/components/schemas/webhook-projects-v2-item-deleted" + } } } }, @@ -11991,19 +11693,20 @@ }, "x-github": { "githubCloudOnly": false, + "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "public", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "projects_v2_item", + "supported-webhook-types": ["organization"] } } }, - "pull-request-assigned": { + "projects-v2-item-edited": { "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A pull request was assigned to a user.", - "operationId": "pull-request/assigned", + "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", + "description": "The values or state of an item in an organization project were changed. For example, the value of a field was updated, the body of a draft issue was changed, or a draft issue was converted to an issue.", + "operationId": "projects-v2-item/edited", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#pull_request" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2_item" }, "parameters": [ { @@ -12021,7 +11724,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "project-v2-item", "schema": { "type": "string" } }, { @@ -12054,7 +11757,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-assigned" + "$ref": "#/components/schemas/webhook-projects-v2-item-edited" } } } @@ -12066,19 +11769,20 @@ }, "x-github": { "githubCloudOnly": false, + "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "pull_request", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "projects_v2_item", + "supported-webhook-types": ["organization"] } } }, - "pull-request-auto-merge-disabled": { + "projects-v2-item-reordered": { "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "Auto merge was disabled for a pull request. For more information, see \"[Automatically merging a pull request](https://docs.github.com/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request).\"", - "operationId": "pull-request/auto-merge-disabled", + "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", + "description": "The position of an item in an organization project was changed. For example, an item was moved above or below another item in the table or board layout.", + "operationId": "projects-v2-item/reordered", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#pull_request" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2_item" }, "parameters": [ { @@ -12096,7 +11800,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "project-v2-item", "schema": { "type": "string" } }, { @@ -12129,7 +11833,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-auto-merge-disabled" + "$ref": "#/components/schemas/webhook-projects-v2-item-reordered" } } } @@ -12141,19 +11845,20 @@ }, "x-github": { "githubCloudOnly": false, + "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "pull_request", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "projects_v2_item", + "supported-webhook-types": ["organization"] } } }, - "pull-request-auto-merge-enabled": { + "projects-v2-item-restored": { "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "Auto merge was enabled for a pull request. For more information, see \"[Automatically merging a pull request](https://docs.github.com/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request).\"", - "operationId": "pull-request/auto-merge-enabled", + "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", + "description": "An archived item on an organization project was restored from the archive. For more information, see \"[Archiving items from your project](https://docs.github.com/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project).\"", + "operationId": "projects-v2-item/restored", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#pull_request" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2_item" }, "parameters": [ { @@ -12171,7 +11876,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "project-v2-item", "schema": { "type": "string" } }, { @@ -12204,7 +11909,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-auto-merge-enabled" + "$ref": "#/components/schemas/webhook-projects-v2-item-restored" } } } @@ -12216,19 +11921,20 @@ }, "x-github": { "githubCloudOnly": false, + "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "pull_request", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "projects_v2_item", + "supported-webhook-types": ["organization"] } } }, - "pull-request-closed": { + "projects-v2-reopened": { "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A pull request was closed. If `merged` is false in the webhook payload, the pull request was closed with unmerged commits. If `merged` is true in the webhook payload, the pull request was merged.", - "operationId": "pull-request/closed", + "summary": "This event occurs when there is activity relating to an organization-level project. For more information, see \"[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#projectv2).\n\nFor activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", + "description": "A project in the organization was reopened.", + "operationId": "projects-v2/reopened", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#pull_request" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2" }, "parameters": [ { @@ -12246,7 +11952,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "project-v2", "schema": { "type": "string" } }, { @@ -12279,7 +11985,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-closed" + "$ref": "#/components/schemas/webhook-projects-v2-project-reopened" } } } @@ -12291,19 +11997,20 @@ }, "x-github": { "githubCloudOnly": false, + "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "pull_request", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "projects_v2", + "supported-webhook-types": ["organization"] } } }, - "pull-request-converted-to-draft": { + "projects-v2-status-update-created": { "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A pull request was converted to a draft. For more information, see \"[Changing the stage of a pull request](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request).\"", - "operationId": "pull-request/converted-to-draft", + "summary": "This event occurs when there is activity relating to a status update on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\"\n\nFor activity relating to a project, use the `projects_v2` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", + "description": "A status update was added to a project in the organization.", + "operationId": "projects-v2-status-update/created", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#pull_request" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2_status_update" }, "parameters": [ { @@ -12321,7 +12028,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "project-v2-status-update", "schema": { "type": "string" } }, { @@ -12354,7 +12061,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-converted-to-draft" + "$ref": "#/components/schemas/webhook-projects-v2-status-update-created" } } } @@ -12366,19 +12073,20 @@ }, "x-github": { "githubCloudOnly": false, + "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "pull_request", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "projects_v2_status_update", + "supported-webhook-types": ["organization"] } } }, - "pull-request-demilestoned": { + "projects-v2-status-update-deleted": { "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A pull request was removed from a milestone.", - "operationId": "pull-request/demilestoned", + "summary": "This event occurs when there is activity relating to a status update on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\"\n\nFor activity relating to a project, use the `projects_v2` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", + "description": "A status update was removed from a project in the organization.", + "operationId": "projects-v2-status-update/deleted", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#pull_request" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2_status_update" }, "parameters": [ { @@ -12396,7 +12104,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "project-v2-status-update", "schema": { "type": "string" } }, { @@ -12429,7 +12137,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-demilestoned" + "$ref": "#/components/schemas/webhook-projects-v2-status-update-deleted" } } } @@ -12441,19 +12149,20 @@ }, "x-github": { "githubCloudOnly": false, + "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "pull_request", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "projects_v2_status_update", + "supported-webhook-types": ["organization"] } } }, - "pull-request-dequeued": { + "projects-v2-status-update-edited": { "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A pull request was removed from the merge queue.", - "operationId": "pull-request/dequeued", + "summary": "This event occurs when there is activity relating to a status update on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\"\n\nFor activity relating to a project, use the `projects_v2` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", + "description": "A status update was edited on a project in the organization.", + "operationId": "projects-v2-status-update/edited", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#pull_request" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#projects_v2_status_update" }, "parameters": [ { @@ -12471,7 +12180,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "project-v2-status-update", "schema": { "type": "string" } }, { @@ -12504,7 +12213,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-dequeued" + "$ref": "#/components/schemas/webhook-projects-v2-status-update-edited" } } } @@ -12516,19 +12225,19 @@ }, "x-github": { "githubCloudOnly": false, + "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "pull_request", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "projects_v2_status_update", + "supported-webhook-types": ["organization"] } } }, - "pull-request-edited": { + "public": { "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "The title or body of a pull request was edited, or the base branch of a pull request was changed.", - "operationId": "pull-request/edited", + "summary": "This event occurs when repository visibility changes from private to public. For more information, see \"[Setting repository visibility](https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "operationId": "public", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#pull_request" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#public" }, "parameters": [ { @@ -12578,9 +12287,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-edited" - } + "schema": { "$ref": "#/components/schemas/webhook-public" } } } }, @@ -12592,16 +12299,16 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "pull_request", + "subcategory": "public", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "pull-request-enqueued": { + "pull-request-assigned": { "post": { "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A pull request was added to the merge queue.", - "operationId": "pull-request/enqueued", + "description": "A pull request was assigned to a user.", + "operationId": "pull-request/assigned", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#pull_request" }, @@ -12654,7 +12361,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-enqueued" + "$ref": "#/components/schemas/webhook-pull-request-assigned" } } } @@ -12672,11 +12379,11 @@ } } }, - "pull-request-labeled": { + "pull-request-auto-merge-disabled": { "post": { "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A label was added to a pull request.", - "operationId": "pull-request/labeled", + "description": "Auto merge was disabled for a pull request. For more information, see \"[Automatically merging a pull request](https://docs.github.com/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request).\"", + "operationId": "pull-request/auto-merge-disabled", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#pull_request" }, @@ -12729,7 +12436,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-labeled" + "$ref": "#/components/schemas/webhook-pull-request-auto-merge-disabled" } } } @@ -12747,11 +12454,11 @@ } } }, - "pull-request-locked": { + "pull-request-auto-merge-enabled": { "post": { "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "Conversation on a pull request was locked. For more information, see \"[Locking conversations](https://docs.github.com/communities/moderating-comments-and-conversations/locking-conversations).\"", - "operationId": "pull-request/locked", + "description": "Auto merge was enabled for a pull request. For more information, see \"[Automatically merging a pull request](https://docs.github.com/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request).\"", + "operationId": "pull-request/auto-merge-enabled", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#pull_request" }, @@ -12804,7 +12511,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-locked" + "$ref": "#/components/schemas/webhook-pull-request-auto-merge-enabled" } } } @@ -12822,11 +12529,11 @@ } } }, - "pull-request-milestoned": { + "pull-request-closed": { "post": { "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A pull request was added to a milestone.", - "operationId": "pull-request/milestoned", + "description": "A pull request was closed. If `merged` is false in the webhook payload, the pull request was closed with unmerged commits. If `merged` is true in the webhook payload, the pull request was merged.", + "operationId": "pull-request/closed", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#pull_request" }, @@ -12879,7 +12586,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-milestoned" + "$ref": "#/components/schemas/webhook-pull-request-closed" } } } @@ -12897,11 +12604,11 @@ } } }, - "pull-request-opened": { + "pull-request-converted-to-draft": { "post": { "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A pull request was created", - "operationId": "pull-request/opened", + "description": "A pull request was converted to a draft. For more information, see \"[Changing the stage of a pull request](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request).\"", + "operationId": "pull-request/converted-to-draft", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#pull_request" }, @@ -12954,7 +12661,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-opened" + "$ref": "#/components/schemas/webhook-pull-request-converted-to-draft" } } } @@ -12972,11 +12679,11 @@ } } }, - "pull-request-ready-for-review": { + "pull-request-demilestoned": { "post": { "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A draft pull request was marked as ready for review. For more information, see \"[Changing the stage of a pull request](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request).\"", - "operationId": "pull-request/ready-for-review", + "description": "A pull request was removed from a milestone.", + "operationId": "pull-request/demilestoned", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#pull_request" }, @@ -13029,7 +12736,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-ready-for-review" + "$ref": "#/components/schemas/webhook-pull-request-demilestoned" } } } @@ -13047,11 +12754,11 @@ } } }, - "pull-request-reopened": { + "pull-request-dequeued": { "post": { "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A previously closed pull request was reopened.", - "operationId": "pull-request/reopened", + "description": "A pull request was removed from the merge queue.", + "operationId": "pull-request/dequeued", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#pull_request" }, @@ -13104,7 +12811,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-reopened" + "$ref": "#/components/schemas/webhook-pull-request-dequeued" } } } @@ -13122,13 +12829,13 @@ } } }, - "pull-request-review-comment-created": { + "pull-request-edited": { "post": { - "summary": "This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see \"[Commenting on a pull request](https://docs.github.com/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request).\" For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequestreviewcomment) or \"[Pull request review comments](https://docs.github.com/rest/pulls/comments)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A comment on a pull request diff was created.", - "operationId": "pull-request-review-comment/created", + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "description": "The title or body of a pull request was edited, or the base branch of a pull request was changed.", + "operationId": "pull-request/edited", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#pull_request_review_comment" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#pull_request" }, "parameters": [ { @@ -13179,7 +12886,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-review-comment-created" + "$ref": "#/components/schemas/webhook-pull-request-edited" } } } @@ -13192,18 +12899,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "pull_request_review_comment", + "subcategory": "pull_request", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "pull-request-review-comment-deleted": { + "pull-request-enqueued": { "post": { - "summary": "This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see \"[Commenting on a pull request](https://docs.github.com/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request).\" For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequestreviewcomment) or \"[Pull request review comments](https://docs.github.com/rest/pulls/comments)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A comment on a pull request diff was deleted.", - "operationId": "pull-request-review-comment/deleted", + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "description": "A pull request was added to the merge queue.", + "operationId": "pull-request/enqueued", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#pull_request_review_comment" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#pull_request" }, "parameters": [ { @@ -13254,7 +12961,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-review-comment-deleted" + "$ref": "#/components/schemas/webhook-pull-request-enqueued" } } } @@ -13267,18 +12974,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "pull_request_review_comment", + "subcategory": "pull_request", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "pull-request-review-comment-edited": { + "pull-request-labeled": { "post": { - "summary": "This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see \"[Commenting on a pull request](https://docs.github.com/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request).\" For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequestreviewcomment) or \"[Pull request review comments](https://docs.github.com/rest/pulls/comments)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "The content of a comment on a pull request diff was changed.", - "operationId": "pull-request-review-comment/edited", + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "description": "A label was added to a pull request.", + "operationId": "pull-request/labeled", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#pull_request_review_comment" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#pull_request" }, "parameters": [ { @@ -13329,7 +13036,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-review-comment-edited" + "$ref": "#/components/schemas/webhook-pull-request-labeled" } } } @@ -13342,18 +13049,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "pull_request_review_comment", + "subcategory": "pull_request", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "pull-request-review-dismissed": { + "pull-request-locked": { "post": { - "summary": "This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see \"[About pull request reviews](https://docs.github.com/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews).\" For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequestreview) or \"[Pull request reviews](https://docs.github.com/rest/pulls/reviews)\" in the REST API documentation.\n\nFor activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A review on a pull request was dismissed.", - "operationId": "pull-request-review/dismissed", + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "description": "Conversation on a pull request was locked. For more information, see \"[Locking conversations](https://docs.github.com/communities/moderating-comments-and-conversations/locking-conversations).\"", + "operationId": "pull-request/locked", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#pull_request_review" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#pull_request" }, "parameters": [ { @@ -13404,7 +13111,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-review-dismissed" + "$ref": "#/components/schemas/webhook-pull-request-locked" } } } @@ -13417,18 +13124,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "pull_request_review", + "subcategory": "pull_request", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "pull-request-review-edited": { + "pull-request-milestoned": { "post": { - "summary": "This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see \"[About pull request reviews](https://docs.github.com/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews).\" For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequestreview) or \"[Pull request reviews](https://docs.github.com/rest/pulls/reviews)\" in the REST API documentation.\n\nFor activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "The body comment on a pull request review was edited.", - "operationId": "pull-request-review/edited", + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "description": "A pull request was added to a milestone.", + "operationId": "pull-request/milestoned", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#pull_request_review" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#pull_request" }, "parameters": [ { @@ -13479,7 +13186,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-review-edited" + "$ref": "#/components/schemas/webhook-pull-request-milestoned" } } } @@ -13492,16 +13199,16 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "pull_request_review", + "subcategory": "pull_request", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "pull-request-review-request-removed": { + "pull-request-opened": { "post": { "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A request for review by a person or team was removed from a pull request.", - "operationId": "pull-request/review-request-removed", + "description": "A pull request was created", + "operationId": "pull-request/opened", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#pull_request" }, @@ -13554,7 +13261,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-review-request-removed" + "$ref": "#/components/schemas/webhook-pull-request-opened" } } } @@ -13572,11 +13279,11 @@ } } }, - "pull-request-review-requested": { + "pull-request-ready-for-review": { "post": { "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "Review by a person or team was requested for a pull request. For more information, see \"[Requesting a pull request review](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/requesting-a-pull-request-review).\"", - "operationId": "pull-request/review-requested", + "description": "A draft pull request was marked as ready for review. For more information, see \"[Changing the stage of a pull request](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request).\"", + "operationId": "pull-request/ready-for-review", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#pull_request" }, @@ -13629,7 +13336,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-review-requested" + "$ref": "#/components/schemas/webhook-pull-request-ready-for-review" } } } @@ -13647,13 +13354,13 @@ } } }, - "pull-request-review-submitted": { + "pull-request-reopened": { "post": { - "summary": "This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see \"[About pull request reviews](https://docs.github.com/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews).\" For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequestreview) or \"[Pull request reviews](https://docs.github.com/rest/pulls/reviews)\" in the REST API documentation.\n\nFor activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A review on a pull request was submitted.", - "operationId": "pull-request-review/submitted", + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "description": "A previously closed pull request was reopened.", + "operationId": "pull-request/reopened", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#pull_request_review" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#pull_request" }, "parameters": [ { @@ -13704,7 +13411,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-review-submitted" + "$ref": "#/components/schemas/webhook-pull-request-reopened" } } } @@ -13717,18 +13424,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "pull_request_review", + "subcategory": "pull_request", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "pull-request-review-thread-resolved": { + "pull-request-review-comment-created": { "post": { - "summary": "This event occurs when there is activity relating to a comment thread on a pull request. For more information, see \"[About pull request reviews](https://docs.github.com/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews).\" For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequestreviewthread) or \"[Pull request review comments](https://docs.github.com/rest/pulls/comments)\" in the REST API documentation.\n\nFor activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A comment thread on a pull request was marked as resolved.", - "operationId": "pull-request-review-thread/resolved", + "summary": "This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see \"[Commenting on a pull request](https://docs.github.com/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request).\" For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequestreviewcomment) or \"[Pull request review comments](https://docs.github.com/rest/pulls/comments)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "description": "A comment on a pull request diff was created.", + "operationId": "pull-request-review-comment/created", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#pull_request_review_thread" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#pull_request_review_comment" }, "parameters": [ { @@ -13779,7 +13486,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-review-thread-resolved" + "$ref": "#/components/schemas/webhook-pull-request-review-comment-created" } } } @@ -13792,18 +13499,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "pull_request_review_thread", + "subcategory": "pull_request_review_comment", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "pull-request-review-thread-unresolved": { + "pull-request-review-comment-deleted": { "post": { - "summary": "This event occurs when there is activity relating to a comment thread on a pull request. For more information, see \"[About pull request reviews](https://docs.github.com/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews).\" For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequestreviewthread) or \"[Pull request review comments](https://docs.github.com/rest/pulls/comments)\" in the REST API documentation.\n\nFor activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A previously resolved comment thread on a pull request was marked as unresolved.", - "operationId": "pull-request-review-thread/unresolved", + "summary": "This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see \"[Commenting on a pull request](https://docs.github.com/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request).\" For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequestreviewcomment) or \"[Pull request review comments](https://docs.github.com/rest/pulls/comments)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "description": "A comment on a pull request diff was deleted.", + "operationId": "pull-request-review-comment/deleted", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#pull_request_review_thread" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#pull_request_review_comment" }, "parameters": [ { @@ -13854,7 +13561,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-review-thread-unresolved" + "$ref": "#/components/schemas/webhook-pull-request-review-comment-deleted" } } } @@ -13867,18 +13574,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "pull_request_review_thread", + "subcategory": "pull_request_review_comment", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "pull-request-synchronize": { + "pull-request-review-comment-edited": { "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A pull request's head branch was updated. For example, the head branch was updated from the base branch or new commits were pushed to the head branch.", - "operationId": "pull-request/synchronize", + "summary": "This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see \"[Commenting on a pull request](https://docs.github.com/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request).\" For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequestreviewcomment) or \"[Pull request review comments](https://docs.github.com/rest/pulls/comments)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "description": "The content of a comment on a pull request diff was changed.", + "operationId": "pull-request-review-comment/edited", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#pull_request" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#pull_request_review_comment" }, "parameters": [ { @@ -13929,7 +13636,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-synchronize" + "$ref": "#/components/schemas/webhook-pull-request-review-comment-edited" } } } @@ -13942,18 +13649,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "pull_request", + "subcategory": "pull_request_review_comment", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "pull-request-unassigned": { + "pull-request-review-dismissed": { "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A user was unassigned from a pull request.", - "operationId": "pull-request/unassigned", + "summary": "This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see \"[About pull request reviews](https://docs.github.com/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews).\" For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequestreview) or \"[Pull request reviews](https://docs.github.com/rest/pulls/reviews)\" in the REST API documentation.\n\nFor activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "description": "A review on a pull request was dismissed.", + "operationId": "pull-request-review/dismissed", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#pull_request" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#pull_request_review" }, "parameters": [ { @@ -14004,7 +13711,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-unassigned" + "$ref": "#/components/schemas/webhook-pull-request-review-dismissed" } } } @@ -14017,16 +13724,91 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "pull_request", + "subcategory": "pull_request_review", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "pull-request-unlabeled": { + "pull-request-review-edited": { + "post": { + "summary": "This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see \"[About pull request reviews](https://docs.github.com/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews).\" For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequestreview) or \"[Pull request reviews](https://docs.github.com/rest/pulls/reviews)\" in the REST API documentation.\n\nFor activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "description": "The body comment on a pull request review was edited.", + "operationId": "pull-request-review/edited", + "externalDocs": { + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#pull_request_review" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-pull-request-review-edited" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "pull_request_review", + "supported-webhook-types": ["repository", "organization", "app"] + } + } + }, + "pull-request-review-request-removed": { "post": { "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A label was removed from a pull request.", - "operationId": "pull-request/unlabeled", + "description": "A request for review by a person or team was removed from a pull request.", + "operationId": "pull-request/review-request-removed", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#pull_request" }, @@ -14079,7 +13861,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-unlabeled" + "$ref": "#/components/schemas/webhook-pull-request-review-request-removed" } } } @@ -14097,11 +13879,11 @@ } } }, - "pull-request-unlocked": { + "pull-request-review-requested": { "post": { "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "Conversation on a pull request was unlocked. For more information, see \"[Locking conversations](https://docs.github.com/communities/moderating-comments-and-conversations/locking-conversations).\"", - "operationId": "pull-request/unlocked", + "description": "Review by a person or team was requested for a pull request. For more information, see \"[Requesting a pull request review](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/requesting-a-pull-request-review).\"", + "operationId": "pull-request/review-requested", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#pull_request" }, @@ -14154,7 +13936,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-unlocked" + "$ref": "#/components/schemas/webhook-pull-request-review-requested" } } } @@ -14172,12 +13954,13 @@ } } }, - "push": { + "pull-request-review-submitted": { "post": { - "summary": "This event occurs when there is a push to a repository branch. This includes when a commit is pushed, when a commit tag is pushed,\nwhen a branch is deleted, when a tag is deleted, or when a repository is created from a template. To subscribe to only branch\nand tag deletions, use the [`delete`](#delete) webhook event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.\n\n> [!NOTE]\n> Events will not be created if more than 5000 branches are pushed at once. Events will not be created for tags when more than three tags are pushed at once.", - "operationId": "push", + "summary": "This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see \"[About pull request reviews](https://docs.github.com/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews).\" For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequestreview) or \"[Pull request reviews](https://docs.github.com/rest/pulls/reviews)\" in the REST API documentation.\n\nFor activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "description": "A review on a pull request was submitted.", + "operationId": "pull-request-review/submitted", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#push" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#pull_request_review" }, "parameters": [ { @@ -14227,7 +14010,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-push" } + "schema": { + "$ref": "#/components/schemas/webhook-pull-request-review-submitted" + } } } }, @@ -14239,18 +14024,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "push", + "subcategory": "pull_request_review", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "registry-package-published": { + "pull-request-review-thread-resolved": { "post": { - "summary": "This event occurs when there is activity relating to GitHub Packages. For more information, see \"[Introduction to GitHub Packages](https://docs.github.com/packages/learn-github-packages/introduction-to-github-packages).\" For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#package) or \"[Packages](https://docs.github.com/rest/packages)\" in the REST API documentation.\n\nTo install this event on a GitHub App, the app must have at least read-level access for the \"Packages\" repository permission.\n\n> [!NOTE]\n> GitHub recommends that you use the newer `package` event instead.", - "description": "A package was published to a registry.", - "operationId": "registry-package/published", + "summary": "This event occurs when there is activity relating to a comment thread on a pull request. For more information, see \"[About pull request reviews](https://docs.github.com/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews).\" For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequestreviewthread) or \"[Pull request review comments](https://docs.github.com/rest/pulls/comments)\" in the REST API documentation.\n\nFor activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "description": "A comment thread on a pull request was marked as resolved.", + "operationId": "pull-request-review-thread/resolved", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#registry_package" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#pull_request_review_thread" }, "parameters": [ { @@ -14301,7 +14086,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-registry-package-published" + "$ref": "#/components/schemas/webhook-pull-request-review-thread-resolved" } } } @@ -14314,18 +14099,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "registry_package", + "subcategory": "pull_request_review_thread", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "registry-package-updated": { + "pull-request-review-thread-unresolved": { "post": { - "summary": "This event occurs when there is activity relating to GitHub Packages. For more information, see \"[Introduction to GitHub Packages](https://docs.github.com/packages/learn-github-packages/introduction-to-github-packages).\" For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#package) or \"[Packages](https://docs.github.com/rest/packages)\" in the REST API documentation.\n\nTo install this event on a GitHub App, the app must have at least read-level access for the \"Packages\" repository permission.\n\n> [!NOTE]\n> GitHub recommends that you use the newer `package` event instead.", - "description": "A package that was previously published to a registry was updated.", - "operationId": "registry-package/updated", + "summary": "This event occurs when there is activity relating to a comment thread on a pull request. For more information, see \"[About pull request reviews](https://docs.github.com/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews).\" For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequestreviewthread) or \"[Pull request review comments](https://docs.github.com/rest/pulls/comments)\" in the REST API documentation.\n\nFor activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "description": "A previously resolved comment thread on a pull request was marked as unresolved.", + "operationId": "pull-request-review-thread/unresolved", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#registry_package" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#pull_request_review_thread" }, "parameters": [ { @@ -14376,7 +14161,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-registry-package-updated" + "$ref": "#/components/schemas/webhook-pull-request-review-thread-unresolved" } } } @@ -14389,18 +14174,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "registry_package", + "subcategory": "pull_request_review_thread", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "release-created": { + "pull-request-synchronize": { "post": { - "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#release) or \"[Releases](https://docs.github.com/rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", - "description": "A draft was saved, or a release or pre-release was published without previously being saved as a draft.", - "operationId": "release/created", + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "description": "A pull request's head branch was updated. For example, the head branch was updated from the base branch or new commits were pushed to the head branch.", + "operationId": "pull-request/synchronize", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#release" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#pull_request" }, "parameters": [ { @@ -14451,7 +14236,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-release-created" + "$ref": "#/components/schemas/webhook-pull-request-synchronize" } } } @@ -14464,18 +14249,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "release", + "subcategory": "pull_request", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "release-deleted": { + "pull-request-unassigned": { "post": { - "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#release) or \"[Releases](https://docs.github.com/rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", - "description": "A release, pre-release, or draft release was deleted.", - "operationId": "release/deleted", + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "description": "A user was unassigned from a pull request.", + "operationId": "pull-request/unassigned", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#release" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#pull_request" }, "parameters": [ { @@ -14526,7 +14311,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-release-deleted" + "$ref": "#/components/schemas/webhook-pull-request-unassigned" } } } @@ -14539,18 +14324,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "release", + "subcategory": "pull_request", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "release-edited": { + "pull-request-unlabeled": { "post": { - "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#release) or \"[Releases](https://docs.github.com/rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", - "description": "The details of a release, pre-release, or draft release were edited. For more information, see \"[Managing releases in a repository](https://docs.github.com/repositories/releasing-projects-on-github/managing-releases-in-a-repository#editing-a-release).\"", - "operationId": "release/edited", + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "description": "A label was removed from a pull request.", + "operationId": "pull-request/unlabeled", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#release" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#pull_request" }, "parameters": [ { @@ -14601,7 +14386,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-release-edited" + "$ref": "#/components/schemas/webhook-pull-request-unlabeled" } } } @@ -14614,18 +14399,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "release", + "subcategory": "pull_request", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "release-prereleased": { + "pull-request-unlocked": { "post": { - "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#release) or \"[Releases](https://docs.github.com/rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", - "description": "A release was created and identified as a pre-release. A pre-release is a release that is not ready for production and may be unstable.", - "operationId": "release/prereleased", + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "description": "Conversation on a pull request was unlocked. For more information, see \"[Locking conversations](https://docs.github.com/communities/moderating-comments-and-conversations/locking-conversations).\"", + "operationId": "pull-request/unlocked", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#release" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#pull_request" }, "parameters": [ { @@ -14676,7 +14461,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-release-prereleased" + "$ref": "#/components/schemas/webhook-pull-request-unlocked" } } } @@ -14689,18 +14474,90 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "release", + "subcategory": "pull_request", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "release-published": { + "push": { "post": { - "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#release) or \"[Releases](https://docs.github.com/rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", - "description": "A release, pre-release, or draft of a release was published.", - "operationId": "release/published", + "summary": "This event occurs when there is a push to a repository branch. This includes when a commit is pushed, when a commit tag is pushed,\nwhen a branch is deleted, when a tag is deleted, or when a repository is created from a template. To subscribe to only branch\nand tag deletions, use the [`delete`](#delete) webhook event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.\n\n> [!NOTE]\n> Events will not be created if more than 5000 branches are pushed at once. Events will not be created for tags when more than three tags are pushed at once.", + "operationId": "push", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#release" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#push" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/webhook-push" } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "push", + "supported-webhook-types": ["repository", "organization", "app"] + } + } + }, + "registry-package-published": { + "post": { + "summary": "This event occurs when there is activity relating to GitHub Packages. For more information, see \"[Introduction to GitHub Packages](https://docs.github.com/packages/learn-github-packages/introduction-to-github-packages).\" For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#package) or \"[Packages](https://docs.github.com/rest/packages)\" in the REST API documentation.\n\nTo install this event on a GitHub App, the app must have at least read-level access for the \"Packages\" repository permission.\n\n> [!NOTE]\n> GitHub recommends that you use the newer `package` event instead.", + "description": "A package was published to a registry.", + "operationId": "registry-package/published", + "externalDocs": { + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#registry_package" }, "parameters": [ { @@ -14751,7 +14608,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-release-published" + "$ref": "#/components/schemas/webhook-registry-package-published" } } } @@ -14764,18 +14621,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "release", + "subcategory": "registry_package", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "release-released": { + "registry-package-updated": { "post": { - "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#release) or \"[Releases](https://docs.github.com/rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", - "description": "A release was published, or a pre-release was changed to a release.", - "operationId": "release/released", + "summary": "This event occurs when there is activity relating to GitHub Packages. For more information, see \"[Introduction to GitHub Packages](https://docs.github.com/packages/learn-github-packages/introduction-to-github-packages).\" For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#package) or \"[Packages](https://docs.github.com/rest/packages)\" in the REST API documentation.\n\nTo install this event on a GitHub App, the app must have at least read-level access for the \"Packages\" repository permission.\n\n> [!NOTE]\n> GitHub recommends that you use the newer `package` event instead.", + "description": "A package that was previously published to a registry was updated.", + "operationId": "registry-package/updated", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#release" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#registry_package" }, "parameters": [ { @@ -14826,7 +14683,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-release-released" + "$ref": "#/components/schemas/webhook-registry-package-updated" } } } @@ -14839,16 +14696,16 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "release", + "subcategory": "registry_package", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "release-unpublished": { + "release-created": { "post": { "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#release) or \"[Releases](https://docs.github.com/rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", - "description": "A release or pre-release was unpublished.", - "operationId": "release/unpublished", + "description": "A draft was saved, or a release or pre-release was published without previously being saved as a draft.", + "operationId": "release/created", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#release" }, @@ -14901,7 +14758,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-release-unpublished" + "$ref": "#/components/schemas/webhook-release-created" } } } @@ -14919,13 +14776,13 @@ } } }, - "repository-advisory-published": { + "release-deleted": { "post": { - "summary": "This event occurs when there is activity relating to a repository security advisory. For more information about repository security advisories, see \"[About GitHub Security Advisories for repositories](https://docs.github.com/code-security/repository-security-advisories/about-github-security-advisories-for-repositories).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Repository security advisories\" permission.", - "description": "A repository security advisory was published.", - "operationId": "repository-advisory/published", + "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#release) or \"[Releases](https://docs.github.com/rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", + "description": "A release, pre-release, or draft release was deleted.", + "operationId": "release/deleted", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#repository_advisory" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#release" }, "parameters": [ { @@ -14976,7 +14833,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-repository-advisory-published" + "$ref": "#/components/schemas/webhook-release-deleted" } } } @@ -14989,18 +14846,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "repository_advisory", + "subcategory": "release", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "repository-advisory-reported": { + "release-edited": { "post": { - "summary": "This event occurs when there is activity relating to a repository security advisory. For more information about repository security advisories, see \"[About GitHub Security Advisories for repositories](https://docs.github.com/code-security/repository-security-advisories/about-github-security-advisories-for-repositories).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Repository security advisories\" permission.", - "description": "A private vulnerability report was submitted.", - "operationId": "repository-advisory/reported", + "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#release) or \"[Releases](https://docs.github.com/rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", + "description": "The details of a release, pre-release, or draft release were edited. For more information, see \"[Managing releases in a repository](https://docs.github.com/repositories/releasing-projects-on-github/managing-releases-in-a-repository#editing-a-release).\"", + "operationId": "release/edited", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#repository_advisory" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#release" }, "parameters": [ { @@ -15051,7 +14908,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-repository-advisory-reported" + "$ref": "#/components/schemas/webhook-release-edited" } } } @@ -15064,18 +14921,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "repository_advisory", + "subcategory": "release", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "repository-archived": { + "release-prereleased": { "post": { - "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "A repository was archived.", - "operationId": "repository/archived", + "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#release) or \"[Releases](https://docs.github.com/rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", + "description": "A release was created and identified as a pre-release. A pre-release is a release that is not ready for production and may be unstable.", + "operationId": "release/prereleased", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#repository" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#release" }, "parameters": [ { @@ -15126,7 +14983,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-repository-archived" + "$ref": "#/components/schemas/webhook-release-prereleased" } } } @@ -15139,23 +14996,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "repository", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] + "subcategory": "release", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "repository-created": { + "release-published": { "post": { - "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "A repository was created.", - "operationId": "repository/created", + "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#release) or \"[Releases](https://docs.github.com/rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", + "description": "A release, pre-release, or draft of a release was published.", + "operationId": "release/published", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#repository" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#release" }, "parameters": [ { @@ -15206,7 +15058,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-repository-created" + "$ref": "#/components/schemas/webhook-release-published" } } } @@ -15219,23 +15071,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "repository", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] + "subcategory": "release", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "repository-deleted": { + "release-released": { "post": { - "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "A repository was deleted. GitHub Apps and repository webhooks will not receive this event.", - "operationId": "repository/deleted", + "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#release) or \"[Releases](https://docs.github.com/rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", + "description": "A release was published, or a pre-release was changed to a release.", + "operationId": "release/released", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#repository" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#release" }, "parameters": [ { @@ -15286,7 +15133,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-repository-deleted" + "$ref": "#/components/schemas/webhook-release-released" } } } @@ -15299,22 +15146,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "repository", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] + "subcategory": "release", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "repository-dispatch-sample.collected": { + "release-unpublished": { "post": { - "summary": "This event occurs when a GitHub App sends a `POST` request to `/repos/{owner}/{repo}/dispatches`. For more information, see [the REST API documentation for creating a repository dispatch event](https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event). In the payload, the `action` will be the `event_type` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", - "operationId": "repository-dispatch/sample.collected", + "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/graphql/reference/objects#release) or \"[Releases](https://docs.github.com/rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", + "description": "A release or pre-release was unpublished.", + "operationId": "release/unpublished", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#repository_dispatch" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#release" }, "parameters": [ { @@ -15365,7 +15208,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-repository-dispatch-sample" + "$ref": "#/components/schemas/webhook-release-unpublished" } } } @@ -15378,18 +15221,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "repository_dispatch", - "supported-webhook-types": ["app"] + "subcategory": "release", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "repository-edited": { + "repository-advisory-published": { "post": { - "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "The topics, default branch, description, or homepage of a repository was changed.", - "operationId": "repository/edited", + "summary": "This event occurs when there is activity relating to a repository security advisory. For more information about repository security advisories, see \"[About GitHub Security Advisories for repositories](https://docs.github.com/code-security/repository-security-advisories/about-github-security-advisories-for-repositories).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Repository security advisories\" permission.", + "description": "A repository security advisory was published.", + "operationId": "repository-advisory/published", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#repository" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#repository_advisory" }, "parameters": [ { @@ -15440,7 +15283,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-repository-edited" + "$ref": "#/components/schemas/webhook-repository-advisory-published" } } } @@ -15453,22 +15296,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "repository", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] + "subcategory": "repository_advisory", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "repository-import": { + "repository-advisory-reported": { "post": { - "summary": "This event occurs when a repository is imported to GitHub. For more information, see \"[Importing a repository with GitHub Importer](https://docs.github.com/get-started/importing-your-projects-to-github/importing-source-code-to-github/importing-a-repository-with-github-importer).\" For more information about the API to manage imports, see [the REST API documentation](https://docs.github.com/rest/migrations/source-imports).", - "operationId": "repository-import", + "summary": "This event occurs when there is activity relating to a repository security advisory. For more information about repository security advisories, see \"[About GitHub Security Advisories for repositories](https://docs.github.com/code-security/repository-security-advisories/about-github-security-advisories-for-repositories).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Repository security advisories\" permission.", + "description": "A private vulnerability report was submitted.", + "operationId": "repository-advisory/reported", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#repository_import" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#repository_advisory" }, "parameters": [ { @@ -15519,7 +15358,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-repository-import" + "$ref": "#/components/schemas/webhook-repository-advisory-reported" } } } @@ -15532,16 +15371,16 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "repository_import", - "supported-webhook-types": ["repository", "organization"] + "subcategory": "repository_advisory", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "repository-privatized": { + "repository-archived": { "post": { "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "The visibility of a repository was changed to `private`.", - "operationId": "repository/privatized", + "description": "A repository was archived.", + "operationId": "repository/archived", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#repository" }, @@ -15594,7 +15433,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-repository-privatized" + "$ref": "#/components/schemas/webhook-repository-archived" } } } @@ -15617,11 +15456,11 @@ } } }, - "repository-publicized": { + "repository-created": { "post": { "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "The visibility of a repository was changed to `public`.", - "operationId": "repository/publicized", + "description": "A repository was created.", + "operationId": "repository/created", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#repository" }, @@ -15674,7 +15513,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-repository-publicized" + "$ref": "#/components/schemas/webhook-repository-created" } } } @@ -15697,11 +15536,11 @@ } } }, - "repository-renamed": { + "repository-deleted": { "post": { "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "The name of a repository was changed.", - "operationId": "repository/renamed", + "description": "A repository was deleted. GitHub Apps and repository webhooks will not receive this event.", + "operationId": "repository/deleted", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#repository" }, @@ -15754,7 +15593,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-repository-renamed" + "$ref": "#/components/schemas/webhook-repository-deleted" } } } @@ -15777,13 +15616,12 @@ } } }, - "repository-ruleset-created": { + "repository-dispatch-sample.collected": { "post": { - "summary": "This event occurs when there is activity relating to repository rulesets.\nFor more information about repository rulesets, see \"[Managing rulesets](https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets).\"\nFor more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/graphql/reference/objects#repositoryruleset) in the GraphQL documentation or \"[Repository rules](https://docs.github.com/rest/repos/rules)\" and \"[Organization rules](https://docs.github.com/rest/orgs/rules) in the REST API documentation.\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository or organization permission.", - "description": "A repository ruleset was created.", - "operationId": "repository-ruleset/created", + "summary": "This event occurs when a GitHub App sends a `POST` request to `/repos/{owner}/{repo}/dispatches`. For more information, see [the REST API documentation for creating a repository dispatch event](https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event). In the payload, the `action` will be the `event_type` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", + "operationId": "repository-dispatch/sample.collected", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#repository_ruleset" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#repository_dispatch" }, "parameters": [ { @@ -15834,7 +15672,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-repository-ruleset-created" + "$ref": "#/components/schemas/webhook-repository-dispatch-sample" } } } @@ -15847,18 +15685,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "repository_ruleset", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "repository_dispatch", + "supported-webhook-types": ["app"] } } }, - "repository-ruleset-deleted": { + "repository-edited": { "post": { - "summary": "This event occurs when there is activity relating to repository rulesets.\nFor more information about repository rulesets, see \"[Managing rulesets](https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets).\"\nFor more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/graphql/reference/objects#repositoryruleset) in the GraphQL documentation or \"[Repository rules](https://docs.github.com/rest/repos/rules)\" and \"[Organization rules](https://docs.github.com/rest/orgs/rules) in the REST API documentation.\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository or organization permission.", - "description": "A repository ruleset was deleted.", - "operationId": "repository-ruleset/deleted", + "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "description": "The topics, default branch, description, or homepage of a repository was changed.", + "operationId": "repository/edited", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#repository_ruleset" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#repository" }, "parameters": [ { @@ -15909,7 +15747,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-repository-ruleset-deleted" + "$ref": "#/components/schemas/webhook-repository-edited" } } } @@ -15922,18 +15760,22 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "repository_ruleset", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "repository", + "supported-webhook-types": [ + "business", + "repository", + "organization", + "app" + ] } } }, - "repository-ruleset-edited": { + "repository-import": { "post": { - "summary": "This event occurs when there is activity relating to repository rulesets.\nFor more information about repository rulesets, see \"[Managing rulesets](https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets).\"\nFor more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/graphql/reference/objects#repositoryruleset) in the GraphQL documentation or \"[Repository rules](https://docs.github.com/rest/repos/rules)\" and \"[Organization rules](https://docs.github.com/rest/orgs/rules) in the REST API documentation.\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository or organization permission.", - "description": "A repository ruleset was edited.", - "operationId": "repository-ruleset/edited", + "summary": "This event occurs when a repository is imported to GitHub. For more information, see \"[Importing a repository with GitHub Importer](https://docs.github.com/get-started/importing-your-projects-to-github/importing-source-code-to-github/importing-a-repository-with-github-importer).\" For more information about the API to manage imports, see [the REST API documentation](https://docs.github.com/rest/migrations/source-imports).", + "operationId": "repository-import", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#repository_ruleset" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#repository_import" }, "parameters": [ { @@ -15984,7 +15826,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-repository-ruleset-edited" + "$ref": "#/components/schemas/webhook-repository-import" } } } @@ -15997,16 +15839,16 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "repository_ruleset", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "repository_import", + "supported-webhook-types": ["repository", "organization"] } } }, - "repository-transferred": { + "repository-privatized": { "post": { "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "Ownership of the repository was transferred to a user or organization account. This event is only sent to the account where the ownership is transferred. To receive the `repository.transferred` event, the new owner account must have the GitHub App installed, and the App must be subscribed to \"Repository\" events.", - "operationId": "repository/transferred", + "description": "The visibility of a repository was changed to `private`.", + "operationId": "repository/privatized", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#repository" }, @@ -16059,7 +15901,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-repository-transferred" + "$ref": "#/components/schemas/webhook-repository-privatized" } } } @@ -16082,11 +15924,11 @@ } } }, - "repository-unarchived": { + "repository-publicized": { "post": { "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "A previously archived repository was unarchived.", - "operationId": "repository/unarchived", + "description": "The visibility of a repository was changed to `public`.", + "operationId": "repository/publicized", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#repository" }, @@ -16139,7 +15981,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-repository-unarchived" + "$ref": "#/components/schemas/webhook-repository-publicized" } } } @@ -16162,13 +16004,13 @@ } } }, - "repository-vulnerability-alert-create": { + "repository-renamed": { "post": { - "summary": "This event occurs when there is activity relating to a security vulnerability alert in a repository.\n\n> [!WARNING]\n> **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead.", - "description": "A repository vulnerability alert was created.", - "operationId": "repository-vulnerability-alert/create", + "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "description": "The name of a repository was changed.", + "operationId": "repository/renamed", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#repository_vulnerability_alert" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#repository" }, "parameters": [ { @@ -16219,7 +16061,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-repository-vulnerability-alert-create" + "$ref": "#/components/schemas/webhook-repository-renamed" } } } @@ -16232,18 +16074,23 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "repository_vulnerability_alert", - "supported-webhook-types": ["repository", "organization"] + "subcategory": "repository", + "supported-webhook-types": [ + "business", + "repository", + "organization", + "app" + ] } } }, - "repository-vulnerability-alert-dismiss": { + "repository-ruleset-created": { "post": { - "summary": "This event occurs when there is activity relating to a security vulnerability alert in a repository.\n\n> [!WARNING]\n> **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead.", - "description": "A repository vulnerability alert was dismissed.", - "operationId": "repository-vulnerability-alert/dismiss", + "summary": "This event occurs when there is activity relating to repository rulesets.\nFor more information about repository rulesets, see \"[Managing rulesets](https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets).\"\nFor more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/graphql/reference/objects#repositoryruleset) in the GraphQL documentation or \"[Repository rules](https://docs.github.com/rest/repos/rules)\" and \"[Organization rules](https://docs.github.com/rest/orgs/rules) in the REST API documentation.\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository or organization permission.", + "description": "A repository ruleset was created.", + "operationId": "repository-ruleset/created", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#repository_vulnerability_alert" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#repository_ruleset" }, "parameters": [ { @@ -16294,7 +16141,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-repository-vulnerability-alert-dismiss" + "$ref": "#/components/schemas/webhook-repository-ruleset-created" } } } @@ -16307,18 +16154,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "repository_vulnerability_alert", - "supported-webhook-types": ["repository", "organization"] + "subcategory": "repository_ruleset", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "repository-vulnerability-alert-reopen": { + "repository-ruleset-deleted": { "post": { - "summary": "This event occurs when there is activity relating to a security vulnerability alert in a repository.\n\n> [!WARNING]\n> **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead.", - "description": "A previously dismissed or resolved repository vulnerability alert was reopened.", - "operationId": "repository-vulnerability-alert/reopen", + "summary": "This event occurs when there is activity relating to repository rulesets.\nFor more information about repository rulesets, see \"[Managing rulesets](https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets).\"\nFor more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/graphql/reference/objects#repositoryruleset) in the GraphQL documentation or \"[Repository rules](https://docs.github.com/rest/repos/rules)\" and \"[Organization rules](https://docs.github.com/rest/orgs/rules) in the REST API documentation.\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository or organization permission.", + "description": "A repository ruleset was deleted.", + "operationId": "repository-ruleset/deleted", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#repository_vulnerability_alert" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#repository_ruleset" }, "parameters": [ { @@ -16369,7 +16216,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-repository-vulnerability-alert-reopen" + "$ref": "#/components/schemas/webhook-repository-ruleset-deleted" } } } @@ -16382,18 +16229,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "repository_vulnerability_alert", - "supported-webhook-types": ["repository", "organization"] + "subcategory": "repository_ruleset", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "repository-vulnerability-alert-resolve": { + "repository-ruleset-edited": { "post": { - "summary": "This event occurs when there is activity relating to a security vulnerability alert in a repository.\n\n> [!WARNING]\n> **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead.", - "description": "A repository vulnerability alert was marked as resolved.", - "operationId": "repository-vulnerability-alert/resolve", + "summary": "This event occurs when there is activity relating to repository rulesets.\nFor more information about repository rulesets, see \"[Managing rulesets](https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets).\"\nFor more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/graphql/reference/objects#repositoryruleset) in the GraphQL documentation or \"[Repository rules](https://docs.github.com/rest/repos/rules)\" and \"[Organization rules](https://docs.github.com/rest/orgs/rules) in the REST API documentation.\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository or organization permission.", + "description": "A repository ruleset was edited.", + "operationId": "repository-ruleset/edited", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#repository_vulnerability_alert" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#repository_ruleset" }, "parameters": [ { @@ -16444,7 +16291,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-repository-vulnerability-alert-resolve" + "$ref": "#/components/schemas/webhook-repository-ruleset-edited" } } } @@ -16457,18 +16304,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "repository_vulnerability_alert", - "supported-webhook-types": ["repository", "organization"] + "subcategory": "repository_ruleset", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "secret-scanning-alert-created": { + "repository-transferred": { "post": { - "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", - "description": "A secret scanning alert was created.", - "operationId": "secret-scanning-alert/created", + "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "description": "Ownership of the repository was transferred to a user or organization account. This event is only sent to the account where the ownership is transferred. To receive the `repository.transferred` event, the new owner account must have the GitHub App installed, and the App must be subscribed to \"Repository\" events.", + "operationId": "repository/transferred", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#secret_scanning_alert" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#repository" }, "parameters": [ { @@ -16519,7 +16366,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-secret-scanning-alert-created" + "$ref": "#/components/schemas/webhook-repository-transferred" } } } @@ -16532,18 +16379,23 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "secret_scanning_alert", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "repository", + "supported-webhook-types": [ + "business", + "repository", + "organization", + "app" + ] } } }, - "secret-scanning-alert-location-created": { + "repository-unarchived": { "post": { - "summary": "This event occurs when there is activity relating to the locations of a secret in a secret scanning alert.\n\nFor more information about secret scanning, see \"[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alerts, use the `secret_scanning_alert` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", - "description": "A new instance of a previously detected secret was detected in a repository, and the location of the secret was added to the existing alert.", - "operationId": "secret-scanning-alert-location/created", + "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "description": "A previously archived repository was unarchived.", + "operationId": "repository/unarchived", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#secret_scanning_alert_location" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#repository" }, "parameters": [ { @@ -16594,22 +16446,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-secret-scanning-alert-location-created" - }, - "examples": { - "default": { - "$ref": "#/components/examples/secret-scanning-alert-location-created" - } - } - }, - "application/x-www-form-urlencoded": { - "schema": { - "$ref": "#/components/schemas/webhook-secret-scanning-alert-location-created-form-encoded" - }, - "examples": { - "default": { - "$ref": "#/components/examples/secret-scanning-alert-location-created-form-encoded" - } + "$ref": "#/components/schemas/webhook-repository-unarchived" } } } @@ -16621,20 +16458,24 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "secret_scanning_alert_location", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "repository", + "supported-webhook-types": [ + "business", + "repository", + "organization", + "app" + ] } } }, - "secret-scanning-alert-publicly-leaked": { + "repository-vulnerability-alert-create": { "post": { - "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", - "description": "A secret scanning alert was detected in a public repo.", - "operationId": "secret-scanning-alert/publicly-leaked", + "summary": "This event occurs when there is activity relating to a security vulnerability alert in a repository.\n\n> [!WARNING]\n> **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead.", + "description": "A repository vulnerability alert was created.", + "operationId": "repository-vulnerability-alert/create", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#secret_scanning_alert" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#repository_vulnerability_alert" }, "parameters": [ { @@ -16685,7 +16526,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-secret-scanning-alert-publicly-leaked" + "$ref": "#/components/schemas/webhook-repository-vulnerability-alert-create" } } } @@ -16698,18 +16539,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "secret_scanning_alert", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "repository_vulnerability_alert", + "supported-webhook-types": ["repository", "organization"] } } }, - "secret-scanning-alert-reopened": { + "repository-vulnerability-alert-dismiss": { "post": { - "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", - "description": "A previously closed secret scanning alert was reopened.", - "operationId": "secret-scanning-alert/reopened", + "summary": "This event occurs when there is activity relating to a security vulnerability alert in a repository.\n\n> [!WARNING]\n> **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead.", + "description": "A repository vulnerability alert was dismissed.", + "operationId": "repository-vulnerability-alert/dismiss", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#secret_scanning_alert" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#repository_vulnerability_alert" }, "parameters": [ { @@ -16760,7 +16601,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-secret-scanning-alert-reopened" + "$ref": "#/components/schemas/webhook-repository-vulnerability-alert-dismiss" } } } @@ -16773,18 +16614,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "secret_scanning_alert", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "repository_vulnerability_alert", + "supported-webhook-types": ["repository", "organization"] } } }, - "secret-scanning-alert-resolved": { + "repository-vulnerability-alert-reopen": { "post": { - "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", - "description": "A secret scanning alert was closed.", - "operationId": "secret-scanning-alert/resolved", + "summary": "This event occurs when there is activity relating to a security vulnerability alert in a repository.\n\n> [!WARNING]\n> **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead.", + "description": "A previously dismissed or resolved repository vulnerability alert was reopened.", + "operationId": "repository-vulnerability-alert/reopen", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#secret_scanning_alert" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#repository_vulnerability_alert" }, "parameters": [ { @@ -16835,7 +16676,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-secret-scanning-alert-resolved" + "$ref": "#/components/schemas/webhook-repository-vulnerability-alert-reopen" } } } @@ -16848,18 +16689,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "secret_scanning_alert", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "repository_vulnerability_alert", + "supported-webhook-types": ["repository", "organization"] } } }, - "secret-scanning-alert-validated": { + "repository-vulnerability-alert-resolve": { "post": { - "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", - "description": "A secret scanning alert was validated.", - "operationId": "secret-scanning-alert/validated", + "summary": "This event occurs when there is activity relating to a security vulnerability alert in a repository.\n\n> [!WARNING]\n> **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead.", + "description": "A repository vulnerability alert was marked as resolved.", + "operationId": "repository-vulnerability-alert/resolve", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#secret_scanning_alert" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#repository_vulnerability_alert" }, "parameters": [ { @@ -16910,7 +16751,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-secret-scanning-alert-validated" + "$ref": "#/components/schemas/webhook-repository-vulnerability-alert-resolve" } } } @@ -16923,18 +16764,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "secret_scanning_alert", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "repository_vulnerability_alert", + "supported-webhook-types": ["repository", "organization"] } } }, - "secret-scanning-scan-completed": { + "secret-scanning-alert-created": { "post": { - "summary": "This event occurs when secret scanning completes certain scans on a repository. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning).\"\n\nScans can originate from multiple events such as updates to a custom pattern, a push to a repository, or updates\nto patterns from partners. For more information on custom patterns, see \"[About custom patterns](https://docs.github.com/code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/custom-patterns).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", - "description": "A secret scanning scan was completed.", - "operationId": "secret-scanning-scan/completed", + "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", + "description": "A secret scanning alert was created.", + "operationId": "secret-scanning-alert/created", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#secret_scanning_scan" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#secret_scanning_alert" }, "parameters": [ { @@ -16985,7 +16826,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-secret-scanning-scan-completed" + "$ref": "#/components/schemas/webhook-secret-scanning-alert-created" } } } @@ -16998,18 +16839,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "secret_scanning_scan", + "subcategory": "secret_scanning_alert", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "security-advisory-published": { + "secret-scanning-alert-location-created": { "post": { - "summary": "This event occurs when there is activity relating to a global security advisory that was reviewed by GitHub. A GitHub-reviewed global security advisory provides information about security vulnerabilities or malware that have been mapped to packages in ecosystems we support. For more information about global security advisories, see \"[About global security advisories](https://docs.github.com/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-global-security-advisories).\" For information about the API to manage security advisories, see [the REST API documentation](https://docs.github.com/rest/security-advisories/global-advisories) or [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#securityadvisory).\n\nGitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see \"[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\"", - "description": "A security advisory was published to the GitHub community.", - "operationId": "security-advisory/published", + "summary": "This event occurs when there is activity relating to the locations of a secret in a secret scanning alert.\n\nFor more information about secret scanning, see \"[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alerts, use the `secret_scanning_alert` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", + "description": "A new instance of a previously detected secret was detected in a repository, and the location of the secret was added to the existing alert.", + "operationId": "secret-scanning-alert-location/created", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#security_advisory" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#secret_scanning_alert_location" }, "parameters": [ { @@ -17060,82 +16901,22 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-security-advisory-published" + "$ref": "#/components/schemas/webhook-secret-scanning-alert-location-created" + }, + "examples": { + "default": { + "$ref": "#/components/examples/secret-scanning-alert-location-created" + } } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "security_advisory", - "supported-webhook-types": ["app"] - } - } - }, - "security-advisory-updated": { - "post": { - "summary": "This event occurs when there is activity relating to a global security advisory that was reviewed by GitHub. A GitHub-reviewed global security advisory provides information about security vulnerabilities or malware that have been mapped to packages in ecosystems we support. For more information about global security advisories, see \"[About global security advisories](https://docs.github.com/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-global-security-advisories).\" For information about the API to manage security advisories, see [the REST API documentation](https://docs.github.com/rest/security-advisories/global-advisories) or [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#securityadvisory).\n\nGitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see \"[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\"", - "description": "The metadata or description of a security advisory was changed.", - "operationId": "security-advisory/updated", - "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#security_advisory" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { + }, + "application/x-www-form-urlencoded": { "schema": { - "$ref": "#/components/schemas/webhook-security-advisory-updated" + "$ref": "#/components/schemas/webhook-secret-scanning-alert-location-created-form-encoded" + }, + "examples": { + "default": { + "$ref": "#/components/examples/secret-scanning-alert-location-created-form-encoded" + } } } } @@ -17147,19 +16928,20 @@ }, "x-github": { "githubCloudOnly": false, + "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "security_advisory", - "supported-webhook-types": ["app"] + "subcategory": "secret_scanning_alert_location", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "security-advisory-withdrawn": { + "secret-scanning-alert-publicly-leaked": { "post": { - "summary": "This event occurs when there is activity relating to a global security advisory that was reviewed by GitHub. A GitHub-reviewed global security advisory provides information about security vulnerabilities or malware that have been mapped to packages in ecosystems we support. For more information about global security advisories, see \"[About global security advisories](https://docs.github.com/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-global-security-advisories).\" For information about the API to manage security advisories, see [the REST API documentation](https://docs.github.com/rest/security-advisories/global-advisories) or [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#securityadvisory).\n\nGitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see \"[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\"", - "description": "A previously published security advisory was withdrawn.", - "operationId": "security-advisory/withdrawn", + "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", + "description": "A secret scanning alert was detected in a public repo.", + "operationId": "secret-scanning-alert/publicly-leaked", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#security_advisory" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#secret_scanning_alert" }, "parameters": [ { @@ -17210,7 +16992,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-security-advisory-withdrawn" + "$ref": "#/components/schemas/webhook-secret-scanning-alert-publicly-leaked" } } } @@ -17223,17 +17005,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "security_advisory", - "supported-webhook-types": ["app"] + "subcategory": "secret_scanning_alert", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "security-and-analysis": { + "secret-scanning-alert-reopened": { "post": { - "summary": "This event occurs when code security and analysis features are enabled or disabled for a repository. For more information, see \"[GitHub security features](https://docs.github.com/code-security/getting-started/github-security-features).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository permission.", - "operationId": "security-and-analysis", + "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", + "description": "A previously closed secret scanning alert was reopened.", + "operationId": "secret-scanning-alert/reopened", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#security_and_analysis" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#secret_scanning_alert" }, "parameters": [ { @@ -17284,7 +17067,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-security-and-analysis" + "$ref": "#/components/schemas/webhook-secret-scanning-alert-reopened" } } } @@ -17297,18 +17080,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "security_and_analysis", + "subcategory": "secret_scanning_alert", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "sponsorship-cancelled": { + "secret-scanning-alert-resolved": { "post": { - "summary": "This event occurs when there is activity relating to a sponsorship listing. For more information, see \"[About GitHub Sponsors](https://docs.github.com/sponsors/getting-started-with-github-sponsors/about-github-sponsors).\" For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#sponsorship).\n\nYou can only create a sponsorship webhook on GitHub.com. For more information, see \"[Configuring webhooks for events in your sponsored account](https://docs.github.com/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account).\"", - "description": "A sponsorship was cancelled and the last billing cycle has ended.\n\nThis event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships.", - "operationId": "sponsorship/cancelled", + "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", + "description": "A secret scanning alert was closed.", + "operationId": "secret-scanning-alert/resolved", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#sponsorship" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#secret_scanning_alert" }, "parameters": [ { @@ -17359,7 +17142,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-sponsorship-cancelled" + "$ref": "#/components/schemas/webhook-secret-scanning-alert-resolved" } } } @@ -17372,18 +17155,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "sponsorship", - "supported-webhook-types": ["sponsors_listing"] + "subcategory": "secret_scanning_alert", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "sponsorship-created": { + "secret-scanning-alert-validated": { "post": { - "summary": "This event occurs when there is activity relating to a sponsorship listing. For more information, see \"[About GitHub Sponsors](https://docs.github.com/sponsors/getting-started-with-github-sponsors/about-github-sponsors).\" For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#sponsorship).\n\nYou can only create a sponsorship webhook on GitHub.com. For more information, see \"[Configuring webhooks for events in your sponsored account](https://docs.github.com/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account).\"", - "description": "A sponsor created a sponsorship for a sponsored account. This event occurs once the payment is successfully processed.", - "operationId": "sponsorship/created", + "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", + "description": "A secret scanning alert was validated.", + "operationId": "secret-scanning-alert/validated", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#sponsorship" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#secret_scanning_alert" }, "parameters": [ { @@ -17434,7 +17217,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-sponsorship-created" + "$ref": "#/components/schemas/webhook-secret-scanning-alert-validated" } } } @@ -17447,18 +17230,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "sponsorship", - "supported-webhook-types": ["sponsors_listing"] + "subcategory": "secret_scanning_alert", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "sponsorship-edited": { + "secret-scanning-scan-completed": { "post": { - "summary": "This event occurs when there is activity relating to a sponsorship listing. For more information, see \"[About GitHub Sponsors](https://docs.github.com/sponsors/getting-started-with-github-sponsors/about-github-sponsors).\" For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#sponsorship).\n\nYou can only create a sponsorship webhook on GitHub.com. For more information, see \"[Configuring webhooks for events in your sponsored account](https://docs.github.com/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account).\"", - "description": "A monthly sponsor changed who can see their sponsorship. If you recognize your sponsors publicly, you may want to update your sponsor recognition to reflect the change when this event occurs.", - "operationId": "sponsorship/edited", + "summary": "This event occurs when secret scanning completes certain scans on a repository. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/code-security/secret-scanning/about-secret-scanning).\"\n\nScans can originate from multiple events such as updates to a custom pattern, a push to a repository, or updates\nto patterns from partners. For more information on custom patterns, see \"[About custom patterns](https://docs.github.com/code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/custom-patterns).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", + "description": "A secret scanning scan was completed.", + "operationId": "secret-scanning-scan/completed", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#sponsorship" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#secret_scanning_scan" }, "parameters": [ { @@ -17509,7 +17292,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-sponsorship-edited" + "$ref": "#/components/schemas/webhook-secret-scanning-scan-completed" } } } @@ -17522,18 +17305,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "sponsorship", - "supported-webhook-types": ["sponsors_listing"] + "subcategory": "secret_scanning_scan", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "sponsorship-pending-cancellation": { + "security-advisory-published": { "post": { - "summary": "This event occurs when there is activity relating to a sponsorship listing. For more information, see \"[About GitHub Sponsors](https://docs.github.com/sponsors/getting-started-with-github-sponsors/about-github-sponsors).\" For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#sponsorship).\n\nYou can only create a sponsorship webhook on GitHub.com. For more information, see \"[Configuring webhooks for events in your sponsored account](https://docs.github.com/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account).\"", - "description": "A sponsor scheduled a cancellation for their sponsorship. The cancellation will become effective on their next billing date.\n\nThis event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships.", - "operationId": "sponsorship/pending-cancellation", + "summary": "This event occurs when there is activity relating to a global security advisory that was reviewed by GitHub. A GitHub-reviewed global security advisory provides information about security vulnerabilities or malware that have been mapped to packages in ecosystems we support. For more information about global security advisories, see \"[About global security advisories](https://docs.github.com/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-global-security-advisories).\" For information about the API to manage security advisories, see [the REST API documentation](https://docs.github.com/rest/security-advisories/global-advisories) or [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#securityadvisory).\n\nGitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see \"[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\"", + "description": "A security advisory was published to the GitHub community.", + "operationId": "security-advisory/published", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#sponsorship" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#security_advisory" }, "parameters": [ { @@ -17584,7 +17367,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-sponsorship-pending-cancellation" + "$ref": "#/components/schemas/webhook-security-advisory-published" } } } @@ -17597,18 +17380,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "sponsorship", - "supported-webhook-types": ["sponsors_listing"] + "subcategory": "security_advisory", + "supported-webhook-types": ["app"] } } }, - "sponsorship-pending-tier-change": { + "security-advisory-updated": { "post": { - "summary": "This event occurs when there is activity relating to a sponsorship listing. For more information, see \"[About GitHub Sponsors](https://docs.github.com/sponsors/getting-started-with-github-sponsors/about-github-sponsors).\" For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#sponsorship).\n\nYou can only create a sponsorship webhook on GitHub.com. For more information, see \"[Configuring webhooks for events in your sponsored account](https://docs.github.com/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account).\"", - "description": "A sponsor scheduled a downgrade to a lower sponsorship tier. The new tier will become effective on their next billing date.", - "operationId": "sponsorship/pending-tier-change", + "summary": "This event occurs when there is activity relating to a global security advisory that was reviewed by GitHub. A GitHub-reviewed global security advisory provides information about security vulnerabilities or malware that have been mapped to packages in ecosystems we support. For more information about global security advisories, see \"[About global security advisories](https://docs.github.com/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-global-security-advisories).\" For information about the API to manage security advisories, see [the REST API documentation](https://docs.github.com/rest/security-advisories/global-advisories) or [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#securityadvisory).\n\nGitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see \"[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\"", + "description": "The metadata or description of a security advisory was changed.", + "operationId": "security-advisory/updated", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#sponsorship" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#security_advisory" }, "parameters": [ { @@ -17659,7 +17442,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-sponsorship-pending-tier-change" + "$ref": "#/components/schemas/webhook-security-advisory-updated" } } } @@ -17672,18 +17455,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "sponsorship", - "supported-webhook-types": ["sponsors_listing"] + "subcategory": "security_advisory", + "supported-webhook-types": ["app"] } } }, - "sponsorship-tier-changed": { + "security-advisory-withdrawn": { "post": { - "summary": "This event occurs when there is activity relating to a sponsorship listing. For more information, see \"[About GitHub Sponsors](https://docs.github.com/sponsors/getting-started-with-github-sponsors/about-github-sponsors).\" For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#sponsorship).\n\nYou can only create a sponsorship webhook on GitHub.com. For more information, see \"[Configuring webhooks for events in your sponsored account](https://docs.github.com/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account).\"", - "description": "A sponsor changed the tier of their sponsorship and the change has taken effect. If a sponsor upgraded their tier, the change took effect immediately. If a sponsor downgraded their tier, the change took effect at the beginning of the sponsor's next billing cycle.", - "operationId": "sponsorship/tier-changed", + "summary": "This event occurs when there is activity relating to a global security advisory that was reviewed by GitHub. A GitHub-reviewed global security advisory provides information about security vulnerabilities or malware that have been mapped to packages in ecosystems we support. For more information about global security advisories, see \"[About global security advisories](https://docs.github.com/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-global-security-advisories).\" For information about the API to manage security advisories, see [the REST API documentation](https://docs.github.com/rest/security-advisories/global-advisories) or [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#securityadvisory).\n\nGitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see \"[About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\"", + "description": "A previously published security advisory was withdrawn.", + "operationId": "security-advisory/withdrawn", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#sponsorship" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#security_advisory" }, "parameters": [ { @@ -17734,7 +17517,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-sponsorship-tier-changed" + "$ref": "#/components/schemas/webhook-security-advisory-withdrawn" } } } @@ -17747,18 +17530,17 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "sponsorship", - "supported-webhook-types": ["sponsors_listing"] + "subcategory": "security_advisory", + "supported-webhook-types": ["app"] } } }, - "star-created": { + "security-and-analysis": { "post": { - "summary": "This event occurs when there is activity relating to repository stars. For more information about stars, see \"[Saving repositories with stars](https://docs.github.com/get-started/exploring-projects-on-github/saving-repositories-with-stars).\" For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#starredrepositoryconnection) or \"[Starring](https://docs.github.com/rest/activity/starring)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "Someone starred a repository.", - "operationId": "star/created", + "summary": "This event occurs when code security and analysis features are enabled or disabled for a repository. For more information, see \"[GitHub security features](https://docs.github.com/code-security/getting-started/github-security-features).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository permission.", + "operationId": "security-and-analysis", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#star" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#security_and_analysis" }, "parameters": [ { @@ -17808,7 +17590,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-star-created" } + "schema": { + "$ref": "#/components/schemas/webhook-security-and-analysis" + } } } }, @@ -17820,18 +17604,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "star", + "subcategory": "security_and_analysis", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "star-deleted": { + "sponsorship-cancelled": { "post": { - "summary": "This event occurs when there is activity relating to repository stars. For more information about stars, see \"[Saving repositories with stars](https://docs.github.com/get-started/exploring-projects-on-github/saving-repositories-with-stars).\" For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#starredrepositoryconnection) or \"[Starring](https://docs.github.com/rest/activity/starring)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "Someone unstarred the repository.", - "operationId": "star/deleted", + "summary": "This event occurs when there is activity relating to a sponsorship listing. For more information, see \"[About GitHub Sponsors](https://docs.github.com/sponsors/getting-started-with-github-sponsors/about-github-sponsors).\" For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#sponsorship).\n\nYou can only create a sponsorship webhook on GitHub.com. For more information, see \"[Configuring webhooks for events in your sponsored account](https://docs.github.com/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account).\"", + "description": "A sponsorship was cancelled and the last billing cycle has ended.\n\nThis event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships.", + "operationId": "sponsorship/cancelled", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#star" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#sponsorship" }, "parameters": [ { @@ -17881,7 +17665,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-star-deleted" } + "schema": { + "$ref": "#/components/schemas/webhook-sponsorship-cancelled" + } } } }, @@ -17893,17 +17679,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "star", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "sponsorship", + "supported-webhook-types": ["sponsors_listing"] } } }, - "status": { + "sponsorship-created": { "post": { - "summary": "This event occurs when the status of a Git commit changes. For example, commits can be marked as `error`, `failure`, `pending`, or `success`. For more information, see \"[About status checks](https://docs.github.com/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks).\" For information about the APIs to manage commit statuses, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#status) or \"[Commit statuses](https://docs.github.com/rest/commits/statuses)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Commit statuses\" repository permission.", - "operationId": "status", + "summary": "This event occurs when there is activity relating to a sponsorship listing. For more information, see \"[About GitHub Sponsors](https://docs.github.com/sponsors/getting-started-with-github-sponsors/about-github-sponsors).\" For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#sponsorship).\n\nYou can only create a sponsorship webhook on GitHub.com. For more information, see \"[Configuring webhooks for events in your sponsored account](https://docs.github.com/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account).\"", + "description": "A sponsor created a sponsorship for a sponsored account. This event occurs once the payment is successfully processed.", + "operationId": "sponsorship/created", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#status" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#sponsorship" }, "parameters": [ { @@ -17953,7 +17740,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-status" } + "schema": { + "$ref": "#/components/schemas/webhook-sponsorship-created" + } } } }, @@ -17965,18 +17754,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "status", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "sponsorship", + "supported-webhook-types": ["sponsors_listing"] } } }, - "sub-issues-parent-issue-added": { + "sponsorship-edited": { "post": { - "summary": "This event occurs when there is activity relating to sub-issues.\n\nFor activity relating to issues more generally, use the `issues` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permissions.", - "description": "A parent issue was added to an issue.", - "operationId": "sub-issues/parent-issue-added", + "summary": "This event occurs when there is activity relating to a sponsorship listing. For more information, see \"[About GitHub Sponsors](https://docs.github.com/sponsors/getting-started-with-github-sponsors/about-github-sponsors).\" For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#sponsorship).\n\nYou can only create a sponsorship webhook on GitHub.com. For more information, see \"[Configuring webhooks for events in your sponsored account](https://docs.github.com/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account).\"", + "description": "A monthly sponsor changed who can see their sponsorship. If you recognize your sponsors publicly, you may want to update your sponsor recognition to reflect the change when this event occurs.", + "operationId": "sponsorship/edited", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#sub-issues" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#sponsorship" }, "parameters": [ { @@ -18027,7 +17816,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-sub-issues-parent-issue-added" + "$ref": "#/components/schemas/webhook-sponsorship-edited" } } } @@ -18040,18 +17829,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "sub-issues", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "sponsorship", + "supported-webhook-types": ["sponsors_listing"] } } }, - "sub-issues-parent-issue-removed": { + "sponsorship-pending-cancellation": { "post": { - "summary": "This event occurs when there is activity relating to sub-issues.\n\nFor activity relating to issues more generally, use the `issues` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permissions.", - "description": "A parent issue was removed from an issue.", - "operationId": "sub-issues/parent-issue-removed", + "summary": "This event occurs when there is activity relating to a sponsorship listing. For more information, see \"[About GitHub Sponsors](https://docs.github.com/sponsors/getting-started-with-github-sponsors/about-github-sponsors).\" For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#sponsorship).\n\nYou can only create a sponsorship webhook on GitHub.com. For more information, see \"[Configuring webhooks for events in your sponsored account](https://docs.github.com/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account).\"", + "description": "A sponsor scheduled a cancellation for their sponsorship. The cancellation will become effective on their next billing date.\n\nThis event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships.", + "operationId": "sponsorship/pending-cancellation", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#sub-issues" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#sponsorship" }, "parameters": [ { @@ -18102,7 +17891,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-sub-issues-parent-issue-removed" + "$ref": "#/components/schemas/webhook-sponsorship-pending-cancellation" } } } @@ -18115,18 +17904,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "sub-issues", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "sponsorship", + "supported-webhook-types": ["sponsors_listing"] } } }, - "sub-issues-sub-issue-added": { + "sponsorship-pending-tier-change": { "post": { - "summary": "This event occurs when there is activity relating to sub-issues.\n\nFor activity relating to issues more generally, use the `issues` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permissions.", - "description": "A sub-issue was added to an issue.", - "operationId": "sub-issues/sub-issue-added", + "summary": "This event occurs when there is activity relating to a sponsorship listing. For more information, see \"[About GitHub Sponsors](https://docs.github.com/sponsors/getting-started-with-github-sponsors/about-github-sponsors).\" For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#sponsorship).\n\nYou can only create a sponsorship webhook on GitHub.com. For more information, see \"[Configuring webhooks for events in your sponsored account](https://docs.github.com/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account).\"", + "description": "A sponsor scheduled a downgrade to a lower sponsorship tier. The new tier will become effective on their next billing date.", + "operationId": "sponsorship/pending-tier-change", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#sub-issues" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#sponsorship" }, "parameters": [ { @@ -18177,7 +17966,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-sub-issues-sub-issue-added" + "$ref": "#/components/schemas/webhook-sponsorship-pending-tier-change" } } } @@ -18190,18 +17979,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "sub-issues", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "sponsorship", + "supported-webhook-types": ["sponsors_listing"] } } }, - "sub-issues-sub-issue-removed": { + "sponsorship-tier-changed": { "post": { - "summary": "This event occurs when there is activity relating to sub-issues.\n\nFor activity relating to issues more generally, use the `issues` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permissions.", - "description": "A sub-issue was removed from an issue.", - "operationId": "sub-issues/sub-issue-removed", + "summary": "This event occurs when there is activity relating to a sponsorship listing. For more information, see \"[About GitHub Sponsors](https://docs.github.com/sponsors/getting-started-with-github-sponsors/about-github-sponsors).\" For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#sponsorship).\n\nYou can only create a sponsorship webhook on GitHub.com. For more information, see \"[Configuring webhooks for events in your sponsored account](https://docs.github.com/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account).\"", + "description": "A sponsor changed the tier of their sponsorship and the change has taken effect. If a sponsor upgraded their tier, the change took effect immediately. If a sponsor downgraded their tier, the change took effect at the beginning of the sponsor's next billing cycle.", + "operationId": "sponsorship/tier-changed", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#sub-issues" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#sponsorship" }, "parameters": [ { @@ -18252,7 +18041,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-sub-issues-sub-issue-removed" + "$ref": "#/components/schemas/webhook-sponsorship-tier-changed" } } } @@ -18265,17 +18054,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "sub-issues", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "sponsorship", + "supported-webhook-types": ["sponsors_listing"] } } }, - "team-add": { + "star-created": { "post": { - "summary": "This event occurs when a team is added to a repository.\nFor more information, see \"[Managing teams and people with access to your repository](https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-teams-and-people-with-access-to-your-repository).\"\n\nFor activity relating to teams, see the `teams` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "operationId": "team-add", + "summary": "This event occurs when there is activity relating to repository stars. For more information about stars, see \"[Saving repositories with stars](https://docs.github.com/get-started/exploring-projects-on-github/saving-repositories-with-stars).\" For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#starredrepositoryconnection) or \"[Starring](https://docs.github.com/rest/activity/starring)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "description": "Someone starred a repository.", + "operationId": "star/created", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#team_add" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#star" }, "parameters": [ { @@ -18325,7 +18115,7 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-team-add" } + "schema": { "$ref": "#/components/schemas/webhook-star-created" } } } }, @@ -18337,18 +18127,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "team_add", + "subcategory": "star", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "team-added-to-repository": { + "star-deleted": { "post": { - "summary": "This event occurs when there is activity relating to teams in an organization.\nFor more information, see \"[About teams](https://docs.github.com/organizations/organizing-members-into-teams/about-teams).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "A team was granted access to a repository.", - "operationId": "team/added-to-repository", + "summary": "This event occurs when there is activity relating to repository stars. For more information about stars, see \"[Saving repositories with stars](https://docs.github.com/get-started/exploring-projects-on-github/saving-repositories-with-stars).\" For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#starredrepositoryconnection) or \"[Starring](https://docs.github.com/rest/activity/starring)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "description": "Someone unstarred the repository.", + "operationId": "star/deleted", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#team" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#star" }, "parameters": [ { @@ -18398,9 +18188,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-team-added-to-repository" - } + "schema": { "$ref": "#/components/schemas/webhook-star-deleted" } } } }, @@ -18412,18 +18200,17 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "team", - "supported-webhook-types": ["organization", "business", "app"] + "subcategory": "star", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "team-created": { + "status": { "post": { - "summary": "This event occurs when there is activity relating to teams in an organization.\nFor more information, see \"[About teams](https://docs.github.com/organizations/organizing-members-into-teams/about-teams).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "A team was created.", - "operationId": "team/created", + "summary": "This event occurs when the status of a Git commit changes. For example, commits can be marked as `error`, `failure`, `pending`, or `success`. For more information, see \"[About status checks](https://docs.github.com/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks).\" For information about the APIs to manage commit statuses, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#status) or \"[Commit statuses](https://docs.github.com/rest/commits/statuses)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Commit statuses\" repository permission.", + "operationId": "status", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#team" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#status" }, "parameters": [ { @@ -18473,7 +18260,7 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-team-created" } + "schema": { "$ref": "#/components/schemas/webhook-status" } } } }, @@ -18485,18 +18272,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "team", - "supported-webhook-types": ["organization", "business", "app"] + "subcategory": "status", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "team-deleted": { + "sub-issues-parent-issue-added": { "post": { - "summary": "This event occurs when there is activity relating to teams in an organization.\nFor more information, see \"[About teams](https://docs.github.com/organizations/organizing-members-into-teams/about-teams).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "A team was deleted.", - "operationId": "team/deleted", + "summary": "This event occurs when there is activity relating to sub-issues.\n\nFor activity relating to issues more generally, use the `issues` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permissions.", + "description": "A parent issue was added to an issue.", + "operationId": "sub-issues/parent-issue-added", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#team" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#sub-issues" }, "parameters": [ { @@ -18546,7 +18333,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-team-deleted" } + "schema": { + "$ref": "#/components/schemas/webhook-sub-issues-parent-issue-added" + } } } }, @@ -18558,18 +18347,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "team", - "supported-webhook-types": ["organization", "business", "app"] + "subcategory": "sub-issues", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "team-edited": { + "sub-issues-parent-issue-removed": { "post": { - "summary": "This event occurs when there is activity relating to teams in an organization.\nFor more information, see \"[About teams](https://docs.github.com/organizations/organizing-members-into-teams/about-teams).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "The name, description, or visibility of a team was changed.", - "operationId": "team/edited", + "summary": "This event occurs when there is activity relating to sub-issues.\n\nFor activity relating to issues more generally, use the `issues` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permissions.", + "description": "A parent issue was removed from an issue.", + "operationId": "sub-issues/parent-issue-removed", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#team" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#sub-issues" }, "parameters": [ { @@ -18619,7 +18408,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-team-edited" } + "schema": { + "$ref": "#/components/schemas/webhook-sub-issues-parent-issue-removed" + } } } }, @@ -18631,18 +18422,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "team", - "supported-webhook-types": ["organization", "business", "app"] + "subcategory": "sub-issues", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "team-removed-from-repository": { + "sub-issues-sub-issue-added": { "post": { - "summary": "This event occurs when there is activity relating to teams in an organization.\nFor more information, see \"[About teams](https://docs.github.com/organizations/organizing-members-into-teams/about-teams).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "A team's access to a repository was removed.", - "operationId": "team/removed-from-repository", + "summary": "This event occurs when there is activity relating to sub-issues.\n\nFor activity relating to issues more generally, use the `issues` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permissions.", + "description": "A sub-issue was added to an issue.", + "operationId": "sub-issues/sub-issue-added", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#team" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#sub-issues" }, "parameters": [ { @@ -18693,7 +18484,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-team-removed-from-repository" + "$ref": "#/components/schemas/webhook-sub-issues-sub-issue-added" } } } @@ -18706,18 +18497,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "team", - "supported-webhook-types": ["organization", "business", "app"] + "subcategory": "sub-issues", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "watch-started": { + "sub-issues-sub-issue-removed": { "post": { - "summary": "This event occurs when there is activity relating to watching, or subscribing to, a repository. For more information about watching, see \"[Managing your subscriptions](https://docs.github.com/account-and-profile/managing-subscriptions-and-notifications-on-github/managing-subscriptions-for-activity-on-github/managing-your-subscriptions).\" For information about the APIs to manage watching, see \"[Watching](https://docs.github.com/rest/activity/watching)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "Someone started watching the repository.", - "operationId": "watch/started", + "summary": "This event occurs when there is activity relating to sub-issues.\n\nFor activity relating to issues more generally, use the `issues` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permissions.", + "description": "A sub-issue was removed from an issue.", + "operationId": "sub-issues/sub-issue-removed", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#watch" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#sub-issues" }, "parameters": [ { @@ -18767,7 +18558,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-watch-started" } + "schema": { + "$ref": "#/components/schemas/webhook-sub-issues-sub-issue-removed" + } } } }, @@ -18779,17 +18572,17 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "watch", + "subcategory": "sub-issues", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "workflow-dispatch": { + "team-add": { "post": { - "summary": "This event occurs when a GitHub Actions workflow is manually triggered. For more information, see \"[Manually running a workflow](https://docs.github.com/actions/managing-workflow-runs/manually-running-a-workflow).\"\n\nFor activity relating to workflow runs, use the `workflow_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", - "operationId": "workflow-dispatch", + "summary": "This event occurs when a team is added to a repository.\nFor more information, see \"[Managing teams and people with access to your repository](https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-teams-and-people-with-access-to-your-repository).\"\n\nFor activity relating to teams, see the `teams` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "operationId": "team-add", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#workflow_dispatch" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#team_add" }, "parameters": [ { @@ -18839,9 +18632,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-workflow-dispatch" - } + "schema": { "$ref": "#/components/schemas/webhook-team-add" } } } }, @@ -18853,18 +18644,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "workflow_dispatch", - "supported-webhook-types": ["app"] + "subcategory": "team_add", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "workflow-job-completed": { + "team-added-to-repository": { "post": { - "summary": "This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see \"[Using jobs in a workflow](https://docs.github.com/actions/using-jobs/using-jobs-in-a-workflow).\" For information about the API to manage workflow jobs, see \"[Workflow jobs](https://docs.github.com/rest/actions/workflow-jobs)\" in the REST API documentation.\n\nFor activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", - "description": "A job in a workflow run finished. This event occurs when a job in a workflow is completed, regardless of whether the job was successful or unsuccessful.", - "operationId": "workflow-job/completed", + "summary": "This event occurs when there is activity relating to teams in an organization.\nFor more information, see \"[About teams](https://docs.github.com/organizations/organizing-members-into-teams/about-teams).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "description": "A team was granted access to a repository.", + "operationId": "team/added-to-repository", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#workflow_job" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#team" }, "parameters": [ { @@ -18915,7 +18706,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-workflow-job-completed" + "$ref": "#/components/schemas/webhook-team-added-to-repository" } } } @@ -18928,23 +18719,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "workflow_job", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] + "subcategory": "team", + "supported-webhook-types": ["organization", "business", "app"] } } }, - "workflow-job-in-progress": { + "team-created": { "post": { - "summary": "This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see \"[Using jobs in a workflow](https://docs.github.com/actions/using-jobs/using-jobs-in-a-workflow).\" For information about the API to manage workflow jobs, see \"[Workflow jobs](https://docs.github.com/rest/actions/workflow-jobs)\" in the REST API documentation.\n\nFor activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", - "description": "A job in a workflow run started processing on a runner.", - "operationId": "workflow-job/in-progress", + "summary": "This event occurs when there is activity relating to teams in an organization.\nFor more information, see \"[About teams](https://docs.github.com/organizations/organizing-members-into-teams/about-teams).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "description": "A team was created.", + "operationId": "team/created", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#workflow_job" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#team" }, "parameters": [ { @@ -18994,9 +18780,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-workflow-job-in-progress" - } + "schema": { "$ref": "#/components/schemas/webhook-team-created" } } } }, @@ -19008,23 +18792,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "workflow_job", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] + "subcategory": "team", + "supported-webhook-types": ["organization", "business", "app"] } } }, - "workflow-job-queued": { + "team-deleted": { "post": { - "summary": "This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see \"[Using jobs in a workflow](https://docs.github.com/actions/using-jobs/using-jobs-in-a-workflow).\" For information about the API to manage workflow jobs, see \"[Workflow jobs](https://docs.github.com/rest/actions/workflow-jobs)\" in the REST API documentation.\n\nFor activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", - "description": "A job in a workflow run was created.", - "operationId": "workflow-job/queued", + "summary": "This event occurs when there is activity relating to teams in an organization.\nFor more information, see \"[About teams](https://docs.github.com/organizations/organizing-members-into-teams/about-teams).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "description": "A team was deleted.", + "operationId": "team/deleted", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#workflow_job" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#team" }, "parameters": [ { @@ -19074,9 +18853,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-workflow-job-queued" - } + "schema": { "$ref": "#/components/schemas/webhook-team-deleted" } } } }, @@ -19088,23 +18865,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "workflow_job", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] + "subcategory": "team", + "supported-webhook-types": ["organization", "business", "app"] } } }, - "workflow-job-waiting": { + "team-edited": { "post": { - "summary": "This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see \"[Using jobs in a workflow](https://docs.github.com/actions/using-jobs/using-jobs-in-a-workflow).\" For information about the API to manage workflow jobs, see \"[Workflow jobs](https://docs.github.com/rest/actions/workflow-jobs)\" in the REST API documentation.\n\nFor activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", - "description": "A job in a workflow run was created and is waiting for approvals.", - "operationId": "workflow-job/waiting", + "summary": "This event occurs when there is activity relating to teams in an organization.\nFor more information, see \"[About teams](https://docs.github.com/organizations/organizing-members-into-teams/about-teams).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "description": "The name, description, or visibility of a team was changed.", + "operationId": "team/edited", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#workflow_job" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#team" }, "parameters": [ { @@ -19154,9 +18926,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-workflow-job-waiting" - } + "schema": { "$ref": "#/components/schemas/webhook-team-edited" } } } }, @@ -19168,23 +18938,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "workflow_job", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] + "subcategory": "team", + "supported-webhook-types": ["organization", "business", "app"] } } }, - "workflow-run-completed": { + "team-removed-from-repository": { "post": { - "summary": "This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see \"[About workflows](https://docs.github.com/actions/using-workflows/about-workflows).\" For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#workflowrun) or \"[Workflow runs](https://docs.github.com/rest/actions/workflow-runs)\" in the REST API documentation.\n\nFor activity relating to a job in a workflow run, use the `workflow_job` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", - "description": "A workflow run finished. This event occurs when a workflow run is completed, regardless of whether the workflow was successful or unsuccessful.", - "operationId": "workflow-run/completed", + "summary": "This event occurs when there is activity relating to teams in an organization.\nFor more information, see \"[About teams](https://docs.github.com/organizations/organizing-members-into-teams/about-teams).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "description": "A team's access to a repository was removed.", + "operationId": "team/removed-from-repository", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#workflow_run" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#team" }, "parameters": [ { @@ -19235,7 +19000,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-workflow-run-completed" + "$ref": "#/components/schemas/webhook-team-removed-from-repository" } } } @@ -19248,23 +19013,90 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "workflow_run", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] + "subcategory": "team", + "supported-webhook-types": ["organization", "business", "app"] } } }, - "workflow-run-in-progress": { + "watch-started": { "post": { - "summary": "This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see \"[About workflows](https://docs.github.com/actions/using-workflows/about-workflows).\" For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#workflowrun) or \"[Workflow runs](https://docs.github.com/rest/actions/workflow-runs)\" in the REST API documentation.\n\nFor activity relating to a job in a workflow run, use the `workflow_job` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", - "description": "A workflow run started processing on a runner.", - "operationId": "workflow-run/in-progress", + "summary": "This event occurs when there is activity relating to watching, or subscribing to, a repository. For more information about watching, see \"[Managing your subscriptions](https://docs.github.com/account-and-profile/managing-subscriptions-and-notifications-on-github/managing-subscriptions-for-activity-on-github/managing-your-subscriptions).\" For information about the APIs to manage watching, see \"[Watching](https://docs.github.com/rest/activity/watching)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "description": "Someone started watching the repository.", + "operationId": "watch/started", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#workflow_run" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#watch" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/webhook-watch-started" } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "watch", + "supported-webhook-types": ["repository", "organization", "app"] + } + } + }, + "workflow-dispatch": { + "post": { + "summary": "This event occurs when a GitHub Actions workflow is manually triggered. For more information, see \"[Manually running a workflow](https://docs.github.com/actions/managing-workflow-runs/manually-running-a-workflow).\"\n\nFor activity relating to workflow runs, use the `workflow_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", + "operationId": "workflow-dispatch", + "externalDocs": { + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#workflow_dispatch" }, "parameters": [ { @@ -19315,7 +19147,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-workflow-run-in-progress" + "$ref": "#/components/schemas/webhook-workflow-dispatch" } } } @@ -19328,23 +19160,498 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "workflow_run", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] + "subcategory": "workflow_dispatch", + "supported-webhook-types": ["app"] } } }, - "workflow-run-requested": { + "workflow-job-completed": { "post": { - "summary": "This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see \"[About workflows](https://docs.github.com/actions/using-workflows/about-workflows).\" For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#workflowrun) or \"[Workflow runs](https://docs.github.com/rest/actions/workflow-runs)\" in the REST API documentation.\n\nFor activity relating to a job in a workflow run, use the `workflow_job` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", - "description": "A workflow run was triggered.", - "operationId": "workflow-run/requested", + "summary": "This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see \"[Using jobs in a workflow](https://docs.github.com/actions/using-jobs/using-jobs-in-a-workflow).\" For information about the API to manage workflow jobs, see \"[Workflow jobs](https://docs.github.com/rest/actions/workflow-jobs)\" in the REST API documentation.\n\nFor activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", + "description": "A job in a workflow run finished. This event occurs when a job in a workflow is completed, regardless of whether the job was successful or unsuccessful.", + "operationId": "workflow-job/completed", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#workflow_run" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#workflow_job" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-workflow-job-completed" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "workflow_job", + "supported-webhook-types": [ + "business", + "repository", + "organization", + "app" + ] + } + } + }, + "workflow-job-in-progress": { + "post": { + "summary": "This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see \"[Using jobs in a workflow](https://docs.github.com/actions/using-jobs/using-jobs-in-a-workflow).\" For information about the API to manage workflow jobs, see \"[Workflow jobs](https://docs.github.com/rest/actions/workflow-jobs)\" in the REST API documentation.\n\nFor activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", + "description": "A job in a workflow run started processing on a runner.", + "operationId": "workflow-job/in-progress", + "externalDocs": { + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#workflow_job" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-workflow-job-in-progress" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "workflow_job", + "supported-webhook-types": [ + "business", + "repository", + "organization", + "app" + ] + } + } + }, + "workflow-job-queued": { + "post": { + "summary": "This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see \"[Using jobs in a workflow](https://docs.github.com/actions/using-jobs/using-jobs-in-a-workflow).\" For information about the API to manage workflow jobs, see \"[Workflow jobs](https://docs.github.com/rest/actions/workflow-jobs)\" in the REST API documentation.\n\nFor activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", + "description": "A job in a workflow run was created.", + "operationId": "workflow-job/queued", + "externalDocs": { + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#workflow_job" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-workflow-job-queued" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "workflow_job", + "supported-webhook-types": [ + "business", + "repository", + "organization", + "app" + ] + } + } + }, + "workflow-job-waiting": { + "post": { + "summary": "This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see \"[Using jobs in a workflow](https://docs.github.com/actions/using-jobs/using-jobs-in-a-workflow).\" For information about the API to manage workflow jobs, see \"[Workflow jobs](https://docs.github.com/rest/actions/workflow-jobs)\" in the REST API documentation.\n\nFor activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", + "description": "A job in a workflow run was created and is waiting for approvals.", + "operationId": "workflow-job/waiting", + "externalDocs": { + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#workflow_job" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-workflow-job-waiting" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "workflow_job", + "supported-webhook-types": [ + "business", + "repository", + "organization", + "app" + ] + } + } + }, + "workflow-run-completed": { + "post": { + "summary": "This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see \"[About workflows](https://docs.github.com/actions/using-workflows/about-workflows).\" For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#workflowrun) or \"[Workflow runs](https://docs.github.com/rest/actions/workflow-runs)\" in the REST API documentation.\n\nFor activity relating to a job in a workflow run, use the `workflow_job` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", + "description": "A workflow run finished. This event occurs when a workflow run is completed, regardless of whether the workflow was successful or unsuccessful.", + "operationId": "workflow-run/completed", + "externalDocs": { + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#workflow_run" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-workflow-run-completed" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "workflow_run", + "supported-webhook-types": [ + "business", + "repository", + "organization", + "app" + ] + } + } + }, + "workflow-run-in-progress": { + "post": { + "summary": "This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see \"[About workflows](https://docs.github.com/actions/using-workflows/about-workflows).\" For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#workflowrun) or \"[Workflow runs](https://docs.github.com/rest/actions/workflow-runs)\" in the REST API documentation.\n\nFor activity relating to a job in a workflow run, use the `workflow_job` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", + "description": "A workflow run started processing on a runner.", + "operationId": "workflow-run/in-progress", + "externalDocs": { + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#workflow_run" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-workflow-run-in-progress" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "workflow_run", + "supported-webhook-types": [ + "business", + "repository", + "organization", + "app" + ] + } + } + }, + "workflow-run-requested": { + "post": { + "summary": "This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see \"[About workflows](https://docs.github.com/actions/using-workflows/about-workflows).\" For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#workflowrun) or \"[Workflow runs](https://docs.github.com/rest/actions/workflow-runs)\" in the REST API documentation.\n\nFor activity relating to a job in a workflow run, use the `workflow_job` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", + "description": "A workflow run was triggered.", + "operationId": "workflow-run/requested", + "externalDocs": { + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#workflow_run" }, "parameters": [ { @@ -20736,6 +21043,10 @@ ] }, "app_id": { "type": "integer", "examples": [1] }, + "client_id": { + "type": "string", + "examples": ["Iv1.ab1112223334445c"] + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -22090,6 +22401,16 @@ "description": "The enablement status of Dependabot security updates", "enum": ["enabled", "disabled", "not_set"] }, + "code_scanning_options": { + "type": ["object", "null"], + "description": "Feature options for code scanning", + "properties": { + "allow_advanced": { + "type": ["boolean", "null"], + "description": "Whether to allow repos which use advanced setup" + } + } + }, "code_scanning_default_setup": { "type": "string", "description": "The enablement status of code scanning default setup", @@ -22199,6 +22520,16 @@ "updated_at": { "type": "string", "format": "date-time" } } }, + "code-scanning-options": { + "type": ["object", "null"], + "description": "Security Configuration feature options for code scanning", + "properties": { + "allow_advanced": { + "type": ["boolean", "null"], + "description": "Whether to allow repos which use advanced setup" + } + } + }, "code-scanning-default-setup-options": { "type": ["object", "null"], "description": "Feature options for code scanning default setup", @@ -23436,6 +23767,10 @@ "$ref": "#/components/schemas/secret-scanning-first-detected-location" } ] + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } }, @@ -23660,6 +23995,75 @@ }, "required": ["total", "completed", "percent_completed"] }, + "issue-dependencies-summary": { + "title": "Issue Dependencies Summary", + "type": "object", + "properties": { + "blocked_by": { "type": "integer" }, + "blocking": { "type": "integer" }, + "total_blocked_by": { "type": "integer" }, + "total_blocking": { "type": "integer" } + }, + "required": [ + "blocked_by", + "blocking", + "total_blocked_by", + "total_blocking" + ] + }, + "issue-field-value": { + "title": "Issue Field Value", + "description": "A value assigned to an issue field", + "type": "object", + "properties": { + "issue_field_id": { + "description": "Unique identifier for the issue field.", + "type": "integer", + "format": "int64", + "examples": [1] + }, + "node_id": { "type": "string", "examples": ["IFT_GDKND"] }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": ["text", "single_select", "number", "date"], + "examples": ["text"] + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { "type": "string", "examples": ["Sample text"] }, + { "type": "number", "examples": [42.5] }, + { "type": "integer", "examples": [1] } + ], + "type": ["null", "string", "number", "integer"] + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": ["object", "null"], + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [1] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": ["High"] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": ["red"] + } + }, + "required": ["id", "name", "color"] + } + }, + "required": ["issue_field_id", "node_id", "data_type", "value"] + }, "issue": { "title": "Issue", "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", @@ -23691,7 +24095,7 @@ "state_reason": { "description": "The reason for the current state", "type": ["string", "null"], - "enum": ["completed", "reopened", "not_planned", null], + "enum": ["completed", "reopened", "not_planned", "duplicate", null], "examples": ["not_planned"] }, "title": { @@ -23794,6 +24198,13 @@ "reactions": { "$ref": "#/components/schemas/reaction-rollup" }, "sub_issues_summary": { "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } } }, "required": [ @@ -24786,6 +25197,7 @@ "type": ["object", "null"], "properties": { "advanced_security": { + "description": "Enable or disable GitHub Advanced Security for the repository.\n\nFor standalone Code Scanning or Secret Protection products, this parameter cannot be used.\n", "type": "object", "properties": { "status": { "type": "string", "enum": ["enabled", "disabled"] } @@ -25171,6 +25583,11 @@ }, "security_and_analysis": { "$ref": "#/components/schemas/security-and-analysis" + }, + "custom_properties": { + "type": "object", + "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", + "additionalProperties": true } }, "required": [ @@ -25364,6 +25781,109 @@ "description" ] }, + "actions-artifact-and-log-retention-response": { + "type": "object", + "properties": { + "days": { + "type": "integer", + "description": "The number of days artifacts and logs are retained" + }, + "maximum_allowed_days": { + "type": "integer", + "description": "The maximum number of days that can be configured" + } + }, + "required": ["days", "maximum_allowed_days"] + }, + "actions-artifact-and-log-retention": { + "type": "object", + "properties": { + "days": { + "type": "integer", + "description": "The number of days to retain artifacts and logs" + } + }, + "required": ["days"] + }, + "actions-fork-pr-contributor-approval": { + "type": "object", + "properties": { + "approval_policy": { + "type": "string", + "enum": [ + "first_time_contributors_new_to_github", + "first_time_contributors", + "all_external_contributors" + ], + "description": "The policy that controls when fork PR workflows require approval from a maintainer." + } + }, + "required": ["approval_policy"] + }, + "actions-fork-pr-workflows-private-repos": { + "type": "object", + "required": [ + "run_workflows_from_fork_pull_requests", + "send_write_tokens_to_workflows", + "send_secrets_and_variables", + "require_approval_for_fork_pr_workflows" + ], + "properties": { + "run_workflows_from_fork_pull_requests": { + "type": "boolean", + "description": "Whether workflows triggered by pull requests from forks are allowed to run on private repositories." + }, + "send_write_tokens_to_workflows": { + "type": "boolean", + "description": "Whether GitHub Actions can create pull requests or submit approving pull request reviews from a workflow triggered by a fork pull request." + }, + "send_secrets_and_variables": { + "type": "boolean", + "description": "Whether to make secrets and variables available to workflows triggered by pull requests from forks." + }, + "require_approval_for_fork_pr_workflows": { + "type": "boolean", + "description": "Whether workflows triggered by pull requests from forks require approval from a repository administrator to run." + } + } + }, + "actions-fork-pr-workflows-private-repos-request": { + "type": "object", + "required": ["run_workflows_from_fork_pull_requests"], + "properties": { + "run_workflows_from_fork_pull_requests": { + "type": "boolean", + "description": "Whether workflows triggered by pull requests from forks are allowed to run on private repositories." + }, + "send_write_tokens_to_workflows": { + "type": "boolean", + "description": "Whether GitHub Actions can create pull requests or submit approving pull request reviews from a workflow triggered by a fork pull request." + }, + "send_secrets_and_variables": { + "type": "boolean", + "description": "Whether to make secrets and variables available to workflows triggered by pull requests from forks." + }, + "require_approval_for_fork_pr_workflows": { + "type": "boolean", + "description": "Whether workflows triggered by pull requests from forks require approval from a repository administrator to run." + } + } + }, + "self-hosted-runners-settings": { + "type": "object", + "required": ["enabled_repositories"], + "properties": { + "enabled_repositories": { + "type": "string", + "description": "The policy that controls whether self-hosted runners can be used by repositories in the organization", + "enum": ["all", "selected", "none"] + }, + "selected_repositories_url": { + "type": "string", + "description": "The URL to the endpoint for managing selected repositories for self-hosted runners in the organization" + } + } + }, "dependabot-repository-access-details": { "title": "Dependabot Repository Access Details", "description": "Information about repositories that Dependabot is able to access in an organization", @@ -25377,7 +25897,12 @@ }, "accessible_repositories": { "type": "array", - "items": { "$ref": "#/components/schemas/simple-repository" } + "items": { + "anyOf": [ + { "type": "null" }, + { "$ref": "#/components/schemas/simple-repository" } + ] + } } }, "additionalProperties": false @@ -25397,7 +25922,7 @@ "product": { "type": "string", "description": "Product name." }, "sku": { "type": "string", "description": "SKU name." }, "quantity": { - "type": "integer", + "type": "number", "description": "Quantity of the usage line item." }, "unitType": { @@ -25556,6 +26081,11 @@ "required": ["name", "space", "private_repos"] }, "default_repository_permission": { "type": ["string", "null"] }, + "default_repository_branch": { + "type": ["string", "null"], + "description": "The default branch for repositories created in this organization.", + "examples": ["main"] + }, "members_can_create_repositories": { "type": ["boolean", "null"], "examples": [true] @@ -25589,6 +26119,35 @@ "type": "boolean", "examples": [true] }, + "members_can_delete_repositories": { + "type": "boolean", + "examples": [true] + }, + "members_can_change_repo_visibility": { + "type": "boolean", + "examples": [true] + }, + "members_can_invite_outside_collaborators": { + "type": "boolean", + "examples": [true] + }, + "members_can_delete_issues": { + "type": "boolean", + "examples": [true] + }, + "display_commenter_full_name_setting_enabled": { + "type": "boolean", + "examples": [true] + }, + "readers_can_create_discussions": { + "type": "boolean", + "examples": [true] + }, + "members_can_create_teams": { "type": "boolean", "examples": [true] }, + "members_can_view_dependency_insights": { + "type": "boolean", + "examples": [true] + }, "members_can_fork_private_repositories": { "type": ["boolean", "null"], "examples": [false] @@ -25754,7 +26313,7 @@ "enum": ["github", "partner", "custom"] } }, - "required": ["id", "size_gb", "display_name", "source", "version"] + "required": ["id", "size_gb", "display_name", "source"] }, "actions-hosted-runner-machine-spec": { "title": "Github-owned VM details.", @@ -25989,6 +26548,94 @@ }, "required": ["enabled_repositories"] }, + "actions-artifact-and-log-retention-response": { + "type": "object", + "properties": { + "days": { + "type": "integer", + "description": "The number of days artifacts and logs are retained" + }, + "maximum_allowed_days": { + "type": "integer", + "description": "The maximum number of days that can be configured" + } + }, + "required": ["days", "maximum_allowed_days"] + }, + "actions-artifact-and-log-retention": { + "type": "object", + "properties": { + "days": { + "type": "integer", + "description": "The number of days to retain artifacts and logs" + } + }, + "required": ["days"] + }, + "actions-fork-pr-contributor-approval": { + "type": "object", + "properties": { + "approval_policy": { + "type": "string", + "enum": [ + "first_time_contributors_new_to_github", + "first_time_contributors", + "all_external_contributors" + ], + "description": "The policy that controls when fork PR workflows require approval from a maintainer." + } + }, + "required": ["approval_policy"] + }, + "actions-fork-pr-workflows-private-repos": { + "type": "object", + "required": [ + "run_workflows_from_fork_pull_requests", + "send_write_tokens_to_workflows", + "send_secrets_and_variables", + "require_approval_for_fork_pr_workflows" + ], + "properties": { + "run_workflows_from_fork_pull_requests": { + "type": "boolean", + "description": "Whether workflows triggered by pull requests from forks are allowed to run on private repositories." + }, + "send_write_tokens_to_workflows": { + "type": "boolean", + "description": "Whether GitHub Actions can create pull requests or submit approving pull request reviews from a workflow triggered by a fork pull request." + }, + "send_secrets_and_variables": { + "type": "boolean", + "description": "Whether to make secrets and variables available to workflows triggered by pull requests from forks." + }, + "require_approval_for_fork_pr_workflows": { + "type": "boolean", + "description": "Whether workflows triggered by pull requests from forks require approval from a repository administrator to run." + } + } + }, + "actions-fork-pr-workflows-private-repos-request": { + "type": "object", + "required": ["run_workflows_from_fork_pull_requests"], + "properties": { + "run_workflows_from_fork_pull_requests": { + "type": "boolean", + "description": "Whether workflows triggered by pull requests from forks are allowed to run on private repositories." + }, + "send_write_tokens_to_workflows": { + "type": "boolean", + "description": "Whether GitHub Actions can create pull requests or submit approving pull request reviews from a workflow triggered by a fork pull request." + }, + "send_secrets_and_variables": { + "type": "boolean", + "description": "Whether to make secrets and variables available to workflows triggered by pull requests from forks." + }, + "require_approval_for_fork_pr_workflows": { + "type": "boolean", + "description": "Whether workflows triggered by pull requests from forks require approval from a repository administrator to run." + } + } + }, "selected-actions": { "type": "object", "properties": { @@ -26007,6 +26654,21 @@ } } }, + "self-hosted-runners-settings": { + "type": "object", + "required": ["enabled_repositories"], + "properties": { + "enabled_repositories": { + "type": "string", + "description": "The policy that controls whether self-hosted runners can be used by repositories in the organization", + "enum": ["all", "selected", "none"] + }, + "selected_repositories_url": { + "type": "string", + "description": "The URL to the endpoint for managing selected repositories for self-hosted runners in the organization" + } + } + }, "actions-default-workflow-permissions": { "type": "string", "description": "The default workflow permissions granted to the GITHUB_TOKEN when running workflows.", @@ -27190,12 +27852,17 @@ "properties": { "id": { "type": "integer", "format": "int64" }, "name": { "type": "string" }, + "description": { "type": "string" }, "slug": { "type": "string" }, "url": { "type": "string", "format": "uri" }, "sync_to_organizations": { "type": "string", "examples": ["disabled | all"] }, + "organization_selection_type": { + "type": "string", + "examples": ["disabled | all"] + }, "group_id": { "type": ["string", "null"], "examples": ["62ab9291-fae2-468e-974b-7e45096d5021"] @@ -27219,7 +27886,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -27266,6 +27932,11 @@ "type": ["string", "null"], "description": "Last editor that was used by the user for a GitHub Copilot completion." }, + "last_authenticated_at": { + "type": ["string", "null"], + "format": "date-time", + "description": "Timestamp of the last time the user authenticated with GitHub Copilot, in ISO 8601 format." + }, "created_at": { "type": "string", "format": "date-time", @@ -28049,6 +28720,18 @@ "enum": ["admin", "member", "billing_manager"], "examples": ["admin"] }, + "direct_membership": { + "type": "boolean", + "description": "Whether the user has direct membership in the organization.", + "examples": [true] + }, + "enterprise_teams_providing_indirect_membership": { + "type": "array", + "description": "The slugs of the enterprise teams providing the user with indirect membership in the organization.\nA limit of 100 enterprise team slugs is returned.", + "maxItems": 100, + "items": { "type": "string" }, + "examples": ["ent:team-one", "ent:team-two"] + }, "organization_url": { "type": "string", "format": "uri", @@ -28647,7 +29330,23 @@ }, "registry_type": { "description": "The registry type.", - "enum": ["maven_repository", "nuget_feed", "goproxy_server"], + "enum": [ + "maven_repository", + "nuget_feed", + "goproxy_server", + "npm_registry", + "rubygems_server", + "cargo_registry", + "composer_repository", + "docker_registry", + "git_source", + "helm_registry", + "hex_organization", + "hex_repository", + "pub_repository", + "python_index", + "terraform_registry" + ], "type": "string" }, "username": { @@ -28683,7 +29382,23 @@ }, "registry_type": { "description": "The registry type.", - "enum": ["maven_repository", "nuget_feed", "goproxy_server"], + "enum": [ + "maven_repository", + "nuget_feed", + "goproxy_server", + "npm_registry", + "rubygems_server", + "cargo_registry", + "composer_repository", + "docker_registry", + "git_source", + "helm_registry", + "hex_organization", + "hex_repository", + "pub_repository", + "python_index", + "terraform_registry" + ], "type": "string" }, "username": { @@ -29492,7 +30207,7 @@ "properties": { "actor_id": { "type": ["integer", "null"], - "description": "The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. `OrganizationAdmin` is not applicable for personal repositories." + "description": "The ID of the actor that can bypass a ruleset. Required for `Integration`, `RepositoryRole`, and `Team` actor types. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. `OrganizationAdmin` is not applicable for personal repositories." }, "actor_type": { "type": "string", @@ -29860,7 +30575,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -30147,7 +30862,7 @@ "type": "integer", "description": "The maximum amount of characters allowed in file paths.", "minimum": 1, - "maximum": 256 + "maximum": 32767 } }, "required": ["max_file_path_length"] @@ -30440,6 +31155,55 @@ "updated_at": { "type": "string", "format": "date-time" } } }, + "org-rules": { + "title": "Repository Rule", + "type": "object", + "description": "A repository rule.", + "oneOf": [ + { "$ref": "#/components/schemas/repository-rule-creation" }, + { "$ref": "#/components/schemas/repository-rule-update" }, + { "$ref": "#/components/schemas/repository-rule-deletion" }, + { + "$ref": "#/components/schemas/repository-rule-required-linear-history" + }, + { + "$ref": "#/components/schemas/repository-rule-required-deployments" + }, + { + "$ref": "#/components/schemas/repository-rule-required-signatures" + }, + { "$ref": "#/components/schemas/repository-rule-pull-request" }, + { + "$ref": "#/components/schemas/repository-rule-required-status-checks" + }, + { "$ref": "#/components/schemas/repository-rule-non-fast-forward" }, + { + "$ref": "#/components/schemas/repository-rule-commit-message-pattern" + }, + { + "$ref": "#/components/schemas/repository-rule-commit-author-email-pattern" + }, + { + "$ref": "#/components/schemas/repository-rule-committer-email-pattern" + }, + { + "$ref": "#/components/schemas/repository-rule-branch-name-pattern" + }, + { "$ref": "#/components/schemas/repository-rule-tag-name-pattern" }, + { + "$ref": "#/components/schemas/repository-rule-file-path-restriction" + }, + { + "$ref": "#/components/schemas/repository-rule-max-file-path-length" + }, + { + "$ref": "#/components/schemas/repository-rule-file-extension-restriction" + }, + { "$ref": "#/components/schemas/repository-rule-max-file-size" }, + { "$ref": "#/components/schemas/repository-rule-workflows" }, + { "$ref": "#/components/schemas/repository-rule-code-scanning" } + ] + }, "rule-suites": { "title": "Rule Suites", "description": "Response", @@ -30631,6 +31395,90 @@ } ] }, + "secret-scanning-row-version": { + "type": ["string", "null"], + "description": "The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate unintentionally overriding someone else's update." + }, + "secret-scanning-pattern-override": { + "type": "object", + "properties": { + "token_type": { + "type": "string", + "description": "The ID of the pattern." + }, + "custom_pattern_version": { + "type": ["string", "null"], + "description": "The version of this pattern if it's a custom pattern." + }, + "slug": { + "type": "string", + "description": "The slug of the pattern." + }, + "display_name": { + "type": "string", + "description": "The user-friendly name for the pattern." + }, + "alert_total": { + "type": "integer", + "description": "The total number of alerts generated by this pattern." + }, + "alert_total_percentage": { + "type": "integer", + "description": "The percentage of all alerts that this pattern represents, rounded to the nearest integer." + }, + "false_positives": { + "type": "integer", + "description": "The number of false positive alerts generated by this pattern." + }, + "false_positive_rate": { + "type": "integer", + "description": "The percentage of alerts from this pattern that are false positives, rounded to the nearest integer." + }, + "bypass_rate": { + "type": "integer", + "description": "The percentage of blocks for this pattern that were bypassed, rounded to the nearest integer." + }, + "default_setting": { + "type": "string", + "description": "The default push protection setting for this pattern.", + "enum": ["disabled", "enabled"] + }, + "enterprise_setting": { + "type": ["string", "null"], + "description": "The push protection setting for this pattern set at the enterprise level. Only present for partner patterns when the organization has a parent enterprise.", + "enum": ["not-set", "disabled", "enabled", null] + }, + "setting": { + "type": "string", + "description": "The current push protection setting for this pattern. If this is `not-set`, then it inherits either the enterprise setting if it exists or the default setting.", + "enum": ["not-set", "disabled", "enabled"] + } + } + }, + "secret-scanning-pattern-configuration": { + "title": "Secret scanning pattern configuration", + "description": "A collection of secret scanning patterns and their settings related to push protection.", + "type": "object", + "properties": { + "pattern_config_version": { + "$ref": "#/components/schemas/secret-scanning-row-version" + }, + "provider_pattern_overrides": { + "type": "array", + "description": "Overrides for partner patterns.", + "items": { + "$ref": "#/components/schemas/secret-scanning-pattern-override" + } + }, + "custom_pattern_overrides": { + "type": "array", + "description": "Overrides for custom patterns defined by the organization.", + "items": { + "$ref": "#/components/schemas/secret-scanning-pattern-override" + } + } + } + }, "repository-advisory-vulnerability": { "description": "A product affected by the vulnerability detailed in a repository security advisory.", "type": "object", @@ -32426,6 +33274,7 @@ "dependency_snapshots": { "$ref": "#/components/schemas/rate-limit" }, + "dependency_sbom": { "$ref": "#/components/schemas/rate-limit" }, "code_scanning_autofix": { "$ref": "#/components/schemas/rate-limit" } @@ -39566,6 +40415,7 @@ "required": ["html", "pull_request"] }, "submitted_at": { "type": "string", "format": "date-time" }, + "updated_at": { "type": ["string", "null"], "format": "date-time" }, "commit_id": { "description": "A commit SHA for the review.", "type": "string", @@ -39978,7 +40828,7 @@ "created_at": { "type": "string" }, "read_only": { "type": "boolean" }, "added_by": { "type": ["string", "null"] }, - "last_used": { "type": ["string", "null"] }, + "last_used": { "type": ["string", "null"], "format": "date-time" }, "enabled": { "type": "boolean" } }, "required": [ @@ -40877,6 +41727,11 @@ "description": "The original first line of the range for a multi-line comment.", "type": ["integer", "null"], "examples": [2] + }, + "subject_type": { + "description": "The level at which the comment is targeted, can be a diff line or a file.", + "type": "string", + "enum": ["line", "file"] } }, "required": [ @@ -40985,8 +41840,14 @@ "type": "boolean", "examples": [false] }, + "immutable": { + "description": "Whether or not the release is immutable.", + "type": "boolean", + "examples": [false] + }, "created_at": { "type": "string", "format": "date-time" }, "published_at": { "type": ["string", "null"], "format": "date-time" }, + "updated_at": { "type": ["string", "null"], "format": "date-time" }, "author": { "$ref": "#/components/schemas/simple-user" }, "assets": { "type": "array", @@ -41326,6 +42187,10 @@ "$ref": "#/components/schemas/secret-scanning-first-detected-location" } ] + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } }, @@ -42189,14 +43054,14 @@ } }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "type": "string" }, "state_reason": { "type": ["string", "null"] }, @@ -43278,7 +44143,8 @@ "title": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "verified": { "type": "boolean" }, - "read_only": { "type": "boolean" } + "read_only": { "type": "boolean" }, + "last_used": { "type": ["string", "null"], "format": "date-time" } }, "required": [ "key", @@ -43404,7 +44270,9 @@ "type": "object", "properties": { "id": { "type": "integer" }, - "key": { "type": "string" } + "key": { "type": "string" }, + "created_at": { "type": "string", "format": "date-time" }, + "last_used": { "type": ["string", "null"], "format": "date-time" } }, "required": ["key", "id"] }, @@ -43423,7 +44291,7 @@ "product": { "type": "string", "description": "Product name." }, "sku": { "type": "string", "description": "SKU name." }, "quantity": { - "type": "integer", + "type": "number", "description": "Quantity of the usage line item." }, "unitType": { @@ -44497,12 +45365,7 @@ "description": "A check performed on the code of a given code change", "type": "object", "properties": { - "app": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/integration" } - ] - }, + "app": { "$ref": "#/components/schemas/integration" }, "check_suite": { "$ref": "#/components/schemas/simple-check-suite" }, "completed_at": { "type": ["string", "null"], @@ -45926,14 +46789,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -46600,14 +47463,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -47053,6 +47916,18 @@ "properties": { "organization_url": { "type": "string", "format": "uri" }, "role": { "type": "string" }, + "direct_membership": { + "type": "boolean", + "description": "Whether the user has direct membership in the organization.", + "examples": [true] + }, + "enterprise_teams_providing_indirect_membership": { + "type": "array", + "description": "The slugs of the enterprise teams providing the user with indirect membership in the organization.\nA limit of 100 enterprise team slugs is returned.", + "maxItems": 100, + "items": { "type": "string" }, + "examples": ["ent:team-one", "ent:team-two"] + }, "state": { "type": "string" }, "url": { "type": "string", "format": "uri" }, "user": { @@ -47398,6 +48273,54 @@ "updated_at" ] }, + "projects-v2-status-update": { + "title": "Projects v2 Status Update", + "description": "An status update belonging to a project", + "type": "object", + "properties": { + "id": { "type": "number" }, + "node_id": { "type": "string" }, + "project_node_id": { "type": "string" }, + "creator": { "$ref": "#/components/schemas/simple-user" }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": ["2022-04-28T12:00:00Z"] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": ["2022-04-28T12:00:00Z"] + }, + "status": { + "type": ["string", "null"], + "enum": [ + "INACTIVE", + "ON_TRACK", + "AT_RISK", + "OFF_TRACK", + "COMPLETE", + null + ] + }, + "start_date": { + "type": "string", + "format": "date", + "examples": ["2022-04-28"] + }, + "target_date": { + "type": "string", + "format": "date", + "examples": ["2022-04-28"] + }, + "body": { + "description": "Body of the status update", + "type": ["string", "null"], + "examples": ["The project is off to a great start!"] + } + }, + "required": ["id", "node_id", "created_at", "updated_at"] + }, "projects-v2": { "title": "Projects v2 Project", "description": "A projects v2 project", @@ -47437,6 +48360,17 @@ { "type": "null" }, { "$ref": "#/components/schemas/simple-user" } ] + }, + "state": { "type": "string", "enum": ["open", "closed"] }, + "latest_status_update": { + "anyOf": [ + { "type": "null" }, + { "$ref": "#/components/schemas/projects-v2-status-update" } + ] + }, + "is_template": { + "type": "boolean", + "description": "Whether this project is a template" } }, "required": [ @@ -47531,59 +48465,13 @@ "properties": { "id": { "type": "string" }, "title": { "type": "string" }, + "title_html": { "type": "string" }, "duration": { "type": ["number", "null"] }, - "start_date": { "type": ["string", "null"] } + "start_date": { "type": ["string", "null"] }, + "completed": { "type": "boolean" } }, "required": ["id", "title"] }, - "projects-v2-status-update": { - "title": "Projects v2 Status Update", - "description": "An status update belonging to a project", - "type": "object", - "properties": { - "id": { "type": "number" }, - "node_id": { "type": "string" }, - "project_node_id": { "type": "string" }, - "creator": { "$ref": "#/components/schemas/simple-user" }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": ["2022-04-28T12:00:00Z"] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": ["2022-04-28T12:00:00Z"] - }, - "status": { - "type": ["string", "null"], - "enum": [ - "INACTIVE", - "ON_TRACK", - "AT_RISK", - "OFF_TRACK", - "COMPLETE", - null - ] - }, - "start_date": { - "type": "string", - "format": "date", - "examples": ["2022-04-28"] - }, - "target_date": { - "type": "string", - "format": "date", - "examples": ["2022-04-28"] - }, - "body": { - "description": "Body of the status update", - "type": ["string", "null"], - "examples": ["The project is off to a great start!"] - } - }, - "required": ["id", "node_id", "created_at", "updated_at"] - }, "webhooks_number": { "description": "The pull request number.", "type": "integer" @@ -49547,6 +50435,7 @@ "pull_request_url": { "type": "string", "format": "uri" }, "state": { "type": "string" }, "submitted_at": { "type": ["string", "null"], "format": "date-time" }, + "updated_at": { "type": ["string", "null"], "format": "date-time" }, "user": { "title": "User", "type": ["object", "null"], @@ -49723,6 +50612,7 @@ }, "body": { "type": ["string", "null"] }, "created_at": { "type": ["string", "null"], "format": "date-time" }, + "updated_at": { "type": ["string", "null"], "format": "date-time" }, "discussion_url": { "type": "string", "format": "uri" }, "draft": { "description": "Whether the release is a draft or published", @@ -49730,6 +50620,10 @@ }, "html_url": { "type": "string", "format": "uri" }, "id": { "type": "integer" }, + "immutable": { + "description": "Whether or not the release is immutable.", + "type": "boolean" + }, "name": { "type": ["string", "null"] }, "node_id": { "type": "string" }, "prerelease": { @@ -49791,10 +50685,12 @@ "draft", "author", "prerelease", + "immutable", "created_at", "published_at", "assets", "tarball_url", + "updated_at", "zipball_url", "body" ] @@ -49815,10 +50711,12 @@ "name", "node_id", "prerelease", + "immutable", "published_at", "tag_name", "tarball_url", "target_commitish", + "updated_at", "upload_url", "url", "zipball_url" @@ -49954,6 +50852,10 @@ }, "html_url": { "type": "string", "format": "uri" }, "id": { "type": "integer" }, + "immutable": { + "description": "Whether or not the release is immutable.", + "type": "boolean" + }, "name": { "type": ["string", "null"] }, "node_id": { "type": "string" }, "prerelease": { @@ -49998,6 +50900,7 @@ "description": "Specifies the commitish value that determines where the Git tag is created from.", "type": "string" }, + "updated_at": { "type": ["string", "null"], "format": "date-time" }, "upload_url": { "type": "string", "format": "uri-template" }, "url": { "type": "string", "format": "uri" }, "zipball_url": { "type": ["string", "null"], "format": "uri" } @@ -59237,14 +60140,10 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -60176,14 +61075,10 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -61119,14 +62014,10 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -61403,6 +62294,154 @@ "sender" ] }, + "webhook-issue-dependencies-blocked-by-added": { + "title": "blocked by issue added event", + "type": "object", + "properties": { + "action": { "type": "string", "enum": ["blocked_by_added"] }, + "blocked_issue_id": { + "description": "The ID of the blocked issue.", + "type": "number" + }, + "blocked_issue": { "$ref": "#/components/schemas/issue" }, + "blocking_issue_id": { + "description": "The ID of the blocking issue.", + "type": "number" + }, + "blocking_issue": { "$ref": "#/components/schemas/issue" }, + "blocking_issue_repo": { "$ref": "#/components/schemas/repository" }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "repository": { "$ref": "#/components/schemas/repository-webhooks" }, + "sender": { "$ref": "#/components/schemas/simple-user" } + }, + "required": [ + "action", + "blocked_issue_id", + "blocked_issue", + "blocking_issue_id", + "blocking_issue", + "blocking_issue_repo", + "organization", + "repository", + "sender" + ] + }, + "webhook-issue-dependencies-blocked-by-removed": { + "title": "blocked by issue removed event", + "type": "object", + "properties": { + "action": { "type": "string", "enum": ["blocked_by_removed"] }, + "blocked_issue_id": { + "description": "The ID of the blocked issue.", + "type": "number" + }, + "blocked_issue": { "$ref": "#/components/schemas/issue" }, + "blocking_issue_id": { + "description": "The ID of the blocking issue.", + "type": "number" + }, + "blocking_issue": { "$ref": "#/components/schemas/issue" }, + "blocking_issue_repo": { "$ref": "#/components/schemas/repository" }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "repository": { "$ref": "#/components/schemas/repository-webhooks" }, + "sender": { "$ref": "#/components/schemas/simple-user" } + }, + "required": [ + "action", + "blocked_issue_id", + "blocked_issue", + "blocking_issue_id", + "blocking_issue", + "blocking_issue_repo", + "organization", + "repository", + "sender" + ] + }, + "webhook-issue-dependencies-blocking-added": { + "title": "blocking issue added event", + "type": "object", + "properties": { + "action": { "type": "string", "enum": ["blocking_added"] }, + "blocked_issue_id": { + "description": "The ID of the blocked issue.", + "type": "number" + }, + "blocked_issue": { "$ref": "#/components/schemas/issue" }, + "blocked_issue_repo": { "$ref": "#/components/schemas/repository" }, + "blocking_issue_id": { + "description": "The ID of the blocking issue.", + "type": "number" + }, + "blocking_issue": { "$ref": "#/components/schemas/issue" }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "repository": { "$ref": "#/components/schemas/repository-webhooks" }, + "sender": { "$ref": "#/components/schemas/simple-user" } + }, + "required": [ + "action", + "blocked_issue_id", + "blocked_issue", + "blocked_issue_repo", + "blocking_issue_id", + "blocking_issue", + "organization", + "repository", + "sender" + ] + }, + "webhook-issue-dependencies-blocking-removed": { + "title": "blocking issue removed event", + "type": "object", + "properties": { + "action": { "type": "string", "enum": ["blocking_removed"] }, + "blocked_issue_id": { + "description": "The ID of the blocked issue.", + "type": "number" + }, + "blocked_issue": { "$ref": "#/components/schemas/issue" }, + "blocked_issue_repo": { "$ref": "#/components/schemas/repository" }, + "blocking_issue_id": { + "description": "The ID of the blocking issue.", + "type": "number" + }, + "blocking_issue": { "$ref": "#/components/schemas/issue" }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "repository": { "$ref": "#/components/schemas/repository-webhooks" }, + "sender": { "$ref": "#/components/schemas/simple-user" } + }, + "required": [ + "action", + "blocked_issue_id", + "blocked_issue", + "blocked_issue_repo", + "blocking_issue_id", + "blocking_issue", + "organization", + "repository", + "sender" + ] + }, "webhook-issues-assigned": { "title": "issues assigned event", "type": "object", @@ -62094,14 +63133,16 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { + "$ref": "#/components/schemas/issue-field-value" + } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -62890,14 +63931,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -63610,14 +64651,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -64315,14 +65356,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -65016,14 +66057,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -65742,14 +66783,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -66440,14 +67481,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -67170,14 +68211,16 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { + "$ref": "#/components/schemas/issue-field-value" + } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -68231,14 +69274,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -68972,14 +70015,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -69701,14 +70744,16 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { + "$ref": "#/components/schemas/issue-field-value" + } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -70888,14 +71933,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -71680,7 +72725,7 @@ "action": { "type": "string", "enum": ["deleted"] }, "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, "hook": { - "description": "The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, business, app, or GitHub Marketplace.", + "description": "The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, business, app, or GitHub Marketplace.", "type": "object", "properties": { "active": { "type": "boolean" }, @@ -71699,6 +72744,7 @@ }, "created_at": { "type": "string" }, "events": { + "description": "", "type": "array", "items": { "type": "string", @@ -94778,6 +95824,10 @@ "enum": ["dismissed", "approved", "changes_requested"] }, "submitted_at": { "type": "string", "format": "date-time" }, + "updated_at": { + "type": ["string", "null"], + "format": "date-time" + }, "user": { "title": "User", "type": ["object", "null"], @@ -108758,7 +109808,8 @@ "node_id": { "type": "string" } }, "required": ["node_id", "comments"] - } + }, + "updated_at": { "type": ["string", "null"], "format": "date-time" } }, "required": ["action", "thread", "pull_request", "repository"] }, @@ -110748,7 +111799,8 @@ "node_id": { "type": "string" } }, "required": ["node_id", "comments"] - } + }, + "updated_at": { "type": ["string", "null"], "format": "date-time" } }, "required": ["action", "thread", "pull_request", "repository"] }, @@ -119517,6 +120569,7 @@ "draft", "html_url", "id", + "immutable", "name", "node_id", "prerelease", @@ -119524,6 +120577,7 @@ "tag_name", "tarball_url", "target_commitish", + "updated_at", "upload_url", "url", "zipball_url" @@ -119677,6 +120731,10 @@ }, "html_url": { "type": "string", "format": "uri" }, "id": { "type": "integer" }, + "immutable": { + "description": "Whether or not the release is immutable.", + "type": "boolean" + }, "name": { "type": ["string", "null"] }, "node_id": { "type": "string" }, "prerelease": { @@ -119726,6 +120784,10 @@ "type": "string" }, "upload_url": { "type": "string", "format": "uri-template" }, + "updated_at": { + "type": ["string", "null"], + "format": "date-time" + }, "url": { "type": "string", "format": "uri" }, "zipball_url": { "type": ["string", "null"], "format": "uri" } } @@ -129083,6 +130145,7 @@ "runner_type": "not_set", "runner_label": null }, + "code_scanning_options": { "allow_advanced": false }, "secret_scanning": "enabled", "secret_scanning_push_protection": "enabled", "secret_scanning_delegated_bypass": "enabled", @@ -129125,6 +130188,7 @@ "runner_type": "not_set", "runner_label": null }, + "code_scanning_options": { "allow_advanced": false }, "secret_scanning": "enabled", "secret_scanning_push_protection": "enabled", "secret_scanning_delegated_bypass": "disabled", @@ -129158,6 +130222,7 @@ "runner_type": "not_set", "runner_label": null }, + "code_scanning_options": { "allow_advanced": false }, "code_scanning_delegated_alert_dismissal": "disabled", "secret_scanning": "enabled", "secret_scanning_push_protection": "disabled", @@ -129718,7 +130783,20 @@ "resolution_comment": "Example comment", "validity": "active", "publicly_leaked": false, - "multi_repo": false + "multi_repo": false, + "is_base64_encoded": false, + "first_location_detected": { + "path": "/example/secrets.txt", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 64, + "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", + "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", + "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", + "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" + }, + "has_more_locations": true }, { "number": 1, @@ -129810,7 +130888,12 @@ "resolution_comment": null, "validity": "unknown", "publicly_leaked": false, - "multi_repo": false + "multi_repo": false, + "is_base64_encoded": false, + "first_location_detected": { + "issue_title_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + }, + "has_more_locations": false } ] }, @@ -131302,6 +132385,138 @@ } ] }, + "actions-fork-pr-contributor-approval": { + "value": { "approval_policy": "first_time_contributors" } + }, + "actions-fork-pr-workflows-private-repos": { + "value": { + "run_workflows_from_fork_pull_requests": true, + "send_write_tokens_to_workflows": false, + "send_secrets_and_variables": false, + "require_approval_for_fork_pr_workflows": true + } + }, + "repository-paginated": { + "value": { + "total_count": 1, + "repositories": [ + { + "id": 1296269, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "name": "Hello-World", + "full_name": "octocat/Hello-World", + "owner": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/octocat/Hello-World", + "description": "This your first repo!", + "fork": false, + "url": "https://api.github.com/repos/octocat/Hello-World", + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "homepage": "https://github.com", + "language": null, + "forks_count": 9, + "stargazers_count": 80, + "watchers_count": 80, + "size": 108, + "default_branch": "master", + "open_issues_count": 0, + "is_template": true, + "topics": ["octocat", "atom", "electron", "api"], + "has_issues": true, + "has_projects": true, + "has_wiki": true, + "has_pages": false, + "has_downloads": true, + "archived": false, + "disabled": false, + "visibility": "public", + "pushed_at": "2011-01-26T19:06:43Z", + "created_at": "2011-01-26T19:01:12Z", + "updated_at": "2011-01-26T19:14:43Z", + "permissions": { "admin": false, "push": false, "pull": true }, + "allow_rebase_merge": true, + "template_repository": null, + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "allow_squash_merge": true, + "allow_auto_merge": false, + "delete_branch_on_merge": true, + "allow_merge_commit": true, + "subscribers_count": 42, + "network_count": 0, + "license": { + "key": "mit", + "name": "MIT License", + "url": "https://api.github.com/licenses/mit", + "spdx_id": "MIT", + "node_id": "MDc6TGljZW5zZW1pdA==", + "html_url": "https://github.com/licenses/mit" + }, + "forks": 1, + "open_issues": 1, + "watchers": 1 + } + ] + } + }, "dependabot-repository-access-details": { "value": { "default_level": "public", @@ -131443,6 +132658,7 @@ "seats": 5 }, "default_repository_permission": "read", + "default_repository_branch": "main", "members_can_create_repositories": true, "two_factor_requirement_enabled": true, "members_allowed_repository_creation_type": "all", @@ -131452,6 +132668,14 @@ "members_can_create_pages": true, "members_can_create_public_pages": true, "members_can_create_private_pages": true, + "members_can_delete_repositories": true, + "members_can_change_repo_visibility": true, + "members_can_invite_outside_collaborators": true, + "members_can_delete_issues": false, + "display_commenter_full_name_setting_enabled": false, + "readers_can_create_discussions": true, + "members_can_create_teams": true, + "members_can_view_dependency_insights": true, "members_can_fork_private_repositories": false, "web_commit_signoff_required": false, "updated_at": "2014-03-03T18:58:10Z", @@ -131586,6 +132810,17 @@ "selected_actions_url": "https://api.github.com/organizations/42/actions/permissions/selected-actions" } }, + "actions-fork-pr-contributor-approval": { + "value": { "approval_policy": "first_time_contributors" } + }, + "actions-fork-pr-workflows-private-repos": { + "value": { + "run_workflows_from_fork_pull_requests": true, + "send_write_tokens_to_workflows": false, + "send_secrets_and_variables": false, + "require_approval_for_fork_pr_workflows": true + } + }, "repository-paginated": { "value": { "total_count": 1, @@ -132328,6 +133563,141 @@ "selected_repositories_url": "https://api.github.com/orgs/octo-org/actions/variables/USERNAME/repositories" } }, + "bulk-subject-digest-body": { + "value": { "subject_digests": ["sha256:abc123", "sha512:def456"] } + }, + "bulk-subject-digest-body-with-predicate-type": { + "value": { + "subject_digests": ["sha256:abc123", "sha512:def456"], + "predicateType": "provenance" + } + }, + "list-attestations-bulk": { + "value": { + "attestations_subject_digests": [ + { + "sha256:abc": [ + { + "bundle": { + "mediaType": "application/vnd.dev.sigstore.bundle.v0.3+json", + "verificationMaterial": { + "tlogEntries": [ + { + "logIndex": "97913980", + "logId": { + "keyId": "wNI9atQGlz+VWfO6LRygH4QUfY/8W4RFwiT5i5WRgB0=" + }, + "kindVersion": { "kind": "dsse", "version": "0.0.1" }, + "integratedTime": "1716998992", + "inclusionPromise": { + "signedEntryTimestamp": "MEYCIQCeEsQAy+qXtULkh52wbnHrkt2R2JQ05P9STK/xmdpQ2AIhANiG5Gw6cQiMnwvUz1+9UKtG/vlC8dduq07wsFOViwSL" + }, + "inclusionProof": { + "logIndex": "93750549", + "rootHash": "KgKiXoOl8rM5d4y6Xlbm2QLftvj/FYvTs6z7dJlNO60=", + "treeSize": "93750551", + "hashes": [ + "8LI21mzwxnUSo0fuZeFsUrz2ujZ4QAL+oGeTG+5toZg=", + "nCb369rcIytNhGwWoqBv+eV49X3ZKpo/HJGKm9V+dck=", + "hnNQ9mUdSwYCfdV21pd87NucrdRRNZATowlaRR1hJ4A=", + "MBhhK33vlD4Tq/JKgAaXUI4VjmosWKe6+7RNpQ2ncNM=", + "XKWUE3stvGV1OHsIGiCGfn047Ok6uD4mFkh7BaicaEc=", + "Tgve40VPFfuei+0nhupdGpfPPR+hPpZjxgTiDT8WNoY=", + "wV+S/7tLtYGzkLaSb6UDqexNyhMvumHK/RpTNvEZuLU=", + "uwaWufty6sn6XqO1Tb9M3Vz6sBKPu0HT36mStxJNd7s=", + "jUfeMOXQP0XF1JAnCEETVbfRKMUwCzrVUzYi8vnDMVs=", + "xQKjzJAwwdlQG/YUYBKPXxbCmhMYKo1wnv+6vDuKWhQ=", + "cX3Agx+hP66t1ZLbX/yHbfjU46/3m/VAmWyG/fhxAVc=", + "sjohk/3DQIfXTgf/5XpwtdF7yNbrf8YykOMHr1CyBYQ=", + "98enzMaC+x5oCMvIZQA5z8vu2apDMCFvE/935NfuPw8=" + ], + "checkpoint": { + "envelope": "rekor.sigstore.dev - 2605736670972794746\\n93750551\\nKgKiXoOl8rM5d4y6Xlbm2QLftvj/FYvTs6z7dJlNO60=\\n\\n— rekor.sigstore.dev wNI9ajBEAiBkLzdjY8A9HReU7rmtjwZ+JpSuYtEr9SmvSwUIW7FBjgIgKo+vhkW3tqc+gc8fw9gza3xLoncA8a+MTaJYCaLGA9c=\\n" + } + }, + "canonicalizedBody": "eyJhcGlWZXJzaW9uIjoiMC4wLjEiLCJraW5kIjoiZHNzZSIsInNwZWMiOnsiZW52ZWxvcGVIYXNoIjp7ImFsZ29yaXRobSI6InNoYTI1NiIsInZhbHVlIjoiM2I1YzkwNDk5MGFiYzE4NjI1ZWE3Njg4MzE1OGEwZmI4MTEwMjM4MGJkNjQwZjI5OWJlMzYwZWVkOTMxNjYwYiJ9LCJwYXlsb2FkSGFzaCI6eyJhbGdvcml0aG0iOiJzaGEyNTYiLCJ2YWx1ZSI6IjM4ZGNlZDJjMzE1MGU2OTQxMDViYjZiNDNjYjY3NzBiZTYzZDdhNGM4NjNiMTc2YTkwMmU1MGQ5ZTAyN2ZiMjMifSwic2lnbmF0dXJlcyI6W3sic2lnbmF0dXJlIjoiTUVRQ0lFR0lHQW03Z1pWTExwc3JQY2puZEVqaXVjdEUyL2M5K2o5S0d2YXp6M3JsQWlBZDZPMTZUNWhrelJNM0liUlB6bSt4VDQwbU5RWnhlZmQ3bGFEUDZ4MlhMUT09IiwidmVyaWZpZXIiOiJMUzB0TFMxQ1JVZEpUaUJEUlZKVVNVWkpRMEZVUlMwdExTMHRDazFKU1VkcVZFTkRRbWhUWjBGM1NVSkJaMGxWVjFsNGNVdHpjazFUTTFOMmJEVkphalZQUkdaQ1owMUtUeTlKZDBObldVbExiMXBKZW1vd1JVRjNUWGNLVG5wRlZrMUNUVWRCTVZWRlEyaE5UV015Ykc1ak0xSjJZMjFWZFZwSFZqSk5ValIzU0VGWlJGWlJVVVJGZUZaNllWZGtlbVJIT1hsYVV6RndZbTVTYkFwamJURnNXa2RzYUdSSFZYZElhR05PVFdwUmQwNVVTVFZOVkZsM1QxUlZlVmRvWTA1TmFsRjNUbFJKTlUxVVdYaFBWRlY1VjJwQlFVMUdhM2RGZDFsSUNrdHZXa2w2YWpCRFFWRlpTVXR2V2tsNmFqQkVRVkZqUkZGblFVVmtiV2RvVGs1M00yNVZMMHQxWlZGbmMzQkhTRmMzWjJnNVdFeEVMMWRrU1RoWlRVSUtLekJ3TUZZMGJ6RnJTRzgyWTAweGMwUktaM0pEWjFCUlZYcDRjSFZaZFc4cmVIZFFTSGxzTDJ0RWVXWXpSVXhxYTJGUFEwSlVUWGRuWjFWMlRVRTBSd3BCTVZWa1JIZEZRaTkzVVVWQmQwbElaMFJCVkVKblRsWklVMVZGUkVSQlMwSm5aM0pDWjBWR1FsRmpSRUY2UVdSQ1owNVdTRkUwUlVablVWVnhaa05RQ25aWVMwRjJVelJEWkdoUk1taGlXbGRLVTA5RmRsWnZkMGgzV1VSV1VqQnFRa0puZDBadlFWVXpPVkJ3ZWpGWmEwVmFZalZ4VG1wd1MwWlhhWGhwTkZrS1drUTRkMWRuV1VSV1VqQlNRVkZJTDBKR1FYZFViMXBOWVVoU01HTklUVFpNZVRsdVlWaFNiMlJYU1hWWk1qbDBUREpPYzJGVE9XcGlSMnQyVEcxa2NBcGtSMmd4V1drNU0ySXpTbkphYlhoMlpETk5kbHBIVm5kaVJ6azFZbGRXZFdSRE5UVmlWM2hCWTIxV2JXTjVPVzlhVjBaclkzazVNR051Vm5WaGVrRTFDa0puYjNKQ1owVkZRVmxQTDAxQlJVSkNRM1J2WkVoU2QyTjZiM1pNTTFKMllUSldkVXh0Um1wa1IyeDJZbTVOZFZveWJEQmhTRlpwWkZoT2JHTnRUbllLWW01U2JHSnVVWFZaTWpsMFRVSTRSME5wYzBkQlVWRkNaemM0ZDBGUlNVVkZXR1IyWTIxMGJXSkhPVE5ZTWxKd1l6TkNhR1JIVG05TlJGbEhRMmx6UndwQlVWRkNaemM0ZDBGUlRVVkxSMXBvV2xkWmVWcEhVbXRQUkVacFRVUmplazVxWXpCUFJGRjRUVEpGTTFsNldUQk9iVTVyVFVkS2JWbDZTVEpaZWtGM0NsbFVRWGRIUVZsTFMzZFpRa0pCUjBSMmVrRkNRa0ZSUzFKSFZuZGlSemsxWWxkV2RXUkVRVlpDWjI5eVFtZEZSVUZaVHk5TlFVVkdRa0ZrYW1KSGEzWUtXVEo0Y0UxQ05FZERhWE5IUVZGUlFtYzNPSGRCVVZsRlJVaEtiRnB1VFhaaFIxWm9Xa2hOZG1SSVNqRmliWE4zVDNkWlMwdDNXVUpDUVVkRWRucEJRZ3BEUVZGMFJFTjBiMlJJVW5kamVtOTJURE5TZG1FeVZuVk1iVVpxWkVkc2RtSnVUWFZhTW13d1lVaFdhV1JZVG14amJVNTJZbTVTYkdKdVVYVlpNamwwQ2sxR2QwZERhWE5IUVZGUlFtYzNPSGRCVVd0RlZHZDRUV0ZJVWpCalNFMDJUSGs1Ym1GWVVtOWtWMGwxV1RJNWRFd3lUbk5oVXpscVlrZHJka3h0WkhBS1pFZG9NVmxwT1ROaU0wcHlXbTE0ZG1RelRYWmFSMVozWWtjNU5XSlhWblZrUXpVMVlsZDRRV050Vm0xamVUbHZXbGRHYTJONU9UQmpibFoxWVhwQk5BcENaMjl5UW1kRlJVRlpUeTlOUVVWTFFrTnZUVXRIV21oYVYxbDVXa2RTYTA5RVJtbE5SR042VG1wak1FOUVVWGhOTWtVeldYcFpNRTV0VG10TlIwcHRDbGw2U1RKWmVrRjNXVlJCZDBoUldVdExkMWxDUWtGSFJIWjZRVUpEZDFGUVJFRXhibUZZVW05a1YwbDBZVWM1ZW1SSFZtdE5RMjlIUTJselIwRlJVVUlLWnpjNGQwRlJkMFZJUVhkaFlVaFNNR05JVFRaTWVUbHVZVmhTYjJSWFNYVlpNamwwVERKT2MyRlRPV3BpUjJ0M1QwRlpTMHQzV1VKQ1FVZEVkbnBCUWdwRVVWRnhSRU5vYlZsWFZtMU5iVkpyV2tSbmVGbHFRVE5OZWxrelRrUm5NRTFVVG1oT01rMHlUa1JhYWxwRVFtbGFiVTE1VG0xTmQwMUhSWGROUTBGSENrTnBjMGRCVVZGQ1p6YzRkMEZSTkVWRlozZFJZMjFXYldONU9XOWFWMFpyWTNrNU1HTnVWblZoZWtGYVFtZHZja0puUlVWQldVOHZUVUZGVUVKQmMwMEtRMVJKZUUxcVdYaE5la0V3VDFSQmJVSm5iM0pDWjBWRlFWbFBMMDFCUlZGQ1FtZE5SbTFvTUdSSVFucFBhVGgyV2pKc01HRklWbWxNYlU1MllsTTVhZ3BpUjJ0M1IwRlpTMHQzV1VKQ1FVZEVkbnBCUWtWUlVVdEVRV2N4VDFSamQwNUVZM2hOVkVKalFtZHZja0puUlVWQldVOHZUVUZGVTBKRk5FMVVSMmd3Q21SSVFucFBhVGgyV2pKc01HRklWbWxNYlU1MllsTTVhbUpIYTNaWk1uaHdUSGsxYm1GWVVtOWtWMGwyWkRJNWVXRXlXbk5pTTJSNlRESlNiR05IZUhZS1pWY3hiR0p1VVhWbFZ6RnpVVWhLYkZwdVRYWmhSMVpvV2toTmRtUklTakZpYlhOM1QwRlpTMHQzV1VKQ1FVZEVkbnBCUWtWM1VYRkVRMmh0V1ZkV2JRcE5iVkpyV2tSbmVGbHFRVE5OZWxrelRrUm5NRTFVVG1oT01rMHlUa1JhYWxwRVFtbGFiVTE1VG0xTmQwMUhSWGROUTBWSFEybHpSMEZSVVVKbk56aDNDa0ZTVVVWRmQzZFNaREk1ZVdFeVduTmlNMlJtV2tkc2VtTkhSakJaTW1kM1ZGRlpTMHQzV1VKQ1FVZEVkbnBCUWtaUlVTOUVSREZ2WkVoU2QyTjZiM1lLVERKa2NHUkhhREZaYVRWcVlqSXdkbGt5ZUhCTU1rNXpZVk01YUZrelVuQmlNalY2VEROS01XSnVUWFpQVkVrMFQxUkJNMDVVWXpGTmFUbG9aRWhTYkFwaVdFSXdZM2s0ZUUxQ1dVZERhWE5IUVZGUlFtYzNPSGRCVWxsRlEwRjNSMk5JVm1saVIyeHFUVWxIVEVKbmIzSkNaMFZGUVdSYU5VRm5VVU5DU0RCRkNtVjNRalZCU0dOQk0xUXdkMkZ6WWtoRlZFcHFSMUkwWTIxWFl6TkJjVXBMV0hKcVpWQkxNeTlvTkhCNVowTTRjRGR2TkVGQlFVZFFlRkl4ZW1KblFVRUtRa0ZOUVZORVFrZEJhVVZCS3pobmJGRkplRTlCYUZoQ1FVOVRObE1yT0ZweGQwcGpaSGQzVTNJdlZGZHBhSE16WkV4eFZrRjJiME5KVVVSaWVUbG9NUXBKWTNWRVJYSXJlbk5YYVV3NFVIYzFRMU5VZEd0c2RFbzBNakZ6UlRneFZuWjFOa0Z3VkVGTFFtZG5jV2hyYWs5UVVWRkVRWGRPYmtGRVFtdEJha0VyQ2tSSU4xQXJhR2cwVmtoWFprTlhXSFJ5UzFSdlFrdDFZa0pyUzNCbVYwTlpVWGhxV0UweWRsWXZibEJ4WWxwR1dVOVdXazlpWlRaQlRuSm5lV1J2V1VNS1RVWlZUV0l6ZUhwelJrNVJXWFp6UlZsUGFUSkxibkoyUmpCMFoyOXdiVmhIVm05NmJsb3JjUzh5UVVsRVZ6bEdNVVUzV1RaWk1EWXhaVzkxUVZsa1NBcFhkejA5Q2kwdExTMHRSVTVFSUVORlVsUkpSa2xEUVZSRkxTMHRMUzBLIn1dfX0=" + } + ], + "timestampVerificationData": {}, + "certificate": { + "rawBytes": "MIIGjTCCBhSgAwIBAgIUWYxqKsrMS3Svl5Ij5ODfBgMJO/IwCgYIKoZIzj0EAwMwNzEVMBMGA1UEChMMc2lnc3RvcmUuZGV2MR4wHAYDVQQDExVzaWdzdG9yZS1pbnRlcm1lZGlhdGUwHhcNMjQwNTI5MTYwOTUyWhcNMjQwNTI5MTYxOTUyWjAAMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEdmghNNw3nU/KueQgspGHW7gh9XLD/WdI8YMB+0p0V4o1kHo6cM1sDJgrCgPQUzxpuYuo+xwPHyl/kDyf3ELjkaOCBTMwggUvMA4GA1UdDwEB/wQEAwIHgDATBgNVHSUEDDAKBggrBgEFBQcDAzAdBgNVHQ4EFgQUqfCPvXKAvS4CdhQ2hbZWJSOEvVowHwYDVR0jBBgwFoAU39Ppz1YkEZb5qNjpKFWixi4YZD8wWgYDVR0RAQH/BFAwToZMaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkvLmdpdGh1Yi93b3JrZmxvd3MvZGVwbG95bWVudC55bWxAcmVmcy9oZWFkcy90cnVuazA5BgorBgEEAYO/MAEBBCtodHRwczovL3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tMB8GCisGAQQBg78wAQIEEXdvcmtmbG93X2Rpc3BhdGNoMDYGCisGAQQBg78wAQMEKGZhZWYyZGRkODFiMDczNjc0ODQxM2E3YzY0NmNkMGJmYzI2YzAwYTAwGAYKKwYBBAGDvzABBAQKRGVwbG95bWVudDAVBgorBgEEAYO/MAEFBAdjbGkvY2xpMB4GCisGAQQBg78wAQYEEHJlZnMvaGVhZHMvdHJ1bmswOwYKKwYBBAGDvzABCAQtDCtodHRwczovL3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tMFwGCisGAQQBg78wAQkETgxMaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkvLmdpdGh1Yi93b3JrZmxvd3MvZGVwbG95bWVudC55bWxAcmVmcy9oZWFkcy90cnVuazA4BgorBgEEAYO/MAEKBCoMKGZhZWYyZGRkODFiMDczNjc0ODQxM2E3YzY0NmNkMGJmYzI2YzAwYTAwHQYKKwYBBAGDvzABCwQPDA1naXRodWItaG9zdGVkMCoGCisGAQQBg78wAQwEHAwaaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkwOAYKKwYBBAGDvzABDQQqDChmYWVmMmRkZDgxYjA3MzY3NDg0MTNhN2M2NDZjZDBiZmMyNmMwMGEwMCAGCisGAQQBg78wAQ4EEgwQcmVmcy9oZWFkcy90cnVuazAZBgorBgEEAYO/MAEPBAsMCTIxMjYxMzA0OTAmBgorBgEEAYO/MAEQBBgMFmh0dHBzOi8vZ2l0aHViLmNvbS9jbGkwGAYKKwYBBAGDvzABEQQKDAg1OTcwNDcxMTBcBgorBgEEAYO/MAESBE4MTGh0dHBzOi8vZ2l0aHViLmNvbS9jbGkvY2xpLy5naXRodWIvd29ya2Zsb3dzL2RlcGxveW1lbnQueW1sQHJlZnMvaGVhZHMvdHJ1bmswOAYKKwYBBAGDvzABEwQqDChmYWVmMmRkZDgxYjA3MzY3NDg0MTNhN2M2NDZjZDBiZmMyNmMwMGEwMCEGCisGAQQBg78wARQEEwwRd29ya2Zsb3dfZGlzcGF0Y2gwTQYKKwYBBAGDvzABFQQ/DD1odHRwczovL2dpdGh1Yi5jb20vY2xpL2NsaS9hY3Rpb25zL3J1bnMvOTI4OTA3NTc1Mi9hdHRlbXB0cy8xMBYGCisGAQQBg78wARYECAwGcHVibGljMIGLBgorBgEEAdZ5AgQCBH0EewB5AHcA3T0wasbHETJjGR4cmWc3AqJKXrjePK3/h4pygC8p7o4AAAGPxR1zbgAABAMASDBGAiEA+8glQIxOAhXBAOS6S+8ZqwJcdwwSr/TWihs3dLqVAvoCIQDby9h1IcuDEr+zsWiL8Pw5CSTtkltJ421sE81Vvu6ApTAKBggqhkjOPQQDAwNnADBkAjA+DH7P+hh4VHWfCWXtrKToBKubBkKpfWCYQxjXM2vV/nPqbZFYOVZObe6ANrgydoYCMFUMb3xzsFNQYvsEYOi2KnrvF0tgopmXGVoznZ+q/2AIDW9F1E7Y6Y061eouAYdHWw==" + } + }, + "dsseEnvelope": { + "payload": "eyJfdHlwZSI6Imh0dHBzOi8vaW4tdG90by5pby9TdGF0ZW1lbnQvdjEiLCJzdWJqZWN0IjpbeyJuYW1lIjoiZ2hfMi41MC4wX3dpbmRvd3NfYXJtNjQuemlwIiwiZGlnZXN0Ijp7InNoYTI1NiI6IjhhYWQxMjBiNDE2Mzg2YjQyNjllZjYyYzhmZGViY2FkMzFhNzA4NDcyOTc4MTdhMTQ5ZGFmOTI3ZWRjODU1NDgifX1dLCJwcmVkaWNhdGVUeXBlIjoiaHR0cHM6Ly9zbHNhLmRldi9wcm92ZW5hbmNlL3YxIiwicHJlZGljYXRlIjp7ImJ1aWxkRGVmaW5pdGlvbiI6eyJidWlsZFR5cGUiOiJodHRwczovL3Nsc2EtZnJhbWV3b3JrLmdpdGh1Yi5pby9naXRodWItYWN0aW9ucy1idWlsZHR5cGVzL3dvcmtmbG93L3YxIiwiZXh0ZXJuYWxQYXJhbWV0ZXJzIjp7IndvcmtmbG93Ijp7InJlZiI6InJlZnMvaGVhZHMvdHJ1bmsiLCJyZXBvc2l0b3J5IjoiaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkiLCJwYXRoIjoiLmdpdGh1Yi93b3JrZmxvd3MvZGVwbG95bWVudC55bWwifX0sImludGVybmFsUGFyYW1ldGVycyI6eyJnaXRodWIiOnsiZXZlbnRfbmFtZSI6IndvcmtmbG93X2Rpc3BhdGNoIiwicmVwb3NpdG9yeV9pZCI6IjIxMjYxMzA0OSIsInJlcG9zaXRvcnlfb3duZXJfaWQiOiI1OTcwNDcxMSJ9fSwicmVzb2x2ZWREZXBlbmRlbmNpZXMiOlt7InVyaSI6ImdpdCtodHRwczovL2dpdGh1Yi5jb20vY2xpL2NsaUByZWZzL2hlYWRzL3RydW5rIiwiZGlnZXN0Ijp7ImdpdENvbW1pdCI6ImZhZWYyZGRkODFiMDczNjc0ODQxM2E3YzY0NmNkMGJmYzI2YzAwYTAifX1dfSwicnVuRGV0YWlscyI6eyJidWlsZGVyIjp7ImlkIjoiaHR0cHM6Ly9naXRodWIuY29tL2FjdGlvbnMvcnVubmVyL2dpdGh1Yi1ob3N0ZWQifSwibWV0YWRhdGEiOnsiaW52b2NhdGlvbklkIjoiaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkvYWN0aW9ucy9ydW5zLzkyODkwNzU3NTIvYXR0ZW1wdHMvMSJ9fX19", + "payloadType": "application/vnd.in-toto+json", + "signatures": [ + { + "sig": "MEQCIEGIGAm7gZVLLpsrPcjndEjiuctE2/c9+j9KGvazz3rlAiAd6O16T5hkzRM3IbRPzm+xT40mNQZxefd7laDP6x2XLQ==" + } + ] + } + }, + "repository_id": 1 + }, + { + "bundle": { + "mediaType": "application/vnd.dev.sigstore.bundle.v0.3+json", + "verificationMaterial": { + "tlogEntries": [ + { + "logIndex": "97913980", + "logId": { + "keyId": "wNI9atQGlz+VWfO6LRygH4QUfY/8W4RFwiT5i5WRgB0=" + }, + "kindVersion": { "kind": "dsse", "version": "0.0.1" }, + "integratedTime": "1716998992", + "inclusionPromise": { + "signedEntryTimestamp": "MEYCIQCeEsQAy+qXtULkh52wbnHrkt2R2JQ05P9STK/xmdpQ2AIhANiG5Gw6cQiMnwvUz1+9UKtG/vlC8dduq07wsFOViwSL" + }, + "inclusionProof": { + "logIndex": "93750549", + "rootHash": "KgKiXoOl8rM5d4y6Xlbm2QLftvj/FYvTs6z7dJlNO60=", + "treeSize": "93750551", + "hashes": [ + "8LI21mzwxnUSo0fuZeFsUrz2ujZ4QAL+oGeTG+5toZg=", + "nCb369rcIytNhGwWoqBv+eV49X3ZKpo/HJGKm9V+dck=", + "hnNQ9mUdSwYCfdV21pd87NucrdRRNZATowlaRR1hJ4A=", + "MBhhK33vlD4Tq/JKgAaXUI4VjmosWKe6+7RNpQ2ncNM=", + "XKWUE3stvGV1OHsIGiCGfn047Ok6uD4mFkh7BaicaEc=", + "Tgve40VPFfuei+0nhupdGpfPPR+hPpZjxgTiDT8WNoY=", + "wV+S/7tLtYGzkLaSb6UDqexNyhMvumHK/RpTNvEZuLU=", + "uwaWufty6sn6XqO1Tb9M3Vz6sBKPu0HT36mStxJNd7s=", + "jUfeMOXQP0XF1JAnCEETVbfRKMUwCzrVUzYi8vnDMVs=", + "xQKjzJAwwdlQG/YUYBKPXxbCmhMYKo1wnv+6vDuKWhQ=", + "cX3Agx+hP66t1ZLbX/yHbfjU46/3m/VAmWyG/fhxAVc=", + "sjohk/3DQIfXTgf/5XpwtdF7yNbrf8YykOMHr1CyBYQ=", + "98enzMaC+x5oCMvIZQA5z8vu2apDMCFvE/935NfuPw8=" + ], + "checkpoint": { + "envelope": "rekor.sigstore.dev - 2605736670972794746\\n93750551\\nKgKiXoOl8rM5d4y6Xlbm2QLftvj/FYvTs6z7dJlNO60=\\n\\n— rekor.sigstore.dev wNI9ajBEAiBkLzdjY8A9HReU7rmtjwZ+JpSuYtEr9SmvSwUIW7FBjgIgKo+vhkW3tqc+gc8fw9gza3xLoncA8a+MTaJYCaLGA9c=\\n" + } + }, + "canonicalizedBody": "eyJhcGlWZXJzaW9uIjoiMC4wLjEiLCJraW5kIjoiZHNzZSIsInNwZWMiOnsiZW52ZWxvcGVIYXNoIjp7ImFsZ29yaXRobSI6InNoYTI1NiIsInZhbHVlIjoiM2I1YzkwNDk5MGFiYzE4NjI1ZWE3Njg4MzE1OGEwZmI4MTEwMjM4MGJkNjQwZjI5OWJlMzYwZWVkOTMxNjYwYiJ9LCJwYXlsb2FkSGFzaCI6eyJhbGdvcml0aG0iOiJzaGEyNTYiLCJ2YWx1ZSI6IjM4ZGNlZDJjMzE1MGU2OTQxMDViYjZiNDNjYjY3NzBiZTYzZDdhNGM4NjNiMTc2YTkwMmU1MGQ5ZTAyN2ZiMjMifSwic2lnbmF0dXJlcyI6W3sic2lnbmF0dXJlIjoiTUVRQ0lFR0lHQW03Z1pWTExwc3JQY2puZEVqaXVjdEUyL2M5K2o5S0d2YXp6M3JsQWlBZDZPMTZUNWhrelJNM0liUlB6bSt4VDQwbU5RWnhlZmQ3bGFEUDZ4MlhMUT09IiwidmVyaWZpZXIiOiJMUzB0TFMxQ1JVZEpUaUJEUlZKVVNVWkpRMEZVUlMwdExTMHRDazFKU1VkcVZFTkRRbWhUWjBGM1NVSkJaMGxWVjFsNGNVdHpjazFUTTFOMmJEVkphalZQUkdaQ1owMUtUeTlKZDBObldVbExiMXBKZW1vd1JVRjNUWGNLVG5wRlZrMUNUVWRCTVZWRlEyaE5UV015Ykc1ak0xSjJZMjFWZFZwSFZqSk5ValIzU0VGWlJGWlJVVVJGZUZaNllWZGtlbVJIT1hsYVV6RndZbTVTYkFwamJURnNXa2RzYUdSSFZYZElhR05PVFdwUmQwNVVTVFZOVkZsM1QxUlZlVmRvWTA1TmFsRjNUbFJKTlUxVVdYaFBWRlY1VjJwQlFVMUdhM2RGZDFsSUNrdHZXa2w2YWpCRFFWRlpTVXR2V2tsNmFqQkVRVkZqUkZGblFVVmtiV2RvVGs1M00yNVZMMHQxWlZGbmMzQkhTRmMzWjJnNVdFeEVMMWRrU1RoWlRVSUtLekJ3TUZZMGJ6RnJTRzgyWTAweGMwUktaM0pEWjFCUlZYcDRjSFZaZFc4cmVIZFFTSGxzTDJ0RWVXWXpSVXhxYTJGUFEwSlVUWGRuWjFWMlRVRTBSd3BCTVZWa1JIZEZRaTkzVVVWQmQwbElaMFJCVkVKblRsWklVMVZGUkVSQlMwSm5aM0pDWjBWR1FsRmpSRUY2UVdSQ1owNVdTRkUwUlVablVWVnhaa05RQ25aWVMwRjJVelJEWkdoUk1taGlXbGRLVTA5RmRsWnZkMGgzV1VSV1VqQnFRa0puZDBadlFWVXpPVkJ3ZWpGWmEwVmFZalZ4VG1wd1MwWlhhWGhwTkZrS1drUTRkMWRuV1VSV1VqQlNRVkZJTDBKR1FYZFViMXBOWVVoU01HTklUVFpNZVRsdVlWaFNiMlJYU1hWWk1qbDBUREpPYzJGVE9XcGlSMnQyVEcxa2NBcGtSMmd4V1drNU0ySXpTbkphYlhoMlpETk5kbHBIVm5kaVJ6azFZbGRXZFdSRE5UVmlWM2hCWTIxV2JXTjVPVzlhVjBaclkzazVNR051Vm5WaGVrRTFDa0puYjNKQ1owVkZRVmxQTDAxQlJVSkNRM1J2WkVoU2QyTjZiM1pNTTFKMllUSldkVXh0Um1wa1IyeDJZbTVOZFZveWJEQmhTRlpwWkZoT2JHTnRUbllLWW01U2JHSnVVWFZaTWpsMFRVSTRSME5wYzBkQlVWRkNaemM0ZDBGUlNVVkZXR1IyWTIxMGJXSkhPVE5ZTWxKd1l6TkNhR1JIVG05TlJGbEhRMmx6UndwQlVWRkNaemM0ZDBGUlRVVkxSMXBvV2xkWmVWcEhVbXRQUkVacFRVUmplazVxWXpCUFJGRjRUVEpGTTFsNldUQk9iVTVyVFVkS2JWbDZTVEpaZWtGM0NsbFVRWGRIUVZsTFMzZFpRa0pCUjBSMmVrRkNRa0ZSUzFKSFZuZGlSemsxWWxkV2RXUkVRVlpDWjI5eVFtZEZSVUZaVHk5TlFVVkdRa0ZrYW1KSGEzWUtXVEo0Y0UxQ05FZERhWE5IUVZGUlFtYzNPSGRCVVZsRlJVaEtiRnB1VFhaaFIxWm9Xa2hOZG1SSVNqRmliWE4zVDNkWlMwdDNXVUpDUVVkRWRucEJRZ3BEUVZGMFJFTjBiMlJJVW5kamVtOTJURE5TZG1FeVZuVk1iVVpxWkVkc2RtSnVUWFZhTW13d1lVaFdhV1JZVG14amJVNTJZbTVTYkdKdVVYVlpNamwwQ2sxR2QwZERhWE5IUVZGUlFtYzNPSGRCVVd0RlZHZDRUV0ZJVWpCalNFMDJUSGs1Ym1GWVVtOWtWMGwxV1RJNWRFd3lUbk5oVXpscVlrZHJka3h0WkhBS1pFZG9NVmxwT1ROaU0wcHlXbTE0ZG1RelRYWmFSMVozWWtjNU5XSlhWblZrUXpVMVlsZDRRV050Vm0xamVUbHZXbGRHYTJONU9UQmpibFoxWVhwQk5BcENaMjl5UW1kRlJVRlpUeTlOUVVWTFFrTnZUVXRIV21oYVYxbDVXa2RTYTA5RVJtbE5SR042VG1wak1FOUVVWGhOTWtVeldYcFpNRTV0VG10TlIwcHRDbGw2U1RKWmVrRjNXVlJCZDBoUldVdExkMWxDUWtGSFJIWjZRVUpEZDFGUVJFRXhibUZZVW05a1YwbDBZVWM1ZW1SSFZtdE5RMjlIUTJselIwRlJVVUlLWnpjNGQwRlJkMFZJUVhkaFlVaFNNR05JVFRaTWVUbHVZVmhTYjJSWFNYVlpNamwwVERKT2MyRlRPV3BpUjJ0M1QwRlpTMHQzV1VKQ1FVZEVkbnBCUWdwRVVWRnhSRU5vYlZsWFZtMU5iVkpyV2tSbmVGbHFRVE5OZWxrelRrUm5NRTFVVG1oT01rMHlUa1JhYWxwRVFtbGFiVTE1VG0xTmQwMUhSWGROUTBGSENrTnBjMGRCVVZGQ1p6YzRkMEZSTkVWRlozZFJZMjFXYldONU9XOWFWMFpyWTNrNU1HTnVWblZoZWtGYVFtZHZja0puUlVWQldVOHZUVUZGVUVKQmMwMEtRMVJKZUUxcVdYaE5la0V3VDFSQmJVSm5iM0pDWjBWRlFWbFBMMDFCUlZGQ1FtZE5SbTFvTUdSSVFucFBhVGgyV2pKc01HRklWbWxNYlU1MllsTTVhZ3BpUjJ0M1IwRlpTMHQzV1VKQ1FVZEVkbnBCUWtWUlVVdEVRV2N4VDFSamQwNUVZM2hOVkVKalFtZHZja0puUlVWQldVOHZUVUZGVTBKRk5FMVVSMmd3Q21SSVFucFBhVGgyV2pKc01HRklWbWxNYlU1MllsTTVhbUpIYTNaWk1uaHdUSGsxYm1GWVVtOWtWMGwyWkRJNWVXRXlXbk5pTTJSNlRESlNiR05IZUhZS1pWY3hiR0p1VVhWbFZ6RnpVVWhLYkZwdVRYWmhSMVpvV2toTmRtUklTakZpYlhOM1QwRlpTMHQzV1VKQ1FVZEVkbnBCUWtWM1VYRkVRMmh0V1ZkV2JRcE5iVkpyV2tSbmVGbHFRVE5OZWxrelRrUm5NRTFVVG1oT01rMHlUa1JhYWxwRVFtbGFiVTE1VG0xTmQwMUhSWGROUTBWSFEybHpSMEZSVVVKbk56aDNDa0ZTVVVWRmQzZFNaREk1ZVdFeVduTmlNMlJtV2tkc2VtTkhSakJaTW1kM1ZGRlpTMHQzV1VKQ1FVZEVkbnBCUWtaUlVTOUVSREZ2WkVoU2QyTjZiM1lLVERKa2NHUkhhREZaYVRWcVlqSXdkbGt5ZUhCTU1rNXpZVk01YUZrelVuQmlNalY2VEROS01XSnVUWFpQVkVrMFQxUkJNMDVVWXpGTmFUbG9aRWhTYkFwaVdFSXdZM2s0ZUUxQ1dVZERhWE5IUVZGUlFtYzNPSGRCVWxsRlEwRjNSMk5JVm1saVIyeHFUVWxIVEVKbmIzSkNaMFZGUVdSYU5VRm5VVU5DU0RCRkNtVjNRalZCU0dOQk0xUXdkMkZ6WWtoRlZFcHFSMUkwWTIxWFl6TkJjVXBMV0hKcVpWQkxNeTlvTkhCNVowTTRjRGR2TkVGQlFVZFFlRkl4ZW1KblFVRUtRa0ZOUVZORVFrZEJhVVZCS3pobmJGRkplRTlCYUZoQ1FVOVRObE1yT0ZweGQwcGpaSGQzVTNJdlZGZHBhSE16WkV4eFZrRjJiME5KVVVSaWVUbG9NUXBKWTNWRVJYSXJlbk5YYVV3NFVIYzFRMU5VZEd0c2RFbzBNakZ6UlRneFZuWjFOa0Z3VkVGTFFtZG5jV2hyYWs5UVVWRkVRWGRPYmtGRVFtdEJha0VyQ2tSSU4xQXJhR2cwVmtoWFprTlhXSFJ5UzFSdlFrdDFZa0pyUzNCbVYwTlpVWGhxV0UweWRsWXZibEJ4WWxwR1dVOVdXazlpWlRaQlRuSm5lV1J2V1VNS1RVWlZUV0l6ZUhwelJrNVJXWFp6UlZsUGFUSkxibkoyUmpCMFoyOXdiVmhIVm05NmJsb3JjUzh5UVVsRVZ6bEdNVVUzV1RaWk1EWXhaVzkxUVZsa1NBcFhkejA5Q2kwdExTMHRSVTVFSUVORlVsUkpSa2xEUVZSRkxTMHRMUzBLIn1dfX0=" + } + ], + "timestampVerificationData": {}, + "certificate": { + "rawBytes": "MIIGjTCCBhSgAwIBAgIUWYxqKsrMS3Svl5Ij5ODfBgMJO/IwCgYIKoZIzj0EAwMwNzEVMBMGA1UEChMMc2lnc3RvcmUuZGV2MR4wHAYDVQQDExVzaWdzdG9yZS1pbnRlcm1lZGlhdGUwHhcNMjQwNTI5MTYwOTUyWhcNMjQwNTI5MTYxOTUyWjAAMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEdmghNNw3nU/KueQgspGHW7gh9XLD/WdI8YMB+0p0V4o1kHo6cM1sDJgrCgPQUzxpuYuo+xwPHyl/kDyf3ELjkaOCBTMwggUvMA4GA1UdDwEB/wQEAwIHgDATBgNVHSUEDDAKBggrBgEFBQcDAzAdBgNVHQ4EFgQUqfCPvXKAvS4CdhQ2hbZWJSOEvVowHwYDVR0jBBgwFoAU39Ppz1YkEZb5qNjpKFWixi4YZD8wWgYDVR0RAQH/BFAwToZMaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkvLmdpdGh1Yi93b3JrZmxvd3MvZGVwbG95bWVudC55bWxAcmVmcy9oZWFkcy90cnVuazA5BgorBgEEAYO/MAEBBCtodHRwczovL3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tMB8GCisGAQQBg78wAQIEEXdvcmtmbG93X2Rpc3BhdGNoMDYGCisGAQQBg78wAQMEKGZhZWYyZGRkODFiMDczNjc0ODQxM2E3YzY0NmNkMGJmYzI2YzAwYTAwGAYKKwYBBAGDvzABBAQKRGVwbG95bWVudDAVBgorBgEEAYO/MAEFBAdjbGkvY2xpMB4GCisGAQQBg78wAQYEEHJlZnMvaGVhZHMvdHJ1bmswOwYKKwYBBAGDvzABCAQtDCtodHRwczovL3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tMFwGCisGAQQBg78wAQkETgxMaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkvLmdpdGh1Yi93b3JrZmxvd3MvZGVwbG95bWVudC55bWxAcmVmcy9oZWFkcy90cnVuazA4BgorBgEEAYO/MAEKBCoMKGZhZWYyZGRkODFiMDczNjc0ODQxM2E3YzY0NmNkMGJmYzI2YzAwYTAwHQYKKwYBBAGDvzABCwQPDA1naXRodWItaG9zdGVkMCoGCisGAQQBg78wAQwEHAwaaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkwOAYKKwYBBAGDvzABDQQqDChmYWVmMmRkZDgxYjA3MzY3NDg0MTNhN2M2NDZjZDBiZmMyNmMwMGEwMCAGCisGAQQBg78wAQ4EEgwQcmVmcy9oZWFkcy90cnVuazAZBgorBgEEAYO/MAEPBAsMCTIxMjYxMzA0OTAmBgorBgEEAYO/MAEQBBgMFmh0dHBzOi8vZ2l0aHViLmNvbS9jbGkwGAYKKwYBBAGDvzABEQQKDAg1OTcwNDcxMTBcBgorBgEEAYO/MAESBE4MTGh0dHBzOi8vZ2l0aHViLmNvbS9jbGkvY2xpLy5naXRodWIvd29ya2Zsb3dzL2RlcGxveW1lbnQueW1sQHJlZnMvaGVhZHMvdHJ1bmswOAYKKwYBBAGDvzABEwQqDChmYWVmMmRkZDgxYjA3MzY3NDg0MTNhN2M2NDZjZDBiZmMyNmMwMGEwMCEGCisGAQQBg78wARQEEwwRd29ya2Zsb3dfZGlzcGF0Y2gwTQYKKwYBBAGDvzABFQQ/DD1odHRwczovL2dpdGh1Yi5jb20vY2xpL2NsaS9hY3Rpb25zL3J1bnMvOTI4OTA3NTc1Mi9hdHRlbXB0cy8xMBYGCisGAQQBg78wARYECAwGcHVibGljMIGLBgorBgEEAdZ5AgQCBH0EewB5AHcA3T0wasbHETJjGR4cmWc3AqJKXrjePK3/h4pygC8p7o4AAAGPxR1zbgAABAMASDBGAiEA+8glQIxOAhXBAOS6S+8ZqwJcdwwSr/TWihs3dLqVAvoCIQDby9h1IcuDEr+zsWiL8Pw5CSTtkltJ421sE81Vvu6ApTAKBggqhkjOPQQDAwNnADBkAjA+DH7P+hh4VHWfCWXtrKToBKubBkKpfWCYQxjXM2vV/nPqbZFYOVZObe6ANrgydoYCMFUMb3xzsFNQYvsEYOi2KnrvF0tgopmXGVoznZ+q/2AIDW9F1E7Y6Y061eouAYdHWw==" + } + }, + "dsseEnvelope": { + "payload": "eyJfdHlwZSI6Imh0dHBzOi8vaW4tdG90by5pby9TdGF0ZW1lbnQvdjEiLCJzdWJqZWN0IjpbeyJuYW1lIjoiZ2hfMi41MC4wX3dpbmRvd3NfYXJtNjQuemlwIiwiZGlnZXN0Ijp7InNoYTI1NiI6IjhhYWQxMjBiNDE2Mzg2YjQyNjllZjYyYzhmZGViY2FkMzFhNzA4NDcyOTc4MTdhMTQ5ZGFmOTI3ZWRjODU1NDgifX1dLCJwcmVkaWNhdGVUeXBlIjoiaHR0cHM6Ly9zbHNhLmRldi9wcm92ZW5hbmNlL3YxIiwicHJlZGljYXRlIjp7ImJ1aWxkRGVmaW5pdGlvbiI6eyJidWlsZFR5cGUiOiJodHRwczovL3Nsc2EtZnJhbWV3b3JrLmdpdGh1Yi5pby9naXRodWItYWN0aW9ucy1idWlsZHR5cGVzL3dvcmtmbG93L3YxIiwiZXh0ZXJuYWxQYXJhbWV0ZXJzIjp7IndvcmtmbG93Ijp7InJlZiI6InJlZnMvaGVhZHMvdHJ1bmsiLCJyZXBvc2l0b3J5IjoiaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkiLCJwYXRoIjoiLmdpdGh1Yi93b3JrZmxvd3MvZGVwbG95bWVudC55bWwifX0sImludGVybmFsUGFyYW1ldGVycyI6eyJnaXRodWIiOnsiZXZlbnRfbmFtZSI6IndvcmtmbG93X2Rpc3BhdGNoIiwicmVwb3NpdG9yeV9pZCI6IjIxMjYxMzA0OSIsInJlcG9zaXRvcnlfb3duZXJfaWQiOiI1OTcwNDcxMSJ9fSwicmVzb2x2ZWREZXBlbmRlbmNpZXMiOlt7InVyaSI6ImdpdCtodHRwczovL2dpdGh1Yi5jb20vY2xpL2NsaUByZWZzL2hlYWRzL3RydW5rIiwiZGlnZXN0Ijp7ImdpdENvbW1pdCI6ImZhZWYyZGRkODFiMDczNjc0ODQxM2E3YzY0NmNkMGJmYzI2YzAwYTAifX1dfSwicnVuRGV0YWlscyI6eyJidWlsZGVyIjp7ImlkIjoiaHR0cHM6Ly9naXRodWIuY29tL2FjdGlvbnMvcnVubmVyL2dpdGh1Yi1ob3N0ZWQifSwibWV0YWRhdGEiOnsiaW52b2NhdGlvbklkIjoiaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkvYWN0aW9ucy9ydW5zLzkyODkwNzU3NTIvYXR0ZW1wdHMvMSJ9fX19", + "payloadType": "application/vnd.in-toto+json", + "signatures": [ + { + "sig": "MEQCIEGIGAm7gZVLLpsrPcjndEjiuctE2/c9+j9KGvazz3rlAiAd6O16T5hkzRM3IbRPzm+xT40mNQZxefd7laDP6x2XLQ==" + } + ] + } + }, + "repository_id": 1 + } + ] + } + ] + } + }, "list-attestations": { "value": { "attestations": [ @@ -132905,6 +134275,7 @@ "runner_type": "not_set", "runner_label": null }, + "code_scanning_options": { "allow_advanced": false }, "code_scanning_delegated_alert_dismissal": "disabled", "secret_scanning": "disabled", "secret_scanning_push_protection": "disabled", @@ -133418,6 +134789,7 @@ "pending_cancellation_date": null, "last_activity_at": "2021-10-14T00:53:32-06:00", "last_activity_editor": "vscode/1.77.3/copilot/1.86.82", + "last_authenticated_at": "2021-10-14T00:53:32-06:00", "plan_type": "business", "assignee": { "login": "octocat", @@ -133461,6 +134833,7 @@ "pending_cancellation_date": "2021-11-01", "last_activity_at": "2021-10-13T00:53:32-06:00", "last_activity_editor": "vscode/1.77.3/copilot/1.86.82", + "last_authenticated_at": "2021-10-14T00:53:32-06:00", "assignee": { "login": "octokitten", "id": 1, @@ -134312,6 +135685,7 @@ "pending_cancellation_date": null, "last_activity_at": "2021-10-14T00:53:32-06:00", "last_activity_editor": "vscode/1.77.3/copilot/1.86.82", + "last_authenticated_at": "2021-10-14T00:53:32-06:00", "plan_type": "business", "assignee": { "login": "octocat", @@ -136079,6 +137453,41 @@ } ] }, + "secret-scanning-pattern-configuration": { + "value": { + "pattern_config_version": "0ujsswThIGTUYm2K8FjOOfXtY1K", + "provider_pattern_overrides": [ + { + "token_type": "GITHUB_PERSONAL_ACCESS_TOKEN", + "slug": "github_personal_access_token_legacy_v2", + "display_name": "GitHub Personal Access Token (Legacy v2)", + "alert_total": 15, + "alert_total_percentage": 36, + "false_positives": 2, + "false_positive_rate": 13, + "bypass_rate": 13, + "default_setting": "enabled", + "setting": "enabled", + "enterprise_setting": "enabled" + } + ], + "custom_pattern_overrides": [ + { + "token_type": "cp_2", + "custom_pattern_version": "0ujsswThIGTUYm2K8FjOOfXtY1K", + "slug": "custom-api-key", + "display_name": "Custom API Key", + "alert_total": 15, + "alert_total_percentage": 36, + "false_positives": 3, + "false_positive_rate": 20, + "bypass_rate": 20, + "default_setting": "disabled", + "setting": "enabled" + } + ] + } + }, "list-repository-advisories": { "value": [ { @@ -149151,6 +150560,7 @@ "body": "Description of the release", "draft": false, "prerelease": false, + "immutable": false, "created_at": "2013-02-27T19:35:32Z", "published_at": "2013-02-27T19:35:32Z", "author": { @@ -149230,6 +150640,7 @@ "body": "Description of the release", "draft": false, "prerelease": false, + "immutable": false, "created_at": "2013-02-27T19:35:32Z", "published_at": "2013-02-27T19:35:32Z", "author": { @@ -149618,7 +151029,20 @@ "resolution_comment": "Example comment", "validity": "inactive", "publicly_leaked": false, - "multi_repo": false + "multi_repo": false, + "is_base64_encoded": false, + "first_location_detected": { + "path": "/example/secrets.txt", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 64, + "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", + "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", + "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", + "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" + }, + "has_more_locations": true }, { "number": 1, @@ -149643,7 +151067,12 @@ "resolution_comment": null, "validity": "unknown", "publicly_leaked": false, - "multi_repo": false + "multi_repo": false, + "is_base64_encoded": false, + "first_location_detected": { + "issue_title_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + }, + "has_more_locations": false } ] }, @@ -156021,7 +157450,7 @@ }, "enterprise": { "name": "enterprise", - "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "description": "The slug version of the enterprise name.", "in": "path", "required": true, "schema": { "type": "string" } @@ -156274,6 +157703,13 @@ "required": true, "schema": { "type": "string" } }, + "repository-id": { + "name": "repository_id", + "description": "The unique identifier of the repository.", + "in": "path", + "required": true, + "schema": { "type": "integer" } + }, "billing-usage-report-year": { "name": "year", "description": "If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, `2025`. Default value is the current year.", @@ -156309,13 +157745,6 @@ "required": true, "schema": { "type": "integer" } }, - "repository-id": { - "name": "repository_id", - "description": "The unique identifier of the repository.", - "in": "path", - "required": true, - "schema": { "type": "integer" } - }, "visible-to-repository": { "name": "visible_to_repository", "description": "Only return runner groups that are allowed to be used by this repository.", @@ -156389,6 +157818,18 @@ "$ref": "#/components/schemas/code-scanning-analysis-tool-guid" } }, + "dependabot-alert-comma-separated-package-registry-urls": { + "name": "package_registry_url", + "in": "query", + "description": "A comma-separated list of package registry URLs. If specified, only alerts for repositories with storage records matching these URLs will be returned.", + "schema": { "type": "string" } + }, + "dependabot-alert-comma-separated-package-registry": { + "name": "package_registry", + "in": "query", + "description": "A comma-separated list of Package Registry name strings. If specified, only alerts for repositories with storage records matching these registries will be returned.\n\nCan be: `jfrog-artifactory`", + "schema": { "type": "string" } + }, "hook-id": { "name": "hook_id", "description": "The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.", @@ -156691,7 +158132,7 @@ }, "time-period": { "name": "time_period", - "description": "The time period to filter by.\n\nFor example, `day` will filter for rule suites that occurred in the past 24 hours, and `week` will filter for insights that occurred in the past 7 days (168 hours).", + "description": "The time period to filter by.\n\nFor example, `day` will filter for rule suites that occurred in the past 24 hours, and `week` will filter for rule suites that occurred in the past 7 days (168 hours).", "in": "query", "required": false, "schema": { @@ -156708,7 +158149,7 @@ }, "rule-suite-result": { "name": "rule_suite_result", - "description": "The rule results to filter on. When specified, only suites with this result will be returned.", + "description": "The rule suite results to filter on. When specified, only suites with this result will be returned.", "in": "query", "schema": { "type": "string", @@ -157561,6 +159002,14 @@ } } }, + "code_scanning_invalid_state": { + "description": "Response if the configuration change cannot be made because the repository is not in the required state", + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/basic-error" } + } + } + }, "dependency_review_forbidden": { "description": "Response for a private repository when GitHub Advanced Security is not enabled, or if used against a fork", "content": { diff --git a/cache/ghec.json b/cache/ghec.json index 261a42c..6adb8ad 100644 --- a/cache/ghec.json +++ b/cache/ghec.json @@ -74,7 +74,10 @@ "name": "packages", "description": "Manage packages for authenticated users and organizations." }, - { "name": "projects", "description": "Interact with GitHub Projects." }, + { + "name": "projects-classic", + "description": "Interact with GitHub Projects (classic)." + }, { "name": "pulls", "description": "Interact with GitHub Pull Requests." }, { "name": "rate-limit", @@ -143,6 +146,10 @@ { "name": "credentials", "description": "Revoke compromised or leaked GitHub credentials." + }, + { + "name": "projects", + "description": "Endpoints to manage Projects using the REST API." } ], "servers": [{ "url": "https://api.github.com" }], @@ -5384,7 +5391,7 @@ }, "dismissal-request-code-scanning-created": { "post": { - "summary": "This event occurs when there is activity related to a user's request to dismiss a code scanning alert.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"code scanning alerts\" repository permission.\n\n> [!NOTE]\n> Delegated alert dismissal for code scanning is currently in public preview and subject to change.", + "summary": "This event occurs when there is activity related to a user's request to dismiss a code scanning alert.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"code scanning alerts\" repository permission.", "description": "A code scanning alert dismissal request was created.", "operationId": "dismissal-request-code-scanning/created", "externalDocs": { @@ -5459,7 +5466,7 @@ }, "dismissal-request-code-scanning-response-submitted": { "post": { - "summary": "This event occurs when there is activity related to a user's request to dismiss a code scanning alert.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"code scanning alerts\" repository permission.\n\n> [!NOTE]\n> Delegated alert dismissal for code scanning is currently in public preview and subject to change.", + "summary": "This event occurs when there is activity related to a user's request to dismiss a code scanning alert.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"code scanning alerts\" repository permission.", "description": "A code scanning alert dismissal response was submitted.", "operationId": "dismissal-request-code-scanning/response-submitted", "externalDocs": { @@ -6956,13 +6963,13 @@ } } }, - "issues-assigned": { + "issue-dependencies-blocked-by-added": { "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was assigned to a user.", - "operationId": "issues/assigned", + "summary": "This event occurs when there is activity relating to issue dependencies, such as blocking or blocked-by relationships.\n\nFor activity relating to issues more generally, use the `issues` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permissions.", + "description": "An issue was marked as blocked by another issue.", + "operationId": "issue-dependencies/blocked-by-added", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issue-dependencies" }, "parameters": [ { @@ -7013,7 +7020,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-assigned" + "$ref": "#/components/schemas/webhook-issue-dependencies-blocked-by-added" } } } @@ -7026,18 +7033,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "issues", + "subcategory": "issue-dependencies", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "issues-closed": { + "issue-dependencies-blocked-by-removed": { "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was closed.", - "operationId": "issues/closed", + "summary": "This event occurs when there is activity relating to issue dependencies, such as blocking or blocked-by relationships.\n\nFor activity relating to issues more generally, use the `issues` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permissions.", + "description": "The blocked by relationship between an issue and another issue was removed.", + "operationId": "issue-dependencies/blocked-by-removed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issue-dependencies" }, "parameters": [ { @@ -7087,7 +7094,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-issues-closed" } + "schema": { + "$ref": "#/components/schemas/webhook-issue-dependencies-blocked-by-removed" + } } } }, @@ -7099,18 +7108,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "issues", + "subcategory": "issue-dependencies", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "issues-deleted": { + "issue-dependencies-blocking-added": { "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was deleted.", - "operationId": "issues/deleted", + "summary": "This event occurs when there is activity relating to issue dependencies, such as blocking or blocked-by relationships.\n\nFor activity relating to issues more generally, use the `issues` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permissions.", + "description": "An issue was marked as blocking another issue.", + "operationId": "issue-dependencies/blocking-added", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issue-dependencies" }, "parameters": [ { @@ -7161,7 +7170,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-deleted" + "$ref": "#/components/schemas/webhook-issue-dependencies-blocking-added" } } } @@ -7174,18 +7183,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "issues", + "subcategory": "issue-dependencies", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "issues-demilestoned": { + "issue-dependencies-blocking-removed": { "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was removed from a milestone.", - "operationId": "issues/demilestoned", + "summary": "This event occurs when there is activity relating to issue dependencies, such as blocking or blocked-by relationships.\n\nFor activity relating to issues more generally, use the `issues` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permissions.", + "description": "The blocking relationship between an issue and another issue was removed.", + "operationId": "issue-dependencies/blocking-removed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issue-dependencies" }, "parameters": [ { @@ -7236,7 +7245,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-demilestoned" + "$ref": "#/components/schemas/webhook-issue-dependencies-blocking-removed" } } } @@ -7249,16 +7258,16 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "issues", + "subcategory": "issue-dependencies", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "issues-edited": { + "issues-assigned": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "The title or body on an issue was edited.", - "operationId": "issues/edited", + "description": "An issue was assigned to a user.", + "operationId": "issues/assigned", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -7310,7 +7319,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-issues-edited" } + "schema": { + "$ref": "#/components/schemas/webhook-issues-assigned" + } } } }, @@ -7327,11 +7338,11 @@ } } }, - "issues-labeled": { + "issues-closed": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A label was added to an issue.", - "operationId": "issues/labeled", + "description": "An issue was closed.", + "operationId": "issues/closed", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -7383,9 +7394,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-issues-labeled" - } + "schema": { "$ref": "#/components/schemas/webhook-issues-closed" } } } }, @@ -7402,11 +7411,11 @@ } } }, - "issues-locked": { + "issues-deleted": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/enterprise-cloud@latest//communities/moderating-comments-and-conversations/locking-conversations).\"", - "operationId": "issues/locked", + "description": "An issue was deleted.", + "operationId": "issues/deleted", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -7458,7 +7467,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-issues-locked" } + "schema": { + "$ref": "#/components/schemas/webhook-issues-deleted" + } } } }, @@ -7475,11 +7486,11 @@ } } }, - "issues-milestoned": { + "issues-demilestoned": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was added to a milestone.", - "operationId": "issues/milestoned", + "description": "An issue was removed from a milestone.", + "operationId": "issues/demilestoned", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -7532,7 +7543,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-milestoned" + "$ref": "#/components/schemas/webhook-issues-demilestoned" } } } @@ -7550,11 +7561,11 @@ } } }, - "issues-opened": { + "issues-edited": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was created. When a closed issue is reopened, the action will be `reopened` instead.", - "operationId": "issues/opened", + "description": "The title or body on an issue was edited.", + "operationId": "issues/edited", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -7606,7 +7617,7 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-issues-opened" } + "schema": { "$ref": "#/components/schemas/webhook-issues-edited" } } } }, @@ -7623,11 +7634,11 @@ } } }, - "issues-pinned": { + "issues-labeled": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was pinned to a repository. For more information, see \"[Pinning an issue to your repository](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository).\"", - "operationId": "issues/pinned", + "description": "A label was added to an issue.", + "operationId": "issues/labeled", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -7679,7 +7690,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-issues-pinned" } + "schema": { + "$ref": "#/components/schemas/webhook-issues-labeled" + } } } }, @@ -7696,11 +7709,11 @@ } } }, - "issues-reopened": { + "issues-locked": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A closed issue was reopened.", - "operationId": "issues/reopened", + "description": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/enterprise-cloud@latest//communities/moderating-comments-and-conversations/locking-conversations).\"", + "operationId": "issues/locked", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -7752,9 +7765,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-issues-reopened" - } + "schema": { "$ref": "#/components/schemas/webhook-issues-locked" } } } }, @@ -7771,11 +7782,11 @@ } } }, - "issues-transferred": { + "issues-milestoned": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was transferred to another repository. For more information, see \"[Transferring an issue to another repository](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository).\"", - "operationId": "issues/transferred", + "description": "An issue was added to a milestone.", + "operationId": "issues/milestoned", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -7828,7 +7839,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-transferred" + "$ref": "#/components/schemas/webhook-issues-milestoned" } } } @@ -7846,11 +7857,11 @@ } } }, - "issues-typed": { + "issues-opened": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue type was added to an issue.", - "operationId": "issues/typed", + "description": "An issue was created. When a closed issue is reopened, the action will be `reopened` instead.", + "operationId": "issues/opened", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -7902,7 +7913,7 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-issues-typed" } + "schema": { "$ref": "#/components/schemas/webhook-issues-opened" } } } }, @@ -7919,11 +7930,11 @@ } } }, - "issues-unassigned": { + "issues-pinned": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A user was unassigned from an issue.", - "operationId": "issues/unassigned", + "description": "An issue was pinned to a repository. For more information, see \"[Pinning an issue to your repository](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository).\"", + "operationId": "issues/pinned", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -7975,9 +7986,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-issues-unassigned" - } + "schema": { "$ref": "#/components/schemas/webhook-issues-pinned" } } } }, @@ -7994,11 +8003,11 @@ } } }, - "issues-unlabeled": { + "issues-reopened": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A label was removed from an issue.", - "operationId": "issues/unlabeled", + "description": "A closed issue was reopened.", + "operationId": "issues/reopened", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -8051,7 +8060,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unlabeled" + "$ref": "#/components/schemas/webhook-issues-reopened" } } } @@ -8069,11 +8078,11 @@ } } }, - "issues-unlocked": { + "issues-transferred": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/enterprise-cloud@latest//communities/moderating-comments-and-conversations/locking-conversations).\"", - "operationId": "issues/unlocked", + "description": "An issue was transferred to another repository. For more information, see \"[Transferring an issue to another repository](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository).\"", + "operationId": "issues/transferred", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -8126,7 +8135,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unlocked" + "$ref": "#/components/schemas/webhook-issues-transferred" } } } @@ -8144,11 +8153,11 @@ } } }, - "issues-unpinned": { + "issues-typed": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was unpinned from a repository. For more information, see \"[Pinning an issue to your repository](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository).\"", - "operationId": "issues/unpinned", + "description": "An issue type was added to an issue.", + "operationId": "issues/typed", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -8200,9 +8209,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-issues-unpinned" - } + "schema": { "$ref": "#/components/schemas/webhook-issues-typed" } } } }, @@ -8219,11 +8226,11 @@ } } }, - "issues-untyped": { + "issues-unassigned": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue type was removed from an issue.", - "operationId": "issues/untyped", + "description": "A user was unassigned from an issue.", + "operationId": "issues/unassigned", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -8276,7 +8283,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-untyped" + "$ref": "#/components/schemas/webhook-issues-unassigned" } } } @@ -8294,86 +8301,13 @@ } } }, - "label-created": { - "post": { - "summary": "This event occurs when there is activity relating to labels. For more information, see \"[Managing labels](https://docs.github.com/enterprise-cloud@latest//issues/using-labels-and-milestones-to-track-work/managing-labels).\" For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#label) or \"[Labels](https://docs.github.com/enterprise-cloud@latest//rest/issues/labels)\" in the REST API documentation.\n\nIf you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "A label was created.", - "operationId": "label/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#label" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-label-created" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "label", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "label-deleted": { + "issues-unlabeled": { "post": { - "summary": "This event occurs when there is activity relating to labels. For more information, see \"[Managing labels](https://docs.github.com/enterprise-cloud@latest//issues/using-labels-and-milestones-to-track-work/managing-labels).\" For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#label) or \"[Labels](https://docs.github.com/enterprise-cloud@latest//rest/issues/labels)\" in the REST API documentation.\n\nIf you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "A label was deleted.", - "operationId": "label/deleted", + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "A label was removed from an issue.", + "operationId": "issues/unlabeled", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#label" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, "parameters": [ { @@ -8423,7 +8357,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-label-deleted" } + "schema": { + "$ref": "#/components/schemas/webhook-issues-unlabeled" + } } } }, @@ -8435,18 +8371,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "label", + "subcategory": "issues", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "label-edited": { + "issues-unlocked": { "post": { - "summary": "This event occurs when there is activity relating to labels. For more information, see \"[Managing labels](https://docs.github.com/enterprise-cloud@latest//issues/using-labels-and-milestones-to-track-work/managing-labels).\" For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#label) or \"[Labels](https://docs.github.com/enterprise-cloud@latest//rest/issues/labels)\" in the REST API documentation.\n\nIf you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "A label's name, description, or color was changed.", - "operationId": "label/edited", + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/enterprise-cloud@latest//communities/moderating-comments-and-conversations/locking-conversations).\"", + "operationId": "issues/unlocked", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#label" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, "parameters": [ { @@ -8496,7 +8432,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-label-edited" } + "schema": { + "$ref": "#/components/schemas/webhook-issues-unlocked" + } } } }, @@ -8508,18 +8446,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "label", + "subcategory": "issues", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "marketplace-purchase-cancelled": { + "issues-unpinned": { "post": { - "summary": "This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see \"[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//marketplace).\" For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#marketplacelisting) or \"[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace)\" in the REST API documentation.", - "description": "Someone cancelled a GitHub Marketplace plan, and the last billing cycle has ended. The change will take effect on the account immediately.", - "operationId": "marketplace-purchase/cancelled", + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "An issue was unpinned from a repository. For more information, see \"[Pinning an issue to your repository](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository).\"", + "operationId": "issues/unpinned", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#marketplace_purchase" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, "parameters": [ { @@ -8570,7 +8508,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-marketplace-purchase-cancelled" + "$ref": "#/components/schemas/webhook-issues-unpinned" } } } @@ -8583,18 +8521,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "marketplace_purchase", - "supported-webhook-types": ["marketplace"] + "subcategory": "issues", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "marketplace-purchase-changed": { + "issues-untyped": { "post": { - "summary": "This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see \"[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//marketplace).\" For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#marketplacelisting) or \"[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace)\" in the REST API documentation.", - "description": "Someone upgraded or downgraded a GitHub Marketplace plan, and the last billing cycle has ended. The change will take effect on the account immediately.", - "operationId": "marketplace-purchase/changed", + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "An issue type was removed from an issue.", + "operationId": "issues/untyped", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#marketplace_purchase" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, "parameters": [ { @@ -8645,7 +8583,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-marketplace-purchase-changed" + "$ref": "#/components/schemas/webhook-issues-untyped" } } } @@ -8658,18 +8596,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "marketplace_purchase", - "supported-webhook-types": ["marketplace"] + "subcategory": "issues", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "marketplace-purchase-pending-change": { + "label-created": { "post": { - "summary": "This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see \"[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//marketplace).\" For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#marketplacelisting) or \"[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace)\" in the REST API documentation.", - "description": "Someone downgraded or cancelled a GitHub Marketplace plan. The new plan or cancellation will take effect at the end of the current billing cycle. When the change takes effect, the `changed` or `cancelled` event will be sent.", - "operationId": "marketplace-purchase/pending-change", + "summary": "This event occurs when there is activity relating to labels. For more information, see \"[Managing labels](https://docs.github.com/enterprise-cloud@latest//issues/using-labels-and-milestones-to-track-work/managing-labels).\" For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#label) or \"[Labels](https://docs.github.com/enterprise-cloud@latest//rest/issues/labels)\" in the REST API documentation.\n\nIf you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "description": "A label was created.", + "operationId": "label/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#marketplace_purchase" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#label" }, "parameters": [ { @@ -8719,9 +8657,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-marketplace-purchase-pending-change" - } + "schema": { "$ref": "#/components/schemas/webhook-label-created" } } } }, @@ -8733,18 +8669,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "marketplace_purchase", - "supported-webhook-types": ["marketplace"] + "subcategory": "label", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "marketplace-purchase-pending-change-cancelled": { + "label-deleted": { "post": { - "summary": "This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see \"[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//marketplace).\" For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#marketplacelisting) or \"[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace)\" in the REST API documentation.", - "description": "Someone cancelled a pending change to a GitHub Marketplace plan. Pending changes include plan cancellations and downgrades that will take effect at the end of a billing cycle.", - "operationId": "marketplace-purchase/pending-change-cancelled", + "summary": "This event occurs when there is activity relating to labels. For more information, see \"[Managing labels](https://docs.github.com/enterprise-cloud@latest//issues/using-labels-and-milestones-to-track-work/managing-labels).\" For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#label) or \"[Labels](https://docs.github.com/enterprise-cloud@latest//rest/issues/labels)\" in the REST API documentation.\n\nIf you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "description": "A label was deleted.", + "operationId": "label/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#marketplace_purchase" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#label" }, "parameters": [ { @@ -8794,9 +8730,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-marketplace-purchase-pending-change-cancelled" - } + "schema": { "$ref": "#/components/schemas/webhook-label-deleted" } } } }, @@ -8808,18 +8742,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "marketplace_purchase", - "supported-webhook-types": ["marketplace"] + "subcategory": "label", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "marketplace-purchase-purchased": { + "label-edited": { "post": { - "summary": "This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see \"[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//marketplace).\" For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#marketplacelisting) or \"[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace)\" in the REST API documentation.", - "description": "Someone purchased a GitHub Marketplace plan. The change will take effect on the account immediately.", - "operationId": "marketplace-purchase/purchased", + "summary": "This event occurs when there is activity relating to labels. For more information, see \"[Managing labels](https://docs.github.com/enterprise-cloud@latest//issues/using-labels-and-milestones-to-track-work/managing-labels).\" For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#label) or \"[Labels](https://docs.github.com/enterprise-cloud@latest//rest/issues/labels)\" in the REST API documentation.\n\nIf you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "description": "A label's name, description, or color was changed.", + "operationId": "label/edited", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#marketplace_purchase" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#label" }, "parameters": [ { @@ -8869,9 +8803,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-marketplace-purchase-purchased" - } + "schema": { "$ref": "#/components/schemas/webhook-label-edited" } } } }, @@ -8883,18 +8815,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "marketplace_purchase", - "supported-webhook-types": ["marketplace"] + "subcategory": "label", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "member-added": { + "marketplace-purchase-cancelled": { "post": { - "summary": "This event occurs when there is activity relating to collaborators in a repository. For more information, see \"[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization).\" For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repositorycollaboratorconnection) or \"[Collaborators](https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "A GitHub user accepted an invitation to a repository.", - "operationId": "member/added", + "summary": "This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see \"[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//marketplace).\" For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#marketplacelisting) or \"[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace)\" in the REST API documentation.", + "description": "Someone cancelled a GitHub Marketplace plan, and the last billing cycle has ended. The change will take effect on the account immediately.", + "operationId": "marketplace-purchase/cancelled", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#member" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#marketplace_purchase" }, "parameters": [ { @@ -8944,7 +8876,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-member-added" } + "schema": { + "$ref": "#/components/schemas/webhook-marketplace-purchase-cancelled" + } } } }, @@ -8956,23 +8890,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "member", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] + "subcategory": "marketplace_purchase", + "supported-webhook-types": ["marketplace"] } } }, - "member-edited": { + "marketplace-purchase-changed": { "post": { - "summary": "This event occurs when there is activity relating to collaborators in a repository. For more information, see \"[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization).\" For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repositorycollaboratorconnection) or \"[Collaborators](https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "Permissions were changed for a collaborator on a repository.", - "operationId": "member/edited", + "summary": "This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see \"[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//marketplace).\" For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#marketplacelisting) or \"[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace)\" in the REST API documentation.", + "description": "Someone upgraded or downgraded a GitHub Marketplace plan, and the last billing cycle has ended. The change will take effect on the account immediately.", + "operationId": "marketplace-purchase/changed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#member" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#marketplace_purchase" }, "parameters": [ { @@ -9022,7 +8951,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-member-edited" } + "schema": { + "$ref": "#/components/schemas/webhook-marketplace-purchase-changed" + } } } }, @@ -9034,23 +8965,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "member", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] + "subcategory": "marketplace_purchase", + "supported-webhook-types": ["marketplace"] } } }, - "member-removed": { + "marketplace-purchase-pending-change": { "post": { - "summary": "This event occurs when there is activity relating to collaborators in a repository. For more information, see \"[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization).\" For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repositorycollaboratorconnection) or \"[Collaborators](https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "A collaborator was removed from a repository.", - "operationId": "member/removed", + "summary": "This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see \"[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//marketplace).\" For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#marketplacelisting) or \"[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace)\" in the REST API documentation.", + "description": "Someone downgraded or cancelled a GitHub Marketplace plan. The new plan or cancellation will take effect at the end of the current billing cycle. When the change takes effect, the `changed` or `cancelled` event will be sent.", + "operationId": "marketplace-purchase/pending-change", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#member" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#marketplace_purchase" }, "parameters": [ { @@ -9101,7 +9027,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-member-removed" + "$ref": "#/components/schemas/webhook-marketplace-purchase-pending-change" } } } @@ -9114,23 +9040,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "member", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] + "subcategory": "marketplace_purchase", + "supported-webhook-types": ["marketplace"] } } }, - "membership-added": { + "marketplace-purchase-pending-change-cancelled": { "post": { - "summary": "This event occurs when there is activity relating to team membership. For more information, see \"[About teams](https://docs.github.com/enterprise-cloud@latest//organizations/organizing-members-into-teams/about-teams).\" For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#team) or \"[Team members](https://docs.github.com/enterprise-cloud@latest//rest/teams/members)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "An organization member was added to a team.", - "operationId": "membership/added", + "summary": "This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see \"[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//marketplace).\" For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#marketplacelisting) or \"[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace)\" in the REST API documentation.", + "description": "Someone cancelled a pending change to a GitHub Marketplace plan. Pending changes include plan cancellations and downgrades that will take effect at the end of a billing cycle.", + "operationId": "marketplace-purchase/pending-change-cancelled", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#membership" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#marketplace_purchase" }, "parameters": [ { @@ -9181,7 +9102,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-membership-added" + "$ref": "#/components/schemas/webhook-marketplace-purchase-pending-change-cancelled" } } } @@ -9194,18 +9115,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "membership", - "supported-webhook-types": ["organization", "business", "app"] + "subcategory": "marketplace_purchase", + "supported-webhook-types": ["marketplace"] } } }, - "membership-removed": { + "marketplace-purchase-purchased": { "post": { - "summary": "This event occurs when there is activity relating to team membership. For more information, see \"[About teams](https://docs.github.com/enterprise-cloud@latest//organizations/organizing-members-into-teams/about-teams).\" For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#team) or \"[Team members](https://docs.github.com/enterprise-cloud@latest//rest/teams/members)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "An organization member was removed from a team.", - "operationId": "membership/removed", + "summary": "This event occurs when there is activity relating to a GitHub Marketplace purchase. For more information, see \"[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//marketplace).\" For information about the APIs to manage GitHub Marketplace listings, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#marketplacelisting) or \"[GitHub Marketplace](https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace)\" in the REST API documentation.", + "description": "Someone purchased a GitHub Marketplace plan. The change will take effect on the account immediately.", + "operationId": "marketplace-purchase/purchased", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#membership" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#marketplace_purchase" }, "parameters": [ { @@ -9256,7 +9177,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-membership-removed" + "$ref": "#/components/schemas/webhook-marketplace-purchase-purchased" } } } @@ -9269,19 +9190,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "membership", - "supported-webhook-types": ["organization", "business", "app"] + "subcategory": "marketplace_purchase", + "supported-webhook-types": ["marketplace"] } } }, - "merge-group-checks-requested": { + "member-added": { "post": { - "summary": "This event occurs when there is activity relating to a merge group in a merge queue. For more information, see \"[Managing a merge queue](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Merge queues\" repository permission.", - "description": "Status checks were requested for a merge group. This happens when a merge group is created or added to by the merge queue because a pull request was queued.\n\nWhen you receive this event, you should perform checks on the head SHA and report status back using check runs or commit statuses.", - "operationId": "merge-group/checks-requested", - "tags": ["merge-queue"], + "summary": "This event occurs when there is activity relating to collaborators in a repository. For more information, see \"[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization).\" For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repositorycollaboratorconnection) or \"[Collaborators](https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "description": "A GitHub user accepted an invitation to a repository.", + "operationId": "member/added", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#merge_group" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#member" }, "parameters": [ { @@ -9331,9 +9251,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-merge-group-checks-requested" - } + "schema": { "$ref": "#/components/schemas/webhook-member-added" } } } }, @@ -9345,19 +9263,23 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "merge_group", - "supported-webhook-types": ["app"] + "subcategory": "member", + "supported-webhook-types": [ + "business", + "repository", + "organization", + "app" + ] } } }, - "merge-group-destroyed": { + "member-edited": { "post": { - "summary": "This event occurs when there is activity relating to a merge group in a merge queue. For more information, see \"[Managing a merge queue](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Merge queues\" repository permission.", - "description": "The merge queue groups pull requests together to be merged. This event indicates that one of those merge groups was destroyed. This happens when a pull request is removed from the queue: any group containing that pull request is also destroyed.\n\nWhen you receive this event, you may want to cancel any checks that are running on the head SHA to avoid wasting computing resources on a merge group that will not be used.", - "operationId": "merge-group/destroyed", - "tags": ["merge-queue"], + "summary": "This event occurs when there is activity relating to collaborators in a repository. For more information, see \"[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization).\" For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repositorycollaboratorconnection) or \"[Collaborators](https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "description": "Permissions were changed for a collaborator on a repository.", + "operationId": "member/edited", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#merge_group" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#member" }, "parameters": [ { @@ -9407,9 +9329,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-merge-group-destroyed" - } + "schema": { "$ref": "#/components/schemas/webhook-member-edited" } } } }, @@ -9421,18 +9341,23 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "merge_group", - "supported-webhook-types": ["app"] + "subcategory": "member", + "supported-webhook-types": [ + "business", + "repository", + "organization", + "app" + ] } } }, - "meta-deleted": { + "member-removed": { "post": { - "summary": "This event occurs when there is activity relating to a webhook itself.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Meta\" app permission.", - "description": "The webhook was deleted.", - "operationId": "meta/deleted", + "summary": "This event occurs when there is activity relating to collaborators in a repository. For more information, see \"[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization).\" For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repositorycollaboratorconnection) or \"[Collaborators](https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "description": "A collaborator was removed from a repository.", + "operationId": "member/removed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#meta" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#member" }, "parameters": [ { @@ -9482,7 +9407,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-meta-deleted" } + "schema": { + "$ref": "#/components/schemas/webhook-member-removed" + } } } }, @@ -9494,9 +9421,8 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "meta", + "subcategory": "member", "supported-webhook-types": [ - "marketplace", "business", "repository", "organization", @@ -9505,13 +9431,13 @@ } } }, - "milestone-closed": { + "membership-added": { "post": { - "summary": "This event occurs when there is activity relating to milestones. For more information, see \"[About milestones](https://docs.github.com/enterprise-cloud@latest//issues/using-labels-and-milestones-to-track-work/about-milestones).\" For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#milestone) or \"[Milestones](https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones)\" in the REST API documentation.\n\nIf you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", - "description": "A milestone was closed.", - "operationId": "milestone/closed", + "summary": "This event occurs when there is activity relating to team membership. For more information, see \"[About teams](https://docs.github.com/enterprise-cloud@latest//organizations/organizing-members-into-teams/about-teams).\" For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#team) or \"[Team members](https://docs.github.com/enterprise-cloud@latest//rest/teams/members)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "description": "An organization member was added to a team.", + "operationId": "membership/added", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#milestone" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#membership" }, "parameters": [ { @@ -9562,82 +9488,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-milestone-closed" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "milestone", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "milestone-created": { - "post": { - "summary": "This event occurs when there is activity relating to milestones. For more information, see \"[About milestones](https://docs.github.com/enterprise-cloud@latest//issues/using-labels-and-milestones-to-track-work/about-milestones).\" For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#milestone) or \"[Milestones](https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones)\" in the REST API documentation.\n\nIf you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", - "description": "A milestone was created.", - "operationId": "milestone/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#milestone" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-milestone-created" + "$ref": "#/components/schemas/webhook-membership-added" } } } @@ -9650,18 +9501,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "milestone", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "membership", + "supported-webhook-types": ["organization", "business", "app"] } } }, - "milestone-deleted": { + "membership-removed": { "post": { - "summary": "This event occurs when there is activity relating to milestones. For more information, see \"[About milestones](https://docs.github.com/enterprise-cloud@latest//issues/using-labels-and-milestones-to-track-work/about-milestones).\" For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#milestone) or \"[Milestones](https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones)\" in the REST API documentation.\n\nIf you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", - "description": "A milestone was deleted.", - "operationId": "milestone/deleted", + "summary": "This event occurs when there is activity relating to team membership. For more information, see \"[About teams](https://docs.github.com/enterprise-cloud@latest//organizations/organizing-members-into-teams/about-teams).\" For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#team) or \"[Team members](https://docs.github.com/enterprise-cloud@latest//rest/teams/members)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "description": "An organization member was removed from a team.", + "operationId": "membership/removed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#milestone" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#membership" }, "parameters": [ { @@ -9712,7 +9563,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-milestone-deleted" + "$ref": "#/components/schemas/webhook-membership-removed" } } } @@ -9725,18 +9576,19 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "milestone", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "membership", + "supported-webhook-types": ["organization", "business", "app"] } } }, - "milestone-edited": { + "merge-group-checks-requested": { "post": { - "summary": "This event occurs when there is activity relating to milestones. For more information, see \"[About milestones](https://docs.github.com/enterprise-cloud@latest//issues/using-labels-and-milestones-to-track-work/about-milestones).\" For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#milestone) or \"[Milestones](https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones)\" in the REST API documentation.\n\nIf you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", - "description": "A milestone was edited.", - "operationId": "milestone/edited", + "summary": "This event occurs when there is activity relating to a merge group in a merge queue. For more information, see \"[Managing a merge queue](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Merge queues\" repository permission.", + "description": "Status checks were requested for a merge group. This happens when a merge group is created or added to by the merge queue because a pull request was queued.\n\nWhen you receive this event, you should perform checks on the head SHA and report status back using check runs or commit statuses.", + "operationId": "merge-group/checks-requested", + "tags": ["merge-queue"], "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#milestone" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#merge_group" }, "parameters": [ { @@ -9787,7 +9639,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-milestone-edited" + "$ref": "#/components/schemas/webhook-merge-group-checks-requested" } } } @@ -9800,18 +9652,19 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "milestone", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "merge_group", + "supported-webhook-types": ["app"] } } }, - "milestone-opened": { + "merge-group-destroyed": { "post": { - "summary": "This event occurs when there is activity relating to milestones. For more information, see \"[About milestones](https://docs.github.com/enterprise-cloud@latest//issues/using-labels-and-milestones-to-track-work/about-milestones).\" For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#milestone) or \"[Milestones](https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones)\" in the REST API documentation.\n\nIf you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", - "description": "A milestone was opened.", - "operationId": "milestone/opened", + "summary": "This event occurs when there is activity relating to a merge group in a merge queue. For more information, see \"[Managing a merge queue](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Merge queues\" repository permission.", + "description": "The merge queue groups pull requests together to be merged. This event indicates that one of those merge groups was destroyed. This happens when a pull request is removed from the queue: any group containing that pull request is also destroyed.\n\nWhen you receive this event, you may want to cancel any checks that are running on the head SHA to avoid wasting computing resources on a merge group that will not be used.", + "operationId": "merge-group/destroyed", + "tags": ["merge-queue"], "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#milestone" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#merge_group" }, "parameters": [ { @@ -9862,7 +9715,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-milestone-opened" + "$ref": "#/components/schemas/webhook-merge-group-destroyed" } } } @@ -9875,18 +9728,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "milestone", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "merge_group", + "supported-webhook-types": ["app"] } } }, - "org-block-blocked": { + "meta-deleted": { "post": { - "summary": "This event occurs when organization owners or moderators block or unblock a non-member from collaborating on the organization's repositories. For more information, see \"[Blocking a user from your organization](https://docs.github.com/enterprise-cloud@latest//communities/maintaining-your-safety-on-github/blocking-a-user-from-your-organization).\" For information about the APIs to manage blocked users, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#userblockedevent) or \"[Blocking users](https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking)\" in the REST API documentation.\n\nIf you want to receive an event when members are added or removed from an organization, use the `organization` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" organization permission.", - "description": "A user was blocked from the organization.", - "operationId": "org-block/blocked", + "summary": "This event occurs when there is activity relating to a webhook itself.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Meta\" app permission.", + "description": "The webhook was deleted.", + "operationId": "meta/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#org_block" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#meta" }, "parameters": [ { @@ -9936,9 +9789,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-org-block-blocked" - } + "schema": { "$ref": "#/components/schemas/webhook-meta-deleted" } } } }, @@ -9950,18 +9801,24 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "org_block", - "supported-webhook-types": ["organization", "business", "app"] + "subcategory": "meta", + "supported-webhook-types": [ + "marketplace", + "business", + "repository", + "organization", + "app" + ] } } }, - "org-block-unblocked": { + "milestone-closed": { "post": { - "summary": "This event occurs when organization owners or moderators block or unblock a non-member from collaborating on the organization's repositories. For more information, see \"[Blocking a user from your organization](https://docs.github.com/enterprise-cloud@latest//communities/maintaining-your-safety-on-github/blocking-a-user-from-your-organization).\" For information about the APIs to manage blocked users, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#userblockedevent) or \"[Blocking users](https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking)\" in the REST API documentation.\n\nIf you want to receive an event when members are added or removed from an organization, use the `organization` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" organization permission.", - "description": "A previously blocked user was unblocked from the organization.", - "operationId": "org-block/unblocked", + "summary": "This event occurs when there is activity relating to milestones. For more information, see \"[About milestones](https://docs.github.com/enterprise-cloud@latest//issues/using-labels-and-milestones-to-track-work/about-milestones).\" For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#milestone) or \"[Milestones](https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones)\" in the REST API documentation.\n\nIf you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", + "description": "A milestone was closed.", + "operationId": "milestone/closed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#org_block" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#milestone" }, "parameters": [ { @@ -10012,7 +9869,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-org-block-unblocked" + "$ref": "#/components/schemas/webhook-milestone-closed" } } } @@ -10025,18 +9882,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "org_block", - "supported-webhook-types": ["organization", "business", "app"] + "subcategory": "milestone", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "organization-deleted": { + "milestone-created": { "post": { - "summary": "This event occurs when there is activity relating to an organization and its members. For more information, see \"[About organizations](https://docs.github.com/enterprise-cloud@latest//organizations/collaborating-with-groups-in-organizations/about-organizations).\" For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#organization) or \"[Organizations](https://docs.github.com/enterprise-cloud@latest//rest/orgs)\" in the REST API documentation.\n\nIf you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "An organization was deleted.", - "operationId": "organization/deleted", + "summary": "This event occurs when there is activity relating to milestones. For more information, see \"[About milestones](https://docs.github.com/enterprise-cloud@latest//issues/using-labels-and-milestones-to-track-work/about-milestones).\" For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#milestone) or \"[Milestones](https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones)\" in the REST API documentation.\n\nIf you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", + "description": "A milestone was created.", + "operationId": "milestone/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#organization" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#milestone" }, "parameters": [ { @@ -10087,7 +9944,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-organization-deleted" + "$ref": "#/components/schemas/webhook-milestone-created" } } } @@ -10100,18 +9957,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "organization", - "supported-webhook-types": ["organization", "business", "app"] + "subcategory": "milestone", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "organization-member-added": { + "milestone-deleted": { "post": { - "summary": "This event occurs when there is activity relating to an organization and its members. For more information, see \"[About organizations](https://docs.github.com/enterprise-cloud@latest//organizations/collaborating-with-groups-in-organizations/about-organizations).\" For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#organization) or \"[Organizations](https://docs.github.com/enterprise-cloud@latest//rest/orgs)\" in the REST API documentation.\n\nIf you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "A member accepted an invitation to join an organization.", - "operationId": "organization/member-added", + "summary": "This event occurs when there is activity relating to milestones. For more information, see \"[About milestones](https://docs.github.com/enterprise-cloud@latest//issues/using-labels-and-milestones-to-track-work/about-milestones).\" For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#milestone) or \"[Milestones](https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones)\" in the REST API documentation.\n\nIf you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", + "description": "A milestone was deleted.", + "operationId": "milestone/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#organization" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#milestone" }, "parameters": [ { @@ -10162,7 +10019,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-organization-member-added" + "$ref": "#/components/schemas/webhook-milestone-deleted" } } } @@ -10175,18 +10032,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "organization", - "supported-webhook-types": ["organization", "business", "app"] + "subcategory": "milestone", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "organization-member-invited": { + "milestone-edited": { "post": { - "summary": "This event occurs when there is activity relating to an organization and its members. For more information, see \"[About organizations](https://docs.github.com/enterprise-cloud@latest//organizations/collaborating-with-groups-in-organizations/about-organizations).\" For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#organization) or \"[Organizations](https://docs.github.com/enterprise-cloud@latest//rest/orgs)\" in the REST API documentation.\n\nIf you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "A member was invited to join the organization.", - "operationId": "organization/member-invited", + "summary": "This event occurs when there is activity relating to milestones. For more information, see \"[About milestones](https://docs.github.com/enterprise-cloud@latest//issues/using-labels-and-milestones-to-track-work/about-milestones).\" For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#milestone) or \"[Milestones](https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones)\" in the REST API documentation.\n\nIf you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", + "description": "A milestone was edited.", + "operationId": "milestone/edited", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#organization" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#milestone" }, "parameters": [ { @@ -10237,7 +10094,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-organization-member-invited" + "$ref": "#/components/schemas/webhook-milestone-edited" } } } @@ -10250,18 +10107,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "organization", - "supported-webhook-types": ["organization", "business", "app"] + "subcategory": "milestone", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "organization-member-removed": { + "milestone-opened": { "post": { - "summary": "This event occurs when there is activity relating to an organization and its members. For more information, see \"[About organizations](https://docs.github.com/enterprise-cloud@latest//organizations/collaborating-with-groups-in-organizations/about-organizations).\" For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#organization) or \"[Organizations](https://docs.github.com/enterprise-cloud@latest//rest/orgs)\" in the REST API documentation.\n\nIf you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "A member was removed from the organization.", - "operationId": "organization/member-removed", + "summary": "This event occurs when there is activity relating to milestones. For more information, see \"[About milestones](https://docs.github.com/enterprise-cloud@latest//issues/using-labels-and-milestones-to-track-work/about-milestones).\" For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#milestone) or \"[Milestones](https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones)\" in the REST API documentation.\n\nIf you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", + "description": "A milestone was opened.", + "operationId": "milestone/opened", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#organization" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#milestone" }, "parameters": [ { @@ -10312,7 +10169,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-organization-member-removed" + "$ref": "#/components/schemas/webhook-milestone-opened" } } } @@ -10325,18 +10182,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "organization", - "supported-webhook-types": ["organization", "business", "app"] + "subcategory": "milestone", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "organization-renamed": { + "org-block-blocked": { "post": { - "summary": "This event occurs when there is activity relating to an organization and its members. For more information, see \"[About organizations](https://docs.github.com/enterprise-cloud@latest//organizations/collaborating-with-groups-in-organizations/about-organizations).\" For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#organization) or \"[Organizations](https://docs.github.com/enterprise-cloud@latest//rest/orgs)\" in the REST API documentation.\n\nIf you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "The name of an organization was changed.", - "operationId": "organization/renamed", + "summary": "This event occurs when organization owners or moderators block or unblock a non-member from collaborating on the organization's repositories. For more information, see \"[Blocking a user from your organization](https://docs.github.com/enterprise-cloud@latest//communities/maintaining-your-safety-on-github/blocking-a-user-from-your-organization).\" For information about the APIs to manage blocked users, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#userblockedevent) or \"[Blocking users](https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking)\" in the REST API documentation.\n\nIf you want to receive an event when members are added or removed from an organization, use the `organization` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" organization permission.", + "description": "A user was blocked from the organization.", + "operationId": "org-block/blocked", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#organization" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#org_block" }, "parameters": [ { @@ -10387,7 +10244,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-organization-renamed" + "$ref": "#/components/schemas/webhook-org-block-blocked" } } } @@ -10400,18 +10257,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "organization", + "subcategory": "org_block", "supported-webhook-types": ["organization", "business", "app"] } } }, - "package-published": { + "org-block-unblocked": { "post": { - "summary": "This event occurs when there is activity relating to GitHub Packages. For more information, see \"[Introduction to GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/introduction-to-github-packages).\" For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#package) or \"[Packages](https://docs.github.com/enterprise-cloud@latest//rest/packages)\" in the REST API documentation.\n\nTo install this event on a GitHub App, the app must have at least read-level access for the \"Packages\" repository permission.", - "description": "A package was published to a registry.", - "operationId": "package/published", + "summary": "This event occurs when organization owners or moderators block or unblock a non-member from collaborating on the organization's repositories. For more information, see \"[Blocking a user from your organization](https://docs.github.com/enterprise-cloud@latest//communities/maintaining-your-safety-on-github/blocking-a-user-from-your-organization).\" For information about the APIs to manage blocked users, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#userblockedevent) or \"[Blocking users](https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking)\" in the REST API documentation.\n\nIf you want to receive an event when members are added or removed from an organization, use the `organization` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" organization permission.", + "description": "A previously blocked user was unblocked from the organization.", + "operationId": "org-block/unblocked", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#package" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#org_block" }, "parameters": [ { @@ -10462,7 +10319,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-package-published" + "$ref": "#/components/schemas/webhook-org-block-unblocked" } } } @@ -10475,18 +10332,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "package", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "org_block", + "supported-webhook-types": ["organization", "business", "app"] } } }, - "package-updated": { + "organization-deleted": { "post": { - "summary": "This event occurs when there is activity relating to GitHub Packages. For more information, see \"[Introduction to GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/introduction-to-github-packages).\" For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#package) or \"[Packages](https://docs.github.com/enterprise-cloud@latest//rest/packages)\" in the REST API documentation.\n\nTo install this event on a GitHub App, the app must have at least read-level access for the \"Packages\" repository permission.", - "description": "A previously published package was updated.", - "operationId": "package/updated", + "summary": "This event occurs when there is activity relating to an organization and its members. For more information, see \"[About organizations](https://docs.github.com/enterprise-cloud@latest//organizations/collaborating-with-groups-in-organizations/about-organizations).\" For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#organization) or \"[Organizations](https://docs.github.com/enterprise-cloud@latest//rest/orgs)\" in the REST API documentation.\n\nIf you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "description": "An organization was deleted.", + "operationId": "organization/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#package" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#organization" }, "parameters": [ { @@ -10537,7 +10394,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-package-updated" + "$ref": "#/components/schemas/webhook-organization-deleted" } } } @@ -10550,17 +10407,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "package", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "organization", + "supported-webhook-types": ["organization", "business", "app"] } } }, - "page-build": { + "organization-member-added": { "post": { - "summary": "This event occurs when there is an attempted build of a GitHub Pages site. This event occurs regardless of whether the build is successful. For more information, see \"[Configuring a publishing source for your GitHub Pages site](https://docs.github.com/enterprise-cloud@latest//pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site).\" For information about the API to manage GitHub Pages, see \"[Pages](https://docs.github.com/enterprise-cloud@latest//rest/pages)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pages\" repository permission.", - "operationId": "page-build", + "summary": "This event occurs when there is activity relating to an organization and its members. For more information, see \"[About organizations](https://docs.github.com/enterprise-cloud@latest//organizations/collaborating-with-groups-in-organizations/about-organizations).\" For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#organization) or \"[Organizations](https://docs.github.com/enterprise-cloud@latest//rest/orgs)\" in the REST API documentation.\n\nIf you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "description": "A member accepted an invitation to join an organization.", + "operationId": "organization/member-added", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#page_build" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#organization" }, "parameters": [ { @@ -10610,7 +10468,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-page-build" } + "schema": { + "$ref": "#/components/schemas/webhook-organization-member-added" + } } } }, @@ -10622,18 +10482,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "page_build", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "organization", + "supported-webhook-types": ["organization", "business", "app"] } } }, - "personal-access-token-request-approved": { + "organization-member-invited": { "post": { - "summary": "This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see \"[Creating a personal access token](https://docs.github.com/enterprise-cloud@latest//authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Personal access token requests\" organization permission.", - "description": "A fine-grained personal access token request was approved.", - "operationId": "personal-access-token-request/approved", + "summary": "This event occurs when there is activity relating to an organization and its members. For more information, see \"[About organizations](https://docs.github.com/enterprise-cloud@latest//organizations/collaborating-with-groups-in-organizations/about-organizations).\" For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#organization) or \"[Organizations](https://docs.github.com/enterprise-cloud@latest//rest/orgs)\" in the REST API documentation.\n\nIf you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "description": "A member was invited to join the organization.", + "operationId": "organization/member-invited", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#personal_access_token_request" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#organization" }, "parameters": [ { @@ -10643,21 +10503,15 @@ "schema": { "type": "string" } }, { - "name": "X-GitHub-Delivery", + "name": "X-Github-Hook-Id", "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "example": 12312312, "schema": { "type": "string" } }, { "name": "X-Github-Event", "in": "header", - "example": "personal_access_token_request", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, + "example": "issues", "schema": { "type": "string" } }, { @@ -10669,52 +10523,7 @@ { "name": "X-Github-Hook-Installation-Target-Type", "in": "header", - "example": "integration", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-personal-access-token-request-approved" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "personal_access_token_request", - "supported-webhook-types": ["app", "organization"] - } - } - }, - "personal-access-token-request-cancelled": { - "post": { - "summary": "This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see \"[Creating a personal access token](https://docs.github.com/enterprise-cloud@latest//authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Personal access token requests\" organization permission.", - "description": "A fine-grained personal access token request was cancelled by the requester.", - "operationId": "personal-access-token-request/cancelled", - "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#personal_access_token_request" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", + "example": "repository", "schema": { "type": "string" } }, { @@ -10723,30 +10532,6 @@ "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", "schema": { "type": "string" } }, - { - "name": "X-Github-Event", - "in": "header", - "example": "personal_access_token_request", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "integration", - "schema": { "type": "string" } - }, { "name": "X-Hub-Signature-256", "in": "header", @@ -10759,7 +10544,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-personal-access-token-request-cancelled" + "$ref": "#/components/schemas/webhook-organization-member-invited" } } } @@ -10772,18 +10557,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "personal_access_token_request", - "supported-webhook-types": ["app", "organization"] + "subcategory": "organization", + "supported-webhook-types": ["organization", "business", "app"] } } }, - "personal-access-token-request-created": { + "organization-member-removed": { "post": { - "summary": "This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see \"[Creating a personal access token](https://docs.github.com/enterprise-cloud@latest//authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Personal access token requests\" organization permission.", - "description": "A fine-grained personal access token request was created.", - "operationId": "personal-access-token-request/created", + "summary": "This event occurs when there is activity relating to an organization and its members. For more information, see \"[About organizations](https://docs.github.com/enterprise-cloud@latest//organizations/collaborating-with-groups-in-organizations/about-organizations).\" For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#organization) or \"[Organizations](https://docs.github.com/enterprise-cloud@latest//rest/orgs)\" in the REST API documentation.\n\nIf you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "description": "A member was removed from the organization.", + "operationId": "organization/member-removed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#personal_access_token_request" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#organization" }, "parameters": [ { @@ -10793,33 +10578,33 @@ "schema": { "type": "string" } }, { - "name": "X-GitHub-Delivery", + "name": "X-Github-Hook-Id", "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "example": 12312312, "schema": { "type": "string" } }, { "name": "X-Github-Event", "in": "header", - "example": "personal_access_token_request", + "example": "issues", "schema": { "type": "string" } }, { - "name": "X-Github-Hook-Id", + "name": "X-Github-Hook-Installation-Target-Id", "in": "header", - "example": 12312312, + "example": 123123, "schema": { "type": "string" } }, { - "name": "X-Github-Hook-Installation-Target-Id", + "name": "X-Github-Hook-Installation-Target-Type", "in": "header", - "example": 123123, + "example": "repository", "schema": { "type": "string" } }, { - "name": "X-Github-Hook-Installation-Target-Type", + "name": "X-GitHub-Delivery", "in": "header", - "example": "integration", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", "schema": { "type": "string" } }, { @@ -10834,7 +10619,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-personal-access-token-request-created" + "$ref": "#/components/schemas/webhook-organization-member-removed" } } } @@ -10847,18 +10632,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "personal_access_token_request", - "supported-webhook-types": ["app", "organization"] + "subcategory": "organization", + "supported-webhook-types": ["organization", "business", "app"] } } }, - "personal-access-token-request-denied": { + "organization-renamed": { "post": { - "summary": "This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see \"[Creating a personal access token](https://docs.github.com/enterprise-cloud@latest//authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Personal access token requests\" organization permission.", - "description": "A fine-grained personal access token request was denied.", - "operationId": "personal-access-token-request/denied", + "summary": "This event occurs when there is activity relating to an organization and its members. For more information, see \"[About organizations](https://docs.github.com/enterprise-cloud@latest//organizations/collaborating-with-groups-in-organizations/about-organizations).\" For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#organization) or \"[Organizations](https://docs.github.com/enterprise-cloud@latest//rest/orgs)\" in the REST API documentation.\n\nIf you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "description": "The name of an organization was changed.", + "operationId": "organization/renamed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#personal_access_token_request" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#organization" }, "parameters": [ { @@ -10868,33 +10653,33 @@ "schema": { "type": "string" } }, { - "name": "X-GitHub-Delivery", + "name": "X-Github-Hook-Id", "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "example": 12312312, "schema": { "type": "string" } }, { "name": "X-Github-Event", "in": "header", - "example": "personal_access_token_request", + "example": "issues", "schema": { "type": "string" } }, { - "name": "X-Github-Hook-Id", + "name": "X-Github-Hook-Installation-Target-Id", "in": "header", - "example": 12312312, + "example": 123123, "schema": { "type": "string" } }, { - "name": "X-Github-Hook-Installation-Target-Id", + "name": "X-Github-Hook-Installation-Target-Type", "in": "header", - "example": 123123, + "example": "repository", "schema": { "type": "string" } }, { - "name": "X-Github-Hook-Installation-Target-Type", + "name": "X-GitHub-Delivery", "in": "header", - "example": "integration", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", "schema": { "type": "string" } }, { @@ -10909,7 +10694,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-personal-access-token-request-denied" + "$ref": "#/components/schemas/webhook-organization-renamed" } } } @@ -10922,17 +10707,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "personal_access_token_request", - "supported-webhook-types": ["app", "organization"] + "subcategory": "organization", + "supported-webhook-types": ["organization", "business", "app"] } } }, - "ping": { + "package-published": { "post": { - "summary": "This event occurs when you create a new webhook. The ping event is a confirmation from GitHub that you configured the webhook correctly.", - "operationId": "ping", + "summary": "This event occurs when there is activity relating to GitHub Packages. For more information, see \"[Introduction to GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/introduction-to-github-packages).\" For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#package) or \"[Packages](https://docs.github.com/enterprise-cloud@latest//rest/packages)\" in the REST API documentation.\n\nTo install this event on a GitHub App, the app must have at least read-level access for the \"Packages\" repository permission.", + "description": "A package was published to a registry.", + "operationId": "package/published", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#ping" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#package" }, "parameters": [ { @@ -10982,17 +10768,8 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-ping" }, - "examples": { - "default": { "$ref": "#/components/examples/ping" } - } - }, - "application/x-www-form-urlencoded": { "schema": { - "$ref": "#/components/schemas/webhook-ping-form-encoded" - }, - "examples": { - "default": { "$ref": "#/components/examples/ping-form-encoded" } + "$ref": "#/components/schemas/webhook-package-published" } } } @@ -11004,26 +10781,19 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "ping", - "supported-webhook-types": [ - "repository", - "organization", - "app", - "business", - "marketplace" - ] + "subcategory": "package", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "project-card-converted": { + "package-updated": { "post": { - "summary": "This event occurs when there is activity relating to a card on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", - "description": "A note in a project (classic) was converted to an issue.", - "operationId": "project-card/converted", + "summary": "This event occurs when there is activity relating to GitHub Packages. For more information, see \"[Introduction to GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/introduction-to-github-packages).\" For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#package) or \"[Packages](https://docs.github.com/enterprise-cloud@latest//rest/packages)\" in the REST API documentation.\n\nTo install this event on a GitHub App, the app must have at least read-level access for the \"Packages\" repository permission.", + "description": "A previously published package was updated.", + "operationId": "package/updated", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#project_card" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#package" }, "parameters": [ { @@ -11074,7 +10844,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-project-card-converted" + "$ref": "#/components/schemas/webhook-package-updated" } } } @@ -11087,18 +10857,17 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "project_card", + "subcategory": "package", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "project-card-created": { + "page-build": { "post": { - "summary": "This event occurs when there is activity relating to a card on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", - "description": "A card was added to a project (classic).", - "operationId": "project-card/created", + "summary": "This event occurs when there is an attempted build of a GitHub Pages site. This event occurs regardless of whether the build is successful. For more information, see \"[Configuring a publishing source for your GitHub Pages site](https://docs.github.com/enterprise-cloud@latest//pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site).\" For information about the API to manage GitHub Pages, see \"[Pages](https://docs.github.com/enterprise-cloud@latest//rest/pages)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pages\" repository permission.", + "operationId": "page-build", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#project_card" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#page_build" }, "parameters": [ { @@ -11148,9 +10917,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-project-card-created" - } + "schema": { "$ref": "#/components/schemas/webhook-page-build" } } } }, @@ -11162,18 +10929,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "project_card", + "subcategory": "page_build", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "project-card-deleted": { + "personal-access-token-request-approved": { "post": { - "summary": "This event occurs when there is activity relating to a card on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", - "description": "A card on a project (classic) was deleted.", - "operationId": "project-card/deleted", + "summary": "This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see \"[Creating a personal access token](https://docs.github.com/enterprise-cloud@latest//authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Personal access token requests\" organization permission.", + "description": "A fine-grained personal access token request was approved.", + "operationId": "personal-access-token-request/approved", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#project_card" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#personal_access_token_request" }, "parameters": [ { @@ -11182,30 +10949,6 @@ "example": "GitHub-Hookshot/123abc", "schema": { "type": "string" } }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, { "name": "X-GitHub-Delivery", "in": "header", @@ -11213,48 +10956,9 @@ "schema": { "type": "string" } }, { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-project-card-deleted" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "project_card", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "project-card-edited": { - "post": { - "summary": "This event occurs when there is activity relating to a card on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", - "description": "A note on a project (classic) was edited.", - "operationId": "project-card/edited", - "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#project_card" - }, - "parameters": [ - { - "name": "User-Agent", + "name": "X-Github-Event", "in": "header", - "example": "GitHub-Hookshot/123abc", + "example": "personal_access_token_request", "schema": { "type": "string" } }, { @@ -11263,12 +10967,6 @@ "example": 12312312, "schema": { "type": "string" } }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, { "name": "X-Github-Hook-Installation-Target-Id", "in": "header", @@ -11278,13 +10976,7 @@ { "name": "X-Github-Hook-Installation-Target-Type", "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "example": "integration", "schema": { "type": "string" } }, { @@ -11299,7 +10991,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-project-card-edited" + "$ref": "#/components/schemas/webhook-personal-access-token-request-approved" } } } @@ -11312,18 +11004,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "project_card", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "personal_access_token_request", + "supported-webhook-types": ["app", "organization"] } } }, - "project-card-moved": { + "personal-access-token-request-cancelled": { "post": { - "summary": "This event occurs when there is activity relating to a card on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", - "description": "A card on a project (classic) was moved to another column or to another position in its column.", - "operationId": "project-card/moved", + "summary": "This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see \"[Creating a personal access token](https://docs.github.com/enterprise-cloud@latest//authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Personal access token requests\" organization permission.", + "description": "A fine-grained personal access token request was cancelled by the requester.", + "operationId": "personal-access-token-request/cancelled", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#project_card" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#personal_access_token_request" }, "parameters": [ { @@ -11333,33 +11025,33 @@ "schema": { "type": "string" } }, { - "name": "X-Github-Hook-Id", + "name": "X-GitHub-Delivery", "in": "header", - "example": 12312312, + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", "schema": { "type": "string" } }, { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "personal_access_token_request", "schema": { "type": "string" } }, { - "name": "X-Github-Hook-Installation-Target-Id", + "name": "X-Github-Hook-Id", "in": "header", - "example": 123123, + "example": 12312312, "schema": { "type": "string" } }, { - "name": "X-Github-Hook-Installation-Target-Type", + "name": "X-Github-Hook-Installation-Target-Id", "in": "header", - "example": "repository", + "example": 123123, "schema": { "type": "string" } }, { - "name": "X-GitHub-Delivery", + "name": "X-Github-Hook-Installation-Target-Type", "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "example": "integration", "schema": { "type": "string" } }, { @@ -11374,7 +11066,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-project-card-moved" + "$ref": "#/components/schemas/webhook-personal-access-token-request-cancelled" } } } @@ -11387,18 +11079,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "project_card", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "personal_access_token_request", + "supported-webhook-types": ["app", "organization"] } } }, - "project-closed": { + "personal-access-token-request-created": { "post": { - "summary": "This event occurs when there is activity relating to a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)\" in the REST API documentation.\n\nFor activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", - "description": "A project (classic) was closed.", - "operationId": "project/closed", + "summary": "This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see \"[Creating a personal access token](https://docs.github.com/enterprise-cloud@latest//authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Personal access token requests\" organization permission.", + "description": "A fine-grained personal access token request was created.", + "operationId": "personal-access-token-request/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#project" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#personal_access_token_request" }, "parameters": [ { @@ -11408,33 +11100,33 @@ "schema": { "type": "string" } }, { - "name": "X-Github-Hook-Id", + "name": "X-GitHub-Delivery", "in": "header", - "example": 12312312, + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", "schema": { "type": "string" } }, { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "personal_access_token_request", "schema": { "type": "string" } }, { - "name": "X-Github-Hook-Installation-Target-Id", + "name": "X-Github-Hook-Id", "in": "header", - "example": 123123, + "example": 12312312, "schema": { "type": "string" } }, { - "name": "X-Github-Hook-Installation-Target-Type", + "name": "X-Github-Hook-Installation-Target-Id", "in": "header", - "example": "repository", + "example": 123123, "schema": { "type": "string" } }, { - "name": "X-GitHub-Delivery", + "name": "X-Github-Hook-Installation-Target-Type", "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "example": "integration", "schema": { "type": "string" } }, { @@ -11449,7 +11141,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-project-closed" + "$ref": "#/components/schemas/webhook-personal-access-token-request-created" } } } @@ -11462,18 +11154,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "project", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "personal_access_token_request", + "supported-webhook-types": ["app", "organization"] } } }, - "project-column-created": { + "personal-access-token-request-denied": { "post": { - "summary": "This event occurs when there is activity relating to a column on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", - "description": "A column was added to a project (classic).", - "operationId": "project-column/created", + "summary": "This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see \"[Creating a personal access token](https://docs.github.com/enterprise-cloud@latest//authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Personal access token requests\" organization permission.", + "description": "A fine-grained personal access token request was denied.", + "operationId": "personal-access-token-request/denied", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#project_column" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#personal_access_token_request" }, "parameters": [ { @@ -11483,33 +11175,33 @@ "schema": { "type": "string" } }, { - "name": "X-Github-Hook-Id", + "name": "X-GitHub-Delivery", "in": "header", - "example": 12312312, + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", "schema": { "type": "string" } }, { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "personal_access_token_request", "schema": { "type": "string" } }, { - "name": "X-Github-Hook-Installation-Target-Id", + "name": "X-Github-Hook-Id", "in": "header", - "example": 123123, + "example": 12312312, "schema": { "type": "string" } }, { - "name": "X-Github-Hook-Installation-Target-Type", + "name": "X-Github-Hook-Installation-Target-Id", "in": "header", - "example": "repository", + "example": 123123, "schema": { "type": "string" } }, { - "name": "X-GitHub-Delivery", + "name": "X-Github-Hook-Installation-Target-Type", "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "example": "integration", "schema": { "type": "string" } }, { @@ -11524,7 +11216,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-project-column-created" + "$ref": "#/components/schemas/webhook-personal-access-token-request-denied" } } } @@ -11537,18 +11229,17 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "project_column", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "personal_access_token_request", + "supported-webhook-types": ["app", "organization"] } } }, - "project-column-deleted": { + "ping": { "post": { - "summary": "This event occurs when there is activity relating to a column on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", - "description": "A column was deleted from a project (classic).", - "operationId": "project-column/deleted", + "summary": "This event occurs when you create a new webhook. The ping event is a confirmation from GitHub that you configured the webhook correctly.", + "operationId": "ping", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#project_column" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#ping" }, "parameters": [ { @@ -11598,8 +11289,17 @@ "required": true, "content": { "application/json": { + "schema": { "$ref": "#/components/schemas/webhook-ping" }, + "examples": { + "default": { "$ref": "#/components/examples/ping" } + } + }, + "application/x-www-form-urlencoded": { "schema": { - "$ref": "#/components/schemas/webhook-project-column-deleted" + "$ref": "#/components/schemas/webhook-ping-form-encoded" + }, + "examples": { + "default": { "$ref": "#/components/examples/ping-form-encoded" } } } } @@ -11611,19 +11311,26 @@ }, "x-github": { "githubCloudOnly": false, + "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "project_column", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "ping", + "supported-webhook-types": [ + "repository", + "organization", + "app", + "business", + "marketplace" + ] } } }, - "project-column-edited": { + "project-card-converted": { "post": { - "summary": "This event occurs when there is activity relating to a column on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", - "description": "The name of a column on a project (classic) was changed.", - "operationId": "project-column/edited", + "summary": "This event occurs when there is activity relating to a card on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", + "description": "A note in a project (classic) was converted to an issue.", + "operationId": "project-card/converted", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#project_column" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#project_card" }, "parameters": [ { @@ -11674,7 +11381,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-project-column-edited" + "$ref": "#/components/schemas/webhook-project-card-converted" } } } @@ -11687,18 +11394,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "project_column", + "subcategory": "project_card", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "project-column-moved": { + "project-card-created": { "post": { - "summary": "This event occurs when there is activity relating to a column on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", - "description": "A column was moved to a new position on a project (classic).", - "operationId": "project-column/moved", + "summary": "This event occurs when there is activity relating to a card on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", + "description": "A card was added to a project (classic).", + "operationId": "project-card/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#project_column" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#project_card" }, "parameters": [ { @@ -11749,7 +11456,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-project-column-moved" + "$ref": "#/components/schemas/webhook-project-card-created" } } } @@ -11762,18 +11469,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "project_column", + "subcategory": "project_card", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "project-created": { + "project-card-deleted": { "post": { - "summary": "This event occurs when there is activity relating to a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)\" in the REST API documentation.\n\nFor activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", - "description": "A project (classic) was created.", - "operationId": "project/created", + "summary": "This event occurs when there is activity relating to a card on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", + "description": "A card on a project (classic) was deleted.", + "operationId": "project-card/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#project" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#project_card" }, "parameters": [ { @@ -11824,7 +11531,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-project-created" + "$ref": "#/components/schemas/webhook-project-card-deleted" } } } @@ -11837,18 +11544,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "project", + "subcategory": "project_card", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "project-deleted": { + "project-card-edited": { "post": { - "summary": "This event occurs when there is activity relating to a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)\" in the REST API documentation.\n\nFor activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", - "description": "A project (classic) was deleted.", - "operationId": "project/deleted", + "summary": "This event occurs when there is activity relating to a card on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", + "description": "A note on a project (classic) was edited.", + "operationId": "project-card/edited", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#project" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#project_card" }, "parameters": [ { @@ -11899,7 +11606,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-project-deleted" + "$ref": "#/components/schemas/webhook-project-card-edited" } } } @@ -11912,18 +11619,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "project", + "subcategory": "project_card", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "project-edited": { + "project-card-moved": { "post": { - "summary": "This event occurs when there is activity relating to a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)\" in the REST API documentation.\n\nFor activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", - "description": "The name or description of a project (classic) was changed.", - "operationId": "project/edited", + "summary": "This event occurs when there is activity relating to a card on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", + "description": "A card on a project (classic) was moved to another column or to another position in its column.", + "operationId": "project-card/moved", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#project" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#project_card" }, "parameters": [ { @@ -11974,7 +11681,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-project-edited" + "$ref": "#/components/schemas/webhook-project-card-moved" } } } @@ -11987,16 +11694,16 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "project", + "subcategory": "project_card", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "project-reopened": { + "project-closed": { "post": { "summary": "This event occurs when there is activity relating to a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)\" in the REST API documentation.\n\nFor activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", "description": "A project (classic) was closed.", - "operationId": "project/reopened", + "operationId": "project/closed", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#project" }, @@ -12049,7 +11756,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-project-reopened" + "$ref": "#/components/schemas/webhook-project-closed" } } } @@ -12067,13 +11774,13 @@ } } }, - "projects-v2-closed": { + "project-column-created": { "post": { - "summary": "This event occurs when there is activity relating to an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2).\n\nFor activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "A project in the organization was closed.", - "operationId": "projects-v2/closed", + "summary": "This event occurs when there is activity relating to a column on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", + "description": "A column was added to a project (classic).", + "operationId": "project-column/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#projects_v2" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#project_column" }, "parameters": [ { @@ -12091,7 +11798,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "project-v2", + "example": "issues", "schema": { "type": "string" } }, { @@ -12124,7 +11831,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-projects-v2-project-closed" + "$ref": "#/components/schemas/webhook-project-column-created" } } } @@ -12136,20 +11843,19 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "projects_v2", - "supported-webhook-types": ["organization"] + "subcategory": "project_column", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "projects-v2-created": { + "project-column-deleted": { "post": { - "summary": "This event occurs when there is activity relating to an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2).\n\nFor activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "A project in the organization was created.", - "operationId": "projects-v2/created", + "summary": "This event occurs when there is activity relating to a column on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", + "description": "A column was deleted from a project (classic).", + "operationId": "project-column/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#projects_v2" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#project_column" }, "parameters": [ { @@ -12167,7 +11873,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "project-v2", + "example": "issues", "schema": { "type": "string" } }, { @@ -12200,7 +11906,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-projects-v2-project-created" + "$ref": "#/components/schemas/webhook-project-column-deleted" } } } @@ -12212,20 +11918,19 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "projects_v2", - "supported-webhook-types": ["organization"] + "subcategory": "project_column", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "projects-v2-deleted": { + "project-column-edited": { "post": { - "summary": "This event occurs when there is activity relating to an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2).\n\nFor activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "A project in the organization was deleted.", - "operationId": "projects-v2/deleted", + "summary": "This event occurs when there is activity relating to a column on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", + "description": "The name of a column on a project (classic) was changed.", + "operationId": "project-column/edited", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#projects_v2" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#project_column" }, "parameters": [ { @@ -12243,7 +11948,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "project-v2", + "example": "issues", "schema": { "type": "string" } }, { @@ -12276,7 +11981,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-projects-v2-project-deleted" + "$ref": "#/components/schemas/webhook-project-column-edited" } } } @@ -12288,20 +11993,19 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "projects_v2", - "supported-webhook-types": ["organization"] + "subcategory": "project_column", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "projects-v2-edited": { + "project-column-moved": { "post": { - "summary": "This event occurs when there is activity relating to an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2).\n\nFor activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "The title, description, or README of a project in the organization was changed.", - "operationId": "projects-v2/edited", + "summary": "This event occurs when there is activity relating to a column on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", + "description": "A column was moved to a new position on a project (classic).", + "operationId": "project-column/moved", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#projects_v2" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#project_column" }, "parameters": [ { @@ -12319,7 +12023,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "project-v2", + "example": "issues", "schema": { "type": "string" } }, { @@ -12352,7 +12056,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-projects-v2-project-edited" + "$ref": "#/components/schemas/webhook-project-column-moved" } } } @@ -12364,20 +12068,19 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "projects_v2", - "supported-webhook-types": ["organization"] + "subcategory": "project_column", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "projects-v2-item-archived": { + "project-created": { "post": { - "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "An item on an organization project was archived. For more information, see \"[Archiving items from your project](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project).\"", - "operationId": "projects-v2-item/archived", + "summary": "This event occurs when there is activity relating to a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)\" in the REST API documentation.\n\nFor activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", + "description": "A project (classic) was created.", + "operationId": "project/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#projects_v2_item" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#project" }, "parameters": [ { @@ -12395,7 +12098,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "project-v2-item", + "example": "issues", "schema": { "type": "string" } }, { @@ -12428,7 +12131,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-projects-v2-item-archived" + "$ref": "#/components/schemas/webhook-project-created" } } } @@ -12440,20 +12143,19 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "projects_v2_item", - "supported-webhook-types": ["organization"] + "subcategory": "project", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "projects-v2-item-converted": { + "project-deleted": { "post": { - "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "A draft issue in an organization project was converted to an issue.", - "operationId": "projects-v2-item/converted", + "summary": "This event occurs when there is activity relating to a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)\" in the REST API documentation.\n\nFor activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", + "description": "A project (classic) was deleted.", + "operationId": "project/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#projects_v2_item" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#project" }, "parameters": [ { @@ -12471,7 +12173,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "project-v2-item", + "example": "issues", "schema": { "type": "string" } }, { @@ -12504,7 +12206,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-projects-v2-item-converted" + "$ref": "#/components/schemas/webhook-project-deleted" } } } @@ -12516,20 +12218,19 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "projects_v2_item", - "supported-webhook-types": ["organization"] + "subcategory": "project", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "projects-v2-item-created": { + "project-edited": { "post": { - "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "An item was added to a project in the organization.", - "operationId": "projects-v2-item/created", + "summary": "This event occurs when there is activity relating to a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)\" in the REST API documentation.\n\nFor activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", + "description": "The name or description of a project (classic) was changed.", + "operationId": "project/edited", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#projects_v2_item" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#project" }, "parameters": [ { @@ -12547,7 +12248,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "project-v2-item", + "example": "issues", "schema": { "type": "string" } }, { @@ -12580,7 +12281,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-projects-v2-item-created" + "$ref": "#/components/schemas/webhook-project-edited" } } } @@ -12592,20 +12293,19 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "projects_v2_item", - "supported-webhook-types": ["organization"] + "subcategory": "project", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "projects-v2-item-deleted": { + "project-reopened": { "post": { - "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "An item was deleted from a project in the organization.", - "operationId": "projects-v2-item/deleted", + "summary": "This event occurs when there is activity relating to a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-cloud@latest//issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-cloud@latest//rest/projects)\" in the REST API documentation.\n\nFor activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", + "description": "A project (classic) was closed.", + "operationId": "project/reopened", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#projects_v2_item" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#project" }, "parameters": [ { @@ -12623,7 +12323,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "project-v2-item", + "example": "issues", "schema": { "type": "string" } }, { @@ -12656,7 +12356,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-projects-v2-item-deleted" + "$ref": "#/components/schemas/webhook-project-reopened" } } } @@ -12668,20 +12368,19 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "projects_v2_item", - "supported-webhook-types": ["organization"] + "subcategory": "project", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "projects-v2-item-edited": { + "projects-v2-closed": { "post": { - "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "The values or state of an item in an organization project were changed. For example, the value of a field was updated, the body of a draft issue was changed, or a draft issue was converted to an issue.", - "operationId": "projects-v2-item/edited", + "summary": "This event occurs when there is activity relating to an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2).\n\nFor activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", + "description": "A project in the organization was closed.", + "operationId": "projects-v2/closed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#projects_v2_item" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#projects_v2" }, "parameters": [ { @@ -12699,7 +12398,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "project-v2-item", + "example": "project-v2", "schema": { "type": "string" } }, { @@ -12732,7 +12431,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-projects-v2-item-edited" + "$ref": "#/components/schemas/webhook-projects-v2-project-closed" } } } @@ -12746,18 +12445,18 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "projects_v2_item", + "subcategory": "projects_v2", "supported-webhook-types": ["organization"] } } }, - "projects-v2-item-reordered": { + "projects-v2-created": { "post": { - "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "The position of an item in an organization project was changed. For example, an item was moved above or below another item in the table or board layout.", - "operationId": "projects-v2-item/reordered", + "summary": "This event occurs when there is activity relating to an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2).\n\nFor activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", + "description": "A project in the organization was created.", + "operationId": "projects-v2/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#projects_v2_item" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#projects_v2" }, "parameters": [ { @@ -12775,7 +12474,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "project-v2-item", + "example": "project-v2", "schema": { "type": "string" } }, { @@ -12808,7 +12507,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-projects-v2-item-reordered" + "$ref": "#/components/schemas/webhook-projects-v2-project-created" } } } @@ -12822,18 +12521,18 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "projects_v2_item", + "subcategory": "projects_v2", "supported-webhook-types": ["organization"] } } }, - "projects-v2-item-restored": { + "projects-v2-deleted": { "post": { - "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "An archived item on an organization project was restored from the archive. For more information, see \"[Archiving items from your project](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project).\"", - "operationId": "projects-v2-item/restored", + "summary": "This event occurs when there is activity relating to an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2).\n\nFor activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", + "description": "A project in the organization was deleted.", + "operationId": "projects-v2/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#projects_v2_item" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#projects_v2" }, "parameters": [ { @@ -12851,7 +12550,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "project-v2-item", + "example": "project-v2", "schema": { "type": "string" } }, { @@ -12884,7 +12583,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-projects-v2-item-restored" + "$ref": "#/components/schemas/webhook-projects-v2-project-deleted" } } } @@ -12898,16 +12597,16 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "projects_v2_item", + "subcategory": "projects_v2", "supported-webhook-types": ["organization"] } } }, - "projects-v2-reopened": { + "projects-v2-edited": { "post": { "summary": "This event occurs when there is activity relating to an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2).\n\nFor activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "A project in the organization was reopened.", - "operationId": "projects-v2/reopened", + "description": "The title, description, or README of a project in the organization was changed.", + "operationId": "projects-v2/edited", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#projects_v2" }, @@ -12960,7 +12659,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-projects-v2-project-reopened" + "$ref": "#/components/schemas/webhook-projects-v2-project-edited" } } } @@ -12979,13 +12678,13 @@ } } }, - "projects-v2-status-update-created": { + "projects-v2-item-archived": { "post": { - "summary": "This event occurs when there is activity relating to a status update on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\"\n\nFor activity relating to a project, use the `projects_v2` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "A status update was added to a project in the organization.", - "operationId": "projects-v2-status-update/created", + "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", + "description": "An item on an organization project was archived. For more information, see \"[Archiving items from your project](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project).\"", + "operationId": "projects-v2-item/archived", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#projects_v2_status_update" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#projects_v2_item" }, "parameters": [ { @@ -13003,7 +12702,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "project-v2-status-update", + "example": "project-v2-item", "schema": { "type": "string" } }, { @@ -13036,7 +12735,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-projects-v2-status-update-created" + "$ref": "#/components/schemas/webhook-projects-v2-item-archived" } } } @@ -13050,18 +12749,18 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "projects_v2_status_update", + "subcategory": "projects_v2_item", "supported-webhook-types": ["organization"] } } }, - "projects-v2-status-update-deleted": { + "projects-v2-item-converted": { "post": { - "summary": "This event occurs when there is activity relating to a status update on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\"\n\nFor activity relating to a project, use the `projects_v2` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "A status update was removed from a project in the organization.", - "operationId": "projects-v2-status-update/deleted", + "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", + "description": "A draft issue in an organization project was converted to an issue.", + "operationId": "projects-v2-item/converted", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#projects_v2_status_update" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#projects_v2_item" }, "parameters": [ { @@ -13079,7 +12778,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "project-v2-status-update", + "example": "project-v2-item", "schema": { "type": "string" } }, { @@ -13112,7 +12811,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-projects-v2-status-update-deleted" + "$ref": "#/components/schemas/webhook-projects-v2-item-converted" } } } @@ -13126,18 +12825,18 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "projects_v2_status_update", + "subcategory": "projects_v2_item", "supported-webhook-types": ["organization"] } } }, - "projects-v2-status-update-edited": { + "projects-v2-item-created": { "post": { - "summary": "This event occurs when there is activity relating to a status update on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\"\n\nFor activity relating to a project, use the `projects_v2` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "A status update was edited on a project in the organization.", - "operationId": "projects-v2-status-update/edited", + "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", + "description": "An item was added to a project in the organization.", + "operationId": "projects-v2-item/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#projects_v2_status_update" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#projects_v2_item" }, "parameters": [ { @@ -13155,7 +12854,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "project-v2-status-update", + "example": "project-v2-item", "schema": { "type": "string" } }, { @@ -13188,7 +12887,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-projects-v2-status-update-edited" + "$ref": "#/components/schemas/webhook-projects-v2-item-created" } } } @@ -13202,17 +12901,18 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "projects_v2_status_update", + "subcategory": "projects_v2_item", "supported-webhook-types": ["organization"] } } }, - "public": { + "projects-v2-item-deleted": { "post": { - "summary": "This event occurs when repository visibility changes from private to public. For more information, see \"[Setting repository visibility](https://docs.github.com/enterprise-cloud@latest//repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "operationId": "public", + "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", + "description": "An item was deleted from a project in the organization.", + "operationId": "projects-v2-item/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#public" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#projects_v2_item" }, "parameters": [ { @@ -13230,7 +12930,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "project-v2-item", "schema": { "type": "string" } }, { @@ -13262,7 +12962,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-public" } + "schema": { + "$ref": "#/components/schemas/webhook-projects-v2-item-deleted" + } } } }, @@ -13273,19 +12975,20 @@ }, "x-github": { "githubCloudOnly": false, + "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "public", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "projects_v2_item", + "supported-webhook-types": ["organization"] } } }, - "pull-request-assigned": { + "projects-v2-item-edited": { "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A pull request was assigned to a user.", - "operationId": "pull-request/assigned", + "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", + "description": "The values or state of an item in an organization project were changed. For example, the value of a field was updated, the body of a draft issue was changed, or a draft issue was converted to an issue.", + "operationId": "projects-v2-item/edited", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#projects_v2_item" }, "parameters": [ { @@ -13303,7 +13006,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "project-v2-item", "schema": { "type": "string" } }, { @@ -13336,7 +13039,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-assigned" + "$ref": "#/components/schemas/webhook-projects-v2-item-edited" } } } @@ -13348,19 +13051,20 @@ }, "x-github": { "githubCloudOnly": false, + "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "pull_request", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "projects_v2_item", + "supported-webhook-types": ["organization"] } } }, - "pull-request-auto-merge-disabled": { + "projects-v2-item-reordered": { "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "Auto merge was disabled for a pull request. For more information, see \"[Automatically merging a pull request](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request).\"", - "operationId": "pull-request/auto-merge-disabled", + "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", + "description": "The position of an item in an organization project was changed. For example, an item was moved above or below another item in the table or board layout.", + "operationId": "projects-v2-item/reordered", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#projects_v2_item" }, "parameters": [ { @@ -13378,7 +13082,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "project-v2-item", "schema": { "type": "string" } }, { @@ -13411,7 +13115,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-auto-merge-disabled" + "$ref": "#/components/schemas/webhook-projects-v2-item-reordered" } } } @@ -13423,19 +13127,20 @@ }, "x-github": { "githubCloudOnly": false, + "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "pull_request", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "projects_v2_item", + "supported-webhook-types": ["organization"] } } }, - "pull-request-auto-merge-enabled": { + "projects-v2-item-restored": { "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "Auto merge was enabled for a pull request. For more information, see \"[Automatically merging a pull request](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request).\"", - "operationId": "pull-request/auto-merge-enabled", + "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", + "description": "An archived item on an organization project was restored from the archive. For more information, see \"[Archiving items from your project](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project).\"", + "operationId": "projects-v2-item/restored", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#projects_v2_item" }, "parameters": [ { @@ -13453,7 +13158,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "project-v2-item", "schema": { "type": "string" } }, { @@ -13486,7 +13191,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-auto-merge-enabled" + "$ref": "#/components/schemas/webhook-projects-v2-item-restored" } } } @@ -13498,19 +13203,20 @@ }, "x-github": { "githubCloudOnly": false, + "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "pull_request", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "projects_v2_item", + "supported-webhook-types": ["organization"] } } }, - "pull-request-closed": { + "projects-v2-reopened": { "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A pull request was closed. If `merged` is false in the webhook payload, the pull request was closed with unmerged commits. If `merged` is true in the webhook payload, the pull request was merged.", - "operationId": "pull-request/closed", + "summary": "This event occurs when there is activity relating to an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#projectv2).\n\nFor activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", + "description": "A project in the organization was reopened.", + "operationId": "projects-v2/reopened", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#projects_v2" }, "parameters": [ { @@ -13528,7 +13234,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "project-v2", "schema": { "type": "string" } }, { @@ -13561,7 +13267,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-closed" + "$ref": "#/components/schemas/webhook-projects-v2-project-reopened" } } } @@ -13573,19 +13279,20 @@ }, "x-github": { "githubCloudOnly": false, + "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "pull_request", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "projects_v2", + "supported-webhook-types": ["organization"] } } }, - "pull-request-converted-to-draft": { + "projects-v2-status-update-created": { "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A pull request was converted to a draft. For more information, see \"[Changing the stage of a pull request](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request).\"", - "operationId": "pull-request/converted-to-draft", + "summary": "This event occurs when there is activity relating to a status update on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\"\n\nFor activity relating to a project, use the `projects_v2` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", + "description": "A status update was added to a project in the organization.", + "operationId": "projects-v2-status-update/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#projects_v2_status_update" }, "parameters": [ { @@ -13603,7 +13310,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "project-v2-status-update", "schema": { "type": "string" } }, { @@ -13636,7 +13343,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-converted-to-draft" + "$ref": "#/components/schemas/webhook-projects-v2-status-update-created" } } } @@ -13648,19 +13355,20 @@ }, "x-github": { "githubCloudOnly": false, + "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "pull_request", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "projects_v2_status_update", + "supported-webhook-types": ["organization"] } } }, - "pull-request-demilestoned": { + "projects-v2-status-update-deleted": { "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A pull request was removed from a milestone.", - "operationId": "pull-request/demilestoned", + "summary": "This event occurs when there is activity relating to a status update on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\"\n\nFor activity relating to a project, use the `projects_v2` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", + "description": "A status update was removed from a project in the organization.", + "operationId": "projects-v2-status-update/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#projects_v2_status_update" }, "parameters": [ { @@ -13678,7 +13386,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "project-v2-status-update", "schema": { "type": "string" } }, { @@ -13711,7 +13419,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-demilestoned" + "$ref": "#/components/schemas/webhook-projects-v2-status-update-deleted" } } } @@ -13723,19 +13431,20 @@ }, "x-github": { "githubCloudOnly": false, + "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "pull_request", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "projects_v2_status_update", + "supported-webhook-types": ["organization"] } } }, - "pull-request-dequeued": { + "projects-v2-status-update-edited": { "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A pull request was removed from the merge queue.", - "operationId": "pull-request/dequeued", + "summary": "This event occurs when there is activity relating to a status update on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\"\n\nFor activity relating to a project, use the `projects_v2` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", + "description": "A status update was edited on a project in the organization.", + "operationId": "projects-v2-status-update/edited", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#projects_v2_status_update" }, "parameters": [ { @@ -13753,7 +13462,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "project-v2-status-update", "schema": { "type": "string" } }, { @@ -13786,7 +13495,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-dequeued" + "$ref": "#/components/schemas/webhook-projects-v2-status-update-edited" } } } @@ -13798,19 +13507,19 @@ }, "x-github": { "githubCloudOnly": false, + "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "pull_request", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "projects_v2_status_update", + "supported-webhook-types": ["organization"] } } }, - "pull-request-edited": { + "public": { "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "The title or body of a pull request was edited, or the base branch of a pull request was changed.", - "operationId": "pull-request/edited", + "summary": "This event occurs when repository visibility changes from private to public. For more information, see \"[Setting repository visibility](https://docs.github.com/enterprise-cloud@latest//repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "operationId": "public", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#public" }, "parameters": [ { @@ -13860,9 +13569,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-edited" - } + "schema": { "$ref": "#/components/schemas/webhook-public" } } } }, @@ -13874,16 +13581,16 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "pull_request", + "subcategory": "public", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "pull-request-enqueued": { + "pull-request-assigned": { "post": { "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A pull request was added to the merge queue.", - "operationId": "pull-request/enqueued", + "description": "A pull request was assigned to a user.", + "operationId": "pull-request/assigned", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request" }, @@ -13936,7 +13643,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-enqueued" + "$ref": "#/components/schemas/webhook-pull-request-assigned" } } } @@ -13954,11 +13661,11 @@ } } }, - "pull-request-labeled": { + "pull-request-auto-merge-disabled": { "post": { "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A label was added to a pull request.", - "operationId": "pull-request/labeled", + "description": "Auto merge was disabled for a pull request. For more information, see \"[Automatically merging a pull request](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request).\"", + "operationId": "pull-request/auto-merge-disabled", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request" }, @@ -14011,7 +13718,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-labeled" + "$ref": "#/components/schemas/webhook-pull-request-auto-merge-disabled" } } } @@ -14029,11 +13736,11 @@ } } }, - "pull-request-locked": { + "pull-request-auto-merge-enabled": { "post": { "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "Conversation on a pull request was locked. For more information, see \"[Locking conversations](https://docs.github.com/enterprise-cloud@latest//communities/moderating-comments-and-conversations/locking-conversations).\"", - "operationId": "pull-request/locked", + "description": "Auto merge was enabled for a pull request. For more information, see \"[Automatically merging a pull request](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request).\"", + "operationId": "pull-request/auto-merge-enabled", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request" }, @@ -14086,7 +13793,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-locked" + "$ref": "#/components/schemas/webhook-pull-request-auto-merge-enabled" } } } @@ -14104,11 +13811,11 @@ } } }, - "pull-request-milestoned": { + "pull-request-closed": { "post": { "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A pull request was added to a milestone.", - "operationId": "pull-request/milestoned", + "description": "A pull request was closed. If `merged` is false in the webhook payload, the pull request was closed with unmerged commits. If `merged` is true in the webhook payload, the pull request was merged.", + "operationId": "pull-request/closed", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request" }, @@ -14161,7 +13868,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-milestoned" + "$ref": "#/components/schemas/webhook-pull-request-closed" } } } @@ -14179,11 +13886,11 @@ } } }, - "pull-request-opened": { + "pull-request-converted-to-draft": { "post": { "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A pull request was created", - "operationId": "pull-request/opened", + "description": "A pull request was converted to a draft. For more information, see \"[Changing the stage of a pull request](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request).\"", + "operationId": "pull-request/converted-to-draft", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request" }, @@ -14236,7 +13943,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-opened" + "$ref": "#/components/schemas/webhook-pull-request-converted-to-draft" } } } @@ -14254,11 +13961,11 @@ } } }, - "pull-request-ready-for-review": { + "pull-request-demilestoned": { "post": { "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A draft pull request was marked as ready for review. For more information, see \"[Changing the stage of a pull request](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request).\"", - "operationId": "pull-request/ready-for-review", + "description": "A pull request was removed from a milestone.", + "operationId": "pull-request/demilestoned", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request" }, @@ -14311,7 +14018,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-ready-for-review" + "$ref": "#/components/schemas/webhook-pull-request-demilestoned" } } } @@ -14329,11 +14036,11 @@ } } }, - "pull-request-reopened": { + "pull-request-dequeued": { "post": { "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A previously closed pull request was reopened.", - "operationId": "pull-request/reopened", + "description": "A pull request was removed from the merge queue.", + "operationId": "pull-request/dequeued", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request" }, @@ -14386,7 +14093,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-reopened" + "$ref": "#/components/schemas/webhook-pull-request-dequeued" } } } @@ -14404,13 +14111,13 @@ } } }, - "pull-request-review-comment-created": { + "pull-request-edited": { "post": { - "summary": "This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see \"[Commenting on a pull request](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request).\" For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequestreviewcomment) or \"[Pull request review comments](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A comment on a pull request diff was created.", - "operationId": "pull-request-review-comment/created", + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "description": "The title or body of a pull request was edited, or the base branch of a pull request was changed.", + "operationId": "pull-request/edited", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request_review_comment" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request" }, "parameters": [ { @@ -14461,7 +14168,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-review-comment-created" + "$ref": "#/components/schemas/webhook-pull-request-edited" } } } @@ -14474,18 +14181,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "pull_request_review_comment", + "subcategory": "pull_request", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "pull-request-review-comment-deleted": { + "pull-request-enqueued": { "post": { - "summary": "This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see \"[Commenting on a pull request](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request).\" For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequestreviewcomment) or \"[Pull request review comments](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A comment on a pull request diff was deleted.", - "operationId": "pull-request-review-comment/deleted", + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "description": "A pull request was added to the merge queue.", + "operationId": "pull-request/enqueued", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request_review_comment" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request" }, "parameters": [ { @@ -14536,7 +14243,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-review-comment-deleted" + "$ref": "#/components/schemas/webhook-pull-request-enqueued" } } } @@ -14549,18 +14256,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "pull_request_review_comment", + "subcategory": "pull_request", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "pull-request-review-comment-edited": { + "pull-request-labeled": { "post": { - "summary": "This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see \"[Commenting on a pull request](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request).\" For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequestreviewcomment) or \"[Pull request review comments](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "The content of a comment on a pull request diff was changed.", - "operationId": "pull-request-review-comment/edited", + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "description": "A label was added to a pull request.", + "operationId": "pull-request/labeled", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request_review_comment" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request" }, "parameters": [ { @@ -14611,7 +14318,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-review-comment-edited" + "$ref": "#/components/schemas/webhook-pull-request-labeled" } } } @@ -14624,18 +14331,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "pull_request_review_comment", + "subcategory": "pull_request", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "pull-request-review-dismissed": { + "pull-request-locked": { "post": { - "summary": "This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see \"[About pull request reviews](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews).\" For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequestreview) or \"[Pull request reviews](https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews)\" in the REST API documentation.\n\nFor activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A review on a pull request was dismissed.", - "operationId": "pull-request-review/dismissed", + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "description": "Conversation on a pull request was locked. For more information, see \"[Locking conversations](https://docs.github.com/enterprise-cloud@latest//communities/moderating-comments-and-conversations/locking-conversations).\"", + "operationId": "pull-request/locked", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request_review" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request" }, "parameters": [ { @@ -14686,7 +14393,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-review-dismissed" + "$ref": "#/components/schemas/webhook-pull-request-locked" } } } @@ -14699,18 +14406,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "pull_request_review", + "subcategory": "pull_request", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "pull-request-review-edited": { + "pull-request-milestoned": { "post": { - "summary": "This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see \"[About pull request reviews](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews).\" For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequestreview) or \"[Pull request reviews](https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews)\" in the REST API documentation.\n\nFor activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "The body comment on a pull request review was edited.", - "operationId": "pull-request-review/edited", + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "description": "A pull request was added to a milestone.", + "operationId": "pull-request/milestoned", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request_review" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request" }, "parameters": [ { @@ -14761,7 +14468,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-review-edited" + "$ref": "#/components/schemas/webhook-pull-request-milestoned" } } } @@ -14774,16 +14481,16 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "pull_request_review", + "subcategory": "pull_request", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "pull-request-review-request-removed": { + "pull-request-opened": { "post": { "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A request for review by a person or team was removed from a pull request.", - "operationId": "pull-request/review-request-removed", + "description": "A pull request was created", + "operationId": "pull-request/opened", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request" }, @@ -14836,7 +14543,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-review-request-removed" + "$ref": "#/components/schemas/webhook-pull-request-opened" } } } @@ -14854,11 +14561,11 @@ } } }, - "pull-request-review-requested": { + "pull-request-ready-for-review": { "post": { "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "Review by a person or team was requested for a pull request. For more information, see \"[Requesting a pull request review](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/requesting-a-pull-request-review).\"", - "operationId": "pull-request/review-requested", + "description": "A draft pull request was marked as ready for review. For more information, see \"[Changing the stage of a pull request](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request).\"", + "operationId": "pull-request/ready-for-review", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request" }, @@ -14911,7 +14618,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-review-requested" + "$ref": "#/components/schemas/webhook-pull-request-ready-for-review" } } } @@ -14929,13 +14636,13 @@ } } }, - "pull-request-review-submitted": { + "pull-request-reopened": { "post": { - "summary": "This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see \"[About pull request reviews](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews).\" For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequestreview) or \"[Pull request reviews](https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews)\" in the REST API documentation.\n\nFor activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A review on a pull request was submitted.", - "operationId": "pull-request-review/submitted", + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "description": "A previously closed pull request was reopened.", + "operationId": "pull-request/reopened", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request_review" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request" }, "parameters": [ { @@ -14986,7 +14693,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-review-submitted" + "$ref": "#/components/schemas/webhook-pull-request-reopened" } } } @@ -14999,18 +14706,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "pull_request_review", + "subcategory": "pull_request", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "pull-request-review-thread-resolved": { + "pull-request-review-comment-created": { "post": { - "summary": "This event occurs when there is activity relating to a comment thread on a pull request. For more information, see \"[About pull request reviews](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews).\" For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequestreviewthread) or \"[Pull request review comments](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments)\" in the REST API documentation.\n\nFor activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A comment thread on a pull request was marked as resolved.", - "operationId": "pull-request-review-thread/resolved", + "summary": "This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see \"[Commenting on a pull request](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request).\" For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequestreviewcomment) or \"[Pull request review comments](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "description": "A comment on a pull request diff was created.", + "operationId": "pull-request-review-comment/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request_review_thread" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request_review_comment" }, "parameters": [ { @@ -15061,7 +14768,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-review-thread-resolved" + "$ref": "#/components/schemas/webhook-pull-request-review-comment-created" } } } @@ -15074,18 +14781,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "pull_request_review_thread", + "subcategory": "pull_request_review_comment", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "pull-request-review-thread-unresolved": { + "pull-request-review-comment-deleted": { "post": { - "summary": "This event occurs when there is activity relating to a comment thread on a pull request. For more information, see \"[About pull request reviews](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews).\" For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequestreviewthread) or \"[Pull request review comments](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments)\" in the REST API documentation.\n\nFor activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A previously resolved comment thread on a pull request was marked as unresolved.", - "operationId": "pull-request-review-thread/unresolved", + "summary": "This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see \"[Commenting on a pull request](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request).\" For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequestreviewcomment) or \"[Pull request review comments](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "description": "A comment on a pull request diff was deleted.", + "operationId": "pull-request-review-comment/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request_review_thread" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request_review_comment" }, "parameters": [ { @@ -15136,7 +14843,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-review-thread-unresolved" + "$ref": "#/components/schemas/webhook-pull-request-review-comment-deleted" } } } @@ -15149,18 +14856,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "pull_request_review_thread", + "subcategory": "pull_request_review_comment", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "pull-request-synchronize": { + "pull-request-review-comment-edited": { "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A pull request's head branch was updated. For example, the head branch was updated from the base branch or new commits were pushed to the head branch.", - "operationId": "pull-request/synchronize", + "summary": "This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see \"[Commenting on a pull request](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request).\" For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequestreviewcomment) or \"[Pull request review comments](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "description": "The content of a comment on a pull request diff was changed.", + "operationId": "pull-request-review-comment/edited", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request_review_comment" }, "parameters": [ { @@ -15211,7 +14918,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-synchronize" + "$ref": "#/components/schemas/webhook-pull-request-review-comment-edited" } } } @@ -15224,18 +14931,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "pull_request", + "subcategory": "pull_request_review_comment", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "pull-request-unassigned": { + "pull-request-review-dismissed": { "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A user was unassigned from a pull request.", - "operationId": "pull-request/unassigned", + "summary": "This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see \"[About pull request reviews](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews).\" For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequestreview) or \"[Pull request reviews](https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews)\" in the REST API documentation.\n\nFor activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "description": "A review on a pull request was dismissed.", + "operationId": "pull-request-review/dismissed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request_review" }, "parameters": [ { @@ -15286,7 +14993,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-unassigned" + "$ref": "#/components/schemas/webhook-pull-request-review-dismissed" } } } @@ -15299,16 +15006,91 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "pull_request", + "subcategory": "pull_request_review", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "pull-request-unlabeled": { + "pull-request-review-edited": { + "post": { + "summary": "This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see \"[About pull request reviews](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews).\" For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequestreview) or \"[Pull request reviews](https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews)\" in the REST API documentation.\n\nFor activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "description": "The body comment on a pull request review was edited.", + "operationId": "pull-request-review/edited", + "externalDocs": { + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request_review" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-pull-request-review-edited" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "pull_request_review", + "supported-webhook-types": ["repository", "organization", "app"] + } + } + }, + "pull-request-review-request-removed": { "post": { "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A label was removed from a pull request.", - "operationId": "pull-request/unlabeled", + "description": "A request for review by a person or team was removed from a pull request.", + "operationId": "pull-request/review-request-removed", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request" }, @@ -15361,7 +15143,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-unlabeled" + "$ref": "#/components/schemas/webhook-pull-request-review-request-removed" } } } @@ -15379,11 +15161,11 @@ } } }, - "pull-request-unlocked": { + "pull-request-review-requested": { "post": { "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "Conversation on a pull request was unlocked. For more information, see \"[Locking conversations](https://docs.github.com/enterprise-cloud@latest//communities/moderating-comments-and-conversations/locking-conversations).\"", - "operationId": "pull-request/unlocked", + "description": "Review by a person or team was requested for a pull request. For more information, see \"[Requesting a pull request review](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/requesting-a-pull-request-review).\"", + "operationId": "pull-request/review-requested", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request" }, @@ -15436,7 +15218,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-pull-request-unlocked" + "$ref": "#/components/schemas/webhook-pull-request-review-requested" } } } @@ -15454,12 +15236,13 @@ } } }, - "push": { + "pull-request-review-submitted": { "post": { - "summary": "This event occurs when there is a push to a repository branch. This includes when a commit is pushed, when a commit tag is pushed,\nwhen a branch is deleted, when a tag is deleted, or when a repository is created from a template. To subscribe to only branch\nand tag deletions, use the [`delete`](#delete) webhook event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.\n\n> [!NOTE]\n> Events will not be created if more than 5000 branches are pushed at once. Events will not be created for tags when more than three tags are pushed at once.", - "operationId": "push", + "summary": "This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see \"[About pull request reviews](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews).\" For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequestreview) or \"[Pull request reviews](https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews)\" in the REST API documentation.\n\nFor activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "description": "A review on a pull request was submitted.", + "operationId": "pull-request-review/submitted", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#push" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request_review" }, "parameters": [ { @@ -15509,7 +15292,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-push" } + "schema": { + "$ref": "#/components/schemas/webhook-pull-request-review-submitted" + } } } }, @@ -15521,18 +15306,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "push", + "subcategory": "pull_request_review", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "registry-package-published": { + "pull-request-review-thread-resolved": { "post": { - "summary": "This event occurs when there is activity relating to GitHub Packages. For more information, see \"[Introduction to GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/introduction-to-github-packages).\" For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#package) or \"[Packages](https://docs.github.com/enterprise-cloud@latest//rest/packages)\" in the REST API documentation.\n\nTo install this event on a GitHub App, the app must have at least read-level access for the \"Packages\" repository permission.\n\n> [!NOTE]\n> GitHub recommends that you use the newer `package` event instead.", - "description": "A package was published to a registry.", - "operationId": "registry-package/published", + "summary": "This event occurs when there is activity relating to a comment thread on a pull request. For more information, see \"[About pull request reviews](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews).\" For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequestreviewthread) or \"[Pull request review comments](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments)\" in the REST API documentation.\n\nFor activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "description": "A comment thread on a pull request was marked as resolved.", + "operationId": "pull-request-review-thread/resolved", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#registry_package" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request_review_thread" }, "parameters": [ { @@ -15583,7 +15368,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-registry-package-published" + "$ref": "#/components/schemas/webhook-pull-request-review-thread-resolved" } } } @@ -15596,18 +15381,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "registry_package", + "subcategory": "pull_request_review_thread", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "registry-package-updated": { + "pull-request-review-thread-unresolved": { "post": { - "summary": "This event occurs when there is activity relating to GitHub Packages. For more information, see \"[Introduction to GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/introduction-to-github-packages).\" For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#package) or \"[Packages](https://docs.github.com/enterprise-cloud@latest//rest/packages)\" in the REST API documentation.\n\nTo install this event on a GitHub App, the app must have at least read-level access for the \"Packages\" repository permission.\n\n> [!NOTE]\n> GitHub recommends that you use the newer `package` event instead.", - "description": "A package that was previously published to a registry was updated.", - "operationId": "registry-package/updated", + "summary": "This event occurs when there is activity relating to a comment thread on a pull request. For more information, see \"[About pull request reviews](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews).\" For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequestreviewthread) or \"[Pull request review comments](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments)\" in the REST API documentation.\n\nFor activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "description": "A previously resolved comment thread on a pull request was marked as unresolved.", + "operationId": "pull-request-review-thread/unresolved", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#registry_package" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request_review_thread" }, "parameters": [ { @@ -15658,7 +15443,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-registry-package-updated" + "$ref": "#/components/schemas/webhook-pull-request-review-thread-unresolved" } } } @@ -15671,18 +15456,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "registry_package", + "subcategory": "pull_request_review_thread", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "release-created": { + "pull-request-synchronize": { "post": { - "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/enterprise-cloud@latest//repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#release) or \"[Releases](https://docs.github.com/enterprise-cloud@latest//rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", - "description": "A draft was saved, or a release or pre-release was published without previously being saved as a draft.", - "operationId": "release/created", + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "description": "A pull request's head branch was updated. For example, the head branch was updated from the base branch or new commits were pushed to the head branch.", + "operationId": "pull-request/synchronize", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#release" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request" }, "parameters": [ { @@ -15733,7 +15518,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-release-created" + "$ref": "#/components/schemas/webhook-pull-request-synchronize" } } } @@ -15746,18 +15531,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "release", + "subcategory": "pull_request", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "release-deleted": { + "pull-request-unassigned": { "post": { - "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/enterprise-cloud@latest//repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#release) or \"[Releases](https://docs.github.com/enterprise-cloud@latest//rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", - "description": "A release, pre-release, or draft release was deleted.", - "operationId": "release/deleted", + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "description": "A user was unassigned from a pull request.", + "operationId": "pull-request/unassigned", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#release" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request" }, "parameters": [ { @@ -15808,7 +15593,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-release-deleted" + "$ref": "#/components/schemas/webhook-pull-request-unassigned" } } } @@ -15821,18 +15606,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "release", + "subcategory": "pull_request", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "release-edited": { + "pull-request-unlabeled": { "post": { - "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/enterprise-cloud@latest//repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#release) or \"[Releases](https://docs.github.com/enterprise-cloud@latest//rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", - "description": "The details of a release, pre-release, or draft release were edited. For more information, see \"[Managing releases in a repository](https://docs.github.com/enterprise-cloud@latest//repositories/releasing-projects-on-github/managing-releases-in-a-repository#editing-a-release).\"", - "operationId": "release/edited", + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "description": "A label was removed from a pull request.", + "operationId": "pull-request/unlabeled", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#release" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request" }, "parameters": [ { @@ -15883,7 +15668,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-release-edited" + "$ref": "#/components/schemas/webhook-pull-request-unlabeled" } } } @@ -15896,18 +15681,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "release", + "subcategory": "pull_request", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "release-prereleased": { + "pull-request-unlocked": { "post": { - "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/enterprise-cloud@latest//repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#release) or \"[Releases](https://docs.github.com/enterprise-cloud@latest//rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", - "description": "A release was created and identified as a pre-release. A pre-release is a release that is not ready for production and may be unstable.", - "operationId": "release/prereleased", + "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", + "description": "Conversation on a pull request was unlocked. For more information, see \"[Locking conversations](https://docs.github.com/enterprise-cloud@latest//communities/moderating-comments-and-conversations/locking-conversations).\"", + "operationId": "pull-request/unlocked", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#release" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#pull_request" }, "parameters": [ { @@ -15958,7 +15743,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-release-prereleased" + "$ref": "#/components/schemas/webhook-pull-request-unlocked" } } } @@ -15971,18 +15756,90 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "release", + "subcategory": "pull_request", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "release-published": { + "push": { "post": { - "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/enterprise-cloud@latest//repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#release) or \"[Releases](https://docs.github.com/enterprise-cloud@latest//rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", - "description": "A release, pre-release, or draft of a release was published.", - "operationId": "release/published", + "summary": "This event occurs when there is a push to a repository branch. This includes when a commit is pushed, when a commit tag is pushed,\nwhen a branch is deleted, when a tag is deleted, or when a repository is created from a template. To subscribe to only branch\nand tag deletions, use the [`delete`](#delete) webhook event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.\n\n> [!NOTE]\n> Events will not be created if more than 5000 branches are pushed at once. Events will not be created for tags when more than three tags are pushed at once.", + "operationId": "push", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#release" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#push" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/webhook-push" } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "push", + "supported-webhook-types": ["repository", "organization", "app"] + } + } + }, + "registry-package-published": { + "post": { + "summary": "This event occurs when there is activity relating to GitHub Packages. For more information, see \"[Introduction to GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/introduction-to-github-packages).\" For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#package) or \"[Packages](https://docs.github.com/enterprise-cloud@latest//rest/packages)\" in the REST API documentation.\n\nTo install this event on a GitHub App, the app must have at least read-level access for the \"Packages\" repository permission.\n\n> [!NOTE]\n> GitHub recommends that you use the newer `package` event instead.", + "description": "A package was published to a registry.", + "operationId": "registry-package/published", + "externalDocs": { + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#registry_package" }, "parameters": [ { @@ -16033,7 +15890,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-release-published" + "$ref": "#/components/schemas/webhook-registry-package-published" } } } @@ -16046,18 +15903,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "release", + "subcategory": "registry_package", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "release-released": { + "registry-package-updated": { "post": { - "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/enterprise-cloud@latest//repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#release) or \"[Releases](https://docs.github.com/enterprise-cloud@latest//rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", - "description": "A release was published, or a pre-release was changed to a release.", - "operationId": "release/released", + "summary": "This event occurs when there is activity relating to GitHub Packages. For more information, see \"[Introduction to GitHub Packages](https://docs.github.com/enterprise-cloud@latest//packages/learn-github-packages/introduction-to-github-packages).\" For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#package) or \"[Packages](https://docs.github.com/enterprise-cloud@latest//rest/packages)\" in the REST API documentation.\n\nTo install this event on a GitHub App, the app must have at least read-level access for the \"Packages\" repository permission.\n\n> [!NOTE]\n> GitHub recommends that you use the newer `package` event instead.", + "description": "A package that was previously published to a registry was updated.", + "operationId": "registry-package/updated", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#release" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#registry_package" }, "parameters": [ { @@ -16108,7 +15965,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-release-released" + "$ref": "#/components/schemas/webhook-registry-package-updated" } } } @@ -16121,16 +15978,16 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "release", + "subcategory": "registry_package", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "release-unpublished": { + "release-created": { "post": { "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/enterprise-cloud@latest//repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#release) or \"[Releases](https://docs.github.com/enterprise-cloud@latest//rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", - "description": "A release or pre-release was unpublished.", - "operationId": "release/unpublished", + "description": "A draft was saved, or a release or pre-release was published without previously being saved as a draft.", + "operationId": "release/created", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#release" }, @@ -16183,7 +16040,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-release-unpublished" + "$ref": "#/components/schemas/webhook-release-created" } } } @@ -16201,13 +16058,13 @@ } } }, - "repository-advisory-published": { + "release-deleted": { "post": { - "summary": "This event occurs when there is activity relating to a repository security advisory. For more information about repository security advisories, see \"[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-cloud@latest//code-security/repository-security-advisories/about-github-security-advisories-for-repositories).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Repository security advisories\" permission.", - "description": "A repository security advisory was published.", - "operationId": "repository-advisory/published", + "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/enterprise-cloud@latest//repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#release) or \"[Releases](https://docs.github.com/enterprise-cloud@latest//rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", + "description": "A release, pre-release, or draft release was deleted.", + "operationId": "release/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository_advisory" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#release" }, "parameters": [ { @@ -16258,7 +16115,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-repository-advisory-published" + "$ref": "#/components/schemas/webhook-release-deleted" } } } @@ -16271,18 +16128,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "repository_advisory", + "subcategory": "release", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "repository-advisory-reported": { + "release-edited": { "post": { - "summary": "This event occurs when there is activity relating to a repository security advisory. For more information about repository security advisories, see \"[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-cloud@latest//code-security/repository-security-advisories/about-github-security-advisories-for-repositories).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Repository security advisories\" permission.", - "description": "A private vulnerability report was submitted.", - "operationId": "repository-advisory/reported", + "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/enterprise-cloud@latest//repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#release) or \"[Releases](https://docs.github.com/enterprise-cloud@latest//rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", + "description": "The details of a release, pre-release, or draft release were edited. For more information, see \"[Managing releases in a repository](https://docs.github.com/enterprise-cloud@latest//repositories/releasing-projects-on-github/managing-releases-in-a-repository#editing-a-release).\"", + "operationId": "release/edited", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository_advisory" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#release" }, "parameters": [ { @@ -16333,7 +16190,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-repository-advisory-reported" + "$ref": "#/components/schemas/webhook-release-edited" } } } @@ -16346,18 +16203,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "repository_advisory", + "subcategory": "release", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "repository-archived": { + "release-prereleased": { "post": { - "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-cloud@latest//repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-cloud@latest//rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "A repository was archived.", - "operationId": "repository/archived", + "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/enterprise-cloud@latest//repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#release) or \"[Releases](https://docs.github.com/enterprise-cloud@latest//rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", + "description": "A release was created and identified as a pre-release. A pre-release is a release that is not ready for production and may be unstable.", + "operationId": "release/prereleased", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#release" }, "parameters": [ { @@ -16408,7 +16265,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-repository-archived" + "$ref": "#/components/schemas/webhook-release-prereleased" } } } @@ -16421,23 +16278,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "repository", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] + "subcategory": "release", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "repository-created": { + "release-published": { "post": { - "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-cloud@latest//repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-cloud@latest//rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "A repository was created.", - "operationId": "repository/created", + "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/enterprise-cloud@latest//repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#release) or \"[Releases](https://docs.github.com/enterprise-cloud@latest//rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", + "description": "A release, pre-release, or draft of a release was published.", + "operationId": "release/published", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#release" }, "parameters": [ { @@ -16488,7 +16340,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-repository-created" + "$ref": "#/components/schemas/webhook-release-published" } } } @@ -16501,23 +16353,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "repository", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] + "subcategory": "release", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "repository-deleted": { + "release-released": { "post": { - "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-cloud@latest//repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-cloud@latest//rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "A repository was deleted. GitHub Apps and repository webhooks will not receive this event.", - "operationId": "repository/deleted", + "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/enterprise-cloud@latest//repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#release) or \"[Releases](https://docs.github.com/enterprise-cloud@latest//rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", + "description": "A release was published, or a pre-release was changed to a release.", + "operationId": "release/released", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#release" }, "parameters": [ { @@ -16568,7 +16415,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-repository-deleted" + "$ref": "#/components/schemas/webhook-release-released" } } } @@ -16581,22 +16428,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "repository", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] + "subcategory": "release", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "repository-dispatch-sample.collected": { + "release-unpublished": { "post": { - "summary": "This event occurs when a GitHub App sends a `POST` request to `/repos/{owner}/{repo}/dispatches`. For more information, see [the REST API documentation for creating a repository dispatch event](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event). In the payload, the `action` will be the `event_type` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", - "operationId": "repository-dispatch/sample.collected", + "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/enterprise-cloud@latest//repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#release) or \"[Releases](https://docs.github.com/enterprise-cloud@latest//rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", + "description": "A release or pre-release was unpublished.", + "operationId": "release/unpublished", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository_dispatch" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#release" }, "parameters": [ { @@ -16647,7 +16490,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-repository-dispatch-sample" + "$ref": "#/components/schemas/webhook-release-unpublished" } } } @@ -16660,18 +16503,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "repository_dispatch", - "supported-webhook-types": ["app"] + "subcategory": "release", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "repository-edited": { + "repository-advisory-published": { "post": { - "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-cloud@latest//repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-cloud@latest//rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "The topics, default branch, description, or homepage of a repository was changed.", - "operationId": "repository/edited", + "summary": "This event occurs when there is activity relating to a repository security advisory. For more information about repository security advisories, see \"[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-cloud@latest//code-security/repository-security-advisories/about-github-security-advisories-for-repositories).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Repository security advisories\" permission.", + "description": "A repository security advisory was published.", + "operationId": "repository-advisory/published", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository_advisory" }, "parameters": [ { @@ -16722,7 +16565,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-repository-edited" + "$ref": "#/components/schemas/webhook-repository-advisory-published" } } } @@ -16735,22 +16578,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "repository", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] + "subcategory": "repository_advisory", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "repository-import": { + "repository-advisory-reported": { "post": { - "summary": "This event occurs when a repository is imported to GitHub Enterprise Cloud. For more information, see \"[Importing a repository with GitHub Importer](https://docs.github.com/enterprise-cloud@latest//get-started/importing-your-projects-to-github/importing-source-code-to-github/importing-a-repository-with-github-importer).\" For more information about the API to manage imports, see [the REST API documentation](https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports).", - "operationId": "repository-import", + "summary": "This event occurs when there is activity relating to a repository security advisory. For more information about repository security advisories, see \"[About GitHub Security Advisories for repositories](https://docs.github.com/enterprise-cloud@latest//code-security/repository-security-advisories/about-github-security-advisories-for-repositories).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Repository security advisories\" permission.", + "description": "A private vulnerability report was submitted.", + "operationId": "repository-advisory/reported", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository_import" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository_advisory" }, "parameters": [ { @@ -16801,7 +16640,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-repository-import" + "$ref": "#/components/schemas/webhook-repository-advisory-reported" } } } @@ -16814,16 +16653,16 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "repository_import", - "supported-webhook-types": ["repository", "organization"] + "subcategory": "repository_advisory", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "repository-privatized": { + "repository-archived": { "post": { "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-cloud@latest//repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-cloud@latest//rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "The visibility of a repository was changed to `private`.", - "operationId": "repository/privatized", + "description": "A repository was archived.", + "operationId": "repository/archived", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository" }, @@ -16876,7 +16715,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-repository-privatized" + "$ref": "#/components/schemas/webhook-repository-archived" } } } @@ -16899,11 +16738,11 @@ } } }, - "repository-publicized": { + "repository-created": { "post": { "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-cloud@latest//repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-cloud@latest//rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "The visibility of a repository was changed to `public`.", - "operationId": "repository/publicized", + "description": "A repository was created.", + "operationId": "repository/created", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository" }, @@ -16956,7 +16795,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-repository-publicized" + "$ref": "#/components/schemas/webhook-repository-created" } } } @@ -16979,11 +16818,11 @@ } } }, - "repository-renamed": { + "repository-deleted": { "post": { "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-cloud@latest//repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-cloud@latest//rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "The name of a repository was changed.", - "operationId": "repository/renamed", + "description": "A repository was deleted. GitHub Apps and repository webhooks will not receive this event.", + "operationId": "repository/deleted", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository" }, @@ -17036,7 +16875,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-repository-renamed" + "$ref": "#/components/schemas/webhook-repository-deleted" } } } @@ -17059,13 +16898,12 @@ } } }, - "repository-ruleset-created": { + "repository-dispatch-sample.collected": { "post": { - "summary": "This event occurs when there is activity relating to repository rulesets.\nFor more information about repository rulesets, see \"[Managing rulesets](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets).\"\nFor more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repositoryruleset) in the GraphQL documentation or \"[Repository rules](https://docs.github.com/enterprise-cloud@latest//rest/repos/rules)\" and \"[Organization rules](https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules) in the REST API documentation.\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository or organization permission.", - "description": "A repository ruleset was created.", - "operationId": "repository-ruleset/created", + "summary": "This event occurs when a GitHub App sends a `POST` request to `/repos/{owner}/{repo}/dispatches`. For more information, see [the REST API documentation for creating a repository dispatch event](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event). In the payload, the `action` will be the `event_type` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", + "operationId": "repository-dispatch/sample.collected", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository_ruleset" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository_dispatch" }, "parameters": [ { @@ -17116,7 +16954,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-repository-ruleset-created" + "$ref": "#/components/schemas/webhook-repository-dispatch-sample" } } } @@ -17129,18 +16967,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "repository_ruleset", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "repository_dispatch", + "supported-webhook-types": ["app"] } } }, - "repository-ruleset-deleted": { + "repository-edited": { "post": { - "summary": "This event occurs when there is activity relating to repository rulesets.\nFor more information about repository rulesets, see \"[Managing rulesets](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets).\"\nFor more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repositoryruleset) in the GraphQL documentation or \"[Repository rules](https://docs.github.com/enterprise-cloud@latest//rest/repos/rules)\" and \"[Organization rules](https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules) in the REST API documentation.\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository or organization permission.", - "description": "A repository ruleset was deleted.", - "operationId": "repository-ruleset/deleted", + "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-cloud@latest//repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-cloud@latest//rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "description": "The topics, default branch, description, or homepage of a repository was changed.", + "operationId": "repository/edited", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository_ruleset" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository" }, "parameters": [ { @@ -17191,7 +17029,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-repository-ruleset-deleted" + "$ref": "#/components/schemas/webhook-repository-edited" } } } @@ -17204,18 +17042,22 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "repository_ruleset", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "repository", + "supported-webhook-types": [ + "business", + "repository", + "organization", + "app" + ] } } }, - "repository-ruleset-edited": { + "repository-import": { "post": { - "summary": "This event occurs when there is activity relating to repository rulesets.\nFor more information about repository rulesets, see \"[Managing rulesets](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets).\"\nFor more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repositoryruleset) in the GraphQL documentation or \"[Repository rules](https://docs.github.com/enterprise-cloud@latest//rest/repos/rules)\" and \"[Organization rules](https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules) in the REST API documentation.\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository or organization permission.", - "description": "A repository ruleset was edited.", - "operationId": "repository-ruleset/edited", + "summary": "This event occurs when a repository is imported to GitHub Enterprise Cloud. For more information, see \"[Importing a repository with GitHub Importer](https://docs.github.com/enterprise-cloud@latest//get-started/importing-your-projects-to-github/importing-source-code-to-github/importing-a-repository-with-github-importer).\" For more information about the API to manage imports, see [the REST API documentation](https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports).", + "operationId": "repository-import", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository_ruleset" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository_import" }, "parameters": [ { @@ -17266,7 +17108,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-repository-ruleset-edited" + "$ref": "#/components/schemas/webhook-repository-import" } } } @@ -17279,16 +17121,16 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "repository_ruleset", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "repository_import", + "supported-webhook-types": ["repository", "organization"] } } }, - "repository-transferred": { + "repository-privatized": { "post": { "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-cloud@latest//repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-cloud@latest//rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "Ownership of the repository was transferred to a user or organization account. This event is only sent to the account where the ownership is transferred. To receive the `repository.transferred` event, the new owner account must have the GitHub App installed, and the App must be subscribed to \"Repository\" events.", - "operationId": "repository/transferred", + "description": "The visibility of a repository was changed to `private`.", + "operationId": "repository/privatized", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository" }, @@ -17341,7 +17183,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-repository-transferred" + "$ref": "#/components/schemas/webhook-repository-privatized" } } } @@ -17364,11 +17206,11 @@ } } }, - "repository-unarchived": { + "repository-publicized": { "post": { "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-cloud@latest//repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-cloud@latest//rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "A previously archived repository was unarchived.", - "operationId": "repository/unarchived", + "description": "The visibility of a repository was changed to `public`.", + "operationId": "repository/publicized", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository" }, @@ -17421,7 +17263,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-repository-unarchived" + "$ref": "#/components/schemas/webhook-repository-publicized" } } } @@ -17444,13 +17286,13 @@ } } }, - "repository-vulnerability-alert-create": { + "repository-renamed": { "post": { - "summary": "This event occurs when there is activity relating to a security vulnerability alert in a repository.\n\n> [!WARNING]\n> **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead.", - "description": "A repository vulnerability alert was created.", - "operationId": "repository-vulnerability-alert/create", + "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-cloud@latest//repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-cloud@latest//rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "description": "The name of a repository was changed.", + "operationId": "repository/renamed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository_vulnerability_alert" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository" }, "parameters": [ { @@ -17501,7 +17343,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-repository-vulnerability-alert-create" + "$ref": "#/components/schemas/webhook-repository-renamed" } } } @@ -17514,18 +17356,23 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "repository_vulnerability_alert", - "supported-webhook-types": ["repository", "organization"] + "subcategory": "repository", + "supported-webhook-types": [ + "business", + "repository", + "organization", + "app" + ] } } }, - "repository-vulnerability-alert-dismiss": { + "repository-ruleset-created": { "post": { - "summary": "This event occurs when there is activity relating to a security vulnerability alert in a repository.\n\n> [!WARNING]\n> **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead.", - "description": "A repository vulnerability alert was dismissed.", - "operationId": "repository-vulnerability-alert/dismiss", + "summary": "This event occurs when there is activity relating to repository rulesets.\nFor more information about repository rulesets, see \"[Managing rulesets](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets).\"\nFor more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repositoryruleset) in the GraphQL documentation or \"[Repository rules](https://docs.github.com/enterprise-cloud@latest//rest/repos/rules)\" and \"[Organization rules](https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules) in the REST API documentation.\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository or organization permission.", + "description": "A repository ruleset was created.", + "operationId": "repository-ruleset/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository_vulnerability_alert" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository_ruleset" }, "parameters": [ { @@ -17576,7 +17423,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-repository-vulnerability-alert-dismiss" + "$ref": "#/components/schemas/webhook-repository-ruleset-created" } } } @@ -17589,18 +17436,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "repository_vulnerability_alert", - "supported-webhook-types": ["repository", "organization"] + "subcategory": "repository_ruleset", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "repository-vulnerability-alert-reopen": { + "repository-ruleset-deleted": { "post": { - "summary": "This event occurs when there is activity relating to a security vulnerability alert in a repository.\n\n> [!WARNING]\n> **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead.", - "description": "A previously dismissed or resolved repository vulnerability alert was reopened.", - "operationId": "repository-vulnerability-alert/reopen", + "summary": "This event occurs when there is activity relating to repository rulesets.\nFor more information about repository rulesets, see \"[Managing rulesets](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets).\"\nFor more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repositoryruleset) in the GraphQL documentation or \"[Repository rules](https://docs.github.com/enterprise-cloud@latest//rest/repos/rules)\" and \"[Organization rules](https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules) in the REST API documentation.\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository or organization permission.", + "description": "A repository ruleset was deleted.", + "operationId": "repository-ruleset/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository_vulnerability_alert" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository_ruleset" }, "parameters": [ { @@ -17651,7 +17498,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-repository-vulnerability-alert-reopen" + "$ref": "#/components/schemas/webhook-repository-ruleset-deleted" } } } @@ -17664,18 +17511,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "repository_vulnerability_alert", - "supported-webhook-types": ["repository", "organization"] + "subcategory": "repository_ruleset", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "repository-vulnerability-alert-resolve": { + "repository-ruleset-edited": { "post": { - "summary": "This event occurs when there is activity relating to a security vulnerability alert in a repository.\n\n> [!WARNING]\n> **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead.", - "description": "A repository vulnerability alert was marked as resolved.", - "operationId": "repository-vulnerability-alert/resolve", + "summary": "This event occurs when there is activity relating to repository rulesets.\nFor more information about repository rulesets, see \"[Managing rulesets](https://docs.github.com/enterprise-cloud@latest//repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets).\"\nFor more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repositoryruleset) in the GraphQL documentation or \"[Repository rules](https://docs.github.com/enterprise-cloud@latest//rest/repos/rules)\" and \"[Organization rules](https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules) in the REST API documentation.\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository or organization permission.", + "description": "A repository ruleset was edited.", + "operationId": "repository-ruleset/edited", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository_vulnerability_alert" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository_ruleset" }, "parameters": [ { @@ -17726,7 +17573,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-repository-vulnerability-alert-resolve" + "$ref": "#/components/schemas/webhook-repository-ruleset-edited" } } } @@ -17739,18 +17586,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "repository_vulnerability_alert", - "supported-webhook-types": ["repository", "organization"] + "subcategory": "repository_ruleset", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "secret-scanning-alert-created": { + "repository-transferred": { "post": { - "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", - "description": "A secret scanning alert was created.", - "operationId": "secret-scanning-alert/created", + "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-cloud@latest//repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-cloud@latest//rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "description": "Ownership of the repository was transferred to a user or organization account. This event is only sent to the account where the ownership is transferred. To receive the `repository.transferred` event, the new owner account must have the GitHub App installed, and the App must be subscribed to \"Repository\" events.", + "operationId": "repository/transferred", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#secret_scanning_alert" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository" }, "parameters": [ { @@ -17801,7 +17648,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-secret-scanning-alert-created" + "$ref": "#/components/schemas/webhook-repository-transferred" } } } @@ -17814,18 +17661,23 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "secret_scanning_alert", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "repository", + "supported-webhook-types": [ + "business", + "repository", + "organization", + "app" + ] } } }, - "secret-scanning-alert-location-created": { + "repository-unarchived": { "post": { - "summary": "This event occurs when there is activity relating to the locations of a secret in a secret scanning alert.\n\nFor more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alerts, use the `secret_scanning_alert` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", - "description": "A new instance of a previously detected secret was detected in a repository, and the location of the secret was added to the existing alert.", - "operationId": "secret-scanning-alert-location/created", + "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-cloud@latest//repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-cloud@latest//rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "description": "A previously archived repository was unarchived.", + "operationId": "repository/unarchived", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#secret_scanning_alert_location" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository" }, "parameters": [ { @@ -17876,22 +17728,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-secret-scanning-alert-location-created" - }, - "examples": { - "default": { - "$ref": "#/components/examples/secret-scanning-alert-location-created" - } - } - }, - "application/x-www-form-urlencoded": { - "schema": { - "$ref": "#/components/schemas/webhook-secret-scanning-alert-location-created-form-encoded" - }, - "examples": { - "default": { - "$ref": "#/components/examples/secret-scanning-alert-location-created-form-encoded" - } + "$ref": "#/components/schemas/webhook-repository-unarchived" } } } @@ -17903,20 +17740,24 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "secret_scanning_alert_location", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "repository", + "supported-webhook-types": [ + "business", + "repository", + "organization", + "app" + ] } } }, - "secret-scanning-alert-publicly-leaked": { + "repository-vulnerability-alert-create": { "post": { - "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", - "description": "A secret scanning alert was detected in a public repo.", - "operationId": "secret-scanning-alert/publicly-leaked", + "summary": "This event occurs when there is activity relating to a security vulnerability alert in a repository.\n\n> [!WARNING]\n> **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead.", + "description": "A repository vulnerability alert was created.", + "operationId": "repository-vulnerability-alert/create", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#secret_scanning_alert" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository_vulnerability_alert" }, "parameters": [ { @@ -17967,7 +17808,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-secret-scanning-alert-publicly-leaked" + "$ref": "#/components/schemas/webhook-repository-vulnerability-alert-create" } } } @@ -17980,18 +17821,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "secret_scanning_alert", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "repository_vulnerability_alert", + "supported-webhook-types": ["repository", "organization"] } } }, - "secret-scanning-alert-reopened": { + "repository-vulnerability-alert-dismiss": { "post": { - "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", - "description": "A previously closed secret scanning alert was reopened.", - "operationId": "secret-scanning-alert/reopened", + "summary": "This event occurs when there is activity relating to a security vulnerability alert in a repository.\n\n> [!WARNING]\n> **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead.", + "description": "A repository vulnerability alert was dismissed.", + "operationId": "repository-vulnerability-alert/dismiss", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#secret_scanning_alert" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository_vulnerability_alert" }, "parameters": [ { @@ -18042,7 +17883,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-secret-scanning-alert-reopened" + "$ref": "#/components/schemas/webhook-repository-vulnerability-alert-dismiss" } } } @@ -18055,18 +17896,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "secret_scanning_alert", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "repository_vulnerability_alert", + "supported-webhook-types": ["repository", "organization"] } } }, - "secret-scanning-alert-resolved": { + "repository-vulnerability-alert-reopen": { "post": { - "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", - "description": "A secret scanning alert was closed.", - "operationId": "secret-scanning-alert/resolved", + "summary": "This event occurs when there is activity relating to a security vulnerability alert in a repository.\n\n> [!WARNING]\n> **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead.", + "description": "A previously dismissed or resolved repository vulnerability alert was reopened.", + "operationId": "repository-vulnerability-alert/reopen", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#secret_scanning_alert" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository_vulnerability_alert" }, "parameters": [ { @@ -18117,7 +17958,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-secret-scanning-alert-resolved" + "$ref": "#/components/schemas/webhook-repository-vulnerability-alert-reopen" } } } @@ -18130,18 +17971,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "secret_scanning_alert", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "repository_vulnerability_alert", + "supported-webhook-types": ["repository", "organization"] } } }, - "secret-scanning-alert-validated": { + "repository-vulnerability-alert-resolve": { "post": { - "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", - "description": "A secret scanning alert was validated.", - "operationId": "secret-scanning-alert/validated", + "summary": "This event occurs when there is activity relating to a security vulnerability alert in a repository.\n\n> [!WARNING]\n> **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead.", + "description": "A repository vulnerability alert was marked as resolved.", + "operationId": "repository-vulnerability-alert/resolve", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#secret_scanning_alert" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#repository_vulnerability_alert" }, "parameters": [ { @@ -18192,7 +18033,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-secret-scanning-alert-validated" + "$ref": "#/components/schemas/webhook-repository-vulnerability-alert-resolve" } } } @@ -18205,18 +18046,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "secret_scanning_alert", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "repository_vulnerability_alert", + "supported-webhook-types": ["repository", "organization"] } } }, - "secret-scanning-scan-completed": { + "secret-scanning-alert-created": { "post": { - "summary": "This event occurs when secret scanning completes certain scans on a repository. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning).\"\n\nScans can originate from multiple events such as updates to a custom pattern, a push to a repository, or updates\nto patterns from partners. For more information on custom patterns, see \"[About custom patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/custom-patterns).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", - "description": "A secret scanning scan was completed.", - "operationId": "secret-scanning-scan/completed", + "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", + "description": "A secret scanning alert was created.", + "operationId": "secret-scanning-alert/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#secret_scanning_scan" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#secret_scanning_alert" }, "parameters": [ { @@ -18267,7 +18108,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-secret-scanning-scan-completed" + "$ref": "#/components/schemas/webhook-secret-scanning-alert-created" } } } @@ -18280,18 +18121,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "secret_scanning_scan", + "subcategory": "secret_scanning_alert", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "security-advisory-published": { + "secret-scanning-alert-location-created": { "post": { - "summary": "This event occurs when there is activity relating to a global security advisory that was reviewed by GitHub. A GitHub-reviewed global security advisory provides information about security vulnerabilities or malware that have been mapped to packages in ecosystems we support. For more information about global security advisories, see \"[About global security advisories](https://docs.github.com/enterprise-cloud@latest//code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-global-security-advisories).\" For information about the API to manage security advisories, see [the REST API documentation](https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories) or [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#securityadvisory).\n\nGitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see \"[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\"", - "description": "A security advisory was published to the GitHub community.", - "operationId": "security-advisory/published", + "summary": "This event occurs when there is activity relating to the locations of a secret in a secret scanning alert.\n\nFor more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alerts, use the `secret_scanning_alert` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", + "description": "A new instance of a previously detected secret was detected in a repository, and the location of the secret was added to the existing alert.", + "operationId": "secret-scanning-alert-location/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#security_advisory" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#secret_scanning_alert_location" }, "parameters": [ { @@ -18342,82 +18183,22 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-security-advisory-published" + "$ref": "#/components/schemas/webhook-secret-scanning-alert-location-created" + }, + "examples": { + "default": { + "$ref": "#/components/examples/secret-scanning-alert-location-created" + } } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "security_advisory", - "supported-webhook-types": ["app"] - } - } - }, - "security-advisory-updated": { - "post": { - "summary": "This event occurs when there is activity relating to a global security advisory that was reviewed by GitHub. A GitHub-reviewed global security advisory provides information about security vulnerabilities or malware that have been mapped to packages in ecosystems we support. For more information about global security advisories, see \"[About global security advisories](https://docs.github.com/enterprise-cloud@latest//code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-global-security-advisories).\" For information about the API to manage security advisories, see [the REST API documentation](https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories) or [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#securityadvisory).\n\nGitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see \"[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\"", - "description": "The metadata or description of a security advisory was changed.", - "operationId": "security-advisory/updated", - "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#security_advisory" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { + }, + "application/x-www-form-urlencoded": { "schema": { - "$ref": "#/components/schemas/webhook-security-advisory-updated" + "$ref": "#/components/schemas/webhook-secret-scanning-alert-location-created-form-encoded" + }, + "examples": { + "default": { + "$ref": "#/components/examples/secret-scanning-alert-location-created-form-encoded" + } } } } @@ -18429,19 +18210,20 @@ }, "x-github": { "githubCloudOnly": false, + "enabledForGitHubApps": true, "category": "webhooks", - "subcategory": "security_advisory", - "supported-webhook-types": ["app"] + "subcategory": "secret_scanning_alert_location", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "security-advisory-withdrawn": { + "secret-scanning-alert-publicly-leaked": { "post": { - "summary": "This event occurs when there is activity relating to a global security advisory that was reviewed by GitHub. A GitHub-reviewed global security advisory provides information about security vulnerabilities or malware that have been mapped to packages in ecosystems we support. For more information about global security advisories, see \"[About global security advisories](https://docs.github.com/enterprise-cloud@latest//code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-global-security-advisories).\" For information about the API to manage security advisories, see [the REST API documentation](https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories) or [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#securityadvisory).\n\nGitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see \"[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\"", - "description": "A previously published security advisory was withdrawn.", - "operationId": "security-advisory/withdrawn", + "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", + "description": "A secret scanning alert was detected in a public repo.", + "operationId": "secret-scanning-alert/publicly-leaked", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#security_advisory" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#secret_scanning_alert" }, "parameters": [ { @@ -18492,7 +18274,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-security-advisory-withdrawn" + "$ref": "#/components/schemas/webhook-secret-scanning-alert-publicly-leaked" } } } @@ -18505,17 +18287,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "security_advisory", - "supported-webhook-types": ["app"] + "subcategory": "secret_scanning_alert", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "security-and-analysis": { + "secret-scanning-alert-reopened": { "post": { - "summary": "This event occurs when code security and analysis features are enabled or disabled for a repository. For more information, see \"[GitHub security features](https://docs.github.com/enterprise-cloud@latest//code-security/getting-started/github-security-features).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository permission.", - "operationId": "security-and-analysis", + "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", + "description": "A previously closed secret scanning alert was reopened.", + "operationId": "secret-scanning-alert/reopened", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#security_and_analysis" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#secret_scanning_alert" }, "parameters": [ { @@ -18566,7 +18349,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-security-and-analysis" + "$ref": "#/components/schemas/webhook-secret-scanning-alert-reopened" } } } @@ -18579,18 +18362,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "security_and_analysis", + "subcategory": "secret_scanning_alert", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "sponsorship-cancelled": { + "secret-scanning-alert-resolved": { "post": { - "summary": "This event occurs when there is activity relating to a sponsorship listing. For more information, see \"[About GitHub Sponsors](https://docs.github.com/enterprise-cloud@latest//sponsors/getting-started-with-github-sponsors/about-github-sponsors).\" For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#sponsorship).\n\nYou can only create a sponsorship webhook on GitHub.com. For more information, see \"[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-cloud@latest//sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account).\"", - "description": "A sponsorship was cancelled and the last billing cycle has ended.\n\nThis event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships.", - "operationId": "sponsorship/cancelled", + "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", + "description": "A secret scanning alert was closed.", + "operationId": "secret-scanning-alert/resolved", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#sponsorship" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#secret_scanning_alert" }, "parameters": [ { @@ -18641,7 +18424,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-sponsorship-cancelled" + "$ref": "#/components/schemas/webhook-secret-scanning-alert-resolved" } } } @@ -18654,18 +18437,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "sponsorship", - "supported-webhook-types": ["sponsors_listing"] + "subcategory": "secret_scanning_alert", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "sponsorship-created": { + "secret-scanning-alert-validated": { "post": { - "summary": "This event occurs when there is activity relating to a sponsorship listing. For more information, see \"[About GitHub Sponsors](https://docs.github.com/enterprise-cloud@latest//sponsors/getting-started-with-github-sponsors/about-github-sponsors).\" For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#sponsorship).\n\nYou can only create a sponsorship webhook on GitHub.com. For more information, see \"[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-cloud@latest//sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account).\"", - "description": "A sponsor created a sponsorship for a sponsored account. This event occurs once the payment is successfully processed.", - "operationId": "sponsorship/created", + "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", + "description": "A secret scanning alert was validated.", + "operationId": "secret-scanning-alert/validated", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#sponsorship" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#secret_scanning_alert" }, "parameters": [ { @@ -18716,7 +18499,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-sponsorship-created" + "$ref": "#/components/schemas/webhook-secret-scanning-alert-validated" } } } @@ -18729,18 +18512,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "sponsorship", - "supported-webhook-types": ["sponsors_listing"] + "subcategory": "secret_scanning_alert", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "sponsorship-edited": { + "secret-scanning-scan-completed": { "post": { - "summary": "This event occurs when there is activity relating to a sponsorship listing. For more information, see \"[About GitHub Sponsors](https://docs.github.com/enterprise-cloud@latest//sponsors/getting-started-with-github-sponsors/about-github-sponsors).\" For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#sponsorship).\n\nYou can only create a sponsorship webhook on GitHub.com. For more information, see \"[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-cloud@latest//sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account).\"", - "description": "A monthly sponsor changed who can see their sponsorship. If you recognize your sponsors publicly, you may want to update your sponsor recognition to reflect the change when this event occurs.", - "operationId": "sponsorship/edited", + "summary": "This event occurs when secret scanning completes certain scans on a repository. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/about-secret-scanning).\"\n\nScans can originate from multiple events such as updates to a custom pattern, a push to a repository, or updates\nto patterns from partners. For more information on custom patterns, see \"[About custom patterns](https://docs.github.com/enterprise-cloud@latest//code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/custom-patterns).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", + "description": "A secret scanning scan was completed.", + "operationId": "secret-scanning-scan/completed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#sponsorship" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#secret_scanning_scan" }, "parameters": [ { @@ -18791,7 +18574,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-sponsorship-edited" + "$ref": "#/components/schemas/webhook-secret-scanning-scan-completed" } } } @@ -18804,18 +18587,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "sponsorship", - "supported-webhook-types": ["sponsors_listing"] + "subcategory": "secret_scanning_scan", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "sponsorship-pending-cancellation": { + "security-advisory-published": { "post": { - "summary": "This event occurs when there is activity relating to a sponsorship listing. For more information, see \"[About GitHub Sponsors](https://docs.github.com/enterprise-cloud@latest//sponsors/getting-started-with-github-sponsors/about-github-sponsors).\" For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#sponsorship).\n\nYou can only create a sponsorship webhook on GitHub.com. For more information, see \"[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-cloud@latest//sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account).\"", - "description": "A sponsor scheduled a cancellation for their sponsorship. The cancellation will become effective on their next billing date.\n\nThis event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships.", - "operationId": "sponsorship/pending-cancellation", + "summary": "This event occurs when there is activity relating to a global security advisory that was reviewed by GitHub. A GitHub-reviewed global security advisory provides information about security vulnerabilities or malware that have been mapped to packages in ecosystems we support. For more information about global security advisories, see \"[About global security advisories](https://docs.github.com/enterprise-cloud@latest//code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-global-security-advisories).\" For information about the API to manage security advisories, see [the REST API documentation](https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories) or [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#securityadvisory).\n\nGitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see \"[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\"", + "description": "A security advisory was published to the GitHub community.", + "operationId": "security-advisory/published", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#sponsorship" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#security_advisory" }, "parameters": [ { @@ -18866,7 +18649,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-sponsorship-pending-cancellation" + "$ref": "#/components/schemas/webhook-security-advisory-published" } } } @@ -18879,18 +18662,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "sponsorship", - "supported-webhook-types": ["sponsors_listing"] + "subcategory": "security_advisory", + "supported-webhook-types": ["app"] } } }, - "sponsorship-pending-tier-change": { + "security-advisory-updated": { "post": { - "summary": "This event occurs when there is activity relating to a sponsorship listing. For more information, see \"[About GitHub Sponsors](https://docs.github.com/enterprise-cloud@latest//sponsors/getting-started-with-github-sponsors/about-github-sponsors).\" For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#sponsorship).\n\nYou can only create a sponsorship webhook on GitHub.com. For more information, see \"[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-cloud@latest//sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account).\"", - "description": "A sponsor scheduled a downgrade to a lower sponsorship tier. The new tier will become effective on their next billing date.", - "operationId": "sponsorship/pending-tier-change", + "summary": "This event occurs when there is activity relating to a global security advisory that was reviewed by GitHub. A GitHub-reviewed global security advisory provides information about security vulnerabilities or malware that have been mapped to packages in ecosystems we support. For more information about global security advisories, see \"[About global security advisories](https://docs.github.com/enterprise-cloud@latest//code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-global-security-advisories).\" For information about the API to manage security advisories, see [the REST API documentation](https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories) or [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#securityadvisory).\n\nGitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see \"[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\"", + "description": "The metadata or description of a security advisory was changed.", + "operationId": "security-advisory/updated", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#sponsorship" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#security_advisory" }, "parameters": [ { @@ -18941,7 +18724,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-sponsorship-pending-tier-change" + "$ref": "#/components/schemas/webhook-security-advisory-updated" } } } @@ -18954,18 +18737,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "sponsorship", - "supported-webhook-types": ["sponsors_listing"] + "subcategory": "security_advisory", + "supported-webhook-types": ["app"] } } }, - "sponsorship-tier-changed": { + "security-advisory-withdrawn": { "post": { - "summary": "This event occurs when there is activity relating to a sponsorship listing. For more information, see \"[About GitHub Sponsors](https://docs.github.com/enterprise-cloud@latest//sponsors/getting-started-with-github-sponsors/about-github-sponsors).\" For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#sponsorship).\n\nYou can only create a sponsorship webhook on GitHub.com. For more information, see \"[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-cloud@latest//sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account).\"", - "description": "A sponsor changed the tier of their sponsorship and the change has taken effect. If a sponsor upgraded their tier, the change took effect immediately. If a sponsor downgraded their tier, the change took effect at the beginning of the sponsor's next billing cycle.", - "operationId": "sponsorship/tier-changed", + "summary": "This event occurs when there is activity relating to a global security advisory that was reviewed by GitHub. A GitHub-reviewed global security advisory provides information about security vulnerabilities or malware that have been mapped to packages in ecosystems we support. For more information about global security advisories, see \"[About global security advisories](https://docs.github.com/enterprise-cloud@latest//code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-global-security-advisories).\" For information about the API to manage security advisories, see [the REST API documentation](https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories) or [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#securityadvisory).\n\nGitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see \"[About Dependabot alerts](https://docs.github.com/enterprise-cloud@latest//code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\"", + "description": "A previously published security advisory was withdrawn.", + "operationId": "security-advisory/withdrawn", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#sponsorship" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#security_advisory" }, "parameters": [ { @@ -19016,7 +18799,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-sponsorship-tier-changed" + "$ref": "#/components/schemas/webhook-security-advisory-withdrawn" } } } @@ -19029,18 +18812,17 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "sponsorship", - "supported-webhook-types": ["sponsors_listing"] + "subcategory": "security_advisory", + "supported-webhook-types": ["app"] } } }, - "star-created": { + "security-and-analysis": { "post": { - "summary": "This event occurs when there is activity relating to repository stars. For more information about stars, see \"[Saving repositories with stars](https://docs.github.com/enterprise-cloud@latest//get-started/exploring-projects-on-github/saving-repositories-with-stars).\" For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#starredrepositoryconnection) or \"[Starring](https://docs.github.com/enterprise-cloud@latest//rest/activity/starring)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "Someone starred a repository.", - "operationId": "star/created", + "summary": "This event occurs when code security and analysis features are enabled or disabled for a repository. For more information, see \"[GitHub security features](https://docs.github.com/enterprise-cloud@latest//code-security/getting-started/github-security-features).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository permission.", + "operationId": "security-and-analysis", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#star" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#security_and_analysis" }, "parameters": [ { @@ -19090,7 +18872,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-star-created" } + "schema": { + "$ref": "#/components/schemas/webhook-security-and-analysis" + } } } }, @@ -19102,18 +18886,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "star", + "subcategory": "security_and_analysis", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "star-deleted": { + "sponsorship-cancelled": { "post": { - "summary": "This event occurs when there is activity relating to repository stars. For more information about stars, see \"[Saving repositories with stars](https://docs.github.com/enterprise-cloud@latest//get-started/exploring-projects-on-github/saving-repositories-with-stars).\" For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#starredrepositoryconnection) or \"[Starring](https://docs.github.com/enterprise-cloud@latest//rest/activity/starring)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "Someone unstarred the repository.", - "operationId": "star/deleted", + "summary": "This event occurs when there is activity relating to a sponsorship listing. For more information, see \"[About GitHub Sponsors](https://docs.github.com/enterprise-cloud@latest//sponsors/getting-started-with-github-sponsors/about-github-sponsors).\" For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#sponsorship).\n\nYou can only create a sponsorship webhook on GitHub.com. For more information, see \"[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-cloud@latest//sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account).\"", + "description": "A sponsorship was cancelled and the last billing cycle has ended.\n\nThis event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships.", + "operationId": "sponsorship/cancelled", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#star" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#sponsorship" }, "parameters": [ { @@ -19163,7 +18947,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-star-deleted" } + "schema": { + "$ref": "#/components/schemas/webhook-sponsorship-cancelled" + } } } }, @@ -19175,17 +18961,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "star", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "sponsorship", + "supported-webhook-types": ["sponsors_listing"] } } }, - "status": { + "sponsorship-created": { "post": { - "summary": "This event occurs when the status of a Git commit changes. For example, commits can be marked as `error`, `failure`, `pending`, or `success`. For more information, see \"[About status checks](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks).\" For information about the APIs to manage commit statuses, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#status) or \"[Commit statuses](https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Commit statuses\" repository permission.", - "operationId": "status", + "summary": "This event occurs when there is activity relating to a sponsorship listing. For more information, see \"[About GitHub Sponsors](https://docs.github.com/enterprise-cloud@latest//sponsors/getting-started-with-github-sponsors/about-github-sponsors).\" For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#sponsorship).\n\nYou can only create a sponsorship webhook on GitHub.com. For more information, see \"[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-cloud@latest//sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account).\"", + "description": "A sponsor created a sponsorship for a sponsored account. This event occurs once the payment is successfully processed.", + "operationId": "sponsorship/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#status" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#sponsorship" }, "parameters": [ { @@ -19235,7 +19022,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-status" } + "schema": { + "$ref": "#/components/schemas/webhook-sponsorship-created" + } } } }, @@ -19247,18 +19036,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "status", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "sponsorship", + "supported-webhook-types": ["sponsors_listing"] } } }, - "sub-issues-parent-issue-added": { + "sponsorship-edited": { "post": { - "summary": "This event occurs when there is activity relating to sub-issues.\n\nFor activity relating to issues more generally, use the `issues` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permissions.", - "description": "A parent issue was added to an issue.", - "operationId": "sub-issues/parent-issue-added", + "summary": "This event occurs when there is activity relating to a sponsorship listing. For more information, see \"[About GitHub Sponsors](https://docs.github.com/enterprise-cloud@latest//sponsors/getting-started-with-github-sponsors/about-github-sponsors).\" For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#sponsorship).\n\nYou can only create a sponsorship webhook on GitHub.com. For more information, see \"[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-cloud@latest//sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account).\"", + "description": "A monthly sponsor changed who can see their sponsorship. If you recognize your sponsors publicly, you may want to update your sponsor recognition to reflect the change when this event occurs.", + "operationId": "sponsorship/edited", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#sub-issues" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#sponsorship" }, "parameters": [ { @@ -19309,7 +19098,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-sub-issues-parent-issue-added" + "$ref": "#/components/schemas/webhook-sponsorship-edited" } } } @@ -19322,18 +19111,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "sub-issues", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "sponsorship", + "supported-webhook-types": ["sponsors_listing"] } } }, - "sub-issues-parent-issue-removed": { + "sponsorship-pending-cancellation": { "post": { - "summary": "This event occurs when there is activity relating to sub-issues.\n\nFor activity relating to issues more generally, use the `issues` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permissions.", - "description": "A parent issue was removed from an issue.", - "operationId": "sub-issues/parent-issue-removed", + "summary": "This event occurs when there is activity relating to a sponsorship listing. For more information, see \"[About GitHub Sponsors](https://docs.github.com/enterprise-cloud@latest//sponsors/getting-started-with-github-sponsors/about-github-sponsors).\" For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#sponsorship).\n\nYou can only create a sponsorship webhook on GitHub.com. For more information, see \"[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-cloud@latest//sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account).\"", + "description": "A sponsor scheduled a cancellation for their sponsorship. The cancellation will become effective on their next billing date.\n\nThis event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships.", + "operationId": "sponsorship/pending-cancellation", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#sub-issues" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#sponsorship" }, "parameters": [ { @@ -19384,7 +19173,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-sub-issues-parent-issue-removed" + "$ref": "#/components/schemas/webhook-sponsorship-pending-cancellation" } } } @@ -19397,18 +19186,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "sub-issues", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "sponsorship", + "supported-webhook-types": ["sponsors_listing"] } } }, - "sub-issues-sub-issue-added": { + "sponsorship-pending-tier-change": { "post": { - "summary": "This event occurs when there is activity relating to sub-issues.\n\nFor activity relating to issues more generally, use the `issues` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permissions.", - "description": "A sub-issue was added to an issue.", - "operationId": "sub-issues/sub-issue-added", + "summary": "This event occurs when there is activity relating to a sponsorship listing. For more information, see \"[About GitHub Sponsors](https://docs.github.com/enterprise-cloud@latest//sponsors/getting-started-with-github-sponsors/about-github-sponsors).\" For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#sponsorship).\n\nYou can only create a sponsorship webhook on GitHub.com. For more information, see \"[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-cloud@latest//sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account).\"", + "description": "A sponsor scheduled a downgrade to a lower sponsorship tier. The new tier will become effective on their next billing date.", + "operationId": "sponsorship/pending-tier-change", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#sub-issues" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#sponsorship" }, "parameters": [ { @@ -19459,7 +19248,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-sub-issues-sub-issue-added" + "$ref": "#/components/schemas/webhook-sponsorship-pending-tier-change" } } } @@ -19472,18 +19261,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "sub-issues", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "sponsorship", + "supported-webhook-types": ["sponsors_listing"] } } }, - "sub-issues-sub-issue-removed": { + "sponsorship-tier-changed": { "post": { - "summary": "This event occurs when there is activity relating to sub-issues.\n\nFor activity relating to issues more generally, use the `issues` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permissions.", - "description": "A sub-issue was removed from an issue.", - "operationId": "sub-issues/sub-issue-removed", + "summary": "This event occurs when there is activity relating to a sponsorship listing. For more information, see \"[About GitHub Sponsors](https://docs.github.com/enterprise-cloud@latest//sponsors/getting-started-with-github-sponsors/about-github-sponsors).\" For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#sponsorship).\n\nYou can only create a sponsorship webhook on GitHub.com. For more information, see \"[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-cloud@latest//sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account).\"", + "description": "A sponsor changed the tier of their sponsorship and the change has taken effect. If a sponsor upgraded their tier, the change took effect immediately. If a sponsor downgraded their tier, the change took effect at the beginning of the sponsor's next billing cycle.", + "operationId": "sponsorship/tier-changed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#sub-issues" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#sponsorship" }, "parameters": [ { @@ -19534,7 +19323,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-sub-issues-sub-issue-removed" + "$ref": "#/components/schemas/webhook-sponsorship-tier-changed" } } } @@ -19547,17 +19336,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "sub-issues", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "sponsorship", + "supported-webhook-types": ["sponsors_listing"] } } }, - "team-add": { + "star-created": { "post": { - "summary": "This event occurs when a team is added to a repository.\nFor more information, see \"[Managing teams and people with access to your repository](https://docs.github.com/enterprise-cloud@latest//repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-teams-and-people-with-access-to-your-repository).\"\n\nFor activity relating to teams, see the `teams` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "operationId": "team-add", + "summary": "This event occurs when there is activity relating to repository stars. For more information about stars, see \"[Saving repositories with stars](https://docs.github.com/enterprise-cloud@latest//get-started/exploring-projects-on-github/saving-repositories-with-stars).\" For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#starredrepositoryconnection) or \"[Starring](https://docs.github.com/enterprise-cloud@latest//rest/activity/starring)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "description": "Someone starred a repository.", + "operationId": "star/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#team_add" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#star" }, "parameters": [ { @@ -19607,7 +19397,7 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-team-add" } + "schema": { "$ref": "#/components/schemas/webhook-star-created" } } } }, @@ -19619,18 +19409,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "team_add", + "subcategory": "star", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "team-added-to-repository": { + "star-deleted": { "post": { - "summary": "This event occurs when there is activity relating to teams in an organization.\nFor more information, see \"[About teams](https://docs.github.com/enterprise-cloud@latest//organizations/organizing-members-into-teams/about-teams).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "A team was granted access to a repository.", - "operationId": "team/added-to-repository", + "summary": "This event occurs when there is activity relating to repository stars. For more information about stars, see \"[Saving repositories with stars](https://docs.github.com/enterprise-cloud@latest//get-started/exploring-projects-on-github/saving-repositories-with-stars).\" For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#starredrepositoryconnection) or \"[Starring](https://docs.github.com/enterprise-cloud@latest//rest/activity/starring)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "description": "Someone unstarred the repository.", + "operationId": "star/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#team" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#star" }, "parameters": [ { @@ -19680,9 +19470,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-team-added-to-repository" - } + "schema": { "$ref": "#/components/schemas/webhook-star-deleted" } } } }, @@ -19694,18 +19482,17 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "team", - "supported-webhook-types": ["organization", "business", "app"] + "subcategory": "star", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "team-created": { + "status": { "post": { - "summary": "This event occurs when there is activity relating to teams in an organization.\nFor more information, see \"[About teams](https://docs.github.com/enterprise-cloud@latest//organizations/organizing-members-into-teams/about-teams).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "A team was created.", - "operationId": "team/created", + "summary": "This event occurs when the status of a Git commit changes. For example, commits can be marked as `error`, `failure`, `pending`, or `success`. For more information, see \"[About status checks](https://docs.github.com/enterprise-cloud@latest//pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks).\" For information about the APIs to manage commit statuses, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#status) or \"[Commit statuses](https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Commit statuses\" repository permission.", + "operationId": "status", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#team" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#status" }, "parameters": [ { @@ -19755,7 +19542,7 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-team-created" } + "schema": { "$ref": "#/components/schemas/webhook-status" } } } }, @@ -19767,18 +19554,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "team", - "supported-webhook-types": ["organization", "business", "app"] + "subcategory": "status", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "team-deleted": { + "sub-issues-parent-issue-added": { "post": { - "summary": "This event occurs when there is activity relating to teams in an organization.\nFor more information, see \"[About teams](https://docs.github.com/enterprise-cloud@latest//organizations/organizing-members-into-teams/about-teams).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "A team was deleted.", - "operationId": "team/deleted", + "summary": "This event occurs when there is activity relating to sub-issues.\n\nFor activity relating to issues more generally, use the `issues` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permissions.", + "description": "A parent issue was added to an issue.", + "operationId": "sub-issues/parent-issue-added", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#team" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#sub-issues" }, "parameters": [ { @@ -19828,7 +19615,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-team-deleted" } + "schema": { + "$ref": "#/components/schemas/webhook-sub-issues-parent-issue-added" + } } } }, @@ -19840,18 +19629,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "team", - "supported-webhook-types": ["organization", "business", "app"] + "subcategory": "sub-issues", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "team-edited": { + "sub-issues-parent-issue-removed": { "post": { - "summary": "This event occurs when there is activity relating to teams in an organization.\nFor more information, see \"[About teams](https://docs.github.com/enterprise-cloud@latest//organizations/organizing-members-into-teams/about-teams).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "The name, description, or visibility of a team was changed.", - "operationId": "team/edited", + "summary": "This event occurs when there is activity relating to sub-issues.\n\nFor activity relating to issues more generally, use the `issues` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permissions.", + "description": "A parent issue was removed from an issue.", + "operationId": "sub-issues/parent-issue-removed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#team" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#sub-issues" }, "parameters": [ { @@ -19901,7 +19690,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-team-edited" } + "schema": { + "$ref": "#/components/schemas/webhook-sub-issues-parent-issue-removed" + } } } }, @@ -19913,18 +19704,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "team", - "supported-webhook-types": ["organization", "business", "app"] + "subcategory": "sub-issues", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "team-removed-from-repository": { + "sub-issues-sub-issue-added": { "post": { - "summary": "This event occurs when there is activity relating to teams in an organization.\nFor more information, see \"[About teams](https://docs.github.com/enterprise-cloud@latest//organizations/organizing-members-into-teams/about-teams).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "A team's access to a repository was removed.", - "operationId": "team/removed-from-repository", + "summary": "This event occurs when there is activity relating to sub-issues.\n\nFor activity relating to issues more generally, use the `issues` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permissions.", + "description": "A sub-issue was added to an issue.", + "operationId": "sub-issues/sub-issue-added", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#team" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#sub-issues" }, "parameters": [ { @@ -19975,7 +19766,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-team-removed-from-repository" + "$ref": "#/components/schemas/webhook-sub-issues-sub-issue-added" } } } @@ -19988,18 +19779,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "team", - "supported-webhook-types": ["organization", "business", "app"] + "subcategory": "sub-issues", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "watch-started": { + "sub-issues-sub-issue-removed": { "post": { - "summary": "This event occurs when there is activity relating to watching, or subscribing to, a repository. For more information about watching, see \"[Managing your subscriptions](https://docs.github.com/enterprise-cloud@latest//account-and-profile/managing-subscriptions-and-notifications-on-github/managing-subscriptions-for-activity-on-github/managing-your-subscriptions).\" For information about the APIs to manage watching, see \"[Watching](https://docs.github.com/enterprise-cloud@latest//rest/activity/watching)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "Someone started watching the repository.", - "operationId": "watch/started", + "summary": "This event occurs when there is activity relating to sub-issues.\n\nFor activity relating to issues more generally, use the `issues` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permissions.", + "description": "A sub-issue was removed from an issue.", + "operationId": "sub-issues/sub-issue-removed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#watch" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#sub-issues" }, "parameters": [ { @@ -20049,7 +19840,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-watch-started" } + "schema": { + "$ref": "#/components/schemas/webhook-sub-issues-sub-issue-removed" + } } } }, @@ -20061,17 +19854,17 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "watch", + "subcategory": "sub-issues", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "workflow-dispatch": { + "team-add": { "post": { - "summary": "This event occurs when a GitHub Actions workflow is manually triggered. For more information, see \"[Manually running a workflow](https://docs.github.com/enterprise-cloud@latest//actions/managing-workflow-runs/manually-running-a-workflow).\"\n\nFor activity relating to workflow runs, use the `workflow_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", - "operationId": "workflow-dispatch", + "summary": "This event occurs when a team is added to a repository.\nFor more information, see \"[Managing teams and people with access to your repository](https://docs.github.com/enterprise-cloud@latest//repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-teams-and-people-with-access-to-your-repository).\"\n\nFor activity relating to teams, see the `teams` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "operationId": "team-add", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#workflow_dispatch" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#team_add" }, "parameters": [ { @@ -20121,9 +19914,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-workflow-dispatch" - } + "schema": { "$ref": "#/components/schemas/webhook-team-add" } } } }, @@ -20135,18 +19926,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "workflow_dispatch", - "supported-webhook-types": ["app"] + "subcategory": "team_add", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "workflow-job-completed": { + "team-added-to-repository": { "post": { - "summary": "This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see \"[Using jobs in a workflow](https://docs.github.com/enterprise-cloud@latest//actions/using-jobs/using-jobs-in-a-workflow).\" For information about the API to manage workflow jobs, see \"[Workflow jobs](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs)\" in the REST API documentation.\n\nFor activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", - "description": "A job in a workflow run finished. This event occurs when a job in a workflow is completed, regardless of whether the job was successful or unsuccessful.", - "operationId": "workflow-job/completed", + "summary": "This event occurs when there is activity relating to teams in an organization.\nFor more information, see \"[About teams](https://docs.github.com/enterprise-cloud@latest//organizations/organizing-members-into-teams/about-teams).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "description": "A team was granted access to a repository.", + "operationId": "team/added-to-repository", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#workflow_job" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#team" }, "parameters": [ { @@ -20197,7 +19988,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-workflow-job-completed" + "$ref": "#/components/schemas/webhook-team-added-to-repository" } } } @@ -20210,23 +20001,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "workflow_job", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] + "subcategory": "team", + "supported-webhook-types": ["organization", "business", "app"] } } }, - "workflow-job-in-progress": { + "team-created": { "post": { - "summary": "This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see \"[Using jobs in a workflow](https://docs.github.com/enterprise-cloud@latest//actions/using-jobs/using-jobs-in-a-workflow).\" For information about the API to manage workflow jobs, see \"[Workflow jobs](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs)\" in the REST API documentation.\n\nFor activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", - "description": "A job in a workflow run started processing on a runner.", - "operationId": "workflow-job/in-progress", + "summary": "This event occurs when there is activity relating to teams in an organization.\nFor more information, see \"[About teams](https://docs.github.com/enterprise-cloud@latest//organizations/organizing-members-into-teams/about-teams).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "description": "A team was created.", + "operationId": "team/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#workflow_job" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#team" }, "parameters": [ { @@ -20276,9 +20062,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-workflow-job-in-progress" - } + "schema": { "$ref": "#/components/schemas/webhook-team-created" } } } }, @@ -20290,23 +20074,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "workflow_job", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] + "subcategory": "team", + "supported-webhook-types": ["organization", "business", "app"] } } }, - "workflow-job-queued": { + "team-deleted": { "post": { - "summary": "This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see \"[Using jobs in a workflow](https://docs.github.com/enterprise-cloud@latest//actions/using-jobs/using-jobs-in-a-workflow).\" For information about the API to manage workflow jobs, see \"[Workflow jobs](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs)\" in the REST API documentation.\n\nFor activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", - "description": "A job in a workflow run was created.", - "operationId": "workflow-job/queued", + "summary": "This event occurs when there is activity relating to teams in an organization.\nFor more information, see \"[About teams](https://docs.github.com/enterprise-cloud@latest//organizations/organizing-members-into-teams/about-teams).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "description": "A team was deleted.", + "operationId": "team/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#workflow_job" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#team" }, "parameters": [ { @@ -20356,9 +20135,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-workflow-job-queued" - } + "schema": { "$ref": "#/components/schemas/webhook-team-deleted" } } } }, @@ -20370,23 +20147,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "workflow_job", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] + "subcategory": "team", + "supported-webhook-types": ["organization", "business", "app"] } } }, - "workflow-job-waiting": { + "team-edited": { "post": { - "summary": "This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see \"[Using jobs in a workflow](https://docs.github.com/enterprise-cloud@latest//actions/using-jobs/using-jobs-in-a-workflow).\" For information about the API to manage workflow jobs, see \"[Workflow jobs](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs)\" in the REST API documentation.\n\nFor activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", - "description": "A job in a workflow run was created and is waiting for approvals.", - "operationId": "workflow-job/waiting", + "summary": "This event occurs when there is activity relating to teams in an organization.\nFor more information, see \"[About teams](https://docs.github.com/enterprise-cloud@latest//organizations/organizing-members-into-teams/about-teams).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "description": "The name, description, or visibility of a team was changed.", + "operationId": "team/edited", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#workflow_job" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#team" }, "parameters": [ { @@ -20436,9 +20208,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-workflow-job-waiting" - } + "schema": { "$ref": "#/components/schemas/webhook-team-edited" } } } }, @@ -20450,23 +20220,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "workflow_job", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] + "subcategory": "team", + "supported-webhook-types": ["organization", "business", "app"] } } }, - "workflow-run-completed": { + "team-removed-from-repository": { "post": { - "summary": "This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see \"[About workflows](https://docs.github.com/enterprise-cloud@latest//actions/using-workflows/about-workflows).\" For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#workflowrun) or \"[Workflow runs](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs)\" in the REST API documentation.\n\nFor activity relating to a job in a workflow run, use the `workflow_job` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", - "description": "A workflow run finished. This event occurs when a workflow run is completed, regardless of whether the workflow was successful or unsuccessful.", - "operationId": "workflow-run/completed", + "summary": "This event occurs when there is activity relating to teams in an organization.\nFor more information, see \"[About teams](https://docs.github.com/enterprise-cloud@latest//organizations/organizing-members-into-teams/about-teams).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "description": "A team's access to a repository was removed.", + "operationId": "team/removed-from-repository", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#workflow_run" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#team" }, "parameters": [ { @@ -20517,7 +20282,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-workflow-run-completed" + "$ref": "#/components/schemas/webhook-team-removed-from-repository" } } } @@ -20530,23 +20295,90 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "workflow_run", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] + "subcategory": "team", + "supported-webhook-types": ["organization", "business", "app"] } } }, - "workflow-run-in-progress": { + "watch-started": { "post": { - "summary": "This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see \"[About workflows](https://docs.github.com/enterprise-cloud@latest//actions/using-workflows/about-workflows).\" For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#workflowrun) or \"[Workflow runs](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs)\" in the REST API documentation.\n\nFor activity relating to a job in a workflow run, use the `workflow_job` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", - "description": "A workflow run started processing on a runner.", - "operationId": "workflow-run/in-progress", + "summary": "This event occurs when there is activity relating to watching, or subscribing to, a repository. For more information about watching, see \"[Managing your subscriptions](https://docs.github.com/enterprise-cloud@latest//account-and-profile/managing-subscriptions-and-notifications-on-github/managing-subscriptions-for-activity-on-github/managing-your-subscriptions).\" For information about the APIs to manage watching, see \"[Watching](https://docs.github.com/enterprise-cloud@latest//rest/activity/watching)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "description": "Someone started watching the repository.", + "operationId": "watch/started", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#workflow_run" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#watch" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/webhook-watch-started" } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "watch", + "supported-webhook-types": ["repository", "organization", "app"] + } + } + }, + "workflow-dispatch": { + "post": { + "summary": "This event occurs when a GitHub Actions workflow is manually triggered. For more information, see \"[Manually running a workflow](https://docs.github.com/enterprise-cloud@latest//actions/managing-workflow-runs/manually-running-a-workflow).\"\n\nFor activity relating to workflow runs, use the `workflow_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", + "operationId": "workflow-dispatch", + "externalDocs": { + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#workflow_dispatch" }, "parameters": [ { @@ -20597,7 +20429,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-workflow-run-in-progress" + "$ref": "#/components/schemas/webhook-workflow-dispatch" } } } @@ -20610,23 +20442,498 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "workflow_run", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] + "subcategory": "workflow_dispatch", + "supported-webhook-types": ["app"] } } }, - "workflow-run-requested": { + "workflow-job-completed": { "post": { - "summary": "This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see \"[About workflows](https://docs.github.com/enterprise-cloud@latest//actions/using-workflows/about-workflows).\" For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#workflowrun) or \"[Workflow runs](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs)\" in the REST API documentation.\n\nFor activity relating to a job in a workflow run, use the `workflow_job` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", - "description": "A workflow run was triggered.", - "operationId": "workflow-run/requested", + "summary": "This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see \"[Using jobs in a workflow](https://docs.github.com/enterprise-cloud@latest//actions/using-jobs/using-jobs-in-a-workflow).\" For information about the API to manage workflow jobs, see \"[Workflow jobs](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs)\" in the REST API documentation.\n\nFor activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", + "description": "A job in a workflow run finished. This event occurs when a job in a workflow is completed, regardless of whether the job was successful or unsuccessful.", + "operationId": "workflow-job/completed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#workflow_run" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#workflow_job" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-workflow-job-completed" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "workflow_job", + "supported-webhook-types": [ + "business", + "repository", + "organization", + "app" + ] + } + } + }, + "workflow-job-in-progress": { + "post": { + "summary": "This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see \"[Using jobs in a workflow](https://docs.github.com/enterprise-cloud@latest//actions/using-jobs/using-jobs-in-a-workflow).\" For information about the API to manage workflow jobs, see \"[Workflow jobs](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs)\" in the REST API documentation.\n\nFor activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", + "description": "A job in a workflow run started processing on a runner.", + "operationId": "workflow-job/in-progress", + "externalDocs": { + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#workflow_job" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-workflow-job-in-progress" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "workflow_job", + "supported-webhook-types": [ + "business", + "repository", + "organization", + "app" + ] + } + } + }, + "workflow-job-queued": { + "post": { + "summary": "This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see \"[Using jobs in a workflow](https://docs.github.com/enterprise-cloud@latest//actions/using-jobs/using-jobs-in-a-workflow).\" For information about the API to manage workflow jobs, see \"[Workflow jobs](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs)\" in the REST API documentation.\n\nFor activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", + "description": "A job in a workflow run was created.", + "operationId": "workflow-job/queued", + "externalDocs": { + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#workflow_job" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-workflow-job-queued" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "workflow_job", + "supported-webhook-types": [ + "business", + "repository", + "organization", + "app" + ] + } + } + }, + "workflow-job-waiting": { + "post": { + "summary": "This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see \"[Using jobs in a workflow](https://docs.github.com/enterprise-cloud@latest//actions/using-jobs/using-jobs-in-a-workflow).\" For information about the API to manage workflow jobs, see \"[Workflow jobs](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs)\" in the REST API documentation.\n\nFor activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", + "description": "A job in a workflow run was created and is waiting for approvals.", + "operationId": "workflow-job/waiting", + "externalDocs": { + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#workflow_job" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-workflow-job-waiting" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "workflow_job", + "supported-webhook-types": [ + "business", + "repository", + "organization", + "app" + ] + } + } + }, + "workflow-run-completed": { + "post": { + "summary": "This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see \"[About workflows](https://docs.github.com/enterprise-cloud@latest//actions/using-workflows/about-workflows).\" For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#workflowrun) or \"[Workflow runs](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs)\" in the REST API documentation.\n\nFor activity relating to a job in a workflow run, use the `workflow_job` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", + "description": "A workflow run finished. This event occurs when a workflow run is completed, regardless of whether the workflow was successful or unsuccessful.", + "operationId": "workflow-run/completed", + "externalDocs": { + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#workflow_run" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-workflow-run-completed" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "workflow_run", + "supported-webhook-types": [ + "business", + "repository", + "organization", + "app" + ] + } + } + }, + "workflow-run-in-progress": { + "post": { + "summary": "This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see \"[About workflows](https://docs.github.com/enterprise-cloud@latest//actions/using-workflows/about-workflows).\" For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#workflowrun) or \"[Workflow runs](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs)\" in the REST API documentation.\n\nFor activity relating to a job in a workflow run, use the `workflow_job` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", + "description": "A workflow run started processing on a runner.", + "operationId": "workflow-run/in-progress", + "externalDocs": { + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#workflow_run" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-workflow-run-in-progress" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "workflow_run", + "supported-webhook-types": [ + "business", + "repository", + "organization", + "app" + ] + } + } + }, + "workflow-run-requested": { + "post": { + "summary": "This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see \"[About workflows](https://docs.github.com/enterprise-cloud@latest//actions/using-workflows/about-workflows).\" For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#workflowrun) or \"[Workflow runs](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs)\" in the REST API documentation.\n\nFor activity relating to a job in a workflow run, use the `workflow_job` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", + "description": "A workflow run was triggered.", + "operationId": "workflow-run/requested", + "externalDocs": { + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#workflow_run" }, "parameters": [ { @@ -21994,7 +22301,7 @@ "type": ["null", "object"] }, "repository_selection": { - "description": "Describe whether all repositories have been selected or there's a selection involved", + "description": "Describe whether all repositories have been selected or there's a selection involved. For enterprise installations this is `selected`.", "type": "string", "enum": ["all", "selected"] }, @@ -22018,6 +22325,10 @@ ] }, "app_id": { "type": "integer", "examples": [1] }, + "client_id": { + "type": "string", + "examples": ["Iv1.ab1112223334445c"] + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -22661,7 +22972,7 @@ }, "installation-token": { "title": "Installation Token", - "description": "Authentication token for a GitHub App installed on a user or org.", + "description": "Authentication token for a GitHub App installed on a user, org, or enterprise.", "type": "object", "properties": { "token": { "type": "string" }, @@ -23572,7 +23883,7 @@ "enum": ["github", "partner", "custom"] } }, - "required": ["id", "size_gb", "display_name", "source", "version"] + "required": ["id", "size_gb", "display_name", "source"] }, "actions-hosted-runner-machine-spec": { "title": "Github-owned VM details.", @@ -23797,6 +24108,94 @@ }, "required": ["enabled_organizations"] }, + "actions-artifact-and-log-retention-response": { + "type": "object", + "properties": { + "days": { + "type": "integer", + "description": "The number of days artifacts and logs are retained" + }, + "maximum_allowed_days": { + "type": "integer", + "description": "The maximum number of days that can be configured" + } + }, + "required": ["days", "maximum_allowed_days"] + }, + "actions-artifact-and-log-retention": { + "type": "object", + "properties": { + "days": { + "type": "integer", + "description": "The number of days to retain artifacts and logs" + } + }, + "required": ["days"] + }, + "actions-fork-pr-contributor-approval": { + "type": "object", + "properties": { + "approval_policy": { + "type": "string", + "enum": [ + "first_time_contributors_new_to_github", + "first_time_contributors", + "all_external_contributors" + ], + "description": "The policy that controls when fork PR workflows require approval from a maintainer." + } + }, + "required": ["approval_policy"] + }, + "actions-fork-pr-workflows-private-repos": { + "type": "object", + "required": [ + "run_workflows_from_fork_pull_requests", + "send_write_tokens_to_workflows", + "send_secrets_and_variables", + "require_approval_for_fork_pr_workflows" + ], + "properties": { + "run_workflows_from_fork_pull_requests": { + "type": "boolean", + "description": "Whether workflows triggered by pull requests from forks are allowed to run on private repositories." + }, + "send_write_tokens_to_workflows": { + "type": "boolean", + "description": "Whether GitHub Actions can create pull requests or submit approving pull request reviews from a workflow triggered by a fork pull request." + }, + "send_secrets_and_variables": { + "type": "boolean", + "description": "Whether to make secrets and variables available to workflows triggered by pull requests from forks." + }, + "require_approval_for_fork_pr_workflows": { + "type": "boolean", + "description": "Whether workflows triggered by pull requests from forks require approval from a repository administrator to run." + } + } + }, + "actions-fork-pr-workflows-private-repos-request": { + "type": "object", + "required": ["run_workflows_from_fork_pull_requests"], + "properties": { + "run_workflows_from_fork_pull_requests": { + "type": "boolean", + "description": "Whether workflows triggered by pull requests from forks are allowed to run on private repositories." + }, + "send_write_tokens_to_workflows": { + "type": "boolean", + "description": "Whether GitHub Actions can create pull requests or submit approving pull request reviews from a workflow triggered by a fork pull request." + }, + "send_secrets_and_variables": { + "type": "boolean", + "description": "Whether to make secrets and variables available to workflows triggered by pull requests from forks." + }, + "require_approval_for_fork_pr_workflows": { + "type": "boolean", + "description": "Whether workflows triggered by pull requests from forks require approval from a repository administrator to run." + } + } + }, "organization-simple": { "title": "Organization Simple", "description": "A GitHub organization.", @@ -24126,6 +24525,88 @@ }, "required": ["announcement"] }, + "installable-organization": { + "title": "Installable Organization", + "description": "A GitHub organization on which a GitHub App can be installed.", + "type": "object", + "properties": { + "id": { "type": "integer", "examples": [1] }, + "login": { "type": "string", "examples": ["github"] }, + "accessible_repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/enterprises/biz-name/apps/organizations/org-login/accessible_repositories" + ] + } + }, + "required": ["id", "login"] + }, + "accessible-repository": { + "title": "Accessible Repository", + "description": "A repository that may be made accessible to a GitHub App.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the repository", + "type": "integer", + "format": "int64", + "examples": [1] + }, + "name": { + "description": "The name of the repository.", + "type": "string", + "examples": ["Team Environment"] + }, + "full_name": { "type": "string", "examples": ["octocat/Hello-World"] } + }, + "required": ["full_name", "id", "name"] + }, + "enterprise-organization-installation": { + "title": "Enterprise Organization Installation", + "description": "A GitHub App Installation on an enterprise-owned organization", + "type": "object", + "properties": { + "id": { + "description": "The ID of the installation.", + "type": "integer", + "examples": [1] + }, + "app_slug": { + "type": "string", + "examples": ["github/github-actions"] + }, + "client_id": { + "type": "string", + "examples": ["Iv1.ab1112223334445c"] + }, + "repository_selection": { + "description": "Describe whether all repositories have been selected or there's a selection involved", + "type": "string", + "enum": ["all", "selected"] + }, + "repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/enterprises/acme-corp/apps/organizations/some-org/installations/1/repositories" + ] + }, + "permissions": { "$ref": "#/components/schemas/app-permissions" }, + "events": { "type": "array", "items": { "type": "string" } }, + "created_at": { "type": "string", "format": "date-time" }, + "updated_at": { "type": "string", "format": "date-time" } + }, + "required": [ + "id", + "client_id", + "repository_selection", + "repositories_url", + "permissions", + "created_at", + "updated_at" + ] + }, "audit-log-event": { "type": "object", "properties": { @@ -25353,6 +25834,16 @@ "description": "The enablement status of Dependabot security updates", "enum": ["enabled", "disabled", "not_set"] }, + "code_scanning_options": { + "type": ["object", "null"], + "description": "Feature options for code scanning", + "properties": { + "allow_advanced": { + "type": ["boolean", "null"], + "description": "Whether to allow repos which use advanced setup" + } + } + }, "code_scanning_default_setup": { "type": "string", "description": "The enablement status of code scanning default setup", @@ -25462,6 +25953,16 @@ "updated_at": { "type": "string", "format": "date-time" } } }, + "code-scanning-options": { + "type": ["object", "null"], + "description": "Security Configuration feature options for code scanning", + "properties": { + "allow_advanced": { + "type": ["boolean", "null"], + "description": "Whether to allow repos which use advanced setup" + } + } + }, "code-scanning-default-setup-options": { "type": ["object", "null"], "description": "Feature options for code scanning default setup", @@ -25761,12 +26262,17 @@ "properties": { "id": { "type": "integer", "format": "int64" }, "name": { "type": "string" }, + "description": { "type": "string" }, "slug": { "type": "string" }, "url": { "type": "string", "format": "uri" }, "sync_to_organizations": { "type": "string", "examples": ["disabled | all"] }, + "organization_selection_type": { + "type": "string", + "examples": ["disabled | all"] + }, "group_id": { "type": ["string", "null"], "examples": ["62ab9291-fae2-468e-974b-7e45096d5021"] @@ -25790,7 +26296,6 @@ "id", "url", "members_url", - "sync_to_organizations", "name", "html_url", "slug", @@ -25837,6 +26342,11 @@ "type": ["string", "null"], "description": "Last editor that was used by the user for a GitHub Copilot completion." }, + "last_authenticated_at": { + "type": ["string", "null"], + "format": "date-time", + "description": "Timestamp of the last time the user authenticated with GitHub Copilot, in ISO 8601 format." + }, "created_at": { "type": "string", "format": "date-time", @@ -26694,7 +27204,7 @@ "properties": { "actor_id": { "type": ["integer", "null"], - "description": "The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. If `actor_type` is `EnterpriseOwner`, `actor_id` is ignored. `OrganizationAdmin` and `EnterpriseOwner` are not applicable for personal repositories." + "description": "The ID of the actor that can bypass a ruleset. Required for `Integration`, `RepositoryRole`, and `Team` actor types. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. If `actor_type` is `EnterpriseOwner`, `actor_id` is ignored. `OrganizationAdmin` and `EnterpriseOwner` are not applicable for personal repositories." }, "actor_type": { "type": "string", @@ -26960,69 +27470,6 @@ "type": { "type": "string", "enum": ["required_linear_history"] } } }, - "repository-rule-merge-queue": { - "title": "merge_queue", - "description": "Merges must be performed via a merge queue.", - "type": "object", - "required": ["type"], - "properties": { - "type": { "type": "string", "enum": ["merge_queue"] }, - "parameters": { - "type": "object", - "properties": { - "check_response_timeout_minutes": { - "type": "integer", - "description": "Maximum time for a required status check to report a conclusion. After this much time has elapsed, checks that have not reported a conclusion will be assumed to have failed", - "minimum": 1, - "maximum": 360 - }, - "grouping_strategy": { - "type": "string", - "description": "When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge.", - "enum": ["ALLGREEN", "HEADGREEN"] - }, - "max_entries_to_build": { - "type": "integer", - "description": "Limit the number of queued pull requests requesting checks and workflow runs at the same time.", - "minimum": 0, - "maximum": 100 - }, - "max_entries_to_merge": { - "type": "integer", - "description": "The maximum number of PRs that will be merged together in a group.", - "minimum": 0, - "maximum": 100 - }, - "merge_method": { - "type": "string", - "description": "Method to use when merging changes from queued pull requests.", - "enum": ["MERGE", "SQUASH", "REBASE"] - }, - "min_entries_to_merge": { - "type": "integer", - "description": "The minimum number of PRs that will be merged together in a group.", - "minimum": 0, - "maximum": 100 - }, - "min_entries_to_merge_wait_minutes": { - "type": "integer", - "description": "The time merge queue should wait after the first PR is added to the queue for the minimum group size to be met. After this time has elapsed, the minimum group size will be ignored and a smaller group will be merged.", - "minimum": 0, - "maximum": 360 - } - }, - "required": [ - "check_response_timeout_minutes", - "grouping_strategy", - "max_entries_to_build", - "max_entries_to_merge", - "merge_method", - "min_entries_to_merge", - "min_entries_to_merge_wait_minutes" - ] - } - } - }, "repository-rule-required-deployments": { "title": "required_deployments", "description": "Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule.", @@ -27109,7 +27556,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -27396,7 +27843,7 @@ "type": "integer", "description": "The maximum amount of characters allowed in file paths.", "minimum": 1, - "maximum": 256 + "maximum": 32767 } }, "required": ["max_file_path_length"] @@ -27560,7 +28007,7 @@ } } }, - "repository-rule": { + "enterprise-rules": { "title": "Repository Rule", "type": "object", "description": "A repository rule.", @@ -27571,7 +28018,6 @@ { "$ref": "#/components/schemas/repository-rule-required-linear-history" }, - { "$ref": "#/components/schemas/repository-rule-merge-queue" }, { "$ref": "#/components/schemas/repository-rule-required-deployments" }, @@ -27668,6 +28114,119 @@ } ] }, + "repository-rule-merge-queue": { + "title": "merge_queue", + "description": "Merges must be performed via a merge queue.", + "type": "object", + "required": ["type"], + "properties": { + "type": { "type": "string", "enum": ["merge_queue"] }, + "parameters": { + "type": "object", + "properties": { + "check_response_timeout_minutes": { + "type": "integer", + "description": "Maximum time for a required status check to report a conclusion. After this much time has elapsed, checks that have not reported a conclusion will be assumed to have failed", + "minimum": 1, + "maximum": 360 + }, + "grouping_strategy": { + "type": "string", + "description": "When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge.", + "enum": ["ALLGREEN", "HEADGREEN"] + }, + "max_entries_to_build": { + "type": "integer", + "description": "Limit the number of queued pull requests requesting checks and workflow runs at the same time.", + "minimum": 0, + "maximum": 100 + }, + "max_entries_to_merge": { + "type": "integer", + "description": "The maximum number of PRs that will be merged together in a group.", + "minimum": 0, + "maximum": 100 + }, + "merge_method": { + "type": "string", + "description": "Method to use when merging changes from queued pull requests.", + "enum": ["MERGE", "SQUASH", "REBASE"] + }, + "min_entries_to_merge": { + "type": "integer", + "description": "The minimum number of PRs that will be merged together in a group.", + "minimum": 0, + "maximum": 100 + }, + "min_entries_to_merge_wait_minutes": { + "type": "integer", + "description": "The time merge queue should wait after the first PR is added to the queue for the minimum group size to be met. After this time has elapsed, the minimum group size will be ignored and a smaller group will be merged.", + "minimum": 0, + "maximum": 360 + } + }, + "required": [ + "check_response_timeout_minutes", + "grouping_strategy", + "max_entries_to_build", + "max_entries_to_merge", + "merge_method", + "min_entries_to_merge", + "min_entries_to_merge_wait_minutes" + ] + } + } + }, + "repository-rule": { + "title": "Repository Rule", + "type": "object", + "description": "A repository rule.", + "oneOf": [ + { "$ref": "#/components/schemas/repository-rule-creation" }, + { "$ref": "#/components/schemas/repository-rule-update" }, + { "$ref": "#/components/schemas/repository-rule-deletion" }, + { + "$ref": "#/components/schemas/repository-rule-required-linear-history" + }, + { "$ref": "#/components/schemas/repository-rule-merge-queue" }, + { + "$ref": "#/components/schemas/repository-rule-required-deployments" + }, + { + "$ref": "#/components/schemas/repository-rule-required-signatures" + }, + { "$ref": "#/components/schemas/repository-rule-pull-request" }, + { + "$ref": "#/components/schemas/repository-rule-required-status-checks" + }, + { "$ref": "#/components/schemas/repository-rule-non-fast-forward" }, + { + "$ref": "#/components/schemas/repository-rule-commit-message-pattern" + }, + { + "$ref": "#/components/schemas/repository-rule-commit-author-email-pattern" + }, + { + "$ref": "#/components/schemas/repository-rule-committer-email-pattern" + }, + { + "$ref": "#/components/schemas/repository-rule-branch-name-pattern" + }, + { "$ref": "#/components/schemas/repository-rule-tag-name-pattern" }, + { + "$ref": "#/components/schemas/repository-rule-file-path-restriction" + }, + { + "$ref": "#/components/schemas/repository-rule-max-file-path-length" + }, + { + "$ref": "#/components/schemas/repository-rule-file-extension-restriction" + }, + { "$ref": "#/components/schemas/repository-rule-max-file-size" }, + { "$ref": "#/components/schemas/repository-rule-workflows" }, + { "$ref": "#/components/schemas/repository-rule-code-scanning" } + ] + }, "repository-ruleset": { "title": "Repository ruleset", "type": "object", @@ -28228,6 +28787,94 @@ "$ref": "#/components/schemas/secret-scanning-first-detected-location" } ] + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." + } + } + }, + "secret-scanning-row-version": { + "type": ["string", "null"], + "description": "The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate unintentionally overriding someone else's update." + }, + "secret-scanning-pattern-override": { + "type": "object", + "properties": { + "token_type": { + "type": "string", + "description": "The ID of the pattern." + }, + "custom_pattern_version": { + "type": ["string", "null"], + "description": "The version of this pattern if it's a custom pattern." + }, + "slug": { + "type": "string", + "description": "The slug of the pattern." + }, + "display_name": { + "type": "string", + "description": "The user-friendly name for the pattern." + }, + "alert_total": { + "type": "integer", + "description": "The total number of alerts generated by this pattern." + }, + "alert_total_percentage": { + "type": "integer", + "description": "The percentage of all alerts that this pattern represents, rounded to the nearest integer." + }, + "false_positives": { + "type": "integer", + "description": "The number of false positive alerts generated by this pattern." + }, + "false_positive_rate": { + "type": "integer", + "description": "The percentage of alerts from this pattern that are false positives, rounded to the nearest integer." + }, + "bypass_rate": { + "type": "integer", + "description": "The percentage of blocks for this pattern that were bypassed, rounded to the nearest integer." + }, + "default_setting": { + "type": "string", + "description": "The default push protection setting for this pattern.", + "enum": ["disabled", "enabled"] + }, + "enterprise_setting": { + "type": ["string", "null"], + "description": "The push protection setting for this pattern set at the enterprise level. Only present for partner patterns when the organization has a parent enterprise.", + "enum": ["not-set", "disabled", "enabled", null] + }, + "setting": { + "type": "string", + "description": "The current push protection setting for this pattern. If this is `not-set`, then it inherits either the enterprise setting if it exists or the default setting.", + "enum": ["not-set", "disabled", "enabled"] + } + } + }, + "secret-scanning-pattern-configuration": { + "title": "Secret scanning pattern configuration", + "description": "A collection of secret scanning patterns and their settings related to push protection.", + "type": "object", + "properties": { + "pattern_config_version": { + "$ref": "#/components/schemas/secret-scanning-row-version" + }, + "provider_pattern_overrides": { + "type": "array", + "description": "Overrides for partner patterns.", + "items": { + "$ref": "#/components/schemas/secret-scanning-pattern-override" + } + }, + "custom_pattern_overrides": { + "type": "array", + "description": "Overrides for custom patterns defined by the organization.", + "items": { + "$ref": "#/components/schemas/secret-scanning-pattern-override" + } } } }, @@ -28395,6 +29042,15 @@ "type": "string", "description": "Name of the cost center." }, + "state": { + "type": "string", + "description": "State of the cost center.", + "enum": ["active", "deleted"] + }, + "azure_subscription": { + "type": ["string", "null"], + "description": "Azure subscription ID associated with the cost center. Only present for cost centers linked to Azure subscriptions." + }, "resources": { "type": "array", "items": { @@ -28418,6 +29074,66 @@ } } }, + "get-cost-center": { + "type": "object", + "properties": { + "id": { "type": "string", "description": "ID of the cost center." }, + "name": { + "type": "string", + "description": "Name of the cost center." + }, + "azure_subscription": { + "type": ["string", "null"], + "description": "Azure subscription ID associated with the cost center. Only present for cost centers linked to Azure subscriptions." + }, + "state": { + "type": "string", + "description": "State of the cost center.", + "enum": ["active", "deleted"] + }, + "resources": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Type of the resource." + }, + "name": { + "type": "string", + "description": "Name of the resource." + } + }, + "required": ["type", "name"] + } + } + }, + "required": ["id", "name", "resources"] + }, + "delete-cost-center": { + "type": "object", + "properties": { + "message": { + "type": "string", + "description": "A message indicating the result of the deletion operation" + }, + "id": { + "type": "string", + "description": "The unique identifier of the deleted cost center" + }, + "name": { + "type": "string", + "description": "The name of the deleted cost center" + }, + "costCenterState": { + "type": "string", + "enum": ["CostCenterArchived"], + "description": "The state of the cost center after deletion" + } + }, + "required": ["message", "id", "name", "costCenterState"] + }, "packages-billing-usage": { "type": "object", "properties": { @@ -28477,7 +29193,7 @@ "product": { "type": "string", "description": "Product name." }, "sku": { "type": "string", "description": "SKU name." }, "quantity": { - "type": "integer", + "type": "number", "description": "Quantity of the usage line item." }, "unitType": { @@ -28746,6 +29462,75 @@ }, "required": ["total", "completed", "percent_completed"] }, + "issue-dependencies-summary": { + "title": "Issue Dependencies Summary", + "type": "object", + "properties": { + "blocked_by": { "type": "integer" }, + "blocking": { "type": "integer" }, + "total_blocked_by": { "type": "integer" }, + "total_blocking": { "type": "integer" } + }, + "required": [ + "blocked_by", + "blocking", + "total_blocked_by", + "total_blocking" + ] + }, + "issue-field-value": { + "title": "Issue Field Value", + "description": "A value assigned to an issue field", + "type": "object", + "properties": { + "issue_field_id": { + "description": "Unique identifier for the issue field.", + "type": "integer", + "format": "int64", + "examples": [1] + }, + "node_id": { "type": "string", "examples": ["IFT_GDKND"] }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": ["text", "single_select", "number", "date"], + "examples": ["text"] + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { "type": "string", "examples": ["Sample text"] }, + { "type": "number", "examples": [42.5] }, + { "type": "integer", "examples": [1] } + ], + "type": ["null", "string", "number", "integer"] + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": ["object", "null"], + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [1] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": ["High"] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": ["red"] + } + }, + "required": ["id", "name", "color"] + } + }, + "required": ["issue_field_id", "node_id", "data_type", "value"] + }, "issue": { "title": "Issue", "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", @@ -28777,7 +29562,7 @@ "state_reason": { "description": "The reason for the current state", "type": ["string", "null"], - "enum": ["completed", "reopened", "not_planned", null], + "enum": ["completed", "reopened", "not_planned", "duplicate", null], "examples": ["not_planned"] }, "title": { @@ -28880,6 +29665,13 @@ "reactions": { "$ref": "#/components/schemas/reaction-rollup" }, "sub_issues_summary": { "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } } }, "required": [ @@ -29872,6 +30664,7 @@ "type": ["object", "null"], "properties": { "advanced_security": { + "description": "Enable or disable GitHub Advanced Security for the repository.\n\nFor standalone Code Scanning or Secret Protection products, this parameter cannot be used.\n", "type": "object", "properties": { "status": { "type": "string", "enum": ["enabled", "disabled"] } @@ -30263,6 +31056,11 @@ }, "security_and_analysis": { "$ref": "#/components/schemas/security-and-analysis" + }, + "custom_properties": { + "type": "object", + "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", + "additionalProperties": true } }, "required": [ @@ -30429,6 +31227,21 @@ "updated_at" ] }, + "self-hosted-runners-settings": { + "type": "object", + "required": ["enabled_repositories"], + "properties": { + "enabled_repositories": { + "type": "string", + "description": "The policy that controls whether self-hosted runners can be used by repositories in the organization", + "enum": ["all", "selected", "none"] + }, + "selected_repositories_url": { + "type": "string", + "description": "The URL to the endpoint for managing selected repositories for self-hosted runners in the organization" + } + } + }, "dependabot-repository-access-details": { "title": "Dependabot Repository Access Details", "description": "Information about repositories that Dependabot is able to access in an organization", @@ -30442,7 +31255,12 @@ }, "accessible_repositories": { "type": "array", - "items": { "$ref": "#/components/schemas/simple-repository" } + "items": { + "anyOf": [ + { "type": "null" }, + { "$ref": "#/components/schemas/simple-repository" } + ] + } } }, "additionalProperties": false @@ -30558,6 +31376,11 @@ "required": ["name", "space", "private_repos"] }, "default_repository_permission": { "type": ["string", "null"] }, + "default_repository_branch": { + "type": ["string", "null"], + "description": "The default branch for repositories created in this organization.", + "examples": ["main"] + }, "members_can_create_repositories": { "type": ["boolean", "null"], "examples": [true] @@ -30591,6 +31414,35 @@ "type": "boolean", "examples": [true] }, + "members_can_delete_repositories": { + "type": "boolean", + "examples": [true] + }, + "members_can_change_repo_visibility": { + "type": "boolean", + "examples": [true] + }, + "members_can_invite_outside_collaborators": { + "type": "boolean", + "examples": [true] + }, + "members_can_delete_issues": { + "type": "boolean", + "examples": [true] + }, + "display_commenter_full_name_setting_enabled": { + "type": "boolean", + "examples": [true] + }, + "readers_can_create_discussions": { + "type": "boolean", + "examples": [true] + }, + "members_can_create_teams": { "type": "boolean", "examples": [true] }, + "members_can_view_dependency_insights": { + "type": "boolean", + "examples": [true] + }, "members_can_fork_private_repositories": { "type": ["boolean", "null"], "examples": [false] @@ -30761,6 +31613,21 @@ }, "required": ["enabled_repositories"] }, + "self-hosted-runners-settings": { + "type": "object", + "required": ["enabled_repositories"], + "properties": { + "enabled_repositories": { + "type": "string", + "description": "The policy that controls whether self-hosted runners can be used by repositories in the organization", + "enum": ["all", "selected", "none"] + }, + "selected_repositories_url": { + "type": "string", + "description": "The URL to the endpoint for managing selected repositories for self-hosted runners in the organization" + } + } + }, "runner-groups-org": { "type": "object", "properties": { @@ -31752,6 +32619,184 @@ }, "required": ["key_id", "key"] }, + "dismissal-request-response": { + "title": "Dismissal request response", + "description": "A response made by a requester to dismiss the request.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The ID of the response to the dismissal request." + }, + "reviewer": { + "type": "object", + "description": "The user who reviewed the dismissal request.", + "properties": { + "actor_id": { + "type": "integer", + "format": "int64", + "description": "The ID of the GitHub user who reviewed the dismissal request." + }, + "actor_name": { + "type": "string", + "description": "The name of the GitHub user who reviewed the dismissal request." + } + } + }, + "message": { + "type": ["string", "null"], + "description": "The response comment of the reviewer." + }, + "status": { + "type": "string", + "description": "The response status to the dismissal request until dismissed.", + "enum": ["approved", "denied", "dismissed"] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the response to the dismissal request was created." + } + } + }, + "code-scanning-alert-dismissal-request": { + "title": "Code scanning alert dismissal request", + "description": "Alert dismisal request made by a user asking to dismiss a code scanning alert.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The unique identifier of the dismissal request." + }, + "number": { + "type": "integer", + "format": "int64", + "description": "The number uniquely identifying the dismissal request within its repository." + }, + "repository": { + "type": "object", + "description": "The repository the dismissal request is for.", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The ID of the repository the dismissal request is for." + }, + "name": { + "type": "string", + "description": "The name of the repository the dismissal request is for." + }, + "full_name": { + "type": "string", + "description": "The full name of the repository the dismissal request is for." + } + } + }, + "organization": { + "type": "object", + "description": "The organization associated with the repository the dismissal request is for.", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "The ID of the organization." + }, + "name": { + "type": "string", + "description": "The name of the organization." + } + } + }, + "requester": { + "type": "object", + "description": "The user who requested the dismissal request.", + "properties": { + "actor_id": { + "type": "integer", + "format": "int64", + "description": "The ID of the GitHub user who requested the dismissal request." + }, + "actor_name": { + "type": "string", + "description": "The name of the GitHub user who requested the dismissal request." + } + } + }, + "request_type": { + "type": "string", + "description": "The type of request." + }, + "data": { + "type": ["array", "null"], + "description": "Data describing the dismissal request metadata.", + "items": { + "type": "object", + "properties": { + "reason": { + "type": "string", + "description": "The reason for the dismissal request." + }, + "alert_number": { + "type": "string", + "description": "alert number." + }, + "pr_review_thread_id": { + "type": "string", + "description": "The ID of the pull request review thread." + } + } + } + }, + "resource_identifier": { + "type": "string", + "description": "The unique identifier for the request type of the dismissal request.", + "examples": ["827efc6d56897b048c772eb4087f854f46256132"] + }, + "status": { + "type": "string", + "description": "The status of the dismissal request.", + "enum": ["pending", "denied", "approved", "expired"] + }, + "requester_comment": { + "type": ["string", "null"], + "description": "The comment the requester provided when creating the dismissal request." + }, + "expires_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the dismissal request will expire." + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the dismissal request was created." + }, + "responses": { + "type": ["array", "null"], + "description": "The responses to the dismissal request.", + "items": { + "$ref": "#/components/schemas/dismissal-request-response" + } + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octo-org/smile/dismissal-requests/code-scanning/1" + ] + }, + "html_url": { + "type": "string", + "description": "The URL to view the dismissal request in a browser.", + "format": "uri", + "examples": [ + "https://github.com/octo-org/smile/code-scanning/alerts/1" + ] + } + } + }, "secret-scanning-dismissal-request": { "title": "Secret scanning alert dismissal request", "description": "A dismissal request made by a user asking to close a secret scanning alert in this repository.", @@ -32452,6 +33497,18 @@ "enum": ["admin", "member", "billing_manager"], "examples": ["admin"] }, + "direct_membership": { + "type": "boolean", + "description": "Whether the user has direct membership in the organization.", + "examples": [true] + }, + "enterprise_teams_providing_indirect_membership": { + "type": "array", + "description": "The slugs of the enterprise teams providing the user with indirect membership in the organization.\nA limit of 100 enterprise team slugs is returned.", + "maxItems": 100, + "items": { "type": "string" }, + "examples": ["ent:team-one", "ent:team-two"] + }, "organization_url": { "type": "string", "format": "uri", @@ -33107,7 +34164,23 @@ }, "registry_type": { "description": "The registry type.", - "enum": ["maven_repository", "nuget_feed", "goproxy_server"], + "enum": [ + "maven_repository", + "nuget_feed", + "goproxy_server", + "npm_registry", + "rubygems_server", + "cargo_registry", + "composer_repository", + "docker_registry", + "git_source", + "helm_registry", + "hex_organization", + "hex_repository", + "pub_repository", + "python_index", + "terraform_registry" + ], "type": "string" }, "username": { @@ -33143,7 +34216,23 @@ }, "registry_type": { "description": "The registry type.", - "enum": ["maven_repository", "nuget_feed", "goproxy_server"], + "enum": [ + "maven_repository", + "nuget_feed", + "goproxy_server", + "npm_registry", + "rubygems_server", + "cargo_registry", + "composer_repository", + "docker_registry", + "git_source", + "helm_registry", + "hex_organization", + "hex_repository", + "pub_repository", + "python_index", + "terraform_registry" + ], "type": "string" }, "username": { @@ -33840,6 +34929,55 @@ "subscribers_count" ] }, + "org-rules": { + "title": "Repository Rule", + "type": "object", + "description": "A repository rule.", + "oneOf": [ + { "$ref": "#/components/schemas/repository-rule-creation" }, + { "$ref": "#/components/schemas/repository-rule-update" }, + { "$ref": "#/components/schemas/repository-rule-deletion" }, + { + "$ref": "#/components/schemas/repository-rule-required-linear-history" + }, + { + "$ref": "#/components/schemas/repository-rule-required-deployments" + }, + { + "$ref": "#/components/schemas/repository-rule-required-signatures" + }, + { "$ref": "#/components/schemas/repository-rule-pull-request" }, + { + "$ref": "#/components/schemas/repository-rule-required-status-checks" + }, + { "$ref": "#/components/schemas/repository-rule-non-fast-forward" }, + { + "$ref": "#/components/schemas/repository-rule-commit-message-pattern" + }, + { + "$ref": "#/components/schemas/repository-rule-commit-author-email-pattern" + }, + { + "$ref": "#/components/schemas/repository-rule-committer-email-pattern" + }, + { + "$ref": "#/components/schemas/repository-rule-branch-name-pattern" + }, + { "$ref": "#/components/schemas/repository-rule-tag-name-pattern" }, + { + "$ref": "#/components/schemas/repository-rule-file-path-restriction" + }, + { + "$ref": "#/components/schemas/repository-rule-max-file-path-length" + }, + { + "$ref": "#/components/schemas/repository-rule-file-extension-restriction" + }, + { "$ref": "#/components/schemas/repository-rule-max-file-size" }, + { "$ref": "#/components/schemas/repository-rule-workflows" }, + { "$ref": "#/components/schemas/repository-rule-code-scanning" } + ] + }, "rule-suites": { "title": "Rule Suites", "description": "Response", @@ -35644,6 +36782,7 @@ "dependency_snapshots": { "$ref": "#/components/schemas/rate-limit" }, + "dependency_sbom": { "$ref": "#/components/schemas/rate-limit" }, "code_scanning_autofix": { "$ref": "#/components/schemas/rate-limit" } @@ -42784,6 +43923,7 @@ "required": ["html", "pull_request"] }, "submitted_at": { "type": "string", "format": "date-time" }, + "updated_at": { "type": ["string", "null"], "format": "date-time" }, "commit_id": { "description": "A commit SHA for the review.", "type": "string", @@ -43196,7 +44336,7 @@ "created_at": { "type": "string" }, "read_only": { "type": "boolean" }, "added_by": { "type": ["string", "null"] }, - "last_used": { "type": ["string", "null"] }, + "last_used": { "type": ["string", "null"], "format": "date-time" }, "enabled": { "type": "boolean" } }, "required": [ @@ -44095,6 +45235,11 @@ "description": "The original first line of the range for a multi-line comment.", "type": ["integer", "null"], "examples": [2] + }, + "subject_type": { + "description": "The level at which the comment is targeted, can be a diff line or a file.", + "type": "string", + "enum": ["line", "file"] } }, "required": [ @@ -44203,8 +45348,14 @@ "type": "boolean", "examples": [false] }, + "immutable": { + "description": "Whether or not the release is immutable.", + "type": "boolean", + "examples": [false] + }, "created_at": { "type": "string", "format": "date-time" }, "published_at": { "type": ["string", "null"], "format": "date-time" }, + "updated_at": { "type": ["string", "null"], "format": "date-time" }, "author": { "$ref": "#/components/schemas/simple-user" }, "assets": { "type": "array", @@ -44544,6 +45695,10 @@ "$ref": "#/components/schemas/secret-scanning-first-detected-location" } ] + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." } } }, @@ -46105,14 +47260,14 @@ } }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "type": "string" }, "state_reason": { "type": ["string", "null"] }, @@ -47194,7 +48349,8 @@ "title": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "verified": { "type": "boolean" }, - "read_only": { "type": "boolean" } + "read_only": { "type": "boolean" }, + "last_used": { "type": ["string", "null"], "format": "date-time" } }, "required": [ "key", @@ -47320,7 +48476,9 @@ "type": "object", "properties": { "id": { "type": "integer" }, - "key": { "type": "string" } + "key": { "type": "string" }, + "created_at": { "type": "string", "format": "date-time" }, + "last_used": { "type": ["string", "null"], "format": "date-time" } }, "required": ["key", "id"] }, @@ -47339,7 +48497,7 @@ "product": { "type": "string", "description": "Product name." }, "sku": { "type": "string", "description": "SKU name." }, "quantity": { - "type": "integer", + "type": "number", "description": "Quantity of the usage line item." }, "unitType": { @@ -48737,12 +49895,7 @@ "description": "A check performed on the code of a given code change", "type": "object", "properties": { - "app": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/integration" } - ] - }, + "app": { "$ref": "#/components/schemas/integration" }, "check_suite": { "$ref": "#/components/schemas/simple-check-suite" }, "completed_at": { "type": ["string", "null"], @@ -50166,14 +51319,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -50840,14 +51993,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -51293,6 +52446,18 @@ "properties": { "organization_url": { "type": "string", "format": "uri" }, "role": { "type": "string" }, + "direct_membership": { + "type": "boolean", + "description": "Whether the user has direct membership in the organization.", + "examples": [true] + }, + "enterprise_teams_providing_indirect_membership": { + "type": "array", + "description": "The slugs of the enterprise teams providing the user with indirect membership in the organization.\nA limit of 100 enterprise team slugs is returned.", + "maxItems": 100, + "items": { "type": "string" }, + "examples": ["ent:team-one", "ent:team-two"] + }, "state": { "type": "string" }, "url": { "type": "string", "format": "uri" }, "user": { @@ -51638,144 +52803,6 @@ "updated_at" ] }, - "projects-v2": { - "title": "Projects v2 Project", - "description": "A projects v2 project", - "type": "object", - "properties": { - "id": { "type": "number" }, - "node_id": { "type": "string" }, - "owner": { "$ref": "#/components/schemas/simple-user" }, - "creator": { "$ref": "#/components/schemas/simple-user" }, - "title": { "type": "string" }, - "description": { "type": ["string", "null"] }, - "public": { "type": "boolean" }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2022-04-28T12:00:00Z"] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": ["2022-04-28T12:00:00Z"] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": ["2022-04-28T12:00:00Z"] - }, - "number": { "type": "integer" }, - "short_description": { "type": ["string", "null"] }, - "deleted_at": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2022-04-28T12:00:00Z"] - }, - "deleted_by": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - } - }, - "required": [ - "id", - "node_id", - "owner", - "creator", - "title", - "description", - "public", - "closed_at", - "created_at", - "updated_at", - "number", - "short_description", - "deleted_at", - "deleted_by" - ] - }, - "webhooks_project_changes": { - "type": "object", - "properties": { - "archived_at": { - "type": "object", - "properties": { - "from": { "type": ["string", "null"], "format": "date-time" }, - "to": { "type": ["string", "null"], "format": "date-time" } - } - } - } - }, - "projects-v2-item-content-type": { - "title": "Projects v2 Item Content Type", - "description": "The type of content tracked in a project item", - "type": "string", - "enum": ["Issue", "PullRequest", "DraftIssue"] - }, - "projects-v2-item": { - "title": "Projects v2 Item", - "description": "An item belonging to a project", - "type": "object", - "properties": { - "id": { "type": "number" }, - "node_id": { "type": "string" }, - "project_node_id": { "type": "string" }, - "content_node_id": { "type": "string" }, - "content_type": { - "$ref": "#/components/schemas/projects-v2-item-content-type" - }, - "creator": { "$ref": "#/components/schemas/simple-user" }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": ["2022-04-28T12:00:00Z"] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": ["2022-04-28T12:00:00Z"] - }, - "archived_at": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2022-04-28T12:00:00Z"] - } - }, - "required": [ - "id", - "content_node_id", - "content_type", - "created_at", - "updated_at", - "archived_at" - ] - }, - "projects-v2-single-select-option": { - "title": "Projects v2 Single Select Option", - "description": "An option for a single select field", - "type": "object", - "properties": { - "id": { "type": "string" }, - "name": { "type": "string" }, - "color": { "type": ["string", "null"] }, - "description": { "type": ["string", "null"] } - }, - "required": ["id", "name"] - }, - "projects-v2-iteration-setting": { - "title": "Projects v2 Iteration Setting", - "description": "An iteration setting for an iteration field", - "type": "object", - "properties": { - "id": { "type": "string" }, - "title": { "type": "string" }, - "duration": { "type": ["number", "null"] }, - "start_date": { "type": ["string", "null"] } - }, - "required": ["id", "title"] - }, "projects-v2-status-update": { "title": "Projects v2 Status Update", "description": "An status update belonging to a project", @@ -51824,6 +52851,157 @@ }, "required": ["id", "node_id", "created_at", "updated_at"] }, + "projects-v2": { + "title": "Projects v2 Project", + "description": "A projects v2 project", + "type": "object", + "properties": { + "id": { "type": "number" }, + "node_id": { "type": "string" }, + "owner": { "$ref": "#/components/schemas/simple-user" }, + "creator": { "$ref": "#/components/schemas/simple-user" }, + "title": { "type": "string" }, + "description": { "type": ["string", "null"] }, + "public": { "type": "boolean" }, + "closed_at": { + "type": ["string", "null"], + "format": "date-time", + "examples": ["2022-04-28T12:00:00Z"] + }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": ["2022-04-28T12:00:00Z"] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": ["2022-04-28T12:00:00Z"] + }, + "number": { "type": "integer" }, + "short_description": { "type": ["string", "null"] }, + "deleted_at": { + "type": ["string", "null"], + "format": "date-time", + "examples": ["2022-04-28T12:00:00Z"] + }, + "deleted_by": { + "anyOf": [ + { "type": "null" }, + { "$ref": "#/components/schemas/simple-user" } + ] + }, + "state": { "type": "string", "enum": ["open", "closed"] }, + "latest_status_update": { + "anyOf": [ + { "type": "null" }, + { "$ref": "#/components/schemas/projects-v2-status-update" } + ] + }, + "is_template": { + "type": "boolean", + "description": "Whether this project is a template" + } + }, + "required": [ + "id", + "node_id", + "owner", + "creator", + "title", + "description", + "public", + "closed_at", + "created_at", + "updated_at", + "number", + "short_description", + "deleted_at", + "deleted_by" + ] + }, + "webhooks_project_changes": { + "type": "object", + "properties": { + "archived_at": { + "type": "object", + "properties": { + "from": { "type": ["string", "null"], "format": "date-time" }, + "to": { "type": ["string", "null"], "format": "date-time" } + } + } + } + }, + "projects-v2-item-content-type": { + "title": "Projects v2 Item Content Type", + "description": "The type of content tracked in a project item", + "type": "string", + "enum": ["Issue", "PullRequest", "DraftIssue"] + }, + "projects-v2-item": { + "title": "Projects v2 Item", + "description": "An item belonging to a project", + "type": "object", + "properties": { + "id": { "type": "number" }, + "node_id": { "type": "string" }, + "project_node_id": { "type": "string" }, + "content_node_id": { "type": "string" }, + "content_type": { + "$ref": "#/components/schemas/projects-v2-item-content-type" + }, + "creator": { "$ref": "#/components/schemas/simple-user" }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": ["2022-04-28T12:00:00Z"] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": ["2022-04-28T12:00:00Z"] + }, + "archived_at": { + "type": ["string", "null"], + "format": "date-time", + "examples": ["2022-04-28T12:00:00Z"] + } + }, + "required": [ + "id", + "content_node_id", + "content_type", + "created_at", + "updated_at", + "archived_at" + ] + }, + "projects-v2-single-select-option": { + "title": "Projects v2 Single Select Option", + "description": "An option for a single select field", + "type": "object", + "properties": { + "id": { "type": "string" }, + "name": { "type": "string" }, + "color": { "type": ["string", "null"] }, + "description": { "type": ["string", "null"] } + }, + "required": ["id", "name"] + }, + "projects-v2-iteration-setting": { + "title": "Projects v2 Iteration Setting", + "description": "An iteration setting for an iteration field", + "type": "object", + "properties": { + "id": { "type": "string" }, + "title": { "type": "string" }, + "title_html": { "type": "string" }, + "duration": { "type": ["number", "null"] }, + "start_date": { "type": ["string", "null"] }, + "completed": { "type": "boolean" } + }, + "required": ["id", "title"] + }, "webhooks_number": { "description": "The pull request number.", "type": "integer" @@ -53787,6 +54965,7 @@ "pull_request_url": { "type": "string", "format": "uri" }, "state": { "type": "string" }, "submitted_at": { "type": ["string", "null"], "format": "date-time" }, + "updated_at": { "type": ["string", "null"], "format": "date-time" }, "user": { "title": "User", "type": ["object", "null"], @@ -53963,6 +55142,7 @@ }, "body": { "type": ["string", "null"] }, "created_at": { "type": ["string", "null"], "format": "date-time" }, + "updated_at": { "type": ["string", "null"], "format": "date-time" }, "discussion_url": { "type": "string", "format": "uri" }, "draft": { "description": "Whether the release is a draft or published", @@ -53970,6 +55150,10 @@ }, "html_url": { "type": "string", "format": "uri" }, "id": { "type": "integer" }, + "immutable": { + "description": "Whether or not the release is immutable.", + "type": "boolean" + }, "name": { "type": ["string", "null"] }, "node_id": { "type": "string" }, "prerelease": { @@ -54031,10 +55215,12 @@ "draft", "author", "prerelease", + "immutable", "created_at", "published_at", "assets", "tarball_url", + "updated_at", "zipball_url", "body" ] @@ -54055,10 +55241,12 @@ "name", "node_id", "prerelease", + "immutable", "published_at", "tag_name", "tarball_url", "target_commitish", + "updated_at", "upload_url", "url", "zipball_url" @@ -54194,6 +55382,10 @@ }, "html_url": { "type": "string", "format": "uri" }, "id": { "type": "integer" }, + "immutable": { + "description": "Whether or not the release is immutable.", + "type": "boolean" + }, "name": { "type": ["string", "null"] }, "node_id": { "type": "string" }, "prerelease": { @@ -54238,6 +55430,7 @@ "description": "Specifies the commitish value that determines where the Git tag is created from.", "type": "string" }, + "updated_at": { "type": ["string", "null"], "format": "date-time" }, "upload_url": { "type": "string", "format": "uri-template" }, "url": { "type": "string", "format": "uri" }, "zipball_url": { "type": ["string", "null"], "format": "uri" } @@ -63593,14 +64786,10 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -64532,14 +65721,10 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -65475,14 +66660,10 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -65759,6 +66940,154 @@ "sender" ] }, + "webhook-issue-dependencies-blocked-by-added": { + "title": "blocked by issue added event", + "type": "object", + "properties": { + "action": { "type": "string", "enum": ["blocked_by_added"] }, + "blocked_issue_id": { + "description": "The ID of the blocked issue.", + "type": "number" + }, + "blocked_issue": { "$ref": "#/components/schemas/issue" }, + "blocking_issue_id": { + "description": "The ID of the blocking issue.", + "type": "number" + }, + "blocking_issue": { "$ref": "#/components/schemas/issue" }, + "blocking_issue_repo": { "$ref": "#/components/schemas/repository" }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "repository": { "$ref": "#/components/schemas/repository-webhooks" }, + "sender": { "$ref": "#/components/schemas/simple-user" } + }, + "required": [ + "action", + "blocked_issue_id", + "blocked_issue", + "blocking_issue_id", + "blocking_issue", + "blocking_issue_repo", + "organization", + "repository", + "sender" + ] + }, + "webhook-issue-dependencies-blocked-by-removed": { + "title": "blocked by issue removed event", + "type": "object", + "properties": { + "action": { "type": "string", "enum": ["blocked_by_removed"] }, + "blocked_issue_id": { + "description": "The ID of the blocked issue.", + "type": "number" + }, + "blocked_issue": { "$ref": "#/components/schemas/issue" }, + "blocking_issue_id": { + "description": "The ID of the blocking issue.", + "type": "number" + }, + "blocking_issue": { "$ref": "#/components/schemas/issue" }, + "blocking_issue_repo": { "$ref": "#/components/schemas/repository" }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "repository": { "$ref": "#/components/schemas/repository-webhooks" }, + "sender": { "$ref": "#/components/schemas/simple-user" } + }, + "required": [ + "action", + "blocked_issue_id", + "blocked_issue", + "blocking_issue_id", + "blocking_issue", + "blocking_issue_repo", + "organization", + "repository", + "sender" + ] + }, + "webhook-issue-dependencies-blocking-added": { + "title": "blocking issue added event", + "type": "object", + "properties": { + "action": { "type": "string", "enum": ["blocking_added"] }, + "blocked_issue_id": { + "description": "The ID of the blocked issue.", + "type": "number" + }, + "blocked_issue": { "$ref": "#/components/schemas/issue" }, + "blocked_issue_repo": { "$ref": "#/components/schemas/repository" }, + "blocking_issue_id": { + "description": "The ID of the blocking issue.", + "type": "number" + }, + "blocking_issue": { "$ref": "#/components/schemas/issue" }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "repository": { "$ref": "#/components/schemas/repository-webhooks" }, + "sender": { "$ref": "#/components/schemas/simple-user" } + }, + "required": [ + "action", + "blocked_issue_id", + "blocked_issue", + "blocked_issue_repo", + "blocking_issue_id", + "blocking_issue", + "organization", + "repository", + "sender" + ] + }, + "webhook-issue-dependencies-blocking-removed": { + "title": "blocking issue removed event", + "type": "object", + "properties": { + "action": { "type": "string", "enum": ["blocking_removed"] }, + "blocked_issue_id": { + "description": "The ID of the blocked issue.", + "type": "number" + }, + "blocked_issue": { "$ref": "#/components/schemas/issue" }, + "blocked_issue_repo": { "$ref": "#/components/schemas/repository" }, + "blocking_issue_id": { + "description": "The ID of the blocking issue.", + "type": "number" + }, + "blocking_issue": { "$ref": "#/components/schemas/issue" }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "repository": { "$ref": "#/components/schemas/repository-webhooks" }, + "sender": { "$ref": "#/components/schemas/simple-user" } + }, + "required": [ + "action", + "blocked_issue_id", + "blocked_issue", + "blocked_issue_repo", + "blocking_issue_id", + "blocking_issue", + "organization", + "repository", + "sender" + ] + }, "webhook-issues-assigned": { "title": "issues assigned event", "type": "object", @@ -66450,14 +67779,16 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { + "$ref": "#/components/schemas/issue-field-value" + } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -67246,14 +68577,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -67966,14 +69297,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -68671,14 +70002,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -69372,14 +70703,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -70098,14 +71429,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -70796,14 +72127,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -71526,14 +72857,16 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { + "$ref": "#/components/schemas/issue-field-value" + } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -72587,14 +73920,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -73328,14 +74661,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -74057,14 +75390,16 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { + "$ref": "#/components/schemas/issue-field-value" + } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -75244,14 +76579,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -76036,7 +77371,7 @@ "action": { "type": "string", "enum": ["deleted"] }, "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, "hook": { - "description": "The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, business, app, or GitHub Marketplace.", + "description": "The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, business, app, or GitHub Marketplace.", "type": "object", "properties": { "active": { "type": "boolean" }, @@ -76055,6 +77390,7 @@ }, "created_at": { "type": "string" }, "events": { + "description": "", "type": "array", "items": { "type": "string", @@ -99134,6 +100470,10 @@ "enum": ["dismissed", "approved", "changes_requested"] }, "submitted_at": { "type": "string", "format": "date-time" }, + "updated_at": { + "type": ["string", "null"], + "format": "date-time" + }, "user": { "title": "User", "type": ["object", "null"], @@ -113114,7 +114454,8 @@ "node_id": { "type": "string" } }, "required": ["node_id", "comments"] - } + }, + "updated_at": { "type": ["string", "null"], "format": "date-time" } }, "required": ["action", "thread", "pull_request", "repository"] }, @@ -115104,7 +116445,8 @@ "node_id": { "type": "string" } }, "required": ["node_id", "comments"] - } + }, + "updated_at": { "type": ["string", "null"], "format": "date-time" } }, "required": ["action", "thread", "pull_request", "repository"] }, @@ -123873,6 +125215,7 @@ "draft", "html_url", "id", + "immutable", "name", "node_id", "prerelease", @@ -123880,6 +125223,7 @@ "tag_name", "tarball_url", "target_commitish", + "updated_at", "upload_url", "url", "zipball_url" @@ -124033,6 +125377,10 @@ }, "html_url": { "type": "string", "format": "uri" }, "id": { "type": "integer" }, + "immutable": { + "description": "Whether or not the release is immutable.", + "type": "boolean" + }, "name": { "type": ["string", "null"] }, "node_id": { "type": "string" }, "prerelease": { @@ -124082,6 +125430,10 @@ "type": "string" }, "upload_url": { "type": "string", "format": "uri-template" }, + "updated_at": { + "type": ["string", "null"], + "format": "date-time" + }, "url": { "type": "string", "format": "uri" }, "zipball_url": { "type": ["string", "null"], "format": "uri" } } @@ -133504,6 +134856,17 @@ "selected_actions_url": "https://api.github.com/enterprises/2/actions/permissions/selected-actions" } }, + "actions-fork-pr-contributor-approval": { + "value": { "approval_policy": "first_time_contributors" } + }, + "actions-fork-pr-workflows-private-repos": { + "value": { + "run_workflows_from_fork_pull_requests": true, + "send_write_tokens_to_workflows": false, + "send_secrets_and_variables": false, + "require_approval_for_fork_pr_workflows": true + } + }, "organization-targets": { "value": { "total_count": 1, @@ -133763,6 +135126,22 @@ "user_dismissible": false } }, + "enterprise-organization-installation": { + "value": { + "id": 1, + "app_slug": "monalisa/orbit", + "repository_selection": "selected", + "repositories_url": "https://api.github.com/enterprises/acme-corp/apps/organizations/some-org/installations/1/repositories", + "permissions": { + "checks": "write", + "metadata": "read", + "contents": "read" + }, + "events": ["push", "pull_request"], + "created_at": "2017-07-08T16:18:44-04:00", + "updated_at": "2017-07-08T16:18:44-04:00" + } + }, "audit-log": { "value": [ { @@ -134258,6 +135637,7 @@ "runner_type": "not_set", "runner_label": null }, + "code_scanning_options": { "allow_advanced": false }, "secret_scanning": "enabled", "secret_scanning_push_protection": "enabled", "secret_scanning_delegated_bypass": "enabled", @@ -134300,6 +135680,7 @@ "runner_type": "not_set", "runner_label": null }, + "code_scanning_options": { "allow_advanced": false }, "secret_scanning": "enabled", "secret_scanning_push_protection": "enabled", "secret_scanning_delegated_bypass": "disabled", @@ -134333,6 +135714,7 @@ "runner_type": "not_set", "runner_label": null }, + "code_scanning_options": { "allow_advanced": false }, "code_scanning_delegated_alert_dismissal": "disabled", "secret_scanning": "enabled", "secret_scanning_push_protection": "disabled", @@ -134493,6 +135875,7 @@ "pending_cancellation_date": null, "last_activity_at": "2021-10-14T00:53:32-06:00", "last_activity_editor": "vscode/1.77.3/copilot/1.86.82", + "last_authenticated_at": "2021-10-14T00:53:32-06:00", "plan_type": "business", "assignee": { "login": "octocat", @@ -134536,6 +135919,7 @@ "pending_cancellation_date": "2021-11-01", "last_activity_at": "2021-10-13T00:53:32-06:00", "last_activity_editor": "vscode/1.77.3/copilot/1.86.82", + "last_authenticated_at": "2021-10-14T00:53:32-06:00", "assignee": { "login": "octokitten", "id": 1, @@ -135352,7 +136736,20 @@ "resolution_comment": "Example comment", "validity": "active", "publicly_leaked": false, - "multi_repo": false + "multi_repo": false, + "is_base64_encoded": false, + "first_location_detected": { + "path": "/example/secrets.txt", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 64, + "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", + "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", + "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", + "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" + }, + "has_more_locations": true }, { "number": 1, @@ -135444,10 +136841,50 @@ "resolution_comment": null, "validity": "unknown", "publicly_leaked": false, - "multi_repo": false + "multi_repo": false, + "is_base64_encoded": false, + "first_location_detected": { + "issue_title_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + }, + "has_more_locations": false } ] }, + "secret-scanning-pattern-configuration": { + "value": { + "pattern_config_version": "0ujsswThIGTUYm2K8FjOOfXtY1K", + "provider_pattern_overrides": [ + { + "token_type": "GITHUB_PERSONAL_ACCESS_TOKEN", + "slug": "github_personal_access_token_legacy_v2", + "display_name": "GitHub Personal Access Token (Legacy v2)", + "alert_total": 15, + "alert_total_percentage": 36, + "false_positives": 2, + "false_positive_rate": 13, + "bypass_rate": 13, + "default_setting": "enabled", + "setting": "enabled", + "enterprise_setting": "enabled" + } + ], + "custom_pattern_overrides": [ + { + "token_type": "cp_2", + "custom_pattern_version": "0ujsswThIGTUYm2K8FjOOfXtY1K", + "slug": "custom-api-key", + "display_name": "Custom API Key", + "alert_total": 15, + "alert_total_percentage": 36, + "false_positives": 3, + "false_positive_rate": 20, + "bypass_rate": 20, + "default_setting": "disabled", + "setting": "enabled" + } + ] + } + }, "actions-billing-usage": { "value": { "total_minutes_used": 305, @@ -135503,11 +136940,42 @@ { "id": "2eeb8ffe-6903-11ee-8c99-0242ac120002", "name": "Cost Center Name", - "resources": [{ "type": "User", "name": "Monalisa" }] + "state": "active", + "azure_subscription": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "resources": [ + { "type": "User", "name": "Monalisa" }, + { "type": "Repo", "name": "octocat/hello-world" } + ] + }, + { + "id": "3ffb9ffe-6903-11ee-8c99-0242ac120003", + "name": "Another Cost Center", + "state": "active", + "resources": [{ "type": "User", "name": "Octocat" }] } ] } }, + "get-cost-center": { + "value": { + "id": "2eeb8ffe-6903-11ee-8c99-0242ac120002", + "name": "Cost Center Name", + "state": "active", + "azure_subscription": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "resources": [ + { "type": "User", "name": "Monalisa" }, + { "type": "Repo", "name": "octocat/hello-world" } + ] + } + }, + "delete-cost-center": { + "value": { + "message": "Cost center successfully deleted.", + "id": "2066deda-923f-43f9-88d2-62395a28c0cdd", + "name": "cc3", + "costCenterState": "CostCenterArchived" + } + }, "packages-billing-usage": { "value": { "total_gigabytes_bandwidth_used": 50, @@ -137054,6 +138522,127 @@ "updated_at": "2022-07-04T22:20:11Z" } }, + "repository-paginated": { + "value": { + "total_count": 1, + "repositories": [ + { + "id": 1296269, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "name": "Hello-World", + "full_name": "octocat/Hello-World", + "owner": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/octocat/Hello-World", + "description": "This your first repo!", + "fork": false, + "url": "https://api.github.com/repos/octocat/Hello-World", + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "homepage": "https://github.com", + "language": null, + "forks_count": 9, + "stargazers_count": 80, + "watchers_count": 80, + "size": 108, + "default_branch": "master", + "open_issues_count": 0, + "is_template": true, + "topics": ["octocat", "atom", "electron", "api"], + "has_issues": true, + "has_projects": true, + "has_wiki": true, + "has_pages": false, + "has_downloads": true, + "archived": false, + "disabled": false, + "visibility": "public", + "pushed_at": "2011-01-26T19:06:43Z", + "created_at": "2011-01-26T19:01:12Z", + "updated_at": "2011-01-26T19:14:43Z", + "permissions": { "admin": false, "push": false, "pull": true }, + "allow_rebase_merge": true, + "template_repository": null, + "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", + "allow_squash_merge": true, + "allow_auto_merge": false, + "delete_branch_on_merge": true, + "allow_merge_commit": true, + "subscribers_count": 42, + "network_count": 0, + "license": { + "key": "mit", + "name": "MIT License", + "url": "https://api.github.com/licenses/mit", + "spdx_id": "MIT", + "node_id": "MDc6TGljZW5zZW1pdA==", + "html_url": "https://github.com/licenses/mit" + }, + "forks": 1, + "open_issues": 1, + "watchers": 1 + } + ] + } + }, "dependabot-repository-access-details": { "value": { "default_level": "public", @@ -137176,6 +138765,7 @@ "seats": 5 }, "default_repository_permission": "read", + "default_repository_branch": "main", "members_can_create_repositories": true, "two_factor_requirement_enabled": true, "members_allowed_repository_creation_type": "all", @@ -137185,6 +138775,14 @@ "members_can_create_pages": true, "members_can_create_public_pages": true, "members_can_create_private_pages": true, + "members_can_delete_repositories": true, + "members_can_change_repo_visibility": true, + "members_can_invite_outside_collaborators": true, + "members_can_delete_issues": false, + "display_commenter_full_name_setting_enabled": false, + "readers_can_create_discussions": true, + "members_can_create_teams": true, + "members_can_view_dependency_insights": true, "members_can_fork_private_repositories": false, "web_commit_signoff_required": false, "updated_at": "2014-03-03T18:58:10Z", @@ -137228,127 +138826,6 @@ "selected_actions_url": "https://api.github.com/organizations/42/actions/permissions/selected-actions" } }, - "repository-paginated": { - "value": { - "total_count": 1, - "repositories": [ - { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "git_url": "git:github.com/octocat/Hello-World.git", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "ssh_url": "git@github.com:octocat/Hello-World.git", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "clone_url": "https://github.com/octocat/Hello-World.git", - "mirror_url": "git:git.example.com/octocat/Hello-World", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", - "svn_url": "https://svn.github.com/octocat/Hello-World", - "homepage": "https://github.com", - "language": null, - "forks_count": 9, - "stargazers_count": 80, - "watchers_count": 80, - "size": 108, - "default_branch": "master", - "open_issues_count": 0, - "is_template": true, - "topics": ["octocat", "atom", "electron", "api"], - "has_issues": true, - "has_projects": true, - "has_wiki": true, - "has_pages": false, - "has_downloads": true, - "archived": false, - "disabled": false, - "visibility": "public", - "pushed_at": "2011-01-26T19:06:43Z", - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:14:43Z", - "permissions": { "admin": false, "push": false, "pull": true }, - "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "allow_squash_merge": true, - "allow_auto_merge": false, - "delete_branch_on_merge": true, - "allow_merge_commit": true, - "subscribers_count": 42, - "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 - } - ] - } - }, "runner-groups-org": { "value": { "total_count": 3, @@ -137821,6 +139298,141 @@ "selected_repositories_url": "https://api.github.com/orgs/octo-org/actions/variables/USERNAME/repositories" } }, + "bulk-subject-digest-body": { + "value": { "subject_digests": ["sha256:abc123", "sha512:def456"] } + }, + "bulk-subject-digest-body-with-predicate-type": { + "value": { + "subject_digests": ["sha256:abc123", "sha512:def456"], + "predicateType": "provenance" + } + }, + "list-attestations-bulk": { + "value": { + "attestations_subject_digests": [ + { + "sha256:abc": [ + { + "bundle": { + "mediaType": "application/vnd.dev.sigstore.bundle.v0.3+json", + "verificationMaterial": { + "tlogEntries": [ + { + "logIndex": "97913980", + "logId": { + "keyId": "wNI9atQGlz+VWfO6LRygH4QUfY/8W4RFwiT5i5WRgB0=" + }, + "kindVersion": { "kind": "dsse", "version": "0.0.1" }, + "integratedTime": "1716998992", + "inclusionPromise": { + "signedEntryTimestamp": "MEYCIQCeEsQAy+qXtULkh52wbnHrkt2R2JQ05P9STK/xmdpQ2AIhANiG5Gw6cQiMnwvUz1+9UKtG/vlC8dduq07wsFOViwSL" + }, + "inclusionProof": { + "logIndex": "93750549", + "rootHash": "KgKiXoOl8rM5d4y6Xlbm2QLftvj/FYvTs6z7dJlNO60=", + "treeSize": "93750551", + "hashes": [ + "8LI21mzwxnUSo0fuZeFsUrz2ujZ4QAL+oGeTG+5toZg=", + "nCb369rcIytNhGwWoqBv+eV49X3ZKpo/HJGKm9V+dck=", + "hnNQ9mUdSwYCfdV21pd87NucrdRRNZATowlaRR1hJ4A=", + "MBhhK33vlD4Tq/JKgAaXUI4VjmosWKe6+7RNpQ2ncNM=", + "XKWUE3stvGV1OHsIGiCGfn047Ok6uD4mFkh7BaicaEc=", + "Tgve40VPFfuei+0nhupdGpfPPR+hPpZjxgTiDT8WNoY=", + "wV+S/7tLtYGzkLaSb6UDqexNyhMvumHK/RpTNvEZuLU=", + "uwaWufty6sn6XqO1Tb9M3Vz6sBKPu0HT36mStxJNd7s=", + "jUfeMOXQP0XF1JAnCEETVbfRKMUwCzrVUzYi8vnDMVs=", + "xQKjzJAwwdlQG/YUYBKPXxbCmhMYKo1wnv+6vDuKWhQ=", + "cX3Agx+hP66t1ZLbX/yHbfjU46/3m/VAmWyG/fhxAVc=", + "sjohk/3DQIfXTgf/5XpwtdF7yNbrf8YykOMHr1CyBYQ=", + "98enzMaC+x5oCMvIZQA5z8vu2apDMCFvE/935NfuPw8=" + ], + "checkpoint": { + "envelope": "rekor.sigstore.dev - 2605736670972794746\\n93750551\\nKgKiXoOl8rM5d4y6Xlbm2QLftvj/FYvTs6z7dJlNO60=\\n\\n— rekor.sigstore.dev wNI9ajBEAiBkLzdjY8A9HReU7rmtjwZ+JpSuYtEr9SmvSwUIW7FBjgIgKo+vhkW3tqc+gc8fw9gza3xLoncA8a+MTaJYCaLGA9c=\\n" + } + }, + "canonicalizedBody": "eyJhcGlWZXJzaW9uIjoiMC4wLjEiLCJraW5kIjoiZHNzZSIsInNwZWMiOnsiZW52ZWxvcGVIYXNoIjp7ImFsZ29yaXRobSI6InNoYTI1NiIsInZhbHVlIjoiM2I1YzkwNDk5MGFiYzE4NjI1ZWE3Njg4MzE1OGEwZmI4MTEwMjM4MGJkNjQwZjI5OWJlMzYwZWVkOTMxNjYwYiJ9LCJwYXlsb2FkSGFzaCI6eyJhbGdvcml0aG0iOiJzaGEyNTYiLCJ2YWx1ZSI6IjM4ZGNlZDJjMzE1MGU2OTQxMDViYjZiNDNjYjY3NzBiZTYzZDdhNGM4NjNiMTc2YTkwMmU1MGQ5ZTAyN2ZiMjMifSwic2lnbmF0dXJlcyI6W3sic2lnbmF0dXJlIjoiTUVRQ0lFR0lHQW03Z1pWTExwc3JQY2puZEVqaXVjdEUyL2M5K2o5S0d2YXp6M3JsQWlBZDZPMTZUNWhrelJNM0liUlB6bSt4VDQwbU5RWnhlZmQ3bGFEUDZ4MlhMUT09IiwidmVyaWZpZXIiOiJMUzB0TFMxQ1JVZEpUaUJEUlZKVVNVWkpRMEZVUlMwdExTMHRDazFKU1VkcVZFTkRRbWhUWjBGM1NVSkJaMGxWVjFsNGNVdHpjazFUTTFOMmJEVkphalZQUkdaQ1owMUtUeTlKZDBObldVbExiMXBKZW1vd1JVRjNUWGNLVG5wRlZrMUNUVWRCTVZWRlEyaE5UV015Ykc1ak0xSjJZMjFWZFZwSFZqSk5ValIzU0VGWlJGWlJVVVJGZUZaNllWZGtlbVJIT1hsYVV6RndZbTVTYkFwamJURnNXa2RzYUdSSFZYZElhR05PVFdwUmQwNVVTVFZOVkZsM1QxUlZlVmRvWTA1TmFsRjNUbFJKTlUxVVdYaFBWRlY1VjJwQlFVMUdhM2RGZDFsSUNrdHZXa2w2YWpCRFFWRlpTVXR2V2tsNmFqQkVRVkZqUkZGblFVVmtiV2RvVGs1M00yNVZMMHQxWlZGbmMzQkhTRmMzWjJnNVdFeEVMMWRrU1RoWlRVSUtLekJ3TUZZMGJ6RnJTRzgyWTAweGMwUktaM0pEWjFCUlZYcDRjSFZaZFc4cmVIZFFTSGxzTDJ0RWVXWXpSVXhxYTJGUFEwSlVUWGRuWjFWMlRVRTBSd3BCTVZWa1JIZEZRaTkzVVVWQmQwbElaMFJCVkVKblRsWklVMVZGUkVSQlMwSm5aM0pDWjBWR1FsRmpSRUY2UVdSQ1owNVdTRkUwUlVablVWVnhaa05RQ25aWVMwRjJVelJEWkdoUk1taGlXbGRLVTA5RmRsWnZkMGgzV1VSV1VqQnFRa0puZDBadlFWVXpPVkJ3ZWpGWmEwVmFZalZ4VG1wd1MwWlhhWGhwTkZrS1drUTRkMWRuV1VSV1VqQlNRVkZJTDBKR1FYZFViMXBOWVVoU01HTklUVFpNZVRsdVlWaFNiMlJYU1hWWk1qbDBUREpPYzJGVE9XcGlSMnQyVEcxa2NBcGtSMmd4V1drNU0ySXpTbkphYlhoMlpETk5kbHBIVm5kaVJ6azFZbGRXZFdSRE5UVmlWM2hCWTIxV2JXTjVPVzlhVjBaclkzazVNR051Vm5WaGVrRTFDa0puYjNKQ1owVkZRVmxQTDAxQlJVSkNRM1J2WkVoU2QyTjZiM1pNTTFKMllUSldkVXh0Um1wa1IyeDJZbTVOZFZveWJEQmhTRlpwWkZoT2JHTnRUbllLWW01U2JHSnVVWFZaTWpsMFRVSTRSME5wYzBkQlVWRkNaemM0ZDBGUlNVVkZXR1IyWTIxMGJXSkhPVE5ZTWxKd1l6TkNhR1JIVG05TlJGbEhRMmx6UndwQlVWRkNaemM0ZDBGUlRVVkxSMXBvV2xkWmVWcEhVbXRQUkVacFRVUmplazVxWXpCUFJGRjRUVEpGTTFsNldUQk9iVTVyVFVkS2JWbDZTVEpaZWtGM0NsbFVRWGRIUVZsTFMzZFpRa0pCUjBSMmVrRkNRa0ZSUzFKSFZuZGlSemsxWWxkV2RXUkVRVlpDWjI5eVFtZEZSVUZaVHk5TlFVVkdRa0ZrYW1KSGEzWUtXVEo0Y0UxQ05FZERhWE5IUVZGUlFtYzNPSGRCVVZsRlJVaEtiRnB1VFhaaFIxWm9Xa2hOZG1SSVNqRmliWE4zVDNkWlMwdDNXVUpDUVVkRWRucEJRZ3BEUVZGMFJFTjBiMlJJVW5kamVtOTJURE5TZG1FeVZuVk1iVVpxWkVkc2RtSnVUWFZhTW13d1lVaFdhV1JZVG14amJVNTJZbTVTYkdKdVVYVlpNamwwQ2sxR2QwZERhWE5IUVZGUlFtYzNPSGRCVVd0RlZHZDRUV0ZJVWpCalNFMDJUSGs1Ym1GWVVtOWtWMGwxV1RJNWRFd3lUbk5oVXpscVlrZHJka3h0WkhBS1pFZG9NVmxwT1ROaU0wcHlXbTE0ZG1RelRYWmFSMVozWWtjNU5XSlhWblZrUXpVMVlsZDRRV050Vm0xamVUbHZXbGRHYTJONU9UQmpibFoxWVhwQk5BcENaMjl5UW1kRlJVRlpUeTlOUVVWTFFrTnZUVXRIV21oYVYxbDVXa2RTYTA5RVJtbE5SR042VG1wak1FOUVVWGhOTWtVeldYcFpNRTV0VG10TlIwcHRDbGw2U1RKWmVrRjNXVlJCZDBoUldVdExkMWxDUWtGSFJIWjZRVUpEZDFGUVJFRXhibUZZVW05a1YwbDBZVWM1ZW1SSFZtdE5RMjlIUTJselIwRlJVVUlLWnpjNGQwRlJkMFZJUVhkaFlVaFNNR05JVFRaTWVUbHVZVmhTYjJSWFNYVlpNamwwVERKT2MyRlRPV3BpUjJ0M1QwRlpTMHQzV1VKQ1FVZEVkbnBCUWdwRVVWRnhSRU5vYlZsWFZtMU5iVkpyV2tSbmVGbHFRVE5OZWxrelRrUm5NRTFVVG1oT01rMHlUa1JhYWxwRVFtbGFiVTE1VG0xTmQwMUhSWGROUTBGSENrTnBjMGRCVVZGQ1p6YzRkMEZSTkVWRlozZFJZMjFXYldONU9XOWFWMFpyWTNrNU1HTnVWblZoZWtGYVFtZHZja0puUlVWQldVOHZUVUZGVUVKQmMwMEtRMVJKZUUxcVdYaE5la0V3VDFSQmJVSm5iM0pDWjBWRlFWbFBMMDFCUlZGQ1FtZE5SbTFvTUdSSVFucFBhVGgyV2pKc01HRklWbWxNYlU1MllsTTVhZ3BpUjJ0M1IwRlpTMHQzV1VKQ1FVZEVkbnBCUWtWUlVVdEVRV2N4VDFSamQwNUVZM2hOVkVKalFtZHZja0puUlVWQldVOHZUVUZGVTBKRk5FMVVSMmd3Q21SSVFucFBhVGgyV2pKc01HRklWbWxNYlU1MllsTTVhbUpIYTNaWk1uaHdUSGsxYm1GWVVtOWtWMGwyWkRJNWVXRXlXbk5pTTJSNlRESlNiR05IZUhZS1pWY3hiR0p1VVhWbFZ6RnpVVWhLYkZwdVRYWmhSMVpvV2toTmRtUklTakZpYlhOM1QwRlpTMHQzV1VKQ1FVZEVkbnBCUWtWM1VYRkVRMmh0V1ZkV2JRcE5iVkpyV2tSbmVGbHFRVE5OZWxrelRrUm5NRTFVVG1oT01rMHlUa1JhYWxwRVFtbGFiVTE1VG0xTmQwMUhSWGROUTBWSFEybHpSMEZSVVVKbk56aDNDa0ZTVVVWRmQzZFNaREk1ZVdFeVduTmlNMlJtV2tkc2VtTkhSakJaTW1kM1ZGRlpTMHQzV1VKQ1FVZEVkbnBCUWtaUlVTOUVSREZ2WkVoU2QyTjZiM1lLVERKa2NHUkhhREZaYVRWcVlqSXdkbGt5ZUhCTU1rNXpZVk01YUZrelVuQmlNalY2VEROS01XSnVUWFpQVkVrMFQxUkJNMDVVWXpGTmFUbG9aRWhTYkFwaVdFSXdZM2s0ZUUxQ1dVZERhWE5IUVZGUlFtYzNPSGRCVWxsRlEwRjNSMk5JVm1saVIyeHFUVWxIVEVKbmIzSkNaMFZGUVdSYU5VRm5VVU5DU0RCRkNtVjNRalZCU0dOQk0xUXdkMkZ6WWtoRlZFcHFSMUkwWTIxWFl6TkJjVXBMV0hKcVpWQkxNeTlvTkhCNVowTTRjRGR2TkVGQlFVZFFlRkl4ZW1KblFVRUtRa0ZOUVZORVFrZEJhVVZCS3pobmJGRkplRTlCYUZoQ1FVOVRObE1yT0ZweGQwcGpaSGQzVTNJdlZGZHBhSE16WkV4eFZrRjJiME5KVVVSaWVUbG9NUXBKWTNWRVJYSXJlbk5YYVV3NFVIYzFRMU5VZEd0c2RFbzBNakZ6UlRneFZuWjFOa0Z3VkVGTFFtZG5jV2hyYWs5UVVWRkVRWGRPYmtGRVFtdEJha0VyQ2tSSU4xQXJhR2cwVmtoWFprTlhXSFJ5UzFSdlFrdDFZa0pyUzNCbVYwTlpVWGhxV0UweWRsWXZibEJ4WWxwR1dVOVdXazlpWlRaQlRuSm5lV1J2V1VNS1RVWlZUV0l6ZUhwelJrNVJXWFp6UlZsUGFUSkxibkoyUmpCMFoyOXdiVmhIVm05NmJsb3JjUzh5UVVsRVZ6bEdNVVUzV1RaWk1EWXhaVzkxUVZsa1NBcFhkejA5Q2kwdExTMHRSVTVFSUVORlVsUkpSa2xEUVZSRkxTMHRMUzBLIn1dfX0=" + } + ], + "timestampVerificationData": {}, + "certificate": { + "rawBytes": "MIIGjTCCBhSgAwIBAgIUWYxqKsrMS3Svl5Ij5ODfBgMJO/IwCgYIKoZIzj0EAwMwNzEVMBMGA1UEChMMc2lnc3RvcmUuZGV2MR4wHAYDVQQDExVzaWdzdG9yZS1pbnRlcm1lZGlhdGUwHhcNMjQwNTI5MTYwOTUyWhcNMjQwNTI5MTYxOTUyWjAAMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEdmghNNw3nU/KueQgspGHW7gh9XLD/WdI8YMB+0p0V4o1kHo6cM1sDJgrCgPQUzxpuYuo+xwPHyl/kDyf3ELjkaOCBTMwggUvMA4GA1UdDwEB/wQEAwIHgDATBgNVHSUEDDAKBggrBgEFBQcDAzAdBgNVHQ4EFgQUqfCPvXKAvS4CdhQ2hbZWJSOEvVowHwYDVR0jBBgwFoAU39Ppz1YkEZb5qNjpKFWixi4YZD8wWgYDVR0RAQH/BFAwToZMaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkvLmdpdGh1Yi93b3JrZmxvd3MvZGVwbG95bWVudC55bWxAcmVmcy9oZWFkcy90cnVuazA5BgorBgEEAYO/MAEBBCtodHRwczovL3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tMB8GCisGAQQBg78wAQIEEXdvcmtmbG93X2Rpc3BhdGNoMDYGCisGAQQBg78wAQMEKGZhZWYyZGRkODFiMDczNjc0ODQxM2E3YzY0NmNkMGJmYzI2YzAwYTAwGAYKKwYBBAGDvzABBAQKRGVwbG95bWVudDAVBgorBgEEAYO/MAEFBAdjbGkvY2xpMB4GCisGAQQBg78wAQYEEHJlZnMvaGVhZHMvdHJ1bmswOwYKKwYBBAGDvzABCAQtDCtodHRwczovL3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tMFwGCisGAQQBg78wAQkETgxMaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkvLmdpdGh1Yi93b3JrZmxvd3MvZGVwbG95bWVudC55bWxAcmVmcy9oZWFkcy90cnVuazA4BgorBgEEAYO/MAEKBCoMKGZhZWYyZGRkODFiMDczNjc0ODQxM2E3YzY0NmNkMGJmYzI2YzAwYTAwHQYKKwYBBAGDvzABCwQPDA1naXRodWItaG9zdGVkMCoGCisGAQQBg78wAQwEHAwaaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkwOAYKKwYBBAGDvzABDQQqDChmYWVmMmRkZDgxYjA3MzY3NDg0MTNhN2M2NDZjZDBiZmMyNmMwMGEwMCAGCisGAQQBg78wAQ4EEgwQcmVmcy9oZWFkcy90cnVuazAZBgorBgEEAYO/MAEPBAsMCTIxMjYxMzA0OTAmBgorBgEEAYO/MAEQBBgMFmh0dHBzOi8vZ2l0aHViLmNvbS9jbGkwGAYKKwYBBAGDvzABEQQKDAg1OTcwNDcxMTBcBgorBgEEAYO/MAESBE4MTGh0dHBzOi8vZ2l0aHViLmNvbS9jbGkvY2xpLy5naXRodWIvd29ya2Zsb3dzL2RlcGxveW1lbnQueW1sQHJlZnMvaGVhZHMvdHJ1bmswOAYKKwYBBAGDvzABEwQqDChmYWVmMmRkZDgxYjA3MzY3NDg0MTNhN2M2NDZjZDBiZmMyNmMwMGEwMCEGCisGAQQBg78wARQEEwwRd29ya2Zsb3dfZGlzcGF0Y2gwTQYKKwYBBAGDvzABFQQ/DD1odHRwczovL2dpdGh1Yi5jb20vY2xpL2NsaS9hY3Rpb25zL3J1bnMvOTI4OTA3NTc1Mi9hdHRlbXB0cy8xMBYGCisGAQQBg78wARYECAwGcHVibGljMIGLBgorBgEEAdZ5AgQCBH0EewB5AHcA3T0wasbHETJjGR4cmWc3AqJKXrjePK3/h4pygC8p7o4AAAGPxR1zbgAABAMASDBGAiEA+8glQIxOAhXBAOS6S+8ZqwJcdwwSr/TWihs3dLqVAvoCIQDby9h1IcuDEr+zsWiL8Pw5CSTtkltJ421sE81Vvu6ApTAKBggqhkjOPQQDAwNnADBkAjA+DH7P+hh4VHWfCWXtrKToBKubBkKpfWCYQxjXM2vV/nPqbZFYOVZObe6ANrgydoYCMFUMb3xzsFNQYvsEYOi2KnrvF0tgopmXGVoznZ+q/2AIDW9F1E7Y6Y061eouAYdHWw==" + } + }, + "dsseEnvelope": { + "payload": "eyJfdHlwZSI6Imh0dHBzOi8vaW4tdG90by5pby9TdGF0ZW1lbnQvdjEiLCJzdWJqZWN0IjpbeyJuYW1lIjoiZ2hfMi41MC4wX3dpbmRvd3NfYXJtNjQuemlwIiwiZGlnZXN0Ijp7InNoYTI1NiI6IjhhYWQxMjBiNDE2Mzg2YjQyNjllZjYyYzhmZGViY2FkMzFhNzA4NDcyOTc4MTdhMTQ5ZGFmOTI3ZWRjODU1NDgifX1dLCJwcmVkaWNhdGVUeXBlIjoiaHR0cHM6Ly9zbHNhLmRldi9wcm92ZW5hbmNlL3YxIiwicHJlZGljYXRlIjp7ImJ1aWxkRGVmaW5pdGlvbiI6eyJidWlsZFR5cGUiOiJodHRwczovL3Nsc2EtZnJhbWV3b3JrLmdpdGh1Yi5pby9naXRodWItYWN0aW9ucy1idWlsZHR5cGVzL3dvcmtmbG93L3YxIiwiZXh0ZXJuYWxQYXJhbWV0ZXJzIjp7IndvcmtmbG93Ijp7InJlZiI6InJlZnMvaGVhZHMvdHJ1bmsiLCJyZXBvc2l0b3J5IjoiaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkiLCJwYXRoIjoiLmdpdGh1Yi93b3JrZmxvd3MvZGVwbG95bWVudC55bWwifX0sImludGVybmFsUGFyYW1ldGVycyI6eyJnaXRodWIiOnsiZXZlbnRfbmFtZSI6IndvcmtmbG93X2Rpc3BhdGNoIiwicmVwb3NpdG9yeV9pZCI6IjIxMjYxMzA0OSIsInJlcG9zaXRvcnlfb3duZXJfaWQiOiI1OTcwNDcxMSJ9fSwicmVzb2x2ZWREZXBlbmRlbmNpZXMiOlt7InVyaSI6ImdpdCtodHRwczovL2dpdGh1Yi5jb20vY2xpL2NsaUByZWZzL2hlYWRzL3RydW5rIiwiZGlnZXN0Ijp7ImdpdENvbW1pdCI6ImZhZWYyZGRkODFiMDczNjc0ODQxM2E3YzY0NmNkMGJmYzI2YzAwYTAifX1dfSwicnVuRGV0YWlscyI6eyJidWlsZGVyIjp7ImlkIjoiaHR0cHM6Ly9naXRodWIuY29tL2FjdGlvbnMvcnVubmVyL2dpdGh1Yi1ob3N0ZWQifSwibWV0YWRhdGEiOnsiaW52b2NhdGlvbklkIjoiaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkvYWN0aW9ucy9ydW5zLzkyODkwNzU3NTIvYXR0ZW1wdHMvMSJ9fX19", + "payloadType": "application/vnd.in-toto+json", + "signatures": [ + { + "sig": "MEQCIEGIGAm7gZVLLpsrPcjndEjiuctE2/c9+j9KGvazz3rlAiAd6O16T5hkzRM3IbRPzm+xT40mNQZxefd7laDP6x2XLQ==" + } + ] + } + }, + "repository_id": 1 + }, + { + "bundle": { + "mediaType": "application/vnd.dev.sigstore.bundle.v0.3+json", + "verificationMaterial": { + "tlogEntries": [ + { + "logIndex": "97913980", + "logId": { + "keyId": "wNI9atQGlz+VWfO6LRygH4QUfY/8W4RFwiT5i5WRgB0=" + }, + "kindVersion": { "kind": "dsse", "version": "0.0.1" }, + "integratedTime": "1716998992", + "inclusionPromise": { + "signedEntryTimestamp": "MEYCIQCeEsQAy+qXtULkh52wbnHrkt2R2JQ05P9STK/xmdpQ2AIhANiG5Gw6cQiMnwvUz1+9UKtG/vlC8dduq07wsFOViwSL" + }, + "inclusionProof": { + "logIndex": "93750549", + "rootHash": "KgKiXoOl8rM5d4y6Xlbm2QLftvj/FYvTs6z7dJlNO60=", + "treeSize": "93750551", + "hashes": [ + "8LI21mzwxnUSo0fuZeFsUrz2ujZ4QAL+oGeTG+5toZg=", + "nCb369rcIytNhGwWoqBv+eV49X3ZKpo/HJGKm9V+dck=", + "hnNQ9mUdSwYCfdV21pd87NucrdRRNZATowlaRR1hJ4A=", + "MBhhK33vlD4Tq/JKgAaXUI4VjmosWKe6+7RNpQ2ncNM=", + "XKWUE3stvGV1OHsIGiCGfn047Ok6uD4mFkh7BaicaEc=", + "Tgve40VPFfuei+0nhupdGpfPPR+hPpZjxgTiDT8WNoY=", + "wV+S/7tLtYGzkLaSb6UDqexNyhMvumHK/RpTNvEZuLU=", + "uwaWufty6sn6XqO1Tb9M3Vz6sBKPu0HT36mStxJNd7s=", + "jUfeMOXQP0XF1JAnCEETVbfRKMUwCzrVUzYi8vnDMVs=", + "xQKjzJAwwdlQG/YUYBKPXxbCmhMYKo1wnv+6vDuKWhQ=", + "cX3Agx+hP66t1ZLbX/yHbfjU46/3m/VAmWyG/fhxAVc=", + "sjohk/3DQIfXTgf/5XpwtdF7yNbrf8YykOMHr1CyBYQ=", + "98enzMaC+x5oCMvIZQA5z8vu2apDMCFvE/935NfuPw8=" + ], + "checkpoint": { + "envelope": "rekor.sigstore.dev - 2605736670972794746\\n93750551\\nKgKiXoOl8rM5d4y6Xlbm2QLftvj/FYvTs6z7dJlNO60=\\n\\n— rekor.sigstore.dev wNI9ajBEAiBkLzdjY8A9HReU7rmtjwZ+JpSuYtEr9SmvSwUIW7FBjgIgKo+vhkW3tqc+gc8fw9gza3xLoncA8a+MTaJYCaLGA9c=\\n" + } + }, + "canonicalizedBody": "eyJhcGlWZXJzaW9uIjoiMC4wLjEiLCJraW5kIjoiZHNzZSIsInNwZWMiOnsiZW52ZWxvcGVIYXNoIjp7ImFsZ29yaXRobSI6InNoYTI1NiIsInZhbHVlIjoiM2I1YzkwNDk5MGFiYzE4NjI1ZWE3Njg4MzE1OGEwZmI4MTEwMjM4MGJkNjQwZjI5OWJlMzYwZWVkOTMxNjYwYiJ9LCJwYXlsb2FkSGFzaCI6eyJhbGdvcml0aG0iOiJzaGEyNTYiLCJ2YWx1ZSI6IjM4ZGNlZDJjMzE1MGU2OTQxMDViYjZiNDNjYjY3NzBiZTYzZDdhNGM4NjNiMTc2YTkwMmU1MGQ5ZTAyN2ZiMjMifSwic2lnbmF0dXJlcyI6W3sic2lnbmF0dXJlIjoiTUVRQ0lFR0lHQW03Z1pWTExwc3JQY2puZEVqaXVjdEUyL2M5K2o5S0d2YXp6M3JsQWlBZDZPMTZUNWhrelJNM0liUlB6bSt4VDQwbU5RWnhlZmQ3bGFEUDZ4MlhMUT09IiwidmVyaWZpZXIiOiJMUzB0TFMxQ1JVZEpUaUJEUlZKVVNVWkpRMEZVUlMwdExTMHRDazFKU1VkcVZFTkRRbWhUWjBGM1NVSkJaMGxWVjFsNGNVdHpjazFUTTFOMmJEVkphalZQUkdaQ1owMUtUeTlKZDBObldVbExiMXBKZW1vd1JVRjNUWGNLVG5wRlZrMUNUVWRCTVZWRlEyaE5UV015Ykc1ak0xSjJZMjFWZFZwSFZqSk5ValIzU0VGWlJGWlJVVVJGZUZaNllWZGtlbVJIT1hsYVV6RndZbTVTYkFwamJURnNXa2RzYUdSSFZYZElhR05PVFdwUmQwNVVTVFZOVkZsM1QxUlZlVmRvWTA1TmFsRjNUbFJKTlUxVVdYaFBWRlY1VjJwQlFVMUdhM2RGZDFsSUNrdHZXa2w2YWpCRFFWRlpTVXR2V2tsNmFqQkVRVkZqUkZGblFVVmtiV2RvVGs1M00yNVZMMHQxWlZGbmMzQkhTRmMzWjJnNVdFeEVMMWRrU1RoWlRVSUtLekJ3TUZZMGJ6RnJTRzgyWTAweGMwUktaM0pEWjFCUlZYcDRjSFZaZFc4cmVIZFFTSGxzTDJ0RWVXWXpSVXhxYTJGUFEwSlVUWGRuWjFWMlRVRTBSd3BCTVZWa1JIZEZRaTkzVVVWQmQwbElaMFJCVkVKblRsWklVMVZGUkVSQlMwSm5aM0pDWjBWR1FsRmpSRUY2UVdSQ1owNVdTRkUwUlVablVWVnhaa05RQ25aWVMwRjJVelJEWkdoUk1taGlXbGRLVTA5RmRsWnZkMGgzV1VSV1VqQnFRa0puZDBadlFWVXpPVkJ3ZWpGWmEwVmFZalZ4VG1wd1MwWlhhWGhwTkZrS1drUTRkMWRuV1VSV1VqQlNRVkZJTDBKR1FYZFViMXBOWVVoU01HTklUVFpNZVRsdVlWaFNiMlJYU1hWWk1qbDBUREpPYzJGVE9XcGlSMnQyVEcxa2NBcGtSMmd4V1drNU0ySXpTbkphYlhoMlpETk5kbHBIVm5kaVJ6azFZbGRXZFdSRE5UVmlWM2hCWTIxV2JXTjVPVzlhVjBaclkzazVNR051Vm5WaGVrRTFDa0puYjNKQ1owVkZRVmxQTDAxQlJVSkNRM1J2WkVoU2QyTjZiM1pNTTFKMllUSldkVXh0Um1wa1IyeDJZbTVOZFZveWJEQmhTRlpwWkZoT2JHTnRUbllLWW01U2JHSnVVWFZaTWpsMFRVSTRSME5wYzBkQlVWRkNaemM0ZDBGUlNVVkZXR1IyWTIxMGJXSkhPVE5ZTWxKd1l6TkNhR1JIVG05TlJGbEhRMmx6UndwQlVWRkNaemM0ZDBGUlRVVkxSMXBvV2xkWmVWcEhVbXRQUkVacFRVUmplazVxWXpCUFJGRjRUVEpGTTFsNldUQk9iVTVyVFVkS2JWbDZTVEpaZWtGM0NsbFVRWGRIUVZsTFMzZFpRa0pCUjBSMmVrRkNRa0ZSUzFKSFZuZGlSemsxWWxkV2RXUkVRVlpDWjI5eVFtZEZSVUZaVHk5TlFVVkdRa0ZrYW1KSGEzWUtXVEo0Y0UxQ05FZERhWE5IUVZGUlFtYzNPSGRCVVZsRlJVaEtiRnB1VFhaaFIxWm9Xa2hOZG1SSVNqRmliWE4zVDNkWlMwdDNXVUpDUVVkRWRucEJRZ3BEUVZGMFJFTjBiMlJJVW5kamVtOTJURE5TZG1FeVZuVk1iVVpxWkVkc2RtSnVUWFZhTW13d1lVaFdhV1JZVG14amJVNTJZbTVTYkdKdVVYVlpNamwwQ2sxR2QwZERhWE5IUVZGUlFtYzNPSGRCVVd0RlZHZDRUV0ZJVWpCalNFMDJUSGs1Ym1GWVVtOWtWMGwxV1RJNWRFd3lUbk5oVXpscVlrZHJka3h0WkhBS1pFZG9NVmxwT1ROaU0wcHlXbTE0ZG1RelRYWmFSMVozWWtjNU5XSlhWblZrUXpVMVlsZDRRV050Vm0xamVUbHZXbGRHYTJONU9UQmpibFoxWVhwQk5BcENaMjl5UW1kRlJVRlpUeTlOUVVWTFFrTnZUVXRIV21oYVYxbDVXa2RTYTA5RVJtbE5SR042VG1wak1FOUVVWGhOTWtVeldYcFpNRTV0VG10TlIwcHRDbGw2U1RKWmVrRjNXVlJCZDBoUldVdExkMWxDUWtGSFJIWjZRVUpEZDFGUVJFRXhibUZZVW05a1YwbDBZVWM1ZW1SSFZtdE5RMjlIUTJselIwRlJVVUlLWnpjNGQwRlJkMFZJUVhkaFlVaFNNR05JVFRaTWVUbHVZVmhTYjJSWFNYVlpNamwwVERKT2MyRlRPV3BpUjJ0M1QwRlpTMHQzV1VKQ1FVZEVkbnBCUWdwRVVWRnhSRU5vYlZsWFZtMU5iVkpyV2tSbmVGbHFRVE5OZWxrelRrUm5NRTFVVG1oT01rMHlUa1JhYWxwRVFtbGFiVTE1VG0xTmQwMUhSWGROUTBGSENrTnBjMGRCVVZGQ1p6YzRkMEZSTkVWRlozZFJZMjFXYldONU9XOWFWMFpyWTNrNU1HTnVWblZoZWtGYVFtZHZja0puUlVWQldVOHZUVUZGVUVKQmMwMEtRMVJKZUUxcVdYaE5la0V3VDFSQmJVSm5iM0pDWjBWRlFWbFBMMDFCUlZGQ1FtZE5SbTFvTUdSSVFucFBhVGgyV2pKc01HRklWbWxNYlU1MllsTTVhZ3BpUjJ0M1IwRlpTMHQzV1VKQ1FVZEVkbnBCUWtWUlVVdEVRV2N4VDFSamQwNUVZM2hOVkVKalFtZHZja0puUlVWQldVOHZUVUZGVTBKRk5FMVVSMmd3Q21SSVFucFBhVGgyV2pKc01HRklWbWxNYlU1MllsTTVhbUpIYTNaWk1uaHdUSGsxYm1GWVVtOWtWMGwyWkRJNWVXRXlXbk5pTTJSNlRESlNiR05IZUhZS1pWY3hiR0p1VVhWbFZ6RnpVVWhLYkZwdVRYWmhSMVpvV2toTmRtUklTakZpYlhOM1QwRlpTMHQzV1VKQ1FVZEVkbnBCUWtWM1VYRkVRMmh0V1ZkV2JRcE5iVkpyV2tSbmVGbHFRVE5OZWxrelRrUm5NRTFVVG1oT01rMHlUa1JhYWxwRVFtbGFiVTE1VG0xTmQwMUhSWGROUTBWSFEybHpSMEZSVVVKbk56aDNDa0ZTVVVWRmQzZFNaREk1ZVdFeVduTmlNMlJtV2tkc2VtTkhSakJaTW1kM1ZGRlpTMHQzV1VKQ1FVZEVkbnBCUWtaUlVTOUVSREZ2WkVoU2QyTjZiM1lLVERKa2NHUkhhREZaYVRWcVlqSXdkbGt5ZUhCTU1rNXpZVk01YUZrelVuQmlNalY2VEROS01XSnVUWFpQVkVrMFQxUkJNMDVVWXpGTmFUbG9aRWhTYkFwaVdFSXdZM2s0ZUUxQ1dVZERhWE5IUVZGUlFtYzNPSGRCVWxsRlEwRjNSMk5JVm1saVIyeHFUVWxIVEVKbmIzSkNaMFZGUVdSYU5VRm5VVU5DU0RCRkNtVjNRalZCU0dOQk0xUXdkMkZ6WWtoRlZFcHFSMUkwWTIxWFl6TkJjVXBMV0hKcVpWQkxNeTlvTkhCNVowTTRjRGR2TkVGQlFVZFFlRkl4ZW1KblFVRUtRa0ZOUVZORVFrZEJhVVZCS3pobmJGRkplRTlCYUZoQ1FVOVRObE1yT0ZweGQwcGpaSGQzVTNJdlZGZHBhSE16WkV4eFZrRjJiME5KVVVSaWVUbG9NUXBKWTNWRVJYSXJlbk5YYVV3NFVIYzFRMU5VZEd0c2RFbzBNakZ6UlRneFZuWjFOa0Z3VkVGTFFtZG5jV2hyYWs5UVVWRkVRWGRPYmtGRVFtdEJha0VyQ2tSSU4xQXJhR2cwVmtoWFprTlhXSFJ5UzFSdlFrdDFZa0pyUzNCbVYwTlpVWGhxV0UweWRsWXZibEJ4WWxwR1dVOVdXazlpWlRaQlRuSm5lV1J2V1VNS1RVWlZUV0l6ZUhwelJrNVJXWFp6UlZsUGFUSkxibkoyUmpCMFoyOXdiVmhIVm05NmJsb3JjUzh5UVVsRVZ6bEdNVVUzV1RaWk1EWXhaVzkxUVZsa1NBcFhkejA5Q2kwdExTMHRSVTVFSUVORlVsUkpSa2xEUVZSRkxTMHRMUzBLIn1dfX0=" + } + ], + "timestampVerificationData": {}, + "certificate": { + "rawBytes": "MIIGjTCCBhSgAwIBAgIUWYxqKsrMS3Svl5Ij5ODfBgMJO/IwCgYIKoZIzj0EAwMwNzEVMBMGA1UEChMMc2lnc3RvcmUuZGV2MR4wHAYDVQQDExVzaWdzdG9yZS1pbnRlcm1lZGlhdGUwHhcNMjQwNTI5MTYwOTUyWhcNMjQwNTI5MTYxOTUyWjAAMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEdmghNNw3nU/KueQgspGHW7gh9XLD/WdI8YMB+0p0V4o1kHo6cM1sDJgrCgPQUzxpuYuo+xwPHyl/kDyf3ELjkaOCBTMwggUvMA4GA1UdDwEB/wQEAwIHgDATBgNVHSUEDDAKBggrBgEFBQcDAzAdBgNVHQ4EFgQUqfCPvXKAvS4CdhQ2hbZWJSOEvVowHwYDVR0jBBgwFoAU39Ppz1YkEZb5qNjpKFWixi4YZD8wWgYDVR0RAQH/BFAwToZMaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkvLmdpdGh1Yi93b3JrZmxvd3MvZGVwbG95bWVudC55bWxAcmVmcy9oZWFkcy90cnVuazA5BgorBgEEAYO/MAEBBCtodHRwczovL3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tMB8GCisGAQQBg78wAQIEEXdvcmtmbG93X2Rpc3BhdGNoMDYGCisGAQQBg78wAQMEKGZhZWYyZGRkODFiMDczNjc0ODQxM2E3YzY0NmNkMGJmYzI2YzAwYTAwGAYKKwYBBAGDvzABBAQKRGVwbG95bWVudDAVBgorBgEEAYO/MAEFBAdjbGkvY2xpMB4GCisGAQQBg78wAQYEEHJlZnMvaGVhZHMvdHJ1bmswOwYKKwYBBAGDvzABCAQtDCtodHRwczovL3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tMFwGCisGAQQBg78wAQkETgxMaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkvLmdpdGh1Yi93b3JrZmxvd3MvZGVwbG95bWVudC55bWxAcmVmcy9oZWFkcy90cnVuazA4BgorBgEEAYO/MAEKBCoMKGZhZWYyZGRkODFiMDczNjc0ODQxM2E3YzY0NmNkMGJmYzI2YzAwYTAwHQYKKwYBBAGDvzABCwQPDA1naXRodWItaG9zdGVkMCoGCisGAQQBg78wAQwEHAwaaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkwOAYKKwYBBAGDvzABDQQqDChmYWVmMmRkZDgxYjA3MzY3NDg0MTNhN2M2NDZjZDBiZmMyNmMwMGEwMCAGCisGAQQBg78wAQ4EEgwQcmVmcy9oZWFkcy90cnVuazAZBgorBgEEAYO/MAEPBAsMCTIxMjYxMzA0OTAmBgorBgEEAYO/MAEQBBgMFmh0dHBzOi8vZ2l0aHViLmNvbS9jbGkwGAYKKwYBBAGDvzABEQQKDAg1OTcwNDcxMTBcBgorBgEEAYO/MAESBE4MTGh0dHBzOi8vZ2l0aHViLmNvbS9jbGkvY2xpLy5naXRodWIvd29ya2Zsb3dzL2RlcGxveW1lbnQueW1sQHJlZnMvaGVhZHMvdHJ1bmswOAYKKwYBBAGDvzABEwQqDChmYWVmMmRkZDgxYjA3MzY3NDg0MTNhN2M2NDZjZDBiZmMyNmMwMGEwMCEGCisGAQQBg78wARQEEwwRd29ya2Zsb3dfZGlzcGF0Y2gwTQYKKwYBBAGDvzABFQQ/DD1odHRwczovL2dpdGh1Yi5jb20vY2xpL2NsaS9hY3Rpb25zL3J1bnMvOTI4OTA3NTc1Mi9hdHRlbXB0cy8xMBYGCisGAQQBg78wARYECAwGcHVibGljMIGLBgorBgEEAdZ5AgQCBH0EewB5AHcA3T0wasbHETJjGR4cmWc3AqJKXrjePK3/h4pygC8p7o4AAAGPxR1zbgAABAMASDBGAiEA+8glQIxOAhXBAOS6S+8ZqwJcdwwSr/TWihs3dLqVAvoCIQDby9h1IcuDEr+zsWiL8Pw5CSTtkltJ421sE81Vvu6ApTAKBggqhkjOPQQDAwNnADBkAjA+DH7P+hh4VHWfCWXtrKToBKubBkKpfWCYQxjXM2vV/nPqbZFYOVZObe6ANrgydoYCMFUMb3xzsFNQYvsEYOi2KnrvF0tgopmXGVoznZ+q/2AIDW9F1E7Y6Y061eouAYdHWw==" + } + }, + "dsseEnvelope": { + "payload": "eyJfdHlwZSI6Imh0dHBzOi8vaW4tdG90by5pby9TdGF0ZW1lbnQvdjEiLCJzdWJqZWN0IjpbeyJuYW1lIjoiZ2hfMi41MC4wX3dpbmRvd3NfYXJtNjQuemlwIiwiZGlnZXN0Ijp7InNoYTI1NiI6IjhhYWQxMjBiNDE2Mzg2YjQyNjllZjYyYzhmZGViY2FkMzFhNzA4NDcyOTc4MTdhMTQ5ZGFmOTI3ZWRjODU1NDgifX1dLCJwcmVkaWNhdGVUeXBlIjoiaHR0cHM6Ly9zbHNhLmRldi9wcm92ZW5hbmNlL3YxIiwicHJlZGljYXRlIjp7ImJ1aWxkRGVmaW5pdGlvbiI6eyJidWlsZFR5cGUiOiJodHRwczovL3Nsc2EtZnJhbWV3b3JrLmdpdGh1Yi5pby9naXRodWItYWN0aW9ucy1idWlsZHR5cGVzL3dvcmtmbG93L3YxIiwiZXh0ZXJuYWxQYXJhbWV0ZXJzIjp7IndvcmtmbG93Ijp7InJlZiI6InJlZnMvaGVhZHMvdHJ1bmsiLCJyZXBvc2l0b3J5IjoiaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkiLCJwYXRoIjoiLmdpdGh1Yi93b3JrZmxvd3MvZGVwbG95bWVudC55bWwifX0sImludGVybmFsUGFyYW1ldGVycyI6eyJnaXRodWIiOnsiZXZlbnRfbmFtZSI6IndvcmtmbG93X2Rpc3BhdGNoIiwicmVwb3NpdG9yeV9pZCI6IjIxMjYxMzA0OSIsInJlcG9zaXRvcnlfb3duZXJfaWQiOiI1OTcwNDcxMSJ9fSwicmVzb2x2ZWREZXBlbmRlbmNpZXMiOlt7InVyaSI6ImdpdCtodHRwczovL2dpdGh1Yi5jb20vY2xpL2NsaUByZWZzL2hlYWRzL3RydW5rIiwiZGlnZXN0Ijp7ImdpdENvbW1pdCI6ImZhZWYyZGRkODFiMDczNjc0ODQxM2E3YzY0NmNkMGJmYzI2YzAwYTAifX1dfSwicnVuRGV0YWlscyI6eyJidWlsZGVyIjp7ImlkIjoiaHR0cHM6Ly9naXRodWIuY29tL2FjdGlvbnMvcnVubmVyL2dpdGh1Yi1ob3N0ZWQifSwibWV0YWRhdGEiOnsiaW52b2NhdGlvbklkIjoiaHR0cHM6Ly9naXRodWIuY29tL2NsaS9jbGkvYWN0aW9ucy9ydW5zLzkyODkwNzU3NTIvYXR0ZW1wdHMvMSJ9fX19", + "payloadType": "application/vnd.in-toto+json", + "signatures": [ + { + "sig": "MEQCIEGIGAm7gZVLLpsrPcjndEjiuctE2/c9+j9KGvazz3rlAiAd6O16T5hkzRM3IbRPzm+xT40mNQZxefd7laDP6x2XLQ==" + } + ] + } + }, + "repository_id": 1 + } + ] + } + ] + } + }, "list-attestations": { "value": { "attestations": [ @@ -138237,6 +139849,7 @@ "runner_type": "not_set", "runner_label": null }, + "code_scanning_options": { "allow_advanced": false }, "code_scanning_delegated_alert_dismissal": "disabled", "secret_scanning": "disabled", "secret_scanning_push_protection": "disabled", @@ -138877,6 +140490,66 @@ "selected_repositories_url": "https://api.github.com/orgs/octo-org/dependabot/secrets/NPM_TOKEN/repositories" } }, + "code-scanning-alert-dismissal-request-items": { + "value": [ + { + "id": 21, + "number": 42, + "repository": { + "id": 1, + "name": "smile", + "full_name": "octo-org/smile" + }, + "organization": { "id": 1, "name": "octo-org" }, + "requester": { "actor_id": 12, "actor_name": "monalisa" }, + "request_type": "code_scanning_alert_dismissal", + "data": [{ "reason": "won't fix", "alert_number": 1 }], + "resource_identifier": "123/10", + "status": "denied", + "requester_comment": "Won't fix", + "expires_at": "2024-07-08T08:43:03Z", + "created_at": "2024-07-01T08:43:03Z", + "responses": [ + { + "id": 42, + "reviewer": { "actor_id": 4, "actor_name": "octocat" }, + "status": "denied", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/dismissal-requests/code-scanning/1", + "html_url": "https://github.com/octo-org/smile/code-scanning/alerts/1" + }, + { + "id": 12, + "number": 24, + "repository": { + "id": 1, + "name": "smile", + "full_name": "octo-org/smile" + }, + "organization": { "id": 1, "name": "octo-org" }, + "requester": { "actor_id": 12, "actor_name": "monalisa" }, + "request_type": "code_scanning_alert_dismissal", + "data": [{ "reason": "won't fix", "alert_number": 2 }], + "resource_identifier": "123/12", + "status": "denied", + "requester_comment": "Token is already revoked, I'll remove it later", + "expires_at": "2024-07-08T07:43:03Z", + "created_at": "2024-07-01T07:43:03Z", + "responses": [ + { + "id": 42, + "reviewer": { "actor_id": 4, "actor_name": "octocat" }, + "status": "denied", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/dismissal-requests/code-scanning/2", + "html_url": "https://github.com/octo-org/smile/code-scanning/alerts/2" + } + ] + }, "secret-scanning-dismissal-request-items": { "value": [ { @@ -139631,6 +141304,7 @@ "pending_cancellation_date": null, "last_activity_at": "2021-10-14T00:53:32-06:00", "last_activity_editor": "vscode/1.77.3/copilot/1.86.82", + "last_authenticated_at": "2021-10-14T00:53:32-06:00", "plan_type": "business", "assignee": { "login": "octocat", @@ -149816,6 +151490,36 @@ "log_url": "https://example.com/deployment/42/output" } }, + "code-scanning-alert-dismissal-request-item": { + "value": { + "id": 21, + "number": 42, + "repository": { + "id": 1, + "name": "smile", + "full_name": "octo-org/smile" + }, + "organization": { "id": 1, "name": "octo-org" }, + "requester": { "actor_id": 12, "actor_name": "monalisa" }, + "request_type": "code_scanning_alert_dismissal", + "data": [{ "reason": "won't fix", "alert_number": 2 }], + "resource_identifier": "1/1", + "status": "denied", + "requester_comment": "Won't fix", + "expires_at": "2024-07-08T08:43:03Z", + "created_at": "2024-07-01T08:43:03Z", + "responses": [ + { + "id": 42, + "reviewer": { "actor_id": 4, "actor_name": "octocat" }, + "status": "denied", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/dismissal-requests/code-scanning/1", + "html_url": "https://github.com/octo-org/smile/code-scanning/alerts/1" + } + }, "secret-scanning-dismissal-request-item": { "value": { "id": 21, @@ -154503,6 +156207,7 @@ "body": "Description of the release", "draft": false, "prerelease": false, + "immutable": false, "created_at": "2013-02-27T19:35:32Z", "published_at": "2013-02-27T19:35:32Z", "author": { @@ -154582,6 +156287,7 @@ "body": "Description of the release", "draft": false, "prerelease": false, + "immutable": false, "created_at": "2013-02-27T19:35:32Z", "published_at": "2013-02-27T19:35:32Z", "author": { @@ -154970,7 +156676,20 @@ "resolution_comment": "Example comment", "validity": "inactive", "publicly_leaked": false, - "multi_repo": false + "multi_repo": false, + "is_base64_encoded": false, + "first_location_detected": { + "path": "/example/secrets.txt", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 64, + "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", + "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", + "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", + "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" + }, + "has_more_locations": true }, { "number": 1, @@ -154995,7 +156714,12 @@ "resolution_comment": null, "validity": "unknown", "publicly_leaked": false, - "multi_repo": false + "multi_repo": false, + "is_base64_encoded": false, + "first_location_detected": { + "issue_title_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + }, + "has_more_locations": false } ] }, @@ -161658,7 +163382,7 @@ }, "enterprise": { "name": "enterprise", - "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "description": "The slug version of the enterprise name.", "in": "path", "required": true, "schema": { "type": "string" } @@ -161705,6 +163429,13 @@ "required": true, "schema": { "type": "string" } }, + "org": { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { "type": "string" } + }, "audit-log-enterprise-phrase": { "name": "phrase", "description": "A search phrase. For more information, see [Searching the audit log](https://docs.github.com/enterprise-cloud@latest//admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/searching-the-audit-log-for-your-enterprise#searching-the-audit-log).", @@ -161769,7 +163500,7 @@ }, "time-period": { "name": "time_period", - "description": "The time period to filter by.\n\nFor example, `day` will filter for rule suites that occurred in the past 24 hours, and `week` will filter for insights that occurred in the past 7 days (168 hours).", + "description": "The time period to filter by.\n\nFor example, `day` will filter for rule suites that occurred in the past 24 hours, and `week` will filter for rule suites that occurred in the past 7 days (168 hours).", "in": "query", "required": false, "schema": { @@ -161923,13 +163654,6 @@ "required": true, "schema": { "type": "string" } }, - "org": { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { "type": "string" } - }, "custom-property-name": { "name": "custom_property_name", "description": "The custom property name", @@ -162222,6 +163946,54 @@ "required": true, "schema": { "type": "integer" } }, + "dependabot-alert-comma-separated-package-registry-urls": { + "name": "package_registry_url", + "in": "query", + "description": "A comma-separated list of package registry URLs. If specified, only alerts for repositories with storage records matching these URLs will be returned.", + "schema": { "type": "string" } + }, + "dependabot-alert-comma-separated-package-registry": { + "name": "package_registry", + "in": "query", + "description": "A comma-separated list of Package Registry name strings. If specified, only alerts for repositories with storage records matching these registries will be returned.\n\nCan be: `jfrog-artifactory`", + "schema": { "type": "string" } + }, + "alert-dismissal-reviewer-name": { + "name": "reviewer", + "description": "Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request.", + "in": "query", + "required": false, + "schema": { "type": "string" } + }, + "alert-dismissal-requester-name": { + "name": "requester", + "description": "Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal.", + "in": "query", + "required": false, + "schema": { "type": "string" } + }, + "alert-dismissal-time-period": { + "name": "time_period", + "description": "The time period to filter by.\n\nFor example, `day` will filter for rule suites that occurred in the past 24 hours, and `week` will filter for insights that occurred in the past 7 days (168 hours).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": ["hour", "day", "week", "month"], + "default": "month" + } + }, + "alert-dismissal-request-status": { + "name": "request_status", + "description": "Filter alert dismissal requests by status. When specified, only requests with this status will be returned.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": ["open", "approved", "expired", "denied", "all"], + "default": "all" + } + }, "dismissal-request-status": { "name": "request_status", "description": "The status of the dismissal request to filter on. When specified, only requests with this status will be returned.", @@ -162548,7 +164320,7 @@ }, "rule-suite-result": { "name": "rule_suite_result", - "description": "The rule results to filter on. When specified, only suites with this result will be returned.", + "description": "The rule suite results to filter on. When specified, only suites with this result will be returned.", "in": "query", "schema": { "type": "string", @@ -163222,6 +164994,7 @@ } } }, + "authorization_failure": { "description": "Authorization failure" }, "actions_runner_jitconfig": { "description": "Response", "content": { @@ -163332,6 +165105,39 @@ } } }, + "get_cost_center": { + "description": "Response when getting a cost center", + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/get-cost-center" }, + "examples": { + "default": { "$ref": "#/components/examples/get-cost-center" } + } + } + } + }, + "cost_center": { + "description": "Response when updating a cost center", + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/get-cost-center" }, + "examples": { + "default": { "$ref": "#/components/examples/get-cost-center" } + } + } + } + }, + "delete-cost-center": { + "description": "Response when deleting a cost center", + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/delete-cost-center" }, + "examples": { + "default": { "$ref": "#/components/examples/delete-cost-center" } + } + } + } + }, "add_resource_to_cost_center": { "description": "Response when adding resources to a cost center", "content": { @@ -163497,6 +165303,14 @@ } } }, + "code_scanning_invalid_state": { + "description": "Response if the configuration change cannot be made because the repository is not in the required state", + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/basic-error" } + } + } + }, "dependency_review_forbidden": { "description": "Response for a private repository when GitHub Advanced Security is not enabled, or if used against a fork", "content": { @@ -163532,7 +165346,6 @@ } } }, - "authorization_failure": { "description": "Authorization failure" }, "permission_denied": { "description": "Permission denied" }, "scim_too_many_requests": { "description": "Too many requests", diff --git a/cache/ghes-3.13.json b/cache/ghes-3.13.json deleted file mode 100644 index e578577..0000000 --- a/cache/ghes-3.13.json +++ /dev/null @@ -1,146929 +0,0 @@ -{ - "openapi": "3.1.0", - "info": { - "version": "1.1.4", - "title": "GitHub v3 REST API", - "description": "GitHub's v3 REST API.", - "license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" }, - "termsOfService": "https://docs.github.com/articles/github-terms-of-service", - "contact": { - "name": "Support", - "url": "https://support.github.com/contact?tags=dotcom-rest-api" - }, - "x-github-plan": "ghes", - "x-github-release": 3.13 - }, - "tags": [ - { - "name": "actions", - "description": "Endpoints to manage GitHub Actions using the REST API." - }, - { - "name": "activity", - "description": "Activity APIs provide access to notifications, subscriptions, and timelines." - }, - { - "name": "apps", - "description": "Information for integrations and installations." - }, - { - "name": "billing", - "description": "Monitor charges and usage from Actions and Packages." - }, - { - "name": "checks", - "description": "Rich interactions with checks run by your integrations." - }, - { - "name": "code-scanning", - "description": "Retrieve code scanning alerts from a repository." - }, - { - "name": "codes-of-conduct", - "description": "Insight into codes of conduct for your communities." - }, - { - "name": "emojis", - "description": "List emojis available to use on GitHub." - }, - { "name": "dependabot", "description": "Endpoints to manage Dependabot." }, - { - "name": "dependency-graph", - "description": "Endpoints to access Dependency Graph features." - }, - { "name": "gists", "description": "View, modify your gists." }, - { "name": "git", "description": "Raw Git functionality." }, - { "name": "gitignore", "description": "View gitignore templates" }, - { "name": "issues", "description": "Interact with GitHub Issues." }, - { "name": "licenses", "description": "View various OSS licenses." }, - { "name": "markdown", "description": "Render GitHub flavored markdown" }, - { - "name": "merge-queue", - "description": "Interact with GitHub Merge Queues." - }, - { - "name": "meta", - "description": "Endpoints that give information about the API." - }, - { "name": "migrations", "description": "Move projects to or from GitHub." }, - { - "name": "oidc", - "description": "Endpoints to manage GitHub OIDC configuration using the REST API." - }, - { "name": "orgs", "description": "Interact with GitHub Orgs." }, - { - "name": "packages", - "description": "Manage packages for authenticated users and organizations." - }, - { "name": "projects", "description": "Interact with GitHub Projects." }, - { "name": "pulls", "description": "Interact with GitHub Pull Requests." }, - { - "name": "rate-limit", - "description": "Check your current rate limit status" - }, - { - "name": "reactions", - "description": "Interact with reactions to various GitHub entities." - }, - { "name": "repos", "description": "Interact with GitHub Repos." }, - { "name": "search", "description": "Look for stuff on GitHub." }, - { - "name": "secret-scanning", - "description": "Retrieve secret scanning alerts from a repository." - }, - { "name": "teams", "description": "Interact with GitHub Teams." }, - { - "name": "users", - "description": "Interact with and view information about users and also current user." - }, - { - "name": "scim", - "description": "Provisioning of GitHub organization membership for SCIM-enabled providers." - }, - { "name": "enterprise-admin", "description": "Enterprise Administration" }, - { - "name": "oauth-authorizations", - "description": "OAuth Authorizations API" - }, - { - "name": "security-advisories", - "description": "Manage security advisories." - } - ], - "servers": [ - { - "url": "{protocol}://{hostname}/api/v3", - "variables": { - "hostname": { - "description": "Self-hosted Enterprise Server hostname", - "default": "HOSTNAME" - }, - "protocol": { - "description": "Self-hosted Enterprise Server protocol", - "default": "http" - } - } - } - ], - "externalDocs": { - "description": "GitHub Enterprise Developer Docs", - "url": "https://docs.github.com/enterprise-server@3.13/rest/" - }, - "webhooks": { - "branch-protection-configuration-disabled": { - "post": { - "summary": "This event occurs when there is a change to branch protection configurations for a repository.\nFor more information, see \"[About protected branches](https://docs.github.com/enterprise-server@3.13/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches).\"\nFor information about using the APIs to manage branch protection rules, see \"[Branch protection rule](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#branchprotectionrule)\" in the GraphQL documentation or \"[Branch protection](https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository permission.", - "description": "All branch protections were disabled for a repository.", - "operationId": "branch-protection-configuration/disabled", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#branch_protection_configuration" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-branch-protection-configuration-disabled" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "branch_protection_configuration", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "branch-protection-configuration-enabled": { - "post": { - "summary": "This event occurs when there is a change to branch protection configurations for a repository.\nFor more information, see \"[About protected branches](https://docs.github.com/enterprise-server@3.13/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches).\"\nFor information about using the APIs to manage branch protection rules, see \"[Branch protection rule](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#branchprotectionrule)\" in the GraphQL documentation or \"[Branch protection](https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository permission.", - "description": "All branch protections were enabled for a repository.", - "operationId": "branch-protection-configuration/enabled", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#branch_protection_configuration" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-branch-protection-configuration-enabled" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "branch_protection_configuration", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "branch-protection-rule-created": { - "post": { - "summary": "This event occurs when there is activity relating to branch protection rules. For more information, see \"[About protected branches](https://docs.github.com/enterprise-server@3.13/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches).\" For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#branchprotectionrule) or \"[Branch protection](https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository permission.", - "description": "A branch protection rule was created.", - "operationId": "branch-protection-rule/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#branch_protection_rule" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-branch-protection-rule-created" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "branch_protection_rule", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "branch-protection-rule-deleted": { - "post": { - "summary": "This event occurs when there is activity relating to branch protection rules. For more information, see \"[About protected branches](https://docs.github.com/enterprise-server@3.13/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches).\" For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#branchprotectionrule) or \"[Branch protection](https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository permission.", - "description": "A branch protection rule was deleted.", - "operationId": "branch-protection-rule/deleted", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#branch_protection_rule" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-branch-protection-rule-deleted" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "branch_protection_rule", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "branch-protection-rule-edited": { - "post": { - "summary": "This event occurs when there is activity relating to branch protection rules. For more information, see \"[About protected branches](https://docs.github.com/enterprise-server@3.13/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches).\" For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#branchprotectionrule) or \"[Branch protection](https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository permission.", - "description": "A branch protection rule was edited.", - "operationId": "branch-protection-rule/edited", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#branch_protection_rule" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-branch-protection-rule-edited" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "branch_protection_rule", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "cache-sync": { - "post": { - "summary": "This event occurs when a Git ref has been successfully synced to a cache replica. For more information, see \"[About repository caching](https://docs.github.com/enterprise-server@3.13/admin/enterprise-management/caching-repositories/about-repository-caching).\"", - "operationId": "cache-sync", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#cache_sync" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-cache-sync" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "cache_sync", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "check-run-completed": { - "post": { - "summary": "This event occurs when there is activity relating to a check run. For information about check runs, see \"[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-checks-api).\" For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#checkrun) or \"[Check Runs](https://docs.github.com/enterprise-server@3.13/rest/checks/runs)\" in the REST API documentation.\n\nFor activity relating to check suites, use the `check-suite` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Checks\" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the \"Checks\" permission. GitHub Apps with write-level access for the \"Checks\" permission are automatically subscribed to this webhook event.\n\nRepository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories.\n\n> [!NOTE]\n> The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.", - "description": "A check run was completed, and a conclusion is available.", - "operationId": "check-run/completed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#check_run" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-check-run-completed" - }, - "examples": { - "default": { - "$ref": "#/components/examples/check-run-completed" - } - } - }, - "application/x-www-form-urlencoded": { - "schema": { - "$ref": "#/components/schemas/webhook-check-run-completed-form-encoded" - }, - "examples": { - "default": { - "$ref": "#/components/examples/check-run-completed-form-encoded" - } - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "check_run", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "check-run-created": { - "post": { - "summary": "This event occurs when there is activity relating to a check run. For information about check runs, see \"[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-checks-api).\" For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#checkrun) or \"[Check Runs](https://docs.github.com/enterprise-server@3.13/rest/checks/runs)\" in the REST API documentation.\n\nFor activity relating to check suites, use the `check-suite` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Checks\" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the \"Checks\" permission. GitHub Apps with write-level access for the \"Checks\" permission are automatically subscribed to this webhook event.\n\nRepository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories.\n\n> [!NOTE]\n> The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.", - "description": "A new check run was created.", - "operationId": "check-run/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#check_run" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-check-run-created" - }, - "examples": { - "default": { "$ref": "#/components/examples/check-run-created" } - } - }, - "application/x-www-form-urlencoded": { - "schema": { - "$ref": "#/components/schemas/webhook-check-run-created-form-encoded" - }, - "examples": { - "default": { - "$ref": "#/components/examples/check-run-created-form-encoded" - } - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "check_run", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "check-run-requested-action": { - "post": { - "summary": "This event occurs when there is activity relating to a check run. For information about check runs, see \"[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-checks-api).\" For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#checkrun) or \"[Check Runs](https://docs.github.com/enterprise-server@3.13/rest/checks/runs)\" in the REST API documentation.\n\nFor activity relating to check suites, use the `check-suite` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Checks\" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the \"Checks\" permission. GitHub Apps with write-level access for the \"Checks\" permission are automatically subscribed to this webhook event.\n\nRepository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories.\n\n> [!NOTE]\n> The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.", - "description": "A check run completed, and someone requested a followup action that your app provides. Only the GitHub App someone requests to perform an action will receive the `requested_action` payload. For more information, see \"[Creating CI tests with the Checks API](https://docs.github.com/enterprise-server@3.13/developers/apps/guides/creating-ci-tests-with-the-checks-api).\"", - "operationId": "check-run/requested-action", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#check_run" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-check-run-requested-action" - }, - "examples": { - "default": { - "$ref": "#/components/examples/check-run-requested-action" - } - } - }, - "application/x-www-form-urlencoded": { - "schema": { - "$ref": "#/components/schemas/webhook-check-run-requested-action-form-encoded" - }, - "examples": { - "default": { - "$ref": "#/components/examples/check-run-requested-action-form-encoded" - } - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "check_run", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "check-run-rerequested": { - "post": { - "summary": "This event occurs when there is activity relating to a check run. For information about check runs, see \"[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-checks-api).\" For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#checkrun) or \"[Check Runs](https://docs.github.com/enterprise-server@3.13/rest/checks/runs)\" in the REST API documentation.\n\nFor activity relating to check suites, use the `check-suite` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Checks\" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the \"Checks\" permission. GitHub Apps with write-level access for the \"Checks\" permission are automatically subscribed to this webhook event.\n\nRepository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories.\n\n> [!NOTE]\n> The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.", - "description": "Someone requested to re-run a check run. Only the GitHub App that someone requests to re-run the check will receive the `rerequested` payload.", - "operationId": "check-run/rerequested", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#check_run" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-check-run-rerequested" - }, - "examples": { - "default": { - "$ref": "#/components/examples/check-run-rerequested" - } - } - }, - "application/x-www-form-urlencoded": { - "schema": { - "$ref": "#/components/schemas/webhook-check-run-rerequested-form-encoded" - }, - "examples": { - "default": { - "$ref": "#/components/examples/check-run-rerequested-form-encoded" - } - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "check_run", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "check-suite-completed": { - "post": { - "summary": "This event occurs when there is activity relating to a check suite. For information about check suites, see \"[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-checks-api).\" For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#checksuite) or \"[Check Suites](https://docs.github.com/enterprise-server@3.13/rest/checks/suites)\" in the REST API documentation.\n\nFor activity relating to check runs, use the `check_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Checks\" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the \"Checks\" permission. GitHub Apps with write-level access for the \"Checks\" permission are automatically subscribed to this webhook event.\n\nRepository and organization webhooks only receive payloads for the `completed` event types in repositories.\n\n> [!NOTE]\n> The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.", - "description": "All check runs in a check suite have completed, and a conclusion is available.", - "operationId": "check-suite/completed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#check_suite" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-check-suite-completed" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "check_suite", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "check-suite-requested": { - "post": { - "summary": "This event occurs when there is activity relating to a check suite. For information about check suites, see \"[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-checks-api).\" For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#checksuite) or \"[Check Suites](https://docs.github.com/enterprise-server@3.13/rest/checks/suites)\" in the REST API documentation.\n\nFor activity relating to check runs, use the `check_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Checks\" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the \"Checks\" permission. GitHub Apps with write-level access for the \"Checks\" permission are automatically subscribed to this webhook event.\n\nRepository and organization webhooks only receive payloads for the `completed` event types in repositories.\n\n> [!NOTE]\n> The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.", - "description": "Someone requested to run a check suite. By default, check suites are automatically created when you create a check run. For more information, see [the GraphQL API documentation for creating a check run](https://docs.github.com/enterprise-server@3.13/graphql/reference/mutations#createcheckrun) or \"[Create a check run](https://docs.github.com/enterprise-server@3.13/rest/checks/runs#create-a-check-run)\" in the REST API documentation.", - "operationId": "check-suite/requested", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#check_suite" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-check-suite-requested" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "check_suite", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "check-suite-rerequested": { - "post": { - "summary": "This event occurs when there is activity relating to a check suite. For information about check suites, see \"[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-checks-api).\" For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#checksuite) or \"[Check Suites](https://docs.github.com/enterprise-server@3.13/rest/checks/suites)\" in the REST API documentation.\n\nFor activity relating to check runs, use the `check_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Checks\" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the \"Checks\" permission. GitHub Apps with write-level access for the \"Checks\" permission are automatically subscribed to this webhook event.\n\nRepository and organization webhooks only receive payloads for the `completed` event types in repositories.\n\n> [!NOTE]\n> The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.", - "description": "Someone requested to re-run the check runs in a check suite. For more information, see [the GraphQL API documentation for creating a check suite](https://docs.github.com/enterprise-server@3.13/graphql/reference/mutations#createchecksuite) or \"[Create a check suite](https://docs.github.com/enterprise-server@3.13/rest/checks/suites#create-a-check-suite)\" in the REST API documentation.", - "operationId": "check-suite/rerequested", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#check_suite" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-check-suite-rerequested" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "check_suite", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "code-scanning-alert-appeared-in-branch": { - "post": { - "summary": "This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see \"[About code scanning](https://docs.github.com/enterprise-server@3.13/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)\" and \"[About code scanning alerts](https://docs.github.com/enterprise-server@3.13/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts).\" For information about the API to manage code scanning, see \"[Code scanning](https://docs.github.com/enterprise-server@3.13/rest/code-scanning)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Code scanning alerts\" repository permission.", - "description": "A previously created code scanning alert appeared in another branch. This can happen when a branch is merged into or created from a branch with a pre-existing code scanning alert.", - "operationId": "code-scanning-alert/appeared-in-branch", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#code_scanning_alert" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-code-scanning-alert-appeared-in-branch" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "code_scanning_alert", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "code-scanning-alert-closed-by-user": { - "post": { - "summary": "This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see \"[About code scanning](https://docs.github.com/enterprise-server@3.13/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)\" and \"[About code scanning alerts](https://docs.github.com/enterprise-server@3.13/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts).\" For information about the API to manage code scanning, see \"[Code scanning](https://docs.github.com/enterprise-server@3.13/rest/code-scanning)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Code scanning alerts\" repository permission.", - "description": "Someone closed a code scanning alert.", - "operationId": "code-scanning-alert/closed-by-user", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#code_scanning_alert" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-code-scanning-alert-closed-by-user" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "code_scanning_alert", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "code-scanning-alert-created": { - "post": { - "summary": "This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see \"[About code scanning](https://docs.github.com/enterprise-server@3.13/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)\" and \"[About code scanning alerts](https://docs.github.com/enterprise-server@3.13/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts).\" For information about the API to manage code scanning, see \"[Code scanning](https://docs.github.com/enterprise-server@3.13/rest/code-scanning)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Code scanning alerts\" repository permission.", - "description": "A code scanning alert was created in a repository.", - "operationId": "code-scanning-alert/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#code_scanning_alert" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-code-scanning-alert-created" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "code_scanning_alert", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "code-scanning-alert-fixed": { - "post": { - "summary": "This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see \"[About code scanning](https://docs.github.com/enterprise-server@3.13/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)\" and \"[About code scanning alerts](https://docs.github.com/enterprise-server@3.13/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts).\" For information about the API to manage code scanning, see \"[Code scanning](https://docs.github.com/enterprise-server@3.13/rest/code-scanning)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Code scanning alerts\" repository permission.", - "description": "A code scanning alert was fixed in a branch by a commit.", - "operationId": "code-scanning-alert/fixed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#code_scanning_alert" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-code-scanning-alert-fixed" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "code_scanning_alert", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "code-scanning-alert-reopened": { - "post": { - "summary": "This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see \"[About code scanning](https://docs.github.com/enterprise-server@3.13/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)\" and \"[About code scanning alerts](https://docs.github.com/enterprise-server@3.13/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts).\" For information about the API to manage code scanning, see \"[Code scanning](https://docs.github.com/enterprise-server@3.13/rest/code-scanning)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Code scanning alerts\" repository permission.", - "description": "A previously fixed code scanning alert reappeared in a branch.", - "operationId": "code-scanning-alert/reopened", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#code_scanning_alert" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-code-scanning-alert-reopened" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "code_scanning_alert", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "code-scanning-alert-reopened-by-user": { - "post": { - "summary": "This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see \"[About code scanning](https://docs.github.com/enterprise-server@3.13/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)\" and \"[About code scanning alerts](https://docs.github.com/enterprise-server@3.13/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts).\" For information about the API to manage code scanning, see \"[Code scanning](https://docs.github.com/enterprise-server@3.13/rest/code-scanning)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Code scanning alerts\" repository permission.", - "description": "Someone reopened a code scanning alert.", - "operationId": "code-scanning-alert/reopened-by-user", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#code_scanning_alert" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-code-scanning-alert-reopened-by-user" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "code_scanning_alert", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "commit-comment-created": { - "post": { - "summary": "This event occurs when there is activity relating to commit comments. For more information about commit comments, see \"[Commenting on a pull request](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request).\" For information about the APIs to manage commit comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#commitcomment) or \"[Commit comments](https://docs.github.com/enterprise-server@3.13/rest/commits/comments)\" in the REST API documentation.\n\nFor activity relating to comments on pull request reviews, use the `pull_request_review_comment` event. For activity relating to issue comments, use the `issue_comment` event. For activity relating to discussion comments, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", - "description": "Someone commented on a commit.", - "operationId": "commit-comment/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#commit_comment" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-commit-comment-created" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "commit_comment", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "create": { - "post": { - "summary": "This event occurs when a Git branch or tag is created.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.\n\n**Notes**:\n- This event will not occur when more than three tags are created at once.\n- Payloads are capped at 25 MB. If an event generates a larger payload, GitHub will not deliver a payload for that webhook event. This may happen, for example, if many branches or tags are pushed at once. We suggest monitoring your payload size to ensure delivery.", - "operationId": "create", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#create" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-create" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "create", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "delete": { - "post": { - "summary": "This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including\nbranch and tag deletions, use the [`push`](#push) webhook event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.\n\n> [!NOTE]\n> This event will not occur when more than three tags are deleted at once.", - "operationId": "delete", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#delete" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-delete" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "delete", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "dependabot-alert-auto-dismissed": { - "post": { - "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.13/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.13/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A Dependabot alert was automatically closed by a Dependabot auto-triage rule.", - "operationId": "dependabot-alert/auto-dismissed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#dependabot_alert" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-auto-dismissed" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "dependabot_alert", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "dependabot-alert-auto-reopened": { - "post": { - "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.13/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.13/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A Dependabot alert, that had been automatically closed by a Dependabot auto-triage rule, was automatically reopened because the alert metadata or rule changed.", - "operationId": "dependabot-alert/auto-reopened", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#dependabot_alert" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-auto-reopened" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "dependabot_alert", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "dependabot-alert-created": { - "post": { - "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.13/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.13/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A manifest file change introduced a vulnerable dependency, or a GitHub Security Advisory was published and an existing dependency was found to be vulnerable.", - "operationId": "dependabot-alert/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#dependabot_alert" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-created" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "dependabot_alert", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "dependabot-alert-dismissed": { - "post": { - "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.13/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.13/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A Dependabot alert was manually closed.", - "operationId": "dependabot-alert/dismissed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#dependabot_alert" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-dismissed" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "dependabot_alert", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "dependabot-alert-fixed": { - "post": { - "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.13/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.13/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A manifest file change removed a vulnerability.", - "operationId": "dependabot-alert/fixed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#dependabot_alert" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-fixed" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "dependabot_alert", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "dependabot-alert-reintroduced": { - "post": { - "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.13/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.13/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A manifest file change introduced a vulnerable dependency that had previously been fixed.", - "operationId": "dependabot-alert/reintroduced", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#dependabot_alert" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-reintroduced" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "dependabot_alert", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "dependabot-alert-reopened": { - "post": { - "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.13/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.13/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A Dependabot alert was manually reopened.", - "operationId": "dependabot-alert/reopened", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#dependabot_alert" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-reopened" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "dependabot_alert", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "deploy-key-created": { - "post": { - "summary": "This event occurs when there is activity relating to deploy keys. For more information, see \"[Managing deploy keys](https://docs.github.com/enterprise-server@3.13/developers/overview/managing-deploy-keys).\" For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#deploykey) or \"[Deploy keys](https://docs.github.com/enterprise-server@3.13/rest/deploy-keys)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deploy key was created.", - "operationId": "deploy-key/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#deploy_key" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-deploy-key-created" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "deploy_key", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "deploy-key-deleted": { - "post": { - "summary": "This event occurs when there is activity relating to deploy keys. For more information, see \"[Managing deploy keys](https://docs.github.com/enterprise-server@3.13/developers/overview/managing-deploy-keys).\" For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#deploykey) or \"[Deploy keys](https://docs.github.com/enterprise-server@3.13/rest/deploy-keys)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deploy key was deleted.", - "operationId": "deploy-key/deleted", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#deploy_key" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-deploy-key-deleted" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "deploy_key", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "deployment-created": { - "post": { - "summary": "This event occurs when there is activity relating to deployments. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.13/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.13/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment status, use the `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deployment was created.", - "operationId": "deployment/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#deployment" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-deployment-created" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "deployment", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "deployment-protection-rule-requested": { - "post": { - "summary": "This event occurs when there is activity relating to deployment protection rules. For more information, see \"[Using environments for deployment](https://docs.github.com/enterprise-server@3.13/actions/deployment/targeting-different-environments/using-environments-for-deployment#environment-protection-rules).\" For information about the API to manage deployment protection rules, see [the REST API documentation](https://docs.github.com/enterprise-server@3.13/rest/deployments/environments).\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deployment protection rule was requested for an environment.", - "operationId": "deployment-protection-rule/requested", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#deployment_protection_rule" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-deployment-protection-rule-requested" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "deployment_protection_rule", - "supported-webhook-types": ["app"] - } - } - }, - "deployment-review-approved": { - "post": { - "summary": "This event occurs when there is activity relating to deployment reviews. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.13/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.13/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deployment review was approved.", - "operationId": "deployment-review/approved", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#deployment_review" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-deployment-review-approved" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "deployment_review", - "supported-webhook-types": ["app"] - } - } - }, - "deployment-review-rejected": { - "post": { - "summary": "This event occurs when there is activity relating to deployment reviews. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.13/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.13/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deployment review was rejected.", - "operationId": "deployment-review/rejected", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#deployment_review" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-deployment-review-rejected" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "deployment_review", - "supported-webhook-types": ["app"] - } - } - }, - "deployment-review-requested": { - "post": { - "summary": "This event occurs when there is activity relating to deployment reviews. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.13/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.13/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deployment review was requested.", - "operationId": "deployment-review/requested", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#deployment_review" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-deployment-review-requested" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "deployment_review", - "supported-webhook-types": ["app"] - } - } - }, - "deployment-status-created": { - "post": { - "summary": "This event occurs when there is activity relating to deployment statuses. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.13/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.13/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation, use the `deployment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.\n\n> [!NOTE]\n> A webhook event is not fired for deployment statuses with an `inactive` state.", - "description": "A new deployment status was created.", - "operationId": "deployment-status/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#deployment_status" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-deployment-status-created" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "deployment_status", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "discussion-answered": { - "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A comment on the discussion was marked as the answer.", - "operationId": "discussion/answered", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#discussion" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-discussion-answered" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "discussion", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "discussion-category-changed": { - "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "The category of a discussion was changed.", - "operationId": "discussion/category-changed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#discussion" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-discussion-category-changed" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "discussion", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "discussion-closed": { - "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was closed.", - "operationId": "discussion/closed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#discussion" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "discussions", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.9.0", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-discussion-closed" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "discussion", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "discussion-comment-created": { - "post": { - "summary": "This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion).\n\nFor activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A comment on a discussion was created.", - "operationId": "discussion-comment/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#discussion_comment" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-discussion-comment-created" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "discussion_comment", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "discussion-comment-deleted": { - "post": { - "summary": "This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion).\n\nFor activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A comment on a discussion was deleted.", - "operationId": "discussion-comment/deleted", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#discussion_comment" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-discussion-comment-deleted" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "discussion_comment", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "discussion-comment-edited": { - "post": { - "summary": "This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion).\n\nFor activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A comment on a discussion was edited.", - "operationId": "discussion-comment/edited", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#discussion_comment" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-discussion-comment-edited" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "discussion_comment", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "discussion-created": { - "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was created.", - "operationId": "discussion/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#discussion" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-discussion-created" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "discussion", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "discussion-deleted": { - "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was deleted.", - "operationId": "discussion/deleted", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#discussion" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-discussion-deleted" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "discussion", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "discussion-edited": { - "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "The title or body on a discussion was edited, or the category of the discussion was changed.", - "operationId": "discussion/edited", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#discussion" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-discussion-edited" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "discussion", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "discussion-labeled": { - "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A label was added to a discussion.", - "operationId": "discussion/labeled", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#discussion" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-discussion-labeled" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "discussion", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "discussion-locked": { - "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was locked.", - "operationId": "discussion/locked", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#discussion" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-discussion-locked" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "discussion", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "discussion-pinned": { - "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was pinned.", - "operationId": "discussion/pinned", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#discussion" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-discussion-pinned" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "discussion", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "discussion-reopened": { - "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was reopened.", - "operationId": "discussion/reopened", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#discussion" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "discussions", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.9.0", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-discussion-reopened" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "discussion", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "discussion-transferred": { - "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was transferred to another repository.", - "operationId": "discussion/transferred", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#discussion" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-discussion-transferred" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "discussion", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "discussion-unanswered": { - "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A comment on the discussion was unmarked as the answer.", - "operationId": "discussion/unanswered", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#discussion" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-discussion-unanswered" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "discussion", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "discussion-unlabeled": { - "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A label was removed from a discussion.", - "operationId": "discussion/unlabeled", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#discussion" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-discussion-unlabeled" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "discussion", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "discussion-unlocked": { - "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was unlocked.", - "operationId": "discussion/unlocked", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#discussion" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-discussion-unlocked" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "discussion", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "discussion-unpinned": { - "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was unpinned.", - "operationId": "discussion/unpinned", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#discussion" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-discussion-unpinned" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "discussion", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "enterprise-anonymous-access-disabled": { - "post": { - "summary": "This event occurs when there is activity relating to anonymous Git read access in an enterprise. For more information, see \"[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.13/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access).\"", - "description": "Anonymous Git read access was disabled.", - "operationId": "enterprise/anonymous-access-disabled", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#enterprise" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-enterprise-anonymous-access-disabled" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "enterprise", - "supported-webhook-types": ["business"] - } - } - }, - "enterprise-anonymous-access-enabled": { - "post": { - "summary": "This event occurs when there is activity relating to anonymous Git read access in an enterprise. For more information, see \"[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.13/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access).\"", - "description": "Anonymous Git read access was enabled.", - "operationId": "enterprise/anonymous-access-enabled", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#enterprise" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-enterprise-anonymous-access-enabled" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "enterprise", - "supported-webhook-types": ["business"] - } - } - }, - "fork": { - "post": { - "summary": "This event occurs when someone forks a repository. For more information, see \"[Fork a repo](https://docs.github.com/enterprise-server@3.13/get-started/quickstart/fork-a-repo).\" For information about the API to manage forks, see \"[Forks](https://docs.github.com/enterprise-server@3.13/rest/repos/forks)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", - "operationId": "fork", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#fork" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-fork" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "fork", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] - } - } - }, - "github-app-authorization-revoked": { - "post": { - "summary": "This event occurs when a user revokes their authorization of a GitHub App. For more information, see \"[About apps](https://docs.github.com/enterprise-server@3.13/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the API to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.13/rest/apps)\" in the REST API documentation.\n\nA GitHub App receives this webhook by default and cannot unsubscribe from this event.\n\nAnyone can revoke their authorization of a GitHub App from their [GitHub account settings page](https://github.com/settings/apps/authorizations). Revoking the authorization of a GitHub App does not uninstall the GitHub App. You should program your GitHub App so that when it receives this webhook, it stops calling the API on behalf of the person who revoked the token. If your GitHub App continues to use a revoked access token, it will receive the `401 Bad Credentials` error. For details about requests with a user access token, which require GitHub App authorization, see \"[Authenticating with a GitHub App on behalf of a user](https://docs.github.com/enterprise-server@3.13/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-with-a-github-app-on-behalf-of-a-user).\"", - "description": "Someone revoked their authorization of a GitHub App.", - "operationId": "github-app-authorization/revoked", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#github_app_authorization" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-github-app-authorization-revoked" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "github_app_authorization", - "supported-webhook-types": ["app"] - } - } - }, - "gollum": { - "post": { - "summary": "This event occurs when someone creates or updates a wiki page. For more information, see \"[About wikis](https://docs.github.com/enterprise-server@3.13/communities/documenting-your-project-with-wikis/about-wikis).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", - "operationId": "gollum", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#gollum" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-gollum" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "gollum", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "installation-created": { - "post": { - "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.13/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.13/rest/apps)\" in the REST API documentation.", - "description": "Someone installed a GitHub App on a user or organization account.", - "operationId": "installation/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#installation" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-installation-created" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "installation", - "supported-webhook-types": ["app"] - } - } - }, - "installation-deleted": { - "post": { - "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.13/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.13/rest/apps)\" in the REST API documentation.", - "description": "Someone uninstalled a GitHub App from their user or organization account.", - "operationId": "installation/deleted", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#installation" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-installation-deleted" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "installation", - "supported-webhook-types": ["app"] - } - } - }, - "installation-new-permissions-accepted": { - "post": { - "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.13/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.13/rest/apps)\" in the REST API documentation.", - "description": "Someone granted new permissions to a GitHub App.", - "operationId": "installation/new-permissions-accepted", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#installation" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-installation-new-permissions-accepted" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "installation", - "supported-webhook-types": ["app"] - } - } - }, - "installation-repositories-added": { - "post": { - "summary": "This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.13/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.13/rest/apps)\" in the REST API documentation.", - "description": "A GitHub App installation was granted access to one or more repositories.", - "operationId": "installation-repositories/added", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#installation_repositories" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-installation-repositories-added" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "installation_repositories", - "supported-webhook-types": ["app"] - } - } - }, - "installation-repositories-removed": { - "post": { - "summary": "This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.13/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.13/rest/apps)\" in the REST API documentation.", - "description": "Access to one or more repositories was revoked for a GitHub App installation.", - "operationId": "installation-repositories/removed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#installation_repositories" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-installation-repositories-removed" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "installation_repositories", - "supported-webhook-types": ["app"] - } - } - }, - "installation-suspend": { - "post": { - "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.13/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.13/rest/apps)\" in the REST API documentation.", - "description": "Someone blocked access by a GitHub App to their user or organization account.", - "operationId": "installation/suspend", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#installation" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-installation-suspend" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "installation", - "supported-webhook-types": ["app"] - } - } - }, - "installation-target-renamed": { - "post": { - "summary": "This event occurs when there is activity relating to the user or organization account that a GitHub App is installed on. For more information, see \"[About apps](https://docs.github.com/enterprise-server@3.13/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.13/rest/apps)\" in the REST API documentation.", - "description": "Somebody renamed the user or organization account that a GitHub App is installed on.", - "operationId": "installation-target/renamed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#installation_target" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-installation-target-renamed" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "installation_target", - "supported-webhook-types": ["app"] - } - } - }, - "installation-unsuspend": { - "post": { - "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.13/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.13/rest/apps)\" in the REST API documentation.", - "description": "A GitHub App that was blocked from accessing a user or organization account was given access the account again.", - "operationId": "installation/unsuspend", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#installation" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-installation-unsuspend" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "installation", - "supported-webhook-types": ["app"] - } - } - }, - "issue-comment-created": { - "post": { - "summary": "This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see \"[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues)\" and \"[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issuecomment) or \"[Issue comments](https://docs.github.com/enterprise-server@3.13/rest/issues/comments)\" in the REST API documentation.\n\nFor activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see \"[Working with comments](https://docs.github.com/enterprise-server@3.13/rest/guides/working-with-comments).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A comment on an issue or pull request was created.", - "operationId": "issue-comment/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#issue_comment" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-issue-comment-created" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "issue_comment", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "issue-comment-deleted": { - "post": { - "summary": "This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see \"[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues)\" and \"[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issuecomment) or \"[Issue comments](https://docs.github.com/enterprise-server@3.13/rest/issues/comments)\" in the REST API documentation.\n\nFor activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see \"[Working with comments](https://docs.github.com/enterprise-server@3.13/rest/guides/working-with-comments).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A comment on an issue or pull request was deleted.", - "operationId": "issue-comment/deleted", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#issue_comment" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-issue-comment-deleted" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "issue_comment", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "issue-comment-edited": { - "post": { - "summary": "This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see \"[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues)\" and \"[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issuecomment) or \"[Issue comments](https://docs.github.com/enterprise-server@3.13/rest/issues/comments)\" in the REST API documentation.\n\nFor activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see \"[Working with comments](https://docs.github.com/enterprise-server@3.13/rest/guides/working-with-comments).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A comment on an issue or pull request was edited.", - "operationId": "issue-comment/edited", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#issue_comment" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-issue-comment-edited" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "issue_comment", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "issues-assigned": { - "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was assigned to a user.", - "operationId": "issues/assigned", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#issues" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-issues-assigned" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "issues", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "issues-closed": { - "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was closed.", - "operationId": "issues/closed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#issues" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-issues-closed" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "issues", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "issues-deleted": { - "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was deleted.", - "operationId": "issues/deleted", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#issues" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-issues-deleted" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "issues", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "issues-demilestoned": { - "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was removed from a milestone.", - "operationId": "issues/demilestoned", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#issues" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-issues-demilestoned" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "issues", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "issues-edited": { - "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "The title or body on an issue was edited.", - "operationId": "issues/edited", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#issues" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-issues-edited" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "issues", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "issues-labeled": { - "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A label was added to an issue.", - "operationId": "issues/labeled", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#issues" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-issues-labeled" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "issues", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "issues-locked": { - "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/enterprise-server@3.13/communities/moderating-comments-and-conversations/locking-conversations).\"", - "operationId": "issues/locked", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#issues" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-issues-locked" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "issues", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "issues-milestoned": { - "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was added to a milestone.", - "operationId": "issues/milestoned", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#issues" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-issues-milestoned" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "issues", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "issues-opened": { - "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was created. When a closed issue is reopened, the action will be `reopened` instead.", - "operationId": "issues/opened", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#issues" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-issues-opened" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "issues", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "issues-pinned": { - "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was pinned to a repository. For more information, see \"[Pinning an issue to your repository](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository).\"", - "operationId": "issues/pinned", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#issues" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-issues-pinned" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "issues", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "issues-reopened": { - "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A closed issue was reopened.", - "operationId": "issues/reopened", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#issues" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-issues-reopened" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "issues", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "issues-transferred": { - "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was transferred to another repository. For more information, see \"[Transferring an issue to another repository](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository).\"", - "operationId": "issues/transferred", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#issues" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-issues-transferred" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "issues", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "issues-unassigned": { - "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A user was unassigned from an issue.", - "operationId": "issues/unassigned", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#issues" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-issues-unassigned" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "issues", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "issues-unlabeled": { - "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A label was removed from an issue.", - "operationId": "issues/unlabeled", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#issues" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-issues-unlabeled" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "issues", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "issues-unlocked": { - "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/enterprise-server@3.13/communities/moderating-comments-and-conversations/locking-conversations).\"", - "operationId": "issues/unlocked", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#issues" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-issues-unlocked" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "issues", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "issues-unpinned": { - "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was unpinned from a repository. For more information, see \"[Pinning an issue to your repository](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository).\"", - "operationId": "issues/unpinned", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#issues" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-issues-unpinned" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "issues", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "label-created": { - "post": { - "summary": "This event occurs when there is activity relating to labels. For more information, see \"[Managing labels](https://docs.github.com/enterprise-server@3.13/issues/using-labels-and-milestones-to-track-work/managing-labels).\" For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#label) or \"[Labels](https://docs.github.com/enterprise-server@3.13/rest/issues/labels)\" in the REST API documentation.\n\nIf you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "A label was created.", - "operationId": "label/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#label" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-label-created" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "label", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "label-deleted": { - "post": { - "summary": "This event occurs when there is activity relating to labels. For more information, see \"[Managing labels](https://docs.github.com/enterprise-server@3.13/issues/using-labels-and-milestones-to-track-work/managing-labels).\" For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#label) or \"[Labels](https://docs.github.com/enterprise-server@3.13/rest/issues/labels)\" in the REST API documentation.\n\nIf you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "A label was deleted.", - "operationId": "label/deleted", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#label" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-label-deleted" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "label", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "label-edited": { - "post": { - "summary": "This event occurs when there is activity relating to labels. For more information, see \"[Managing labels](https://docs.github.com/enterprise-server@3.13/issues/using-labels-and-milestones-to-track-work/managing-labels).\" For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#label) or \"[Labels](https://docs.github.com/enterprise-server@3.13/rest/issues/labels)\" in the REST API documentation.\n\nIf you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "A label's name, description, or color was changed.", - "operationId": "label/edited", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#label" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-label-edited" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "label", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "member-added": { - "post": { - "summary": "This event occurs when there is activity relating to collaborators in a repository. For more information, see \"[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.13/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization).\" For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repositorycollaboratorconnection) or \"[Collaborators](https://docs.github.com/enterprise-server@3.13/rest/collaborators/collaborators)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "A GitHub user accepted an invitation to a repository.", - "operationId": "member/added", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#member" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-member-added" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "member", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] - } - } - }, - "member-edited": { - "post": { - "summary": "This event occurs when there is activity relating to collaborators in a repository. For more information, see \"[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.13/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization).\" For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repositorycollaboratorconnection) or \"[Collaborators](https://docs.github.com/enterprise-server@3.13/rest/collaborators/collaborators)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "Permissions were changed for a collaborator on a repository.", - "operationId": "member/edited", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#member" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-member-edited" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "member", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] - } - } - }, - "member-removed": { - "post": { - "summary": "This event occurs when there is activity relating to collaborators in a repository. For more information, see \"[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.13/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization).\" For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repositorycollaboratorconnection) or \"[Collaborators](https://docs.github.com/enterprise-server@3.13/rest/collaborators/collaborators)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "A collaborator was removed from a repository.", - "operationId": "member/removed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#member" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-member-removed" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "member", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] - } - } - }, - "membership-added": { - "post": { - "summary": "This event occurs when there is activity relating to team membership. For more information, see \"[About teams](https://docs.github.com/enterprise-server@3.13/organizations/organizing-members-into-teams/about-teams).\" For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#team) or \"[Team members](https://docs.github.com/enterprise-server@3.13/rest/teams/members)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "An organization member was added to a team.", - "operationId": "membership/added", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#membership" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-membership-added" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "membership", - "supported-webhook-types": ["organization", "business", "app"] - } - } - }, - "membership-removed": { - "post": { - "summary": "This event occurs when there is activity relating to team membership. For more information, see \"[About teams](https://docs.github.com/enterprise-server@3.13/organizations/organizing-members-into-teams/about-teams).\" For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#team) or \"[Team members](https://docs.github.com/enterprise-server@3.13/rest/teams/members)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "An organization member was removed from a team.", - "operationId": "membership/removed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#membership" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-membership-removed" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "membership", - "supported-webhook-types": ["organization", "business", "app"] - } - } - }, - "meta-deleted": { - "post": { - "summary": "This event occurs when there is activity relating to a webhook itself.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Meta\" app permission.", - "description": "The webhook was deleted.", - "operationId": "meta/deleted", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#meta" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-meta-deleted" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "meta", - "supported-webhook-types": [ - "marketplace", - "business", - "repository", - "organization", - "app" - ] - } - } - }, - "milestone-closed": { - "post": { - "summary": "This event occurs when there is activity relating to milestones. For more information, see \"[About milestones](https://docs.github.com/enterprise-server@3.13/issues/using-labels-and-milestones-to-track-work/about-milestones).\" For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#milestone) or \"[Milestones](https://docs.github.com/enterprise-server@3.13/rest/issues/milestones)\" in the REST API documentation.\n\nIf you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", - "description": "A milestone was closed.", - "operationId": "milestone/closed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#milestone" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-milestone-closed" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "milestone", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "milestone-created": { - "post": { - "summary": "This event occurs when there is activity relating to milestones. For more information, see \"[About milestones](https://docs.github.com/enterprise-server@3.13/issues/using-labels-and-milestones-to-track-work/about-milestones).\" For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#milestone) or \"[Milestones](https://docs.github.com/enterprise-server@3.13/rest/issues/milestones)\" in the REST API documentation.\n\nIf you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", - "description": "A milestone was created.", - "operationId": "milestone/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#milestone" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-milestone-created" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "milestone", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "milestone-deleted": { - "post": { - "summary": "This event occurs when there is activity relating to milestones. For more information, see \"[About milestones](https://docs.github.com/enterprise-server@3.13/issues/using-labels-and-milestones-to-track-work/about-milestones).\" For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#milestone) or \"[Milestones](https://docs.github.com/enterprise-server@3.13/rest/issues/milestones)\" in the REST API documentation.\n\nIf you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", - "description": "A milestone was deleted.", - "operationId": "milestone/deleted", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#milestone" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-milestone-deleted" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "milestone", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "milestone-edited": { - "post": { - "summary": "This event occurs when there is activity relating to milestones. For more information, see \"[About milestones](https://docs.github.com/enterprise-server@3.13/issues/using-labels-and-milestones-to-track-work/about-milestones).\" For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#milestone) or \"[Milestones](https://docs.github.com/enterprise-server@3.13/rest/issues/milestones)\" in the REST API documentation.\n\nIf you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", - "description": "A milestone was edited.", - "operationId": "milestone/edited", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#milestone" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-milestone-edited" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "milestone", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "milestone-opened": { - "post": { - "summary": "This event occurs when there is activity relating to milestones. For more information, see \"[About milestones](https://docs.github.com/enterprise-server@3.13/issues/using-labels-and-milestones-to-track-work/about-milestones).\" For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#milestone) or \"[Milestones](https://docs.github.com/enterprise-server@3.13/rest/issues/milestones)\" in the REST API documentation.\n\nIf you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", - "description": "A milestone was opened.", - "operationId": "milestone/opened", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#milestone" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-milestone-opened" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "milestone", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "organization-deleted": { - "post": { - "summary": "This event occurs when there is activity relating to an organization and its members. For more information, see \"[About organizations](https://docs.github.com/enterprise-server@3.13/organizations/collaborating-with-groups-in-organizations/about-organizations).\" For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#organization) or \"[Organizations](https://docs.github.com/enterprise-server@3.13/rest/orgs)\" in the REST API documentation.\n\nIf you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "An organization was deleted.", - "operationId": "organization/deleted", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#organization" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-organization-deleted" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "organization", - "supported-webhook-types": ["organization", "business", "app"] - } - } - }, - "organization-member-added": { - "post": { - "summary": "This event occurs when there is activity relating to an organization and its members. For more information, see \"[About organizations](https://docs.github.com/enterprise-server@3.13/organizations/collaborating-with-groups-in-organizations/about-organizations).\" For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#organization) or \"[Organizations](https://docs.github.com/enterprise-server@3.13/rest/orgs)\" in the REST API documentation.\n\nIf you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "A member accepted an invitation to join an organization.", - "operationId": "organization/member-added", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#organization" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-organization-member-added" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "organization", - "supported-webhook-types": ["organization", "business", "app"] - } - } - }, - "organization-member-invited": { - "post": { - "summary": "This event occurs when there is activity relating to an organization and its members. For more information, see \"[About organizations](https://docs.github.com/enterprise-server@3.13/organizations/collaborating-with-groups-in-organizations/about-organizations).\" For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#organization) or \"[Organizations](https://docs.github.com/enterprise-server@3.13/rest/orgs)\" in the REST API documentation.\n\nIf you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "A member was invited to join the organization.", - "operationId": "organization/member-invited", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#organization" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-organization-member-invited" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "organization", - "supported-webhook-types": ["organization", "business", "app"] - } - } - }, - "organization-member-removed": { - "post": { - "summary": "This event occurs when there is activity relating to an organization and its members. For more information, see \"[About organizations](https://docs.github.com/enterprise-server@3.13/organizations/collaborating-with-groups-in-organizations/about-organizations).\" For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#organization) or \"[Organizations](https://docs.github.com/enterprise-server@3.13/rest/orgs)\" in the REST API documentation.\n\nIf you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "A member was removed from the organization.", - "operationId": "organization/member-removed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#organization" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-organization-member-removed" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "organization", - "supported-webhook-types": ["organization", "business", "app"] - } - } - }, - "organization-renamed": { - "post": { - "summary": "This event occurs when there is activity relating to an organization and its members. For more information, see \"[About organizations](https://docs.github.com/enterprise-server@3.13/organizations/collaborating-with-groups-in-organizations/about-organizations).\" For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#organization) or \"[Organizations](https://docs.github.com/enterprise-server@3.13/rest/orgs)\" in the REST API documentation.\n\nIf you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "The name of an organization was changed.", - "operationId": "organization/renamed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#organization" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-organization-renamed" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "organization", - "supported-webhook-types": ["organization", "business", "app"] - } - } - }, - "package-published": { - "post": { - "summary": "This event occurs when there is activity relating to GitHub Packages. For more information, see \"[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.13/packages/learn-github-packages/introduction-to-github-packages).\" For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#package) or \"[Packages](https://docs.github.com/enterprise-server@3.13/rest/packages)\" in the REST API documentation.\n\nTo install this event on a GitHub App, the app must have at least read-level access for the \"Packages\" repository permission.", - "description": "A package was published to a registry.", - "operationId": "package/published", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#package" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-package-published" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "package", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "package-updated": { - "post": { - "summary": "This event occurs when there is activity relating to GitHub Packages. For more information, see \"[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.13/packages/learn-github-packages/introduction-to-github-packages).\" For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#package) or \"[Packages](https://docs.github.com/enterprise-server@3.13/rest/packages)\" in the REST API documentation.\n\nTo install this event on a GitHub App, the app must have at least read-level access for the \"Packages\" repository permission.", - "description": "A previously published package was updated.", - "operationId": "package/updated", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#package" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-package-updated" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "package", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "page-build": { - "post": { - "summary": "This event occurs when there is an attempted build of a GitHub Pages site. This event occurs regardless of whether the build is successful. For more information, see \"[Configuring a publishing source for your GitHub Pages site](https://docs.github.com/enterprise-server@3.13/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site).\" For information about the API to manage GitHub Pages, see \"[Pages](https://docs.github.com/enterprise-server@3.13/rest/pages)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pages\" repository permission.", - "operationId": "page-build", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#page_build" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-page-build" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "page_build", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "personal-access-token-request-approved": { - "post": { - "summary": "This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see \"[Creating a personal access token](https://docs.github.com/enterprise-server@3.13/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Personal access token requests\" organization permission.", - "description": "A fine-grained personal access token request was approved.", - "operationId": "personal-access-token-request/approved", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#personal_access_token_request" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "personal_access_token_request", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "integration", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-personal-access-token-request-approved" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "personal_access_token_request", - "supported-webhook-types": ["app", "organization"] - } - } - }, - "personal-access-token-request-cancelled": { - "post": { - "summary": "This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see \"[Creating a personal access token](https://docs.github.com/enterprise-server@3.13/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Personal access token requests\" organization permission.", - "description": "A fine-grained personal access token request was cancelled by the requester.", - "operationId": "personal-access-token-request/cancelled", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#personal_access_token_request" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "personal_access_token_request", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "integration", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-personal-access-token-request-cancelled" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "personal_access_token_request", - "supported-webhook-types": ["app", "organization"] - } - } - }, - "personal-access-token-request-created": { - "post": { - "summary": "This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see \"[Creating a personal access token](https://docs.github.com/enterprise-server@3.13/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Personal access token requests\" organization permission.", - "description": "A fine-grained personal access token request was created.", - "operationId": "personal-access-token-request/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#personal_access_token_request" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "personal_access_token_request", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "integration", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-personal-access-token-request-created" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "personal_access_token_request", - "supported-webhook-types": ["app", "organization"] - } - } - }, - "personal-access-token-request-denied": { - "post": { - "summary": "This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see \"[Creating a personal access token](https://docs.github.com/enterprise-server@3.13/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Personal access token requests\" organization permission.", - "description": "A fine-grained personal access token request was denied.", - "operationId": "personal-access-token-request/denied", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#personal_access_token_request" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "personal_access_token_request", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "integration", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-personal-access-token-request-denied" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "personal_access_token_request", - "supported-webhook-types": ["app", "organization"] - } - } - }, - "ping": { - "post": { - "summary": "This event occurs when you create a new webhook. The ping event is a confirmation from GitHub that you configured the webhook correctly.", - "operationId": "ping", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#ping" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-ping" }, - "examples": { - "default": { "$ref": "#/components/examples/ping" } - } - }, - "application/x-www-form-urlencoded": { - "schema": { - "$ref": "#/components/schemas/webhook-ping-form-encoded" - }, - "examples": { - "default": { "$ref": "#/components/examples/ping-form-encoded" } - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "ping", - "supported-webhook-types": [ - "repository", - "organization", - "app", - "business", - "marketplace" - ] - } - } - }, - "project-card-converted": { - "post": { - "summary": "This event occurs when there is activity relating to a card on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", - "description": "A note in a project (classic) was converted to an issue.", - "operationId": "project-card/converted", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#project_card" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-project-card-converted" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "project_card", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "project-card-created": { - "post": { - "summary": "This event occurs when there is activity relating to a card on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", - "description": "A card was added to a project (classic).", - "operationId": "project-card/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#project_card" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-project-card-created" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "project_card", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "project-card-deleted": { - "post": { - "summary": "This event occurs when there is activity relating to a card on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", - "description": "A card on a project (classic) was deleted.", - "operationId": "project-card/deleted", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#project_card" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-project-card-deleted" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "project_card", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "project-card-edited": { - "post": { - "summary": "This event occurs when there is activity relating to a card on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", - "description": "A note on a project (classic) was edited.", - "operationId": "project-card/edited", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#project_card" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-project-card-edited" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "project_card", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "project-card-moved": { - "post": { - "summary": "This event occurs when there is activity relating to a card on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", - "description": "A card on a project (classic) was moved to another column or to another position in its column.", - "operationId": "project-card/moved", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#project_card" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-project-card-moved" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "project_card", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "project-closed": { - "post": { - "summary": "This event occurs when there is activity relating to a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", - "description": "A project (classic) was closed.", - "operationId": "project/closed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#project" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-project-closed" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "project", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "project-column-created": { - "post": { - "summary": "This event occurs when there is activity relating to a column on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", - "description": "A column was added to a project (classic).", - "operationId": "project-column/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#project_column" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-project-column-created" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "project_column", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "project-column-deleted": { - "post": { - "summary": "This event occurs when there is activity relating to a column on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", - "description": "A column was deleted from a project (classic).", - "operationId": "project-column/deleted", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#project_column" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-project-column-deleted" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "project_column", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "project-column-edited": { - "post": { - "summary": "This event occurs when there is activity relating to a column on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", - "description": "The name of a column on a project (classic) was changed.", - "operationId": "project-column/edited", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#project_column" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-project-column-edited" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "project_column", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "project-column-moved": { - "post": { - "summary": "This event occurs when there is activity relating to a column on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", - "description": "A column was moved to a new position on a project (classic).", - "operationId": "project-column/moved", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#project_column" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-project-column-moved" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "project_column", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "project-created": { - "post": { - "summary": "This event occurs when there is activity relating to a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", - "description": "A project (classic) was created.", - "operationId": "project/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#project" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-project-created" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "project", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "project-deleted": { - "post": { - "summary": "This event occurs when there is activity relating to a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", - "description": "A project (classic) was deleted.", - "operationId": "project/deleted", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#project" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-project-deleted" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "project", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "project-edited": { - "post": { - "summary": "This event occurs when there is activity relating to a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", - "description": "The name or description of a project (classic) was changed.", - "operationId": "project/edited", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#project" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-project-edited" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "project", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "project-reopened": { - "post": { - "summary": "This event occurs when there is activity relating to a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", - "description": "A project (classic) was closed.", - "operationId": "project/reopened", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#project" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-project-reopened" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "project", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "projects-v2-closed": { - "post": { - "summary": "This event occurs when there is activity relating to an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#projectv2).\n\nFor activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "A project in the organization was closed.", - "operationId": "projects-v2/closed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#projects_v2" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "project-v2", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-projects-v2-project-closed" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "projects_v2", - "supported-webhook-types": ["organization"] - } - } - }, - "projects-v2-created": { - "post": { - "summary": "This event occurs when there is activity relating to an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#projectv2).\n\nFor activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "A project in the organization was created.", - "operationId": "projects-v2/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#projects_v2" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "project-v2", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-projects-v2-project-created" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "projects_v2", - "supported-webhook-types": ["organization"] - } - } - }, - "projects-v2-deleted": { - "post": { - "summary": "This event occurs when there is activity relating to an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#projectv2).\n\nFor activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "A project in the organization was deleted.", - "operationId": "projects-v2/deleted", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#projects_v2" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "project-v2", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-projects-v2-project-deleted" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "projects_v2", - "supported-webhook-types": ["organization"] - } - } - }, - "projects-v2-edited": { - "post": { - "summary": "This event occurs when there is activity relating to an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#projectv2).\n\nFor activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "The title, description, or README of a project in the organization was changed.", - "operationId": "projects-v2/edited", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#projects_v2" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "project-v2", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-projects-v2-project-edited" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "projects_v2", - "supported-webhook-types": ["organization"] - } - } - }, - "projects-v2-item-archived": { - "post": { - "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "An item on an organization project was archived. For more information, see \"[Archiving items from your project](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project).\"", - "operationId": "projects-v2-item/archived", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#projects_v2_item" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "project-v2-item", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-projects-v2-item-archived" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "projects_v2_item", - "supported-webhook-types": ["organization"] - } - } - }, - "projects-v2-item-converted": { - "post": { - "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "A draft issue in an organization project was converted to an issue.", - "operationId": "projects-v2-item/converted", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#projects_v2_item" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "project-v2-item", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-projects-v2-item-converted" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "projects_v2_item", - "supported-webhook-types": ["organization"] - } - } - }, - "projects-v2-item-created": { - "post": { - "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "An item was added to a project in the organization.", - "operationId": "projects-v2-item/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#projects_v2_item" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "project-v2-item", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-projects-v2-item-created" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "projects_v2_item", - "supported-webhook-types": ["organization"] - } - } - }, - "projects-v2-item-deleted": { - "post": { - "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "An item was deleted from a project in the organization.", - "operationId": "projects-v2-item/deleted", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#projects_v2_item" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "project-v2-item", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-projects-v2-item-deleted" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "projects_v2_item", - "supported-webhook-types": ["organization"] - } - } - }, - "projects-v2-item-edited": { - "post": { - "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "The values or state of an item in an organization project were changed. For example, the value of a field was updated, the body of a draft issue was changed, or a draft issue was converted to an issue.", - "operationId": "projects-v2-item/edited", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#projects_v2_item" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "project-v2-item", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-projects-v2-item-edited" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "projects_v2_item", - "supported-webhook-types": ["organization"] - } - } - }, - "projects-v2-item-reordered": { - "post": { - "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "The position of an item in an organization project was changed. For example, an item was moved above or below another item in the table or board layout.", - "operationId": "projects-v2-item/reordered", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#projects_v2_item" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "project-v2-item", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-projects-v2-item-reordered" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "projects_v2_item", - "supported-webhook-types": ["organization"] - } - } - }, - "projects-v2-item-restored": { - "post": { - "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "An archived item on an organization project was restored from the archive. For more information, see \"[Archiving items from your project](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project).\"", - "operationId": "projects-v2-item/restored", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#projects_v2_item" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "project-v2-item", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-projects-v2-item-restored" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "projects_v2_item", - "supported-webhook-types": ["organization"] - } - } - }, - "projects-v2-reopened": { - "post": { - "summary": "This event occurs when there is activity relating to an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#projectv2).\n\nFor activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "A project in the organization was reopened.", - "operationId": "projects-v2/reopened", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#projects_v2" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "project-v2", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-projects-v2-project-reopened" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "projects_v2", - "supported-webhook-types": ["organization"] - } - } - }, - "public": { - "post": { - "summary": "This event occurs when repository visibility changes from private to public. For more information, see \"[Setting repository visibility](https://docs.github.com/enterprise-server@3.13/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "operationId": "public", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#public" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-public" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "public", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "pull-request-assigned": { - "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A pull request was assigned to a user.", - "operationId": "pull-request/assigned", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#pull_request" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-assigned" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "pull_request", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "pull-request-auto-merge-disabled": { - "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "Auto merge was disabled for a pull request. For more information, see \"[Automatically merging a pull request](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request).\"", - "operationId": "pull-request/auto-merge-disabled", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#pull_request" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-auto-merge-disabled" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "pull_request", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "pull-request-auto-merge-enabled": { - "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "Auto merge was enabled for a pull request. For more information, see \"[Automatically merging a pull request](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request).\"", - "operationId": "pull-request/auto-merge-enabled", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#pull_request" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-auto-merge-enabled" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "pull_request", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "pull-request-closed": { - "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A pull request was closed. If `merged` is false in the webhook payload, the pull request was closed with unmerged commits. If `merged` is true in the webhook payload, the pull request was merged.", - "operationId": "pull-request/closed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#pull_request" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-closed" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "pull_request", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "pull-request-converted-to-draft": { - "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A pull request was converted to a draft. For more information, see \"[Changing the stage of a pull request](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request).\"", - "operationId": "pull-request/converted-to-draft", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#pull_request" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-converted-to-draft" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "pull_request", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "pull-request-demilestoned": { - "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A pull request was removed from a milestone.", - "operationId": "pull-request/demilestoned", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#pull_request" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-demilestoned" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "pull_request", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "pull-request-edited": { - "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "The title or body of a pull request was edited, or the base branch of a pull request was changed.", - "operationId": "pull-request/edited", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#pull_request" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-edited" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "pull_request", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "pull-request-labeled": { - "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A label was added to a pull request.", - "operationId": "pull-request/labeled", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#pull_request" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-labeled" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "pull_request", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "pull-request-locked": { - "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "Conversation on a pull request was locked. For more information, see \"[Locking conversations](https://docs.github.com/enterprise-server@3.13/communities/moderating-comments-and-conversations/locking-conversations).\"", - "operationId": "pull-request/locked", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#pull_request" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-locked" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "pull_request", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "pull-request-milestoned": { - "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A pull request was added to a milestone.", - "operationId": "pull-request/milestoned", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#pull_request" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-milestoned" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "pull_request", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "pull-request-opened": { - "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A pull request was created", - "operationId": "pull-request/opened", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#pull_request" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-opened" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "pull_request", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "pull-request-ready-for-review": { - "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A draft pull request was marked as ready for review. For more information, see \"[Changing the stage of a pull request](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request).\"", - "operationId": "pull-request/ready-for-review", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#pull_request" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-ready-for-review" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "pull_request", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "pull-request-reopened": { - "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A previously closed pull request was reopened.", - "operationId": "pull-request/reopened", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#pull_request" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-reopened" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "pull_request", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "pull-request-review-comment-created": { - "post": { - "summary": "This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see \"[Commenting on a pull request](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request).\" For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequestreviewcomment) or \"[Pull request review comments](https://docs.github.com/enterprise-server@3.13/rest/pulls/comments)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A comment on a pull request diff was created.", - "operationId": "pull-request-review-comment/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#pull_request_review_comment" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-review-comment-created" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "pull_request_review_comment", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "pull-request-review-comment-deleted": { - "post": { - "summary": "This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see \"[Commenting on a pull request](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request).\" For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequestreviewcomment) or \"[Pull request review comments](https://docs.github.com/enterprise-server@3.13/rest/pulls/comments)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A comment on a pull request diff was deleted.", - "operationId": "pull-request-review-comment/deleted", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#pull_request_review_comment" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-review-comment-deleted" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "pull_request_review_comment", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "pull-request-review-comment-edited": { - "post": { - "summary": "This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see \"[Commenting on a pull request](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request).\" For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequestreviewcomment) or \"[Pull request review comments](https://docs.github.com/enterprise-server@3.13/rest/pulls/comments)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "The content of a comment on a pull request diff was changed.", - "operationId": "pull-request-review-comment/edited", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#pull_request_review_comment" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-review-comment-edited" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "pull_request_review_comment", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "pull-request-review-dismissed": { - "post": { - "summary": "This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see \"[About pull request reviews](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews).\" For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequestreview) or \"[Pull request reviews](https://docs.github.com/enterprise-server@3.13/rest/pulls/reviews)\" in the REST API documentation.\n\nFor activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A review on a pull request was dismissed.", - "operationId": "pull-request-review/dismissed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#pull_request_review" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-review-dismissed" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "pull_request_review", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "pull-request-review-edited": { - "post": { - "summary": "This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see \"[About pull request reviews](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews).\" For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequestreview) or \"[Pull request reviews](https://docs.github.com/enterprise-server@3.13/rest/pulls/reviews)\" in the REST API documentation.\n\nFor activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "The body comment on a pull request review was edited.", - "operationId": "pull-request-review/edited", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#pull_request_review" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-review-edited" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "pull_request_review", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "pull-request-review-request-removed": { - "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A request for review by a person or team was removed from a pull request.", - "operationId": "pull-request/review-request-removed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#pull_request" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-review-request-removed" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "pull_request", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "pull-request-review-requested": { - "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "Review by a person or team was requested for a pull request. For more information, see \"[Requesting a pull request review](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/requesting-a-pull-request-review).\"", - "operationId": "pull-request/review-requested", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#pull_request" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-review-requested" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "pull_request", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "pull-request-review-submitted": { - "post": { - "summary": "This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see \"[About pull request reviews](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews).\" For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequestreview) or \"[Pull request reviews](https://docs.github.com/enterprise-server@3.13/rest/pulls/reviews)\" in the REST API documentation.\n\nFor activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A review on a pull request was submitted.", - "operationId": "pull-request-review/submitted", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#pull_request_review" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-review-submitted" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "pull_request_review", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "pull-request-review-thread-resolved": { - "post": { - "summary": "This event occurs when there is activity relating to a comment thread on a pull request. For more information, see \"[About pull request reviews](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews).\" For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequestreviewthread) or \"[Pull request review comments](https://docs.github.com/enterprise-server@3.13/rest/pulls/comments)\" in the REST API documentation.\n\nFor activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A comment thread on a pull request was marked as resolved.", - "operationId": "pull-request-review-thread/resolved", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#pull_request_review_thread" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-review-thread-resolved" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "pull_request_review_thread", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "pull-request-review-thread-unresolved": { - "post": { - "summary": "This event occurs when there is activity relating to a comment thread on a pull request. For more information, see \"[About pull request reviews](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews).\" For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequestreviewthread) or \"[Pull request review comments](https://docs.github.com/enterprise-server@3.13/rest/pulls/comments)\" in the REST API documentation.\n\nFor activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A previously resolved comment thread on a pull request was marked as unresolved.", - "operationId": "pull-request-review-thread/unresolved", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#pull_request_review_thread" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-review-thread-unresolved" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "pull_request_review_thread", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "pull-request-synchronize": { - "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A pull request's head branch was updated. For example, the head branch was updated from the base branch or new commits were pushed to the head branch.", - "operationId": "pull-request/synchronize", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#pull_request" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-synchronize" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "pull_request", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "pull-request-unassigned": { - "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A user was unassigned from a pull request.", - "operationId": "pull-request/unassigned", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#pull_request" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-unassigned" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "pull_request", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "pull-request-unlabeled": { - "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A label was removed from a pull request.", - "operationId": "pull-request/unlabeled", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#pull_request" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-unlabeled" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "pull_request", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "pull-request-unlocked": { - "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "Conversation on a pull request was unlocked. For more information, see \"[Locking conversations](https://docs.github.com/enterprise-server@3.13/communities/moderating-comments-and-conversations/locking-conversations).\"", - "operationId": "pull-request/unlocked", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#pull_request" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-unlocked" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "pull_request", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "push": { - "post": { - "summary": "This event occurs when there is a push to a repository branch. This includes when a commit is pushed, when a commit tag is pushed,\nwhen a branch is deleted, when a tag is deleted, or when a repository is created from a template. To subscribe to only branch\nand tag deletions, use the [`delete`](#delete) webhook event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.\n\n> [!NOTE]\n> Events will not be created if more than 5000 branches are pushed at once. Events will not be created for tags when more than three tags are pushed at once.", - "operationId": "push", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#push" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-push" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "push", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "registry-package-published": { - "post": { - "summary": "This event occurs when there is activity relating to GitHub Packages. For more information, see \"[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.13/packages/learn-github-packages/introduction-to-github-packages).\" For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#package) or \"[Packages](https://docs.github.com/enterprise-server@3.13/rest/packages)\" in the REST API documentation.\n\nTo install this event on a GitHub App, the app must have at least read-level access for the \"Packages\" repository permission.\n\n> [!NOTE]\n> GitHub recommends that you use the newer `package` event instead.", - "description": "A package was published to a registry.", - "operationId": "registry-package/published", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#registry_package" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-registry-package-published" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "registry_package", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "registry-package-updated": { - "post": { - "summary": "This event occurs when there is activity relating to GitHub Packages. For more information, see \"[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.13/packages/learn-github-packages/introduction-to-github-packages).\" For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#package) or \"[Packages](https://docs.github.com/enterprise-server@3.13/rest/packages)\" in the REST API documentation.\n\nTo install this event on a GitHub App, the app must have at least read-level access for the \"Packages\" repository permission.\n\n> [!NOTE]\n> GitHub recommends that you use the newer `package` event instead.", - "description": "A package that was previously published to a registry was updated.", - "operationId": "registry-package/updated", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#registry_package" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-registry-package-updated" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "registry_package", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "release-created": { - "post": { - "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/enterprise-server@3.13/repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#release) or \"[Releases](https://docs.github.com/enterprise-server@3.13/rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", - "description": "A draft was saved, or a release or pre-release was published without previously being saved as a draft.", - "operationId": "release/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#release" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-release-created" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "release", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "release-deleted": { - "post": { - "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/enterprise-server@3.13/repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#release) or \"[Releases](https://docs.github.com/enterprise-server@3.13/rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", - "description": "A release, pre-release, or draft release was deleted.", - "operationId": "release/deleted", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#release" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-release-deleted" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "release", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "release-edited": { - "post": { - "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/enterprise-server@3.13/repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#release) or \"[Releases](https://docs.github.com/enterprise-server@3.13/rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", - "description": "The details of a release, pre-release, or draft release were edited. For more information, see \"[Managing releases in a repository](https://docs.github.com/enterprise-server@3.13/repositories/releasing-projects-on-github/managing-releases-in-a-repository#editing-a-release).\"", - "operationId": "release/edited", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#release" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-release-edited" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "release", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "release-prereleased": { - "post": { - "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/enterprise-server@3.13/repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#release) or \"[Releases](https://docs.github.com/enterprise-server@3.13/rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", - "description": "A release was created and identified as a pre-release. A pre-release is a release that is not ready for production and may be unstable.", - "operationId": "release/prereleased", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#release" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-release-prereleased" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "release", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "release-published": { - "post": { - "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/enterprise-server@3.13/repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#release) or \"[Releases](https://docs.github.com/enterprise-server@3.13/rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", - "description": "A release, pre-release, or draft of a release was published.", - "operationId": "release/published", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#release" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-release-published" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "release", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "release-released": { - "post": { - "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/enterprise-server@3.13/repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#release) or \"[Releases](https://docs.github.com/enterprise-server@3.13/rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", - "description": "A release was published, or a pre-release was changed to a release.", - "operationId": "release/released", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#release" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-release-released" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "release", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "release-unpublished": { - "post": { - "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/enterprise-server@3.13/repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#release) or \"[Releases](https://docs.github.com/enterprise-server@3.13/rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", - "description": "A release or pre-release was unpublished.", - "operationId": "release/unpublished", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#release" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-release-unpublished" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "release", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "repository-anonymous-access-disabled": { - "post": { - "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-server@3.13/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-server@3.13/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "Someone disabled anonymous Git read access to the repository. For more information, see \"[Enabling anonymous Git read access for a repository](/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/enabling-anonymous-git-read-access-for-a-repository).\"", - "operationId": "repository/anonymous-access-disabled", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#repository" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-repository-anonymous-access-disabled" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "repository", - "supported-webhook-types": [ - "app", - "business", - "organization", - "repository" - ] - } - } - }, - "repository-anonymous-access-enabled": { - "post": { - "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-server@3.13/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-server@3.13/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "Someone enabled anonymous Git read access to the repository. For more information, see \"[Enabling anonymous Git read access for a repository](/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/enabling-anonymous-git-read-access-for-a-repository).\"", - "operationId": "repository/anonymous-access-enabled", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#repository" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-repository-anonymous-access-enabled" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "repository", - "supported-webhook-types": [ - "app", - "business", - "organization", - "repository" - ] - } - } - }, - "repository-archived": { - "post": { - "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-server@3.13/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-server@3.13/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "A repository was archived.", - "operationId": "repository/archived", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#repository" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-repository-archived" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "repository", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] - } - } - }, - "repository-created": { - "post": { - "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-server@3.13/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-server@3.13/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "A repository was created.", - "operationId": "repository/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#repository" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-repository-created" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "repository", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] - } - } - }, - "repository-deleted": { - "post": { - "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-server@3.13/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-server@3.13/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "A repository was deleted. GitHub Apps and repository webhooks will not receive this event.", - "operationId": "repository/deleted", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#repository" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-repository-deleted" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "repository", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] - } - } - }, - "repository-dispatch-sample.collected": { - "post": { - "summary": "This event occurs when a GitHub App sends a `POST` request to `/repos/{owner}/{repo}/dispatches`. For more information, see [the REST API documentation for creating a repository dispatch event](https://docs.github.com/enterprise-server@3.13/rest/repos/repos#create-a-repository-dispatch-event). In the payload, the `action` will be the `event_type` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", - "operationId": "repository-dispatch/sample.collected", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#repository_dispatch" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-repository-dispatch-sample" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "repository_dispatch", - "supported-webhook-types": ["app"] - } - } - }, - "repository-edited": { - "post": { - "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-server@3.13/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-server@3.13/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "The topics, default branch, description, or homepage of a repository was changed.", - "operationId": "repository/edited", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#repository" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-repository-edited" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "repository", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] - } - } - }, - "repository-privatized": { - "post": { - "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-server@3.13/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-server@3.13/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "The visibility of a repository was changed to `private`.", - "operationId": "repository/privatized", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#repository" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-repository-privatized" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "repository", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] - } - } - }, - "repository-publicized": { - "post": { - "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-server@3.13/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-server@3.13/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "The visibility of a repository was changed to `public`.", - "operationId": "repository/publicized", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#repository" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-repository-publicized" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "repository", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] - } - } - }, - "repository-renamed": { - "post": { - "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-server@3.13/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-server@3.13/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "The name of a repository was changed.", - "operationId": "repository/renamed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#repository" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-repository-renamed" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "repository", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] - } - } - }, - "repository-ruleset-created": { - "post": { - "summary": "This event occurs when there is activity relating to repository rulesets.\nFor more information about repository rulesets, see \"[Managing rulesets](https://docs.github.com/enterprise-server@3.13/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets).\"\nFor more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repositoryruleset) in the GraphQL documentation or \"[Repository rules](https://docs.github.com/enterprise-server@3.13/rest/repos/rules)\" and \"[Organization rules](https://docs.github.com/enterprise-server@3.13/rest/orgs/rules) in the REST API documentation.\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository or organization permission.", - "description": "A repository ruleset was created.", - "operationId": "repository-ruleset/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#repository_ruleset" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-repository-ruleset-created" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "repository_ruleset", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "repository-ruleset-deleted": { - "post": { - "summary": "This event occurs when there is activity relating to repository rulesets.\nFor more information about repository rulesets, see \"[Managing rulesets](https://docs.github.com/enterprise-server@3.13/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets).\"\nFor more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repositoryruleset) in the GraphQL documentation or \"[Repository rules](https://docs.github.com/enterprise-server@3.13/rest/repos/rules)\" and \"[Organization rules](https://docs.github.com/enterprise-server@3.13/rest/orgs/rules) in the REST API documentation.\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository or organization permission.", - "description": "A repository ruleset was deleted.", - "operationId": "repository-ruleset/deleted", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#repository_ruleset" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-repository-ruleset-deleted" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "repository_ruleset", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "repository-ruleset-edited": { - "post": { - "summary": "This event occurs when there is activity relating to repository rulesets.\nFor more information about repository rulesets, see \"[Managing rulesets](https://docs.github.com/enterprise-server@3.13/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets).\"\nFor more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repositoryruleset) in the GraphQL documentation or \"[Repository rules](https://docs.github.com/enterprise-server@3.13/rest/repos/rules)\" and \"[Organization rules](https://docs.github.com/enterprise-server@3.13/rest/orgs/rules) in the REST API documentation.\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository or organization permission.", - "description": "A repository ruleset was edited.", - "operationId": "repository-ruleset/edited", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#repository_ruleset" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-repository-ruleset-edited" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "repository_ruleset", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "repository-transferred": { - "post": { - "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-server@3.13/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-server@3.13/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "Ownership of the repository was transferred to a user or organization account. This event is only sent to the account where the ownership is transferred. To receive the `repository.transferred` event, the new owner account must have the GitHub App installed, and the App must be subscribed to \"Repository\" events.", - "operationId": "repository/transferred", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#repository" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-repository-transferred" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "repository", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] - } - } - }, - "repository-unarchived": { - "post": { - "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-server@3.13/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-server@3.13/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "A previously archived repository was unarchived.", - "operationId": "repository/unarchived", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#repository" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-repository-unarchived" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "repository", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] - } - } - }, - "repository-vulnerability-alert-create": { - "post": { - "summary": "This event occurs when there is activity relating to a security vulnerability alert in a repository.\n\n> [!WARNING]\n> **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead.", - "description": "A repository vulnerability alert was created.", - "operationId": "repository-vulnerability-alert/create", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#repository_vulnerability_alert" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-repository-vulnerability-alert-create" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "repository_vulnerability_alert", - "supported-webhook-types": ["repository", "organization"] - } - } - }, - "repository-vulnerability-alert-dismiss": { - "post": { - "summary": "This event occurs when there is activity relating to a security vulnerability alert in a repository.\n\n> [!WARNING]\n> **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead.", - "description": "A repository vulnerability alert was dismissed.", - "operationId": "repository-vulnerability-alert/dismiss", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#repository_vulnerability_alert" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-repository-vulnerability-alert-dismiss" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "repository_vulnerability_alert", - "supported-webhook-types": ["repository", "organization"] - } - } - }, - "repository-vulnerability-alert-reopen": { - "post": { - "summary": "This event occurs when there is activity relating to a security vulnerability alert in a repository.\n\n> [!WARNING]\n> **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead.", - "description": "A previously dismissed or resolved repository vulnerability alert was reopened.", - "operationId": "repository-vulnerability-alert/reopen", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#repository_vulnerability_alert" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-repository-vulnerability-alert-reopen" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "repository_vulnerability_alert", - "supported-webhook-types": ["repository", "organization"] - } - } - }, - "repository-vulnerability-alert-resolve": { - "post": { - "summary": "This event occurs when there is activity relating to a security vulnerability alert in a repository.\n\n> [!WARNING]\n> **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead.", - "description": "A repository vulnerability alert was marked as resolved.", - "operationId": "repository-vulnerability-alert/resolve", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#repository_vulnerability_alert" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-repository-vulnerability-alert-resolve" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "repository_vulnerability_alert", - "supported-webhook-types": ["repository", "organization"] - } - } - }, - "secret-scanning-alert-created": { - "post": { - "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-server@3.13/code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/enterprise-server@3.13/rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", - "description": "A secret scanning alert was created.", - "operationId": "secret-scanning-alert/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#secret_scanning_alert" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-secret-scanning-alert-created" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "secret_scanning_alert", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "secret-scanning-alert-location-created": { - "post": { - "summary": "This event occurs when there is activity relating to the locations of a secret in a secret scanning alert.\n\nFor more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-server@3.13/code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/enterprise-server@3.13/rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alerts, use the `secret_scanning_alert` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", - "description": "A new instance of a previously detected secret was detected in a repository, and the location of the secret was added to the existing alert.", - "operationId": "secret-scanning-alert-location/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#secret_scanning_alert_location" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-secret-scanning-alert-location-created" - }, - "examples": { - "default": { - "$ref": "#/components/examples/secret-scanning-alert-location-created" - } - } - }, - "application/x-www-form-urlencoded": { - "schema": { - "$ref": "#/components/schemas/webhook-secret-scanning-alert-location-created-form-encoded" - }, - "examples": { - "default": { - "$ref": "#/components/examples/secret-scanning-alert-location-created-form-encoded" - } - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "secret_scanning_alert_location", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "secret-scanning-alert-reopened": { - "post": { - "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-server@3.13/code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/enterprise-server@3.13/rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", - "description": "A previously closed secret scanning alert was reopened.", - "operationId": "secret-scanning-alert/reopened", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#secret_scanning_alert" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-secret-scanning-alert-reopened" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "secret_scanning_alert", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "secret-scanning-alert-resolved": { - "post": { - "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-server@3.13/code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/enterprise-server@3.13/rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", - "description": "A secret scanning alert was closed.", - "operationId": "secret-scanning-alert/resolved", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#secret_scanning_alert" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-secret-scanning-alert-resolved" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "secret_scanning_alert", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "secret-scanning-alert-validated": { - "post": { - "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-server@3.13/code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/enterprise-server@3.13/rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", - "description": "A secret scanning alert was validated.", - "operationId": "secret-scanning-alert/validated", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#secret_scanning_alert" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-secret-scanning-alert-validated" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "secret_scanning_alert", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "security-advisory-published": { - "post": { - "summary": "This event occurs when there is activity relating to a global security advisory that was reviewed by GitHub. A GitHub-reviewed global security advisory provides information about security vulnerabilities or malware that have been mapped to packages in ecosystems we support. For more information about global security advisories, see \"[About global security advisories](https://docs.github.com/enterprise-server@3.13/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-global-security-advisories).\" For information about the API to manage security advisories, see [the REST API documentation](https://docs.github.com/enterprise-server@3.13/rest/security-advisories/global-advisories) or [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#securityadvisory).\n\nGitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.13/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\"", - "description": "A security advisory was published to the GitHub community.", - "operationId": "security-advisory/published", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#security_advisory" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-security-advisory-published" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "security_advisory", - "supported-webhook-types": ["app"] - } - } - }, - "security-advisory-updated": { - "post": { - "summary": "This event occurs when there is activity relating to a global security advisory that was reviewed by GitHub. A GitHub-reviewed global security advisory provides information about security vulnerabilities or malware that have been mapped to packages in ecosystems we support. For more information about global security advisories, see \"[About global security advisories](https://docs.github.com/enterprise-server@3.13/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-global-security-advisories).\" For information about the API to manage security advisories, see [the REST API documentation](https://docs.github.com/enterprise-server@3.13/rest/security-advisories/global-advisories) or [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#securityadvisory).\n\nGitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.13/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\"", - "description": "The metadata or description of a security advisory was changed.", - "operationId": "security-advisory/updated", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#security_advisory" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-security-advisory-updated" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "security_advisory", - "supported-webhook-types": ["app"] - } - } - }, - "security-advisory-withdrawn": { - "post": { - "summary": "This event occurs when there is activity relating to a global security advisory that was reviewed by GitHub. A GitHub-reviewed global security advisory provides information about security vulnerabilities or malware that have been mapped to packages in ecosystems we support. For more information about global security advisories, see \"[About global security advisories](https://docs.github.com/enterprise-server@3.13/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-global-security-advisories).\" For information about the API to manage security advisories, see [the REST API documentation](https://docs.github.com/enterprise-server@3.13/rest/security-advisories/global-advisories) or [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#securityadvisory).\n\nGitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.13/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\"", - "description": "A previously published security advisory was withdrawn.", - "operationId": "security-advisory/withdrawn", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#security_advisory" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-security-advisory-withdrawn" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "security_advisory", - "supported-webhook-types": ["app"] - } - } - }, - "security-and-analysis": { - "post": { - "summary": "This event occurs when code security and analysis features are enabled or disabled for a repository. For more information, see \"[GitHub security features](https://docs.github.com/enterprise-server@3.13/code-security/getting-started/github-security-features).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository permission.", - "operationId": "security-and-analysis", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#security_and_analysis" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-security-and-analysis" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "security_and_analysis", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "sponsorship-cancelled": { - "post": { - "summary": "This event occurs when there is activity relating to a sponsorship listing. For more information, see \"[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.13/sponsors/getting-started-with-github-sponsors/about-github-sponsors).\" For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#sponsorship).\n\nYou can only create a sponsorship webhook on GitHub.com. For more information, see \"[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.13/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account).\"", - "description": "A sponsorship was cancelled and the last billing cycle has ended.\n\nThis event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships.", - "operationId": "sponsorship/cancelled", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#sponsorship" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-sponsorship-cancelled" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "sponsorship", - "supported-webhook-types": ["sponsors_listing"] - } - } - }, - "sponsorship-created": { - "post": { - "summary": "This event occurs when there is activity relating to a sponsorship listing. For more information, see \"[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.13/sponsors/getting-started-with-github-sponsors/about-github-sponsors).\" For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#sponsorship).\n\nYou can only create a sponsorship webhook on GitHub.com. For more information, see \"[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.13/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account).\"", - "description": "A sponsor created a sponsorship for a sponsored account. This event occurs once the payment is successfully processed.", - "operationId": "sponsorship/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#sponsorship" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-sponsorship-created" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "sponsorship", - "supported-webhook-types": ["sponsors_listing"] - } - } - }, - "sponsorship-edited": { - "post": { - "summary": "This event occurs when there is activity relating to a sponsorship listing. For more information, see \"[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.13/sponsors/getting-started-with-github-sponsors/about-github-sponsors).\" For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#sponsorship).\n\nYou can only create a sponsorship webhook on GitHub.com. For more information, see \"[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.13/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account).\"", - "description": "A monthly sponsor changed who can see their sponsorship. If you recognize your sponsors publicly, you may want to update your sponsor recognition to reflect the change when this event occurs.", - "operationId": "sponsorship/edited", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#sponsorship" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-sponsorship-edited" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "sponsorship", - "supported-webhook-types": ["sponsors_listing"] - } - } - }, - "sponsorship-pending-cancellation": { - "post": { - "summary": "This event occurs when there is activity relating to a sponsorship listing. For more information, see \"[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.13/sponsors/getting-started-with-github-sponsors/about-github-sponsors).\" For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#sponsorship).\n\nYou can only create a sponsorship webhook on GitHub.com. For more information, see \"[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.13/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account).\"", - "description": "A sponsor scheduled a cancellation for their sponsorship. The cancellation will become effective on their next billing date.\n\nThis event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships.", - "operationId": "sponsorship/pending-cancellation", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#sponsorship" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-sponsorship-pending-cancellation" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "sponsorship", - "supported-webhook-types": ["sponsors_listing"] - } - } - }, - "sponsorship-pending-tier-change": { - "post": { - "summary": "This event occurs when there is activity relating to a sponsorship listing. For more information, see \"[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.13/sponsors/getting-started-with-github-sponsors/about-github-sponsors).\" For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#sponsorship).\n\nYou can only create a sponsorship webhook on GitHub.com. For more information, see \"[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.13/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account).\"", - "description": "A sponsor scheduled a downgrade to a lower sponsorship tier. The new tier will become effective on their next billing date.", - "operationId": "sponsorship/pending-tier-change", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#sponsorship" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-sponsorship-pending-tier-change" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "sponsorship", - "supported-webhook-types": ["sponsors_listing"] - } - } - }, - "sponsorship-tier-changed": { - "post": { - "summary": "This event occurs when there is activity relating to a sponsorship listing. For more information, see \"[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.13/sponsors/getting-started-with-github-sponsors/about-github-sponsors).\" For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#sponsorship).\n\nYou can only create a sponsorship webhook on GitHub.com. For more information, see \"[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.13/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account).\"", - "description": "A sponsor changed the tier of their sponsorship and the change has taken effect. If a sponsor upgraded their tier, the change took effect immediately. If a sponsor downgraded their tier, the change took effect at the beginning of the sponsor's next billing cycle.", - "operationId": "sponsorship/tier-changed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#sponsorship" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-sponsorship-tier-changed" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "sponsorship", - "supported-webhook-types": ["sponsors_listing"] - } - } - }, - "star-created": { - "post": { - "summary": "This event occurs when there is activity relating to repository stars. For more information about stars, see \"[Saving repositories with stars](https://docs.github.com/enterprise-server@3.13/get-started/exploring-projects-on-github/saving-repositories-with-stars).\" For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#starredrepositoryconnection) or \"[Starring](https://docs.github.com/enterprise-server@3.13/rest/activity/starring)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "Someone starred a repository.", - "operationId": "star/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#star" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-star-created" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "star", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "star-deleted": { - "post": { - "summary": "This event occurs when there is activity relating to repository stars. For more information about stars, see \"[Saving repositories with stars](https://docs.github.com/enterprise-server@3.13/get-started/exploring-projects-on-github/saving-repositories-with-stars).\" For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#starredrepositoryconnection) or \"[Starring](https://docs.github.com/enterprise-server@3.13/rest/activity/starring)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "Someone unstarred the repository.", - "operationId": "star/deleted", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#star" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-star-deleted" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "star", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "status": { - "post": { - "summary": "This event occurs when the status of a Git commit changes. For example, commits can be marked as `error`, `failure`, `pending`, or `success`. For more information, see \"[About status checks](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks).\" For information about the APIs to manage commit statuses, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#status) or \"[Commit statuses](https://docs.github.com/enterprise-server@3.13/rest/commits/statuses)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Commit statuses\" repository permission.", - "operationId": "status", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#status" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-status" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "status", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "team-add": { - "post": { - "summary": "This event occurs when a team is added to a repository.\nFor more information, see \"[Managing teams and people with access to your repository](https://docs.github.com/enterprise-server@3.13/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-teams-and-people-with-access-to-your-repository).\"\n\nFor activity relating to teams, see the `teams` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "operationId": "team-add", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#team_add" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-team-add" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "team_add", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "team-added-to-repository": { - "post": { - "summary": "This event occurs when there is activity relating to teams in an organization.\nFor more information, see \"[About teams](https://docs.github.com/enterprise-server@3.13/organizations/organizing-members-into-teams/about-teams).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "A team was granted access to a repository.", - "operationId": "team/added-to-repository", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#team" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-team-added-to-repository" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "team", - "supported-webhook-types": ["organization", "business", "app"] - } - } - }, - "team-created": { - "post": { - "summary": "This event occurs when there is activity relating to teams in an organization.\nFor more information, see \"[About teams](https://docs.github.com/enterprise-server@3.13/organizations/organizing-members-into-teams/about-teams).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "A team was created.", - "operationId": "team/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#team" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-team-created" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "team", - "supported-webhook-types": ["organization", "business", "app"] - } - } - }, - "team-deleted": { - "post": { - "summary": "This event occurs when there is activity relating to teams in an organization.\nFor more information, see \"[About teams](https://docs.github.com/enterprise-server@3.13/organizations/organizing-members-into-teams/about-teams).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "A team was deleted.", - "operationId": "team/deleted", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#team" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-team-deleted" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "team", - "supported-webhook-types": ["organization", "business", "app"] - } - } - }, - "team-edited": { - "post": { - "summary": "This event occurs when there is activity relating to teams in an organization.\nFor more information, see \"[About teams](https://docs.github.com/enterprise-server@3.13/organizations/organizing-members-into-teams/about-teams).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "The name, description, or visibility of a team was changed.", - "operationId": "team/edited", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#team" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-team-edited" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "team", - "supported-webhook-types": ["organization", "business", "app"] - } - } - }, - "team-removed-from-repository": { - "post": { - "summary": "This event occurs when there is activity relating to teams in an organization.\nFor more information, see \"[About teams](https://docs.github.com/enterprise-server@3.13/organizations/organizing-members-into-teams/about-teams).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "A team's access to a repository was removed.", - "operationId": "team/removed-from-repository", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#team" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-team-removed-from-repository" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "team", - "supported-webhook-types": ["organization", "business", "app"] - } - } - }, - "user-created": { - "post": { - "summary": "This event occurs when there is activity relating to user accounts in an enterprise.", - "description": "A user account was added to the enterprise.", - "operationId": "user/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#user" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-user-created" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": true, - "category": "webhooks", - "subcategory": "user", - "supported-webhook-types": ["business"] - } - } - }, - "user-deleted": { - "post": { - "summary": "This event occurs when there is activity relating to user accounts in an enterprise.", - "description": "A user account was removed from the enterprise.", - "operationId": "user/deleted", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#user" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-user-deleted" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": true, - "category": "webhooks", - "subcategory": "user", - "supported-webhook-types": ["business"] - } - } - }, - "watch-started": { - "post": { - "summary": "This event occurs when there is activity relating to watching, or subscribing to, a repository. For more information about watching, see \"[Managing your subscriptions](https://docs.github.com/enterprise-server@3.13/account-and-profile/managing-subscriptions-and-notifications-on-github/managing-subscriptions-for-activity-on-github/managing-your-subscriptions).\" For information about the APIs to manage watching, see \"[Watching](https://docs.github.com/enterprise-server@3.13/rest/activity/watching)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "Someone started watching the repository.", - "operationId": "watch/started", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#watch" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-watch-started" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "watch", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "workflow-dispatch": { - "post": { - "summary": "This event occurs when a GitHub Actions workflow is manually triggered. For more information, see \"[Manually running a workflow](https://docs.github.com/enterprise-server@3.13/actions/managing-workflow-runs/manually-running-a-workflow).\"\n\nFor activity relating to workflow runs, use the `workflow_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", - "operationId": "workflow-dispatch", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#workflow_dispatch" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-workflow-dispatch" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "workflow_dispatch", - "supported-webhook-types": ["app"] - } - } - }, - "workflow-job-completed": { - "post": { - "summary": "This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see \"[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.13/actions/using-jobs/using-jobs-in-a-workflow).\" For information about the API to manage workflow jobs, see \"[Workflow jobs](https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-jobs)\" in the REST API documentation.\n\nFor activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", - "description": "A job in a workflow run finished. This event occurs when a job in a workflow is completed, regardless of whether the job was successful or unsuccessful.", - "operationId": "workflow-job/completed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#workflow_job" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-workflow-job-completed" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "workflow_job", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] - } - } - }, - "workflow-job-in-progress": { - "post": { - "summary": "This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see \"[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.13/actions/using-jobs/using-jobs-in-a-workflow).\" For information about the API to manage workflow jobs, see \"[Workflow jobs](https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-jobs)\" in the REST API documentation.\n\nFor activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", - "description": "A job in a workflow run started processing on a runner.", - "operationId": "workflow-job/in-progress", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#workflow_job" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-workflow-job-in-progress" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "workflow_job", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] - } - } - }, - "workflow-job-queued": { - "post": { - "summary": "This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see \"[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.13/actions/using-jobs/using-jobs-in-a-workflow).\" For information about the API to manage workflow jobs, see \"[Workflow jobs](https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-jobs)\" in the REST API documentation.\n\nFor activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", - "description": "A job in a workflow run was created.", - "operationId": "workflow-job/queued", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#workflow_job" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-workflow-job-queued" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "workflow_job", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] - } - } - }, - "workflow-job-waiting": { - "post": { - "summary": "This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see \"[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.13/actions/using-jobs/using-jobs-in-a-workflow).\" For information about the API to manage workflow jobs, see \"[Workflow jobs](https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-jobs)\" in the REST API documentation.\n\nFor activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", - "description": "A job in a workflow run was created and is waiting for approvals.", - "operationId": "workflow-job/waiting", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#workflow_job" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-workflow-job-waiting" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "workflow_job", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] - } - } - }, - "workflow-run-completed": { - "post": { - "summary": "This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see \"[About workflows](https://docs.github.com/enterprise-server@3.13/actions/using-workflows/about-workflows).\" For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#workflowrun) or \"[Workflow runs](https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-runs)\" in the REST API documentation.\n\nFor activity relating to a job in a workflow run, use the `workflow_job` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", - "description": "A workflow run finished. This event occurs when a workflow run is completed, regardless of whether the workflow was successful or unsuccessful.", - "operationId": "workflow-run/completed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#workflow_run" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-workflow-run-completed" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "workflow_run", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] - } - } - }, - "workflow-run-in-progress": { - "post": { - "summary": "This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see \"[About workflows](https://docs.github.com/enterprise-server@3.13/actions/using-workflows/about-workflows).\" For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#workflowrun) or \"[Workflow runs](https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-runs)\" in the REST API documentation.\n\nFor activity relating to a job in a workflow run, use the `workflow_job` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", - "description": "A workflow run started processing on a runner.", - "operationId": "workflow-run/in-progress", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#workflow_run" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-workflow-run-in-progress" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "workflow_run", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] - } - } - }, - "workflow-run-requested": { - "post": { - "summary": "This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see \"[About workflows](https://docs.github.com/enterprise-server@3.13/actions/using-workflows/about-workflows).\" For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#workflowrun) or \"[Workflow runs](https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-runs)\" in the REST API documentation.\n\nFor activity relating to a job in a workflow run, use the `workflow_job` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", - "description": "A workflow run was triggered.", - "operationId": "workflow-run/requested", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#workflow_run" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" } - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" } - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-workflow-run-requested" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "workflow_run", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] - } - } - } - }, - "components": { - "schemas": { - "root": { - "type": "object", - "properties": { - "current_user_url": { "type": "string", "format": "uri-template" }, - "current_user_authorizations_html_url": { - "type": "string", - "format": "uri-template" - }, - "authorizations_url": { "type": "string", "format": "uri-template" }, - "code_search_url": { "type": "string", "format": "uri-template" }, - "commit_search_url": { "type": "string", "format": "uri-template" }, - "emails_url": { "type": "string", "format": "uri-template" }, - "emojis_url": { "type": "string", "format": "uri-template" }, - "events_url": { "type": "string", "format": "uri-template" }, - "feeds_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri-template" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "hub_url": { - "type": "string", - "format": "uri-template", - "deprecated": true - }, - "issue_search_url": { "type": "string", "format": "uri-template" }, - "issues_url": { "type": "string", "format": "uri-template" }, - "keys_url": { "type": "string", "format": "uri-template" }, - "label_search_url": { "type": "string", "format": "uri-template" }, - "notifications_url": { "type": "string", "format": "uri-template" }, - "organization_url": { "type": "string", "format": "uri-template" }, - "organization_repositories_url": { - "type": "string", - "format": "uri-template" - }, - "organization_teams_url": { - "type": "string", - "format": "uri-template" - }, - "public_gists_url": { "type": "string", "format": "uri-template" }, - "rate_limit_url": { "type": "string", "format": "uri-template" }, - "repository_url": { "type": "string", "format": "uri-template" }, - "repository_search_url": { - "type": "string", - "format": "uri-template" - }, - "current_user_repositories_url": { - "type": "string", - "format": "uri-template" - }, - "starred_url": { "type": "string", "format": "uri-template" }, - "starred_gists_url": { "type": "string", "format": "uri-template" }, - "topic_search_url": { "type": "string", "format": "uri-template" }, - "user_url": { "type": "string", "format": "uri-template" }, - "user_organizations_url": { - "type": "string", - "format": "uri-template" - }, - "user_repositories_url": { - "type": "string", - "format": "uri-template" - }, - "user_search_url": { "type": "string", "format": "uri-template" } - }, - "required": [ - "current_user_url", - "current_user_authorizations_html_url", - "authorizations_url", - "code_search_url", - "commit_search_url", - "emails_url", - "emojis_url", - "events_url", - "feeds_url", - "followers_url", - "following_url", - "gists_url", - "issue_search_url", - "issues_url", - "keys_url", - "label_search_url", - "notifications_url", - "organization_url", - "organization_repositories_url", - "organization_teams_url", - "public_gists_url", - "rate_limit_url", - "repository_url", - "repository_search_url", - "current_user_repositories_url", - "starred_url", - "starred_gists_url", - "user_url", - "user_organizations_url", - "user_repositories_url", - "user_search_url" - ] - }, - "global-hook": { - "type": "object", - "properties": { - "type": { "type": "string" }, - "id": { "type": "integer" }, - "name": { "type": "string" }, - "active": { "type": "boolean" }, - "events": { "type": "array", "items": { "type": "string" } }, - "config": { - "type": "object", - "properties": { - "url": { "type": "string" }, - "content_type": { "type": "string" }, - "insecure_ssl": { "type": "string" }, - "secret": { "type": "string" } - } - }, - "updated_at": { "type": "string" }, - "created_at": { "type": "string" }, - "url": { "type": "string" }, - "ping_url": { "type": "string" } - } - }, - "global-hook-2": { - "type": "object", - "properties": { - "type": { "type": "string" }, - "id": { "type": "integer" }, - "name": { "type": "string" }, - "active": { "type": "boolean" }, - "events": { "type": "array", "items": { "type": "string" } }, - "config": { - "type": "object", - "properties": { - "url": { "type": "string" }, - "content_type": { "type": "string" }, - "insecure_ssl": { "type": "string" } - } - }, - "updated_at": { "type": "string" }, - "created_at": { "type": "string" }, - "url": { "type": "string" }, - "ping_url": { "type": "string" } - } - }, - "public-key-full": { - "type": "object", - "properties": { - "id": { "type": "integer", "format": "int64" }, - "key": { "type": "string" }, - "user_id": { "type": ["integer", "null"] }, - "repository_id": { "type": ["integer", "null"], "format": "int64" }, - "url": { "type": "string" }, - "title": { "type": "string" }, - "read_only": { "type": "boolean" }, - "verified": { "type": "boolean" }, - "created_at": { "type": "string", "format": "date-time" }, - "added_by": { "type": ["string", "null"] }, - "last_used": { "type": ["string", "null"], "format": "date-time" } - }, - "required": [ - "id", - "key", - "url", - "title", - "verified", - "created_at", - "read_only", - "last_used", - "user_id", - "repository_id" - ] - }, - "ldap-mapping-team": { - "type": "object", - "properties": { - "ldap_dn": { "type": "string" }, - "id": { "type": "integer" }, - "node_id": { "type": "string" }, - "url": { "type": "string" }, - "html_url": { "type": "string" }, - "name": { "type": "string" }, - "slug": { "type": "string" }, - "description": { "type": ["string", "null"] }, - "privacy": { "type": "string" }, - "notification_setting": { "type": "string" }, - "permission": { "type": "string" }, - "members_url": { "type": "string" }, - "repositories_url": { "type": "string" }, - "parent": { "type": ["null"] } - } - }, - "ldap-mapping-user": { - "title": "Ldap Private User", - "description": "Ldap Private User", - "type": "object", - "properties": { - "ldap_dn": { "type": "string" }, - "login": { "type": "string", "examples": ["octocat"] }, - "id": { "type": "integer", "format": "int64", "examples": [1] }, - "node_id": { "type": "string", "examples": ["MDQ6VXNlcjE="] }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": ["https://github.com/images/error/octocat_happy.gif"] - }, - "gravatar_id": { - "type": ["string", "null"], - "examples": ["41d064eb2195891e12d0413f63227ea7"] - }, - "url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/users/octocat"] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": ["https://github.com/octocat"] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/users/octocat/followers"] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": ["https://api.github.com/users/octocat/gists{/gist_id}"] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/users/octocat/subscriptions"] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/users/octocat/orgs"] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/users/octocat/repos"] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/users/octocat/received_events"] - }, - "type": { "type": "string", "examples": ["User"] }, - "site_admin": { "type": "boolean" }, - "name": { - "type": ["string", "null"], - "examples": ["monalisa octocat"] - }, - "company": { "type": ["string", "null"], "examples": ["GitHub"] }, - "blog": { - "type": ["string", "null"], - "examples": ["https://github.com/blog"] - }, - "location": { - "type": ["string", "null"], - "examples": ["San Francisco"] - }, - "email": { - "type": ["string", "null"], - "format": "email", - "examples": ["octocat@github.com"] - }, - "hireable": { "type": ["boolean", "null"] }, - "bio": { - "type": ["string", "null"], - "examples": ["There once was..."] - }, - "twitter_username": { - "type": ["string", "null"], - "examples": ["monalisa"] - }, - "public_repos": { "type": "integer", "examples": [2] }, - "public_gists": { "type": "integer", "examples": [1] }, - "followers": { "type": "integer", "examples": [20] }, - "following": { "type": "integer", "examples": [0] }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": ["2008-01-14T04:33:35Z"] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": ["2008-01-14T04:33:35Z"] - }, - "private_gists": { "type": "integer", "examples": [81] }, - "total_private_repos": { "type": "integer", "examples": [100] }, - "owned_private_repos": { "type": "integer", "examples": [100] }, - "disk_usage": { "type": "integer", "examples": [10000] }, - "collaborators": { "type": "integer", "examples": [8] }, - "two_factor_authentication": { - "type": "boolean", - "examples": [true] - }, - "plan": { - "type": "object", - "properties": { - "collaborators": { "type": "integer" }, - "name": { "type": "string" }, - "space": { "type": "integer" }, - "private_repos": { "type": "integer" } - }, - "required": ["collaborators", "name", "space", "private_repos"] - }, - "suspended_at": { "type": "string", "format": "date-time" }, - "business_plus": { "type": "boolean" }, - "user_view_type": { "type": "string", "examples": ["public"] } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url", - "bio", - "blog", - "company", - "email", - "followers", - "following", - "hireable", - "location", - "name", - "public_gists", - "public_repos", - "created_at", - "updated_at", - "collaborators", - "disk_usage", - "owned_private_repos", - "private_gists", - "total_private_repos", - "two_factor_authentication" - ] - }, - "organization-simple": { - "title": "Organization Simple", - "description": "A GitHub organization.", - "type": "object", - "properties": { - "login": { "type": "string", "examples": ["github"] }, - "id": { "type": "integer", "examples": [1] }, - "node_id": { - "type": "string", - "examples": ["MDEyOk9yZ2FuaXphdGlvbjE="] - }, - "url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/orgs/github"] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/orgs/github/repos"] - }, - "events_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/orgs/github/events"] - }, - "hooks_url": { - "type": "string", - "examples": ["https://api.github.com/orgs/github/hooks"] - }, - "issues_url": { - "type": "string", - "examples": ["https://api.github.com/orgs/github/issues"] - }, - "members_url": { - "type": "string", - "examples": ["https://api.github.com/orgs/github/members{/member}"] - }, - "public_members_url": { - "type": "string", - "examples": [ - "https://api.github.com/orgs/github/public_members{/member}" - ] - }, - "avatar_url": { - "type": "string", - "examples": ["https://github.com/images/error/octocat_happy.gif"] - }, - "description": { - "type": ["string", "null"], - "examples": ["A great organization"] - } - }, - "required": [ - "login", - "url", - "id", - "node_id", - "repos_url", - "events_url", - "hooks_url", - "issues_url", - "members_url", - "public_members_url", - "avatar_url", - "description" - ] - }, - "pre-receive-environment": { - "type": "object", - "properties": { - "id": { "type": "integer", "format": "int64" }, - "name": { "type": "string" }, - "image_url": { "type": "string" }, - "url": { "type": "string" }, - "html_url": { "type": "string" }, - "default_environment": { "type": "boolean" }, - "created_at": { "type": "string" }, - "hooks_count": { "type": "integer" }, - "download": { - "type": "object", - "properties": { - "url": { "type": "string" }, - "state": { "type": "string" }, - "downloaded_at": { "type": ["string", "null"] }, - "message": { "type": ["string", "null"] } - } - } - } - }, - "pre-receive-environment-download-status": { - "type": "object", - "properties": { - "url": { "type": "string" }, - "state": { "type": "string" }, - "downloaded_at": { "type": ["string", "null"] }, - "message": { "type": ["string", "null"] } - } - }, - "pre-receive-hook": { - "type": "object", - "properties": { - "id": { "type": "integer" }, - "name": { "type": "string" }, - "enforcement": { "type": "string" }, - "script": { "type": "string" }, - "script_repository": { - "type": "object", - "properties": { - "id": { "type": "integer" }, - "full_name": { "type": "string" }, - "url": { "type": "string" }, - "html_url": { "type": "string" } - } - }, - "environment": { - "type": "object", - "properties": { - "id": { "type": "integer", "format": "int64" }, - "name": { "type": "string" }, - "image_url": { "type": "string" }, - "url": { "type": "string" }, - "html_url": { "type": "string" }, - "default_environment": { "type": "boolean" }, - "created_at": { "type": "string" }, - "hooks_count": { "type": "integer" }, - "download": { - "type": "object", - "properties": { - "url": { "type": "string" }, - "state": { "type": "string" }, - "downloaded_at": { "type": ["string", "null"] }, - "message": { "type": ["string", "null"] } - } - } - } - }, - "allow_downstream_configuration": { "type": "boolean" } - } - }, - "simple-user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { "type": ["string", "null"] }, - "email": { "type": ["string", "null"] }, - "login": { "type": "string", "examples": ["octocat"] }, - "id": { "type": "integer", "format": "int64", "examples": [1] }, - "node_id": { "type": "string", "examples": ["MDQ6VXNlcjE="] }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": ["https://github.com/images/error/octocat_happy.gif"] - }, - "gravatar_id": { - "type": ["string", "null"], - "examples": ["41d064eb2195891e12d0413f63227ea7"] - }, - "url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/users/octocat"] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": ["https://github.com/octocat"] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/users/octocat/followers"] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": ["https://api.github.com/users/octocat/gists{/gist_id}"] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/users/octocat/subscriptions"] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/users/octocat/orgs"] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/users/octocat/repos"] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/users/octocat/received_events"] - }, - "type": { "type": "string", "examples": ["User"] }, - "site_admin": { "type": "boolean" }, - "starred_at": { - "type": "string", - "examples": ["\"2020-07-09T00:17:55Z\""] - }, - "user_view_type": { "type": "string", "examples": ["public"] } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - "app-permissions": { - "title": "App Permissions", - "type": "object", - "description": "The permissions granted to the user access token.", - "properties": { - "actions": { - "type": "string", - "description": "The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts.", - "enum": ["read", "write"] - }, - "administration": { - "type": "string", - "description": "The level of permission to grant the access token for repository creation, deletion, settings, teams, and collaborators creation.", - "enum": ["read", "write"] - }, - "checks": { - "type": "string", - "description": "The level of permission to grant the access token for checks on code.", - "enum": ["read", "write"] - }, - "codespaces": { - "type": "string", - "description": "The level of permission to grant the access token to create, edit, delete, and list Codespaces.", - "enum": ["read", "write"] - }, - "contents": { - "type": "string", - "description": "The level of permission to grant the access token for repository contents, commits, branches, downloads, releases, and merges.", - "enum": ["read", "write"] - }, - "dependabot_secrets": { - "type": "string", - "description": "The level of permission to grant the access token to manage Dependabot secrets.", - "enum": ["read", "write"] - }, - "deployments": { - "type": "string", - "description": "The level of permission to grant the access token for deployments and deployment statuses.", - "enum": ["read", "write"] - }, - "environments": { - "type": "string", - "description": "The level of permission to grant the access token for managing repository environments.", - "enum": ["read", "write"] - }, - "issues": { - "type": "string", - "description": "The level of permission to grant the access token for issues and related comments, assignees, labels, and milestones.", - "enum": ["read", "write"] - }, - "metadata": { - "type": "string", - "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", - "enum": ["read", "write"] - }, - "packages": { - "type": "string", - "description": "The level of permission to grant the access token for packages published to GitHub Packages.", - "enum": ["read", "write"] - }, - "pages": { - "type": "string", - "description": "The level of permission to grant the access token to retrieve Pages statuses, configuration, and builds, as well as create new builds.", - "enum": ["read", "write"] - }, - "pull_requests": { - "type": "string", - "description": "The level of permission to grant the access token for pull requests and related comments, assignees, labels, milestones, and merges.", - "enum": ["read", "write"] - }, - "repository_custom_properties": { - "type": "string", - "description": "The level of permission to grant the access token to view and edit custom properties for a repository, when allowed by the property.", - "enum": ["read", "write"] - }, - "repository_hooks": { - "type": "string", - "description": "The level of permission to grant the access token to manage the post-receive hooks for a repository.", - "enum": ["read", "write"] - }, - "repository_projects": { - "type": "string", - "description": "The level of permission to grant the access token to manage repository projects, columns, and cards.", - "enum": ["read", "write", "admin"] - }, - "secret_scanning_alerts": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage secret scanning alerts.", - "enum": ["read", "write"] - }, - "secrets": { - "type": "string", - "description": "The level of permission to grant the access token to manage repository secrets.", - "enum": ["read", "write"] - }, - "security_events": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage security events like code scanning alerts.", - "enum": ["read", "write"] - }, - "single_file": { - "type": "string", - "description": "The level of permission to grant the access token to manage just a single file.", - "enum": ["read", "write"] - }, - "statuses": { - "type": "string", - "description": "The level of permission to grant the access token for commit statuses.", - "enum": ["read", "write"] - }, - "vulnerability_alerts": { - "type": "string", - "description": "The level of permission to grant the access token to manage Dependabot alerts.", - "enum": ["read", "write"] - }, - "workflows": { - "type": "string", - "description": "The level of permission to grant the access token to update GitHub Actions workflow files.", - "enum": ["write"] - }, - "members": { - "type": "string", - "description": "The level of permission to grant the access token for organization teams and members.", - "enum": ["read", "write"] - }, - "organization_administration": { - "type": "string", - "description": "The level of permission to grant the access token to manage access to an organization.", - "enum": ["read", "write"] - }, - "organization_custom_roles": { - "type": "string", - "description": "The level of permission to grant the access token for custom repository roles management.", - "enum": ["read", "write"] - }, - "organization_custom_org_roles": { - "type": "string", - "description": "The level of permission to grant the access token for custom organization roles management.", - "enum": ["read", "write"] - }, - "organization_custom_properties": { - "type": "string", - "description": "The level of permission to grant the access token for custom property management.", - "enum": ["read", "write", "admin"] - }, - "organization_copilot_seat_management": { - "type": "string", - "description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.", - "enum": ["write"] - }, - "organization_announcement_banners": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", - "enum": ["read", "write"] - }, - "organization_events": { - "type": "string", - "description": "The level of permission to grant the access token to view events triggered by an activity in an organization.", - "enum": ["read"] - }, - "organization_hooks": { - "type": "string", - "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization.", - "enum": ["read", "write"] - }, - "organization_personal_access_tokens": { - "type": "string", - "description": "The level of permission to grant the access token for viewing and managing fine-grained personal access token requests to an organization.", - "enum": ["read", "write"] - }, - "organization_personal_access_token_requests": { - "type": "string", - "description": "The level of permission to grant the access token for viewing and managing fine-grained personal access tokens that have been approved by an organization.", - "enum": ["read", "write"] - }, - "organization_plan": { - "type": "string", - "description": "The level of permission to grant the access token for viewing an organization's plan.", - "enum": ["read"] - }, - "organization_projects": { - "type": "string", - "description": "The level of permission to grant the access token to manage organization projects and projects public preview (where available).", - "enum": ["read", "write", "admin"] - }, - "organization_packages": { - "type": "string", - "description": "The level of permission to grant the access token for organization packages published to GitHub Packages.", - "enum": ["read", "write"] - }, - "organization_secrets": { - "type": "string", - "description": "The level of permission to grant the access token to manage organization secrets.", - "enum": ["read", "write"] - }, - "organization_self_hosted_runners": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage GitHub Actions self-hosted runners available to an organization.", - "enum": ["read", "write"] - }, - "organization_user_blocking": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage users blocked by the organization.", - "enum": ["read", "write"] - }, - "team_discussions": { - "type": "string", - "description": "The level of permission to grant the access token to manage team discussions and related comments.", - "enum": ["read", "write"] - }, - "email_addresses": { - "type": "string", - "description": "The level of permission to grant the access token to manage the email addresses belonging to a user.", - "enum": ["read", "write"] - }, - "followers": { - "type": "string", - "description": "The level of permission to grant the access token to manage the followers belonging to a user.", - "enum": ["read", "write"] - }, - "git_ssh_keys": { - "type": "string", - "description": "The level of permission to grant the access token to manage git SSH keys.", - "enum": ["read", "write"] - }, - "gpg_keys": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage GPG keys belonging to a user.", - "enum": ["read", "write"] - }, - "interaction_limits": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage interaction limits on a repository.", - "enum": ["read", "write"] - }, - "profile": { - "type": "string", - "description": "The level of permission to grant the access token to manage the profile settings belonging to a user.", - "enum": ["write"] - }, - "starring": { - "type": "string", - "description": "The level of permission to grant the access token to list and manage repositories a user is starring.", - "enum": ["read", "write"] - } - }, - "example": { - "contents": "read", - "issues": "read", - "deployments": "write", - "single_file": "read" - } - }, - "scoped-installation": { - "title": "Scoped Installation", - "type": "object", - "properties": { - "permissions": { "$ref": "#/components/schemas/app-permissions" }, - "repository_selection": { - "description": "Describe whether all repositories have been selected or there's a selection involved", - "type": "string", - "enum": ["all", "selected"] - }, - "single_file_name": { - "type": ["string", "null"], - "examples": ["config.yaml"] - }, - "has_multiple_single_files": { - "type": "boolean", - "examples": [true] - }, - "single_file_paths": { - "type": "array", - "items": { "type": "string" }, - "examples": ["config.yml", ".github/issue_TEMPLATE.md"] - }, - "repositories_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/users/octocat/repos"] - }, - "account": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "permissions", - "repository_selection", - "single_file_name", - "repositories_url", - "account" - ] - }, - "authorization": { - "title": "Authorization", - "description": "The authorization for an OAuth app, GitHub App, or a Personal Access Token.", - "type": "object", - "properties": { - "id": { "type": "integer", "format": "int64" }, - "url": { "type": "string", "format": "uri" }, - "scopes": { - "description": "A list of scopes that this authorization is in.", - "type": ["array", "null"], - "items": { "type": "string" } - }, - "token": { "type": "string" }, - "token_last_eight": { "type": ["string", "null"] }, - "hashed_token": { "type": ["string", "null"] }, - "app": { - "type": "object", - "properties": { - "client_id": { "type": "string" }, - "name": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["client_id", "name", "url"] - }, - "note": { "type": ["string", "null"] }, - "note_url": { "type": ["string", "null"], "format": "uri" }, - "updated_at": { "type": "string", "format": "date-time" }, - "created_at": { "type": "string", "format": "date-time" }, - "fingerprint": { "type": ["string", "null"] }, - "user": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "installation": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/scoped-installation" } - ] - }, - "expires_at": { "type": ["string", "null"], "format": "date-time" } - }, - "required": [ - "app", - "id", - "note", - "note_url", - "scopes", - "token", - "hashed_token", - "token_last_eight", - "fingerprint", - "url", - "created_at", - "updated_at", - "expires_at" - ] - }, - "security-advisory-ecosystems": { - "type": "string", - "description": "The package's language or package management ecosystem.", - "enum": [ - "rubygems", - "npm", - "pip", - "maven", - "nuget", - "composer", - "go", - "rust", - "erlang", - "actions", - "pub", - "other", - "swift" - ] - }, - "vulnerability": { - "description": "A vulnerability describing the product and its affected versions within a GitHub Security Advisory.", - "type": "object", - "properties": { - "package": { - "description": "The name of the package affected by the vulnerability.", - "type": ["object", "null"], - "properties": { - "ecosystem": { - "$ref": "#/components/schemas/security-advisory-ecosystems" - }, - "name": { - "type": ["string", "null"], - "description": "The unique package name within its ecosystem." - } - }, - "required": ["ecosystem", "name"] - }, - "vulnerable_version_range": { - "type": ["string", "null"], - "description": "The range of the package versions affected by the vulnerability." - }, - "first_patched_version": { - "type": ["string", "null"], - "description": "The package version that resolves the vulnerability." - }, - "vulnerable_functions": { - "type": ["array", "null"], - "description": "The functions in the package that are affected by the vulnerability.", - "readOnly": true, - "items": { "type": "string" } - } - }, - "required": [ - "package", - "vulnerable_version_range", - "first_patched_version", - "vulnerable_functions" - ] - }, - "cvss-severities": { - "type": ["object", "null"], - "properties": { - "cvss_v3": { - "type": ["object", "null"], - "properties": { - "vector_string": { - "type": ["string", "null"], - "description": "The CVSS 3 vector string." - }, - "score": { - "type": ["number", "null"], - "description": "The CVSS 3 score.", - "minimum": 0, - "maximum": 10, - "readOnly": true - } - }, - "required": ["vector_string", "score"] - }, - "cvss_v4": { - "type": ["object", "null"], - "properties": { - "vector_string": { - "type": ["string", "null"], - "description": "The CVSS 4 vector string." - }, - "score": { - "type": ["number", "null"], - "description": "The CVSS 4 score.", - "minimum": 0, - "maximum": 10, - "readOnly": true - } - }, - "required": ["vector_string", "score"] - } - } - }, - "security-advisory-epss": { - "type": ["object", "null"], - "readOnly": true, - "description": "The EPSS scores as calculated by the [Exploit Prediction Scoring System](https://www.first.org/epss).", - "properties": { - "percentage": { "type": "number", "minimum": 0, "maximum": 100 }, - "percentile": { "type": "number", "minimum": 0, "maximum": 100 } - } - }, - "security-advisory-credit-types": { - "type": "string", - "description": "The type of credit the user is receiving.", - "enum": [ - "analyst", - "finder", - "reporter", - "coordinator", - "remediation_developer", - "remediation_reviewer", - "remediation_verifier", - "tool", - "sponsor", - "other" - ] - }, - "global-advisory": { - "description": "A GitHub Security Advisory.", - "type": "object", - "properties": { - "ghsa_id": { - "type": "string", - "description": "The GitHub Security Advisory ID.", - "readOnly": true - }, - "cve_id": { - "type": ["string", "null"], - "description": "The Common Vulnerabilities and Exposures (CVE) ID.", - "readOnly": true - }, - "url": { - "type": "string", - "description": "The API URL for the advisory.", - "readOnly": true - }, - "html_url": { - "type": "string", - "format": "uri", - "description": "The URL for the advisory.", - "readOnly": true - }, - "repository_advisory_url": { - "type": ["string", "null"], - "format": "uri", - "description": "The API URL for the repository advisory.", - "readOnly": true - }, - "summary": { - "type": "string", - "description": "A short summary of the advisory.", - "maxLength": 1024 - }, - "description": { - "type": ["string", "null"], - "description": "A detailed description of what the advisory entails.", - "maxLength": 65535 - }, - "type": { - "type": "string", - "description": "The type of advisory.", - "readOnly": true, - "enum": ["reviewed", "unreviewed", "malware"] - }, - "severity": { - "type": "string", - "description": "The severity of the advisory.", - "enum": ["critical", "high", "medium", "low", "unknown"] - }, - "source_code_location": { - "type": ["string", "null"], - "format": "uri", - "description": "The URL of the advisory's source code." - }, - "identifiers": { - "type": ["array", "null"], - "readOnly": true, - "items": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "The type of identifier.", - "enum": ["CVE", "GHSA"] - }, - "value": { - "type": "string", - "description": "The identifier value." - } - }, - "required": ["type", "value"] - } - }, - "references": { - "type": ["array", "null"], - "items": { - "type": "string", - "description": "URLs with more information regarding the advisory." - } - }, - "published_at": { - "type": "string", - "format": "date-time", - "description": "The date and time of when the advisory was published, in ISO 8601 format.", - "readOnly": true - }, - "updated_at": { - "type": "string", - "format": "date-time", - "description": "The date and time of when the advisory was last updated, in ISO 8601 format.", - "readOnly": true - }, - "github_reviewed_at": { - "type": ["string", "null"], - "format": "date-time", - "description": "The date and time of when the advisory was reviewed by GitHub, in ISO 8601 format.", - "readOnly": true - }, - "nvd_published_at": { - "type": ["string", "null"], - "format": "date-time", - "description": "The date and time when the advisory was published in the National Vulnerability Database, in ISO 8601 format.\nThis field is only populated when the advisory is imported from the National Vulnerability Database.", - "readOnly": true - }, - "withdrawn_at": { - "type": ["string", "null"], - "format": "date-time", - "description": "The date and time of when the advisory was withdrawn, in ISO 8601 format.", - "readOnly": true - }, - "vulnerabilities": { - "type": ["array", "null"], - "description": "The products and respective version ranges affected by the advisory.", - "items": { "$ref": "#/components/schemas/vulnerability" } - }, - "cvss": { - "type": ["object", "null"], - "properties": { - "vector_string": { - "type": ["string", "null"], - "description": "The CVSS vector." - }, - "score": { - "type": ["number", "null"], - "description": "The CVSS score.", - "minimum": 0, - "maximum": 10, - "readOnly": true - } - }, - "required": ["vector_string", "score"] - }, - "cvss_severities": { "$ref": "#/components/schemas/cvss-severities" }, - "epss": { "$ref": "#/components/schemas/security-advisory-epss" }, - "cwes": { - "type": ["array", "null"], - "items": { - "type": "object", - "properties": { - "cwe_id": { - "type": "string", - "description": "The Common Weakness Enumeration (CWE) identifier." - }, - "name": { - "type": "string", - "description": "The name of the CWE.", - "readOnly": true - } - }, - "required": ["cwe_id", "name"] - } - }, - "credits": { - "type": ["array", "null"], - "description": "In GitHub Enterprise Server, this field will always be empty because the user metadata of credited users will not be available.", - "readOnly": true, - "items": { - "type": "object", - "properties": { - "user": { "$ref": "#/components/schemas/simple-user" }, - "type": { - "$ref": "#/components/schemas/security-advisory-credit-types" - } - }, - "required": ["user", "type"] - } - } - }, - "required": [ - "ghsa_id", - "cve_id", - "url", - "html_url", - "repository_advisory_url", - "summary", - "description", - "type", - "severity", - "source_code_location", - "identifiers", - "references", - "published_at", - "updated_at", - "github_reviewed_at", - "nvd_published_at", - "withdrawn_at", - "vulnerabilities", - "cvss", - "cwes", - "credits" - ], - "additionalProperties": false - }, - "basic-error": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { "type": "string" }, - "documentation_url": { "type": "string" }, - "url": { "type": "string" }, - "status": { "type": "string" } - } - }, - "validation-error-simple": { - "title": "Validation Error Simple", - "description": "Validation Error Simple", - "type": "object", - "required": ["message", "documentation_url"], - "properties": { - "message": { "type": "string" }, - "documentation_url": { "type": "string" }, - "errors": { "type": "array", "items": { "type": "string" } } - } - }, - "enterprise": { - "title": "Enterprise", - "description": "An enterprise on GitHub.", - "type": "object", - "properties": { - "description": { - "description": "A short description of the enterprise.", - "type": ["string", "null"] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": ["https://github.com/enterprises/octo-business"] - }, - "website_url": { - "description": "The enterprise's website URL.", - "type": ["string", "null"], - "format": "uri" - }, - "id": { - "description": "Unique identifier of the enterprise", - "type": "integer", - "examples": [42] - }, - "node_id": { - "type": "string", - "examples": ["MDEwOlJlcG9zaXRvcnkxMjk2MjY5"] - }, - "name": { - "description": "The name of the enterprise.", - "type": "string", - "examples": ["Octo Business"] - }, - "slug": { - "description": "The slug url identifier for the enterprise.", - "type": "string", - "examples": ["octo-business"] - }, - "created_at": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2019-01-26T19:01:12Z"] - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2019-01-26T19:14:43Z"] - }, - "avatar_url": { "type": "string", "format": "uri" } - }, - "required": [ - "id", - "node_id", - "name", - "slug", - "html_url", - "created_at", - "updated_at", - "avatar_url" - ] - }, - "integration": { - "title": "GitHub app", - "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", - "type": ["object", "null"], - "properties": { - "id": { - "description": "Unique identifier of the GitHub app", - "type": "integer", - "examples": [37] - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string", - "examples": ["probot-owners"] - }, - "node_id": { - "type": "string", - "examples": ["MDExOkludGVncmF0aW9uMQ=="] - }, - "owner": { - "oneOf": [ - { "$ref": "#/components/schemas/simple-user" }, - { "$ref": "#/components/schemas/enterprise" } - ] - }, - "name": { - "description": "The name of the GitHub app", - "type": "string", - "examples": ["Probot Owners"] - }, - "description": { - "type": ["string", "null"], - "examples": ["The description of the app."] - }, - "external_url": { - "type": "string", - "format": "uri", - "examples": ["https://example.com"] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": ["https://github.com/apps/super-ci"] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": ["2017-07-08T16:18:44-04:00"] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": ["2017-07-08T16:18:44-04:00"] - }, - "permissions": { - "description": "The set of permissions for the GitHub app", - "type": "object", - "properties": { - "issues": { "type": "string" }, - "checks": { "type": "string" }, - "metadata": { "type": "string" }, - "contents": { "type": "string" }, - "deployments": { "type": "string" } - }, - "additionalProperties": { "type": "string" }, - "example": { "issues": "read", "deployments": "write" } - }, - "events": { - "description": "The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.", - "type": "array", - "items": { "type": "string" }, - "examples": ["label", "deployment"] - }, - "installations_count": { - "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", - "type": "integer", - "examples": [5] - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at", - "permissions", - "events" - ] - }, - "webhook-config-url": { - "type": "string", - "description": "The URL to which the payloads will be delivered.", - "format": "uri", - "examples": ["https://example.com/webhook"] - }, - "webhook-config-content-type": { - "type": "string", - "description": "The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`.", - "examples": ["\"json\""] - }, - "webhook-config-secret": { - "type": "string", - "description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-server@3.13/webhooks/event-payloads/#delivery-headers).", - "examples": ["\"********\""] - }, - "webhook-config-insecure-ssl": { - "oneOf": [ - { - "type": "string", - "description": "Determines whether the SSL certificate of the host for `url` will be verified when delivering payloads. Supported values include `0` (verification is performed) and `1` (verification is not performed). The default is `0`. **We strongly recommend not setting this to `1` as you are subject to man-in-the-middle and other attacks.**", - "examples": ["\"0\""] - }, - { "type": "number" } - ] - }, - "webhook-config": { - "title": "Webhook Configuration", - "description": "Configuration object of the webhook", - "type": "object", - "properties": { - "url": { "$ref": "#/components/schemas/webhook-config-url" }, - "content_type": { - "$ref": "#/components/schemas/webhook-config-content-type" - }, - "secret": { "$ref": "#/components/schemas/webhook-config-secret" }, - "insecure_ssl": { - "$ref": "#/components/schemas/webhook-config-insecure-ssl" - } - } - }, - "hook-delivery-item": { - "title": "Simple webhook delivery", - "description": "Delivery made by a webhook, without request and response information.", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier of the webhook delivery.", - "type": "integer", - "format": "int64", - "examples": [42] - }, - "guid": { - "description": "Unique identifier for the event (shared with all deliveries for all webhooks that subscribe to this event).", - "type": "string", - "examples": ["58474f00-b361-11eb-836d-0e4f3503ccbe"] - }, - "delivered_at": { - "description": "Time when the webhook delivery occurred.", - "type": "string", - "format": "date-time", - "examples": ["2021-05-12T20:33:44Z"] - }, - "redelivery": { - "description": "Whether the webhook delivery is a redelivery.", - "type": "boolean", - "examples": [false] - }, - "duration": { - "description": "Time spent delivering.", - "type": "number", - "examples": [0.03] - }, - "status": { - "description": "Describes the response returned after attempting the delivery.", - "type": "string", - "examples": ["failed to connect"] - }, - "status_code": { - "description": "Status code received when delivery was made.", - "type": "integer", - "examples": [502] - }, - "event": { - "description": "The event that triggered the delivery.", - "type": "string", - "examples": ["issues"] - }, - "action": { - "description": "The type of activity for the event that triggered the delivery.", - "type": ["string", "null"], - "examples": ["opened"] - }, - "installation_id": { - "description": "The id of the GitHub App installation associated with this event.", - "type": ["integer", "null"], - "format": "int64", - "examples": [123] - }, - "repository_id": { - "description": "The id of the repository associated with this event.", - "type": ["integer", "null"], - "format": "int64", - "examples": [123] - }, - "throttled_at": { - "description": "Time when the webhook delivery was throttled.", - "type": ["string", "null"], - "format": "date-time", - "examples": ["2021-05-12T20:33:44Z"] - } - }, - "required": [ - "id", - "guid", - "delivered_at", - "redelivery", - "duration", - "status", - "status_code", - "event", - "action", - "installation_id", - "repository_id" - ] - }, - "scim-error": { - "title": "Scim Error", - "description": "Scim Error", - "type": "object", - "properties": { - "message": { "type": ["string", "null"] }, - "documentation_url": { "type": ["string", "null"] }, - "detail": { "type": ["string", "null"] }, - "status": { "type": "integer" }, - "scimType": { "type": ["string", "null"] }, - "schemas": { "type": "array", "items": { "type": "string" } } - } - }, - "validation-error": { - "title": "Validation Error", - "description": "Validation Error", - "type": "object", - "required": ["message", "documentation_url"], - "properties": { - "message": { "type": "string" }, - "documentation_url": { "type": "string" }, - "errors": { - "type": "array", - "items": { - "type": "object", - "required": ["code"], - "properties": { - "resource": { "type": "string" }, - "field": { "type": "string" }, - "message": { "type": "string" }, - "code": { "type": "string" }, - "index": { "type": "integer" }, - "value": { - "oneOf": [ - { "type": ["string", "null"] }, - { "type": ["integer", "null"] }, - { "type": ["array", "null"], "items": { "type": "string" } } - ] - } - } - } - } - } - }, - "hook-delivery": { - "title": "Webhook delivery", - "description": "Delivery made by a webhook.", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier of the delivery.", - "type": "integer", - "examples": [42] - }, - "guid": { - "description": "Unique identifier for the event (shared with all deliveries for all webhooks that subscribe to this event).", - "type": "string", - "examples": ["58474f00-b361-11eb-836d-0e4f3503ccbe"] - }, - "delivered_at": { - "description": "Time when the delivery was delivered.", - "type": "string", - "format": "date-time", - "examples": ["2021-05-12T20:33:44Z"] - }, - "redelivery": { - "description": "Whether the delivery is a redelivery.", - "type": "boolean", - "examples": [false] - }, - "duration": { - "description": "Time spent delivering.", - "type": "number", - "examples": [0.03] - }, - "status": { - "description": "Description of the status of the attempted delivery", - "type": "string", - "examples": ["failed to connect"] - }, - "status_code": { - "description": "Status code received when delivery was made.", - "type": "integer", - "examples": [502] - }, - "event": { - "description": "The event that triggered the delivery.", - "type": "string", - "examples": ["issues"] - }, - "action": { - "description": "The type of activity for the event that triggered the delivery.", - "type": ["string", "null"], - "examples": ["opened"] - }, - "installation_id": { - "description": "The id of the GitHub App installation associated with this event.", - "type": ["integer", "null"], - "examples": [123] - }, - "repository_id": { - "description": "The id of the repository associated with this event.", - "type": ["integer", "null"], - "examples": [123] - }, - "throttled_at": { - "description": "Time when the webhook delivery was throttled.", - "type": ["string", "null"], - "format": "date-time", - "examples": ["2021-05-12T20:33:44Z"] - }, - "url": { - "description": "The URL target of the delivery.", - "type": "string", - "examples": ["https://www.example.com"] - }, - "request": { - "type": "object", - "properties": { - "headers": { - "description": "The request headers sent with the webhook delivery.", - "type": ["object", "null"], - "additionalProperties": true - }, - "payload": { - "description": "The webhook payload.", - "type": ["object", "null"], - "additionalProperties": true - } - }, - "required": ["headers", "payload"] - }, - "response": { - "type": "object", - "properties": { - "headers": { - "description": "The response headers received when the delivery was made.", - "type": ["object", "null"], - "additionalProperties": true - }, - "payload": { - "description": "The response payload received.", - "type": ["string", "null"], - "additionalProperties": true - } - }, - "required": ["headers", "payload"] - } - }, - "required": [ - "id", - "guid", - "delivered_at", - "redelivery", - "duration", - "status", - "status_code", - "event", - "action", - "installation_id", - "repository_id", - "request", - "response" - ] - }, - "integration-installation-request": { - "title": "Integration Installation Request", - "description": "Request to install an integration on a target", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier of the request installation.", - "type": "integer", - "examples": [42] - }, - "node_id": { - "type": "string", - "examples": ["MDExOkludGVncmF0aW9uMQ=="] - }, - "account": { - "anyOf": [ - { "$ref": "#/components/schemas/simple-user" }, - { "$ref": "#/components/schemas/enterprise" } - ] - }, - "requester": { "$ref": "#/components/schemas/simple-user" }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": ["2022-07-08T16:18:44-04:00"] - } - }, - "required": ["id", "account", "requester", "created_at"] - }, - "installation": { - "title": "Installation", - "description": "Installation", - "type": "object", - "properties": { - "id": { - "description": "The ID of the installation.", - "type": "integer", - "examples": [1] - }, - "account": { - "anyOf": [ - { "$ref": "#/components/schemas/simple-user" }, - { "$ref": "#/components/schemas/enterprise" } - ], - "type": ["null", "object"] - }, - "repository_selection": { - "description": "Describe whether all repositories have been selected or there's a selection involved", - "type": "string", - "enum": ["all", "selected"] - }, - "access_tokens_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/app/installations/1/access_tokens" - ] - }, - "repositories_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/installation/repositories"] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/organizations/github/settings/installations/1" - ] - }, - "app_id": { "type": "integer", "examples": [1] }, - "target_id": { - "description": "The ID of the user or organization this token is being scoped to.", - "type": "integer" - }, - "target_type": { "type": "string", "examples": ["Organization"] }, - "permissions": { "$ref": "#/components/schemas/app-permissions" }, - "events": { "type": "array", "items": { "type": "string" } }, - "created_at": { "type": "string", "format": "date-time" }, - "updated_at": { "type": "string", "format": "date-time" }, - "single_file_name": { - "type": ["string", "null"], - "examples": ["config.yaml"] - }, - "has_multiple_single_files": { - "type": "boolean", - "examples": [true] - }, - "single_file_paths": { - "type": "array", - "items": { "type": "string" }, - "examples": ["config.yml", ".github/issue_TEMPLATE.md"] - }, - "app_slug": { "type": "string", "examples": ["github-actions"] }, - "suspended_by": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "suspended_at": { "type": ["string", "null"], "format": "date-time" }, - "contact_email": { - "type": ["string", "null"], - "examples": ["\"test_13f1e99741e3e004@d7e1eb0bc0a1ba12.com\""] - } - }, - "required": [ - "id", - "app_id", - "app_slug", - "target_id", - "target_type", - "single_file_name", - "repository_selection", - "access_tokens_url", - "html_url", - "repositories_url", - "events", - "account", - "permissions", - "created_at", - "updated_at", - "suspended_by", - "suspended_at" - ] - }, - "license-simple": { - "title": "License Simple", - "description": "License Simple", - "type": "object", - "properties": { - "key": { "type": "string", "examples": ["mit"] }, - "name": { "type": "string", "examples": ["MIT License"] }, - "url": { - "type": ["string", "null"], - "format": "uri", - "examples": ["https://api.github.com/licenses/mit"] - }, - "spdx_id": { "type": ["string", "null"], "examples": ["MIT"] }, - "node_id": { "type": "string", "examples": ["MDc6TGljZW5zZW1pdA=="] }, - "html_url": { "type": "string", "format": "uri" } - }, - "required": ["key", "name", "url", "spdx_id", "node_id"] - }, - "repository": { - "title": "Repository", - "description": "A repository on GitHub.", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64", - "examples": [42] - }, - "node_id": { - "type": "string", - "examples": ["MDEwOlJlcG9zaXRvcnkxMjk2MjY5"] - }, - "name": { - "description": "The name of the repository.", - "type": "string", - "examples": ["Team Environment"] - }, - "full_name": { - "type": "string", - "examples": ["octocat/Hello-World"] - }, - "license": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/license-simple" } - ] - }, - "forks": { "type": "integer" }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "triage": { "type": "boolean" }, - "push": { "type": "boolean" }, - "maintain": { "type": "boolean" } - }, - "required": ["admin", "pull", "push"] - }, - "owner": { "$ref": "#/components/schemas/simple-user" }, - "private": { - "description": "Whether the repository is private or public.", - "default": false, - "type": "boolean" - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": ["https://github.com/octocat/Hello-World"] - }, - "description": { - "type": ["string", "null"], - "examples": ["This your first repo!"] - }, - "fork": { "type": "boolean" }, - "url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/repos/octocat/Hello-World"] - }, - "archive_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" - ] - }, - "assignees_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" - ] - }, - "blobs_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" - ] - }, - "branches_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" - ] - }, - "collaborators_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" - ] - }, - "comments_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/comments{/number}" - ] - }, - "commits_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" - ] - }, - "compare_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" - ] - }, - "contents_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" - ] - }, - "contributors_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/contributors" - ] - }, - "deployments_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/deployments" - ] - }, - "downloads_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/downloads" - ] - }, - "events_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/events" - ] - }, - "forks_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/forks" - ] - }, - "git_commits_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" - ] - }, - "git_refs_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" - ] - }, - "git_tags_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" - ] - }, - "git_url": { - "type": "string", - "examples": ["git:github.com/octocat/Hello-World.git"] - }, - "issue_comment_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" - ] - }, - "issue_events_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" - ] - }, - "issues_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/issues{/number}" - ] - }, - "keys_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" - ] - }, - "labels_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/labels{/name}" - ] - }, - "languages_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/languages" - ] - }, - "merges_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/merges" - ] - }, - "milestones_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" - ] - }, - "notifications_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" - ] - }, - "pulls_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" - ] - }, - "releases_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/releases{/id}" - ] - }, - "ssh_url": { - "type": "string", - "examples": ["git@github.com:octocat/Hello-World.git"] - }, - "stargazers_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/stargazers" - ] - }, - "statuses_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" - ] - }, - "subscribers_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/subscribers" - ] - }, - "subscription_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/subscription" - ] - }, - "tags_url": { - "type": "string", - "format": "uri", - "examples": ["http://api.github.com/repos/octocat/Hello-World/tags"] - }, - "teams_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/teams" - ] - }, - "trees_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" - ] - }, - "clone_url": { - "type": "string", - "examples": ["https://github.com/octocat/Hello-World.git"] - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri", - "examples": ["git:git.example.com/octocat/Hello-World"] - }, - "hooks_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/hooks" - ] - }, - "svn_url": { - "type": "string", - "format": "uri", - "examples": ["https://svn.github.com/octocat/Hello-World"] - }, - "homepage": { - "type": ["string", "null"], - "format": "uri", - "examples": ["https://github.com"] - }, - "language": { "type": ["string", "null"] }, - "forks_count": { "type": "integer", "examples": [9] }, - "stargazers_count": { "type": "integer", "examples": [80] }, - "watchers_count": { "type": "integer", "examples": [80] }, - "size": { - "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", - "type": "integer", - "examples": [108] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string", - "examples": ["master"] - }, - "open_issues_count": { "type": "integer", "examples": [0] }, - "is_template": { - "description": "Whether this repository acts as a template that can be used to generate new repositories.", - "default": false, - "type": "boolean", - "examples": [true] - }, - "topics": { "type": "array", "items": { "type": "string" } }, - "has_issues": { - "description": "Whether issues are enabled.", - "default": true, - "type": "boolean", - "examples": [true] - }, - "has_projects": { - "description": "Whether projects are enabled.", - "default": true, - "type": "boolean", - "examples": [true] - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "default": true, - "type": "boolean", - "examples": [true] - }, - "has_pages": { "type": "boolean" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "default": true, - "type": "boolean", - "deprecated": true, - "examples": [true] - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "default": false, - "type": "boolean", - "examples": [true] - }, - "archived": { - "description": "Whether the repository is archived.", - "default": false, - "type": "boolean" - }, - "disabled": { - "type": "boolean", - "description": "Returns whether or not this repository disabled." - }, - "visibility": { - "description": "The repository visibility: public, private, or internal.", - "default": "public", - "type": "string" - }, - "pushed_at": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2011-01-26T19:06:43Z"] - }, - "created_at": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2011-01-26T19:01:12Z"] - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2011-01-26T19:14:43Z"] - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "default": true, - "type": "boolean", - "examples": [true] - }, - "temp_clone_token": { "type": "string" }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "default": true, - "type": "boolean", - "examples": [true] - }, - "allow_auto_merge": { - "description": "Whether to allow Auto-merge to be used on pull requests.", - "default": false, - "type": "boolean", - "examples": [false] - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "default": false, - "type": "boolean", - "examples": [false] - }, - "allow_update_branch": { - "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", - "default": false, - "type": "boolean", - "examples": [false] - }, - "use_squash_pr_title_as_default": { - "type": "boolean", - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "default": false, - "deprecated": true - }, - "squash_merge_commit_title": { - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"], - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." - }, - "squash_merge_commit_message": { - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"], - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." - }, - "merge_commit_title": { - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"], - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." - }, - "merge_commit_message": { - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"], - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "default": true, - "type": "boolean", - "examples": [true] - }, - "allow_forking": { - "description": "Whether to allow forking this repo", - "type": "boolean" - }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "default": false, - "type": "boolean" - }, - "open_issues": { "type": "integer" }, - "watchers": { "type": "integer" }, - "master_branch": { "type": "string" }, - "starred_at": { - "type": "string", - "examples": ["\"2020-07-09T00:17:42Z\""] - }, - "anonymous_access_enabled": { - "type": "boolean", - "description": "Whether anonymous git access is enabled for this repository" - }, - "code_search_index_status": { - "type": "object", - "description": "The status of the code search index for this repository", - "properties": { - "lexical_search_ok": { "type": "boolean" }, - "lexical_commit_sha": { "type": "string" } - } - } - }, - "required": [ - "archive_url", - "assignees_url", - "blobs_url", - "branches_url", - "collaborators_url", - "comments_url", - "commits_url", - "compare_url", - "contents_url", - "contributors_url", - "deployments_url", - "description", - "downloads_url", - "events_url", - "fork", - "forks_url", - "full_name", - "git_commits_url", - "git_refs_url", - "git_tags_url", - "hooks_url", - "html_url", - "id", - "node_id", - "issue_comment_url", - "issue_events_url", - "issues_url", - "keys_url", - "labels_url", - "languages_url", - "merges_url", - "milestones_url", - "name", - "notifications_url", - "owner", - "private", - "pulls_url", - "releases_url", - "stargazers_url", - "statuses_url", - "subscribers_url", - "subscription_url", - "tags_url", - "teams_url", - "trees_url", - "url", - "clone_url", - "default_branch", - "forks", - "forks_count", - "git_url", - "has_downloads", - "has_issues", - "has_projects", - "has_wiki", - "has_pages", - "homepage", - "language", - "archived", - "disabled", - "mirror_url", - "open_issues", - "open_issues_count", - "license", - "pushed_at", - "size", - "ssh_url", - "stargazers_count", - "svn_url", - "watchers", - "watchers_count", - "created_at", - "updated_at" - ] - }, - "installation-token": { - "title": "Installation Token", - "description": "Authentication token for a GitHub App installed on a user or org.", - "type": "object", - "properties": { - "token": { "type": "string" }, - "expires_at": { "type": "string" }, - "permissions": { "$ref": "#/components/schemas/app-permissions" }, - "repository_selection": { - "type": "string", - "enum": ["all", "selected"] - }, - "repositories": { - "type": "array", - "items": { "$ref": "#/components/schemas/repository" } - }, - "single_file": { "type": "string", "examples": ["README.md"] }, - "has_multiple_single_files": { - "type": "boolean", - "examples": [true] - }, - "single_file_paths": { - "type": "array", - "items": { "type": "string" }, - "examples": ["config.yml", ".github/issue_TEMPLATE.md"] - } - }, - "required": ["token", "expires_at"] - }, - "application-grant": { - "title": "Application Grant", - "description": "The authorization associated with an OAuth Access.", - "type": "object", - "properties": { - "id": { "type": "integer", "format": "int64", "examples": [1] }, - "url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/applications/grants/1"] - }, - "app": { - "type": "object", - "properties": { - "client_id": { "type": "string" }, - "name": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["client_id", "name", "url"] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": ["2011-09-06T17:26:27Z"] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": ["2011-09-06T20:39:23Z"] - }, - "scopes": { - "type": "array", - "items": { "type": "string" }, - "examples": ["public_repo"] - }, - "user": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - } - }, - "required": ["app", "id", "scopes", "url", "created_at", "updated_at"] - }, - "code-of-conduct": { - "title": "Code Of Conduct", - "description": "Code Of Conduct", - "type": "object", - "properties": { - "key": { "type": "string", "examples": ["contributor_covenant"] }, - "name": { "type": "string", "examples": ["Contributor Covenant"] }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/codes_of_conduct/contributor_covenant" - ] - }, - "body": { - "type": "string", - "examples": [ - "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.4, available at [http://contributor-covenant.org/version/1/4](http://contributor-covenant.org/version/1/4/).\n" - ] - }, - "html_url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["url", "html_url", "key", "name"] - }, - "announcement-message": { - "type": ["string", "null"], - "description": "The announcement text in GitHub Flavored Markdown. For more information about GitHub Flavored Markdown, see \"[Basic writing and formatting syntax](https://docs.github.com/enterprise-server@3.13/github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax).\"", - "examples": ["Very **important** announcement about _something_."] - }, - "announcement-expiration": { - "type": ["string", "null"], - "format": "date-time", - "description": "The time at which the announcement expires. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. To set an announcement that never expires, omit this parameter, set it to `null`, or set it to an empty string.", - "examples": ["\"2021-01-01T00:00:00.000-07:00\""] - }, - "announcement-user-dismissible": { - "type": ["boolean", "null"], - "description": "Whether an announcement can be dismissed by the user.", - "default": false, - "examples": [false] - }, - "announcement": { - "title": "Enterprise Announcement", - "description": "Enterprise global announcement", - "type": "object", - "properties": { - "announcement": { - "$ref": "#/components/schemas/announcement-message" - }, - "expires_at": { - "$ref": "#/components/schemas/announcement-expiration" - }, - "user_dismissible": { - "$ref": "#/components/schemas/announcement-user-dismissible" - } - }, - "required": ["announcement"] - }, - "license-info": { - "type": "object", - "properties": { - "seats": { "oneOf": [{ "type": "string" }, { "type": "integer" }] }, - "seats_used": { "type": "integer" }, - "seats_available": { - "oneOf": [{ "type": "string" }, { "type": "integer" }] - }, - "kind": { "type": "string" }, - "days_until_expiration": { "type": "integer" }, - "expire_at": { "type": "string" } - } - }, - "enterprise-repository-overview": { - "title": "Repository Enterprise Stats", - "type": "object", - "properties": { - "total_repos": { "type": "integer" }, - "root_repos": { "type": "integer" }, - "fork_repos": { "type": "integer" }, - "org_repos": { "type": "integer" }, - "total_pushes": { "type": "integer" }, - "total_wikis": { "type": "integer" } - }, - "required": [ - "total_repos", - "root_repos", - "fork_repos", - "org_repos", - "total_pushes", - "total_wikis" - ] - }, - "enterprise-hook-overview": { - "title": "Hooks Enterprise Stats", - "type": "object", - "properties": { - "total_hooks": { "type": "integer" }, - "active_hooks": { "type": "integer" }, - "inactive_hooks": { "type": "integer" } - }, - "required": ["total_hooks", "active_hooks", "inactive_hooks"] - }, - "enterprise-page-overview": { - "title": "Enterprise Pages Stats", - "type": "object", - "properties": { "total_pages": { "type": "integer" } }, - "required": ["total_pages"] - }, - "enterprise-organization-overview": { - "title": "Enterprise Organization Stats", - "type": "object", - "properties": { - "total_orgs": { "type": "integer" }, - "disabled_orgs": { "type": "integer" }, - "total_teams": { "type": "integer" }, - "total_team_members": { "type": "integer" } - }, - "required": [ - "total_orgs", - "disabled_orgs", - "total_teams", - "total_team_members" - ] - }, - "enterprise-user-overview": { - "title": "Enterprise User Stats", - "type": "object", - "properties": { - "total_users": { "type": "integer" }, - "admin_users": { "type": "integer" }, - "suspended_users": { "type": "integer" } - }, - "required": ["total_users", "admin_users", "suspended_users"] - }, - "enterprise-pull-request-overview": { - "title": "Enterprise Pull Request Stats", - "type": "object", - "properties": { - "total_pulls": { "type": "integer" }, - "merged_pulls": { "type": "integer" }, - "mergeable_pulls": { "type": "integer" }, - "unmergeable_pulls": { "type": "integer" } - }, - "required": [ - "total_pulls", - "merged_pulls", - "mergeable_pulls", - "unmergeable_pulls" - ] - }, - "enterprise-issue-overview": { - "title": "Enterprise Issue Stats", - "type": "object", - "properties": { - "total_issues": { "type": "integer" }, - "open_issues": { "type": "integer" }, - "closed_issues": { "type": "integer" } - }, - "required": ["total_issues", "open_issues", "closed_issues"] - }, - "enterprise-milestone-overview": { - "title": "Enterprise Milestone Stats", - "type": "object", - "properties": { - "total_milestones": { "type": "integer" }, - "open_milestones": { "type": "integer" }, - "closed_milestones": { "type": "integer" } - }, - "required": ["total_milestones", "open_milestones", "closed_milestones"] - }, - "enterprise-gist-overview": { - "title": "Enterprise Gist Stats", - "type": "object", - "properties": { - "total_gists": { "type": "integer" }, - "private_gists": { "type": "integer" }, - "public_gists": { "type": "integer" } - }, - "required": ["total_gists", "private_gists", "public_gists"] - }, - "enterprise-comment-overview": { - "title": "Enterprise Comment Stats", - "type": "object", - "properties": { - "total_commit_comments": { "type": "integer" }, - "total_gist_comments": { "type": "integer" }, - "total_issue_comments": { "type": "integer" }, - "total_pull_request_comments": { "type": "integer" } - }, - "required": [ - "total_commit_comments", - "total_gist_comments", - "total_issue_comments", - "total_pull_request_comments" - ] - }, - "enterprise-overview": { - "type": "object", - "properties": { - "repos": { - "$ref": "#/components/schemas/enterprise-repository-overview" - }, - "hooks": { "$ref": "#/components/schemas/enterprise-hook-overview" }, - "pages": { "$ref": "#/components/schemas/enterprise-page-overview" }, - "orgs": { - "$ref": "#/components/schemas/enterprise-organization-overview" - }, - "users": { "$ref": "#/components/schemas/enterprise-user-overview" }, - "pulls": { - "$ref": "#/components/schemas/enterprise-pull-request-overview" - }, - "issues": { - "$ref": "#/components/schemas/enterprise-issue-overview" - }, - "milestones": { - "$ref": "#/components/schemas/enterprise-milestone-overview" - }, - "gists": { "$ref": "#/components/schemas/enterprise-gist-overview" }, - "comments": { - "$ref": "#/components/schemas/enterprise-comment-overview" - } - } - }, - "enterprise-security-products-overview": { - "title": "Enterprise Security Products Stats", - "type": "object", - "properties": { - "total_repos": { "type": "integer" }, - "nonarchived_repos": { "type": "integer" }, - "secret_scanning_enabled_repos": { "type": "integer" }, - "secret_scanning_push_protection_enabled_repos": { - "type": "integer" - }, - "code_scanning_enabled_repos": { "type": "integer" }, - "code_scanning_pr_reviews_enabled_repos": { "type": "integer" }, - "code_scanning_default_setup_enabled_repos": { "type": "integer" }, - "code_scanning_default_setup_eligible_repos": { "type": "integer" }, - "dependabot_alerts_enabled_repos": { "type": "integer" }, - "dependabot_security_updates_enabled_repos": { "type": "integer" }, - "dependabot_version_updates_enabled_repos": { "type": "integer" }, - "advanced_security_enabled_repos": { "type": "integer" }, - "active_committers": { "type": "integer" }, - "purchased_committers": { "type": "integer" }, - "maximum_committers": { "type": "integer" } - } - }, - "actions-cache-usage-org-enterprise": { - "type": "object", - "properties": { - "total_active_caches_count": { - "type": "integer", - "description": "The count of active caches across all repositories of an enterprise or an organization." - }, - "total_active_caches_size_in_bytes": { - "type": "integer", - "description": "The total size in bytes of all active cache items across all repositories of an enterprise or an organization." - } - }, - "required": [ - "total_active_caches_count", - "total_active_caches_size_in_bytes" - ] - }, - "actions-cache-usage-policy-enterprise": { - "title": "Actions cache usage policy for an enterprise", - "description": "GitHub Actions cache usage policy for an enterprise.", - "type": "object", - "properties": { - "repo_cache_size_limit_in_gb": { - "description": "For repositories in an enterprise, the default size limit for the sum of all caches in a repository, in gigabytes.", - "type": "integer", - "examples": [10] - }, - "max_repo_cache_size_limit_in_gb": { - "description": "For repositories in an enterprise, the maximum value that can be set as the limit for the sum of all caches in a repository, in gigabytes.", - "type": "integer", - "examples": [15] - } - } - }, - "enabled-organizations": { - "type": "string", - "description": "The policy that controls the organizations in the enterprise that are allowed to run GitHub Actions.", - "enum": ["all", "none", "selected"] - }, - "allowed-actions": { - "type": "string", - "description": "The permissions policy that controls the actions that are allowed to run.", - "enum": ["all", "local_only", "selected"] - }, - "selected-actions-url": { - "type": "string", - "description": "The API URL to use to get or set the actions that are allowed to run, when `allowed_actions` is set to `selected`." - }, - "actions-enterprise-permissions": { - "type": "object", - "properties": { - "enabled_organizations": { - "$ref": "#/components/schemas/enabled-organizations" - }, - "selected_organizations_url": { - "type": "string", - "description": "The API URL to use to get or set the selected organizations that are allowed to run GitHub Actions, when `enabled_organizations` is set to `selected`." - }, - "allowed_actions": { "$ref": "#/components/schemas/allowed-actions" }, - "selected_actions_url": { - "$ref": "#/components/schemas/selected-actions-url" - } - }, - "required": ["enabled_organizations"] - }, - "selected-actions": { - "type": "object", - "properties": { - "github_owned_allowed": { - "type": "boolean", - "description": "Whether GitHub-owned actions are allowed. For example, this includes the actions in the `actions` organization." - }, - "verified_allowed": { - "type": "boolean", - "description": "Whether actions from GitHub Marketplace verified creators are allowed. Set to `true` to allow all actions by GitHub Marketplace verified creators using GitHub Connect." - }, - "patterns_allowed": { - "type": "array", - "description": "Specifies a list of string-matching patterns to allow specific action(s) and reusable workflow(s). Wildcards, tags, and SHAs are allowed. For example, `monalisa/octocat@*`, `monalisa/octocat@v2`, `monalisa/*`.\n\n> [!NOTE]\n> The `patterns_allowed` setting only applies to public repositories.", - "items": { "type": "string" } - } - } - }, - "actions-default-workflow-permissions": { - "type": "string", - "description": "The default workflow permissions granted to the GITHUB_TOKEN when running workflows.", - "enum": ["read", "write"] - }, - "actions-can-approve-pull-request-reviews": { - "type": "boolean", - "description": "Whether GitHub Actions can approve pull requests. Enabling this can be a security risk." - }, - "actions-get-default-workflow-permissions": { - "type": "object", - "properties": { - "default_workflow_permissions": { - "$ref": "#/components/schemas/actions-default-workflow-permissions" - }, - "can_approve_pull_request_reviews": { - "$ref": "#/components/schemas/actions-can-approve-pull-request-reviews" - } - }, - "required": [ - "default_workflow_permissions", - "can_approve_pull_request_reviews" - ] - }, - "actions-set-default-workflow-permissions": { - "type": "object", - "properties": { - "default_workflow_permissions": { - "$ref": "#/components/schemas/actions-default-workflow-permissions" - }, - "can_approve_pull_request_reviews": { - "$ref": "#/components/schemas/actions-can-approve-pull-request-reviews" - } - } - }, - "runner-groups-enterprise": { - "type": "object", - "properties": { - "id": { "type": "number" }, - "name": { "type": "string" }, - "visibility": { "type": "string" }, - "default": { "type": "boolean" }, - "selected_organizations_url": { "type": "string" }, - "runners_url": { "type": "string" }, - "allows_public_repositories": { "type": "boolean" }, - "workflow_restrictions_read_only": { - "description": "If `true`, the `restricted_to_workflows` and `selected_workflows` fields cannot be modified.", - "type": "boolean", - "default": false - }, - "restricted_to_workflows": { - "description": "If `true`, the runner group will be restricted to running only the workflows specified in the `selected_workflows` array.", - "type": "boolean", - "default": false - }, - "selected_workflows": { - "description": "List of workflows the runner group should be allowed to run. This setting will be ignored unless `restricted_to_workflows` is set to `true`.", - "type": "array", - "items": { - "type": "string", - "description": "Name of workflow the runner group should be allowed to run. Note that a ref, tag, or long SHA is required.", - "examples": [ - "octo-org/octo-repo/.github/workflows/deploy.yaml@main" - ] - } - } - }, - "required": [ - "id", - "name", - "visibility", - "allows_public_repositories", - "default", - "runners_url" - ] - }, - "runner-label": { - "title": "Self hosted runner label", - "description": "A label for a self hosted runner", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "Unique identifier of the label." - }, - "name": { "type": "string", "description": "Name of the label." }, - "type": { - "type": "string", - "description": "The type of label. Read-only labels are applied automatically when the runner is configured.", - "enum": ["read-only", "custom"] - } - }, - "required": ["name"] - }, - "runner": { - "title": "Self hosted runners", - "description": "A self hosted runner", - "type": "object", - "properties": { - "id": { - "description": "The ID of the runner.", - "type": "integer", - "examples": [5] - }, - "runner_group_id": { - "description": "The ID of the runner group.", - "type": "integer", - "examples": [1] - }, - "name": { - "description": "The name of the runner.", - "type": "string", - "examples": ["iMac"] - }, - "os": { - "description": "The Operating System of the runner.", - "type": "string", - "examples": ["macos"] - }, - "status": { - "description": "The status of the runner.", - "type": "string", - "examples": ["online"] - }, - "busy": { "type": "boolean" }, - "labels": { - "type": "array", - "items": { "$ref": "#/components/schemas/runner-label" } - }, - "ephemeral": { "type": "boolean" } - }, - "required": ["id", "name", "os", "status", "busy", "labels"] - }, - "runner-application": { - "title": "Runner Application", - "description": "Runner Application", - "type": "object", - "properties": { - "os": { "type": "string" }, - "architecture": { "type": "string" }, - "download_url": { "type": "string" }, - "filename": { "type": "string" }, - "temp_download_token": { - "description": "A short lived bearer token used to download the runner, if needed.", - "type": "string" - }, - "sha256_checksum": { "type": "string" } - }, - "required": ["os", "architecture", "download_url", "filename"] - }, - "authentication-token": { - "title": "Authentication Token", - "description": "Authentication Token", - "type": "object", - "properties": { - "token": { - "description": "The token used for authentication", - "type": "string", - "examples": ["v1.1f699f1069f60xxx"] - }, - "expires_at": { - "description": "The time this token expires", - "type": "string", - "format": "date-time", - "examples": ["2016-07-11T22:14:10Z"] - }, - "permissions": { - "type": "object", - "examples": [{ "issues": "read", "deployments": "write" }] - }, - "repositories": { - "description": "The repositories this token has access to", - "type": "array", - "items": { "$ref": "#/components/schemas/repository" } - }, - "single_file": { - "type": ["string", "null"], - "examples": ["config.yaml"] - }, - "repository_selection": { - "description": "Describe whether all repositories have been selected or there's a selection involved", - "type": "string", - "enum": ["all", "selected"] - } - }, - "required": ["token", "expires_at"] - }, - "audit-log-event": { - "type": "object", - "properties": { - "@timestamp": { - "type": "integer", - "description": "The time the audit log event occurred, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time)." - }, - "action": { - "type": "string", - "description": "The name of the action that was performed, for example `user.login` or `repo.create`." - }, - "active": { "type": "boolean" }, - "active_was": { "type": "boolean" }, - "actor": { - "type": "string", - "description": "The actor who performed the action." - }, - "actor_id": { - "type": "integer", - "description": "The id of the actor who performed the action." - }, - "actor_location": { - "type": "object", - "properties": { "country_name": { "type": "string" } } - }, - "data": { "type": "object", "additionalProperties": true }, - "org_id": { "type": "integer" }, - "user_id": { "type": "integer" }, - "business_id": { "type": "integer" }, - "blocked_user": { - "type": "string", - "description": "The username of the account being blocked." - }, - "business": { "type": "string" }, - "config": { "type": "array", "items": { "type": "object" } }, - "config_was": { "type": "array", "items": { "type": "object" } }, - "content_type": { "type": "string" }, - "operation_type": { "type": "string" }, - "created_at": { - "type": "integer", - "description": "The time the audit log event was recorded, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time)." - }, - "deploy_key_fingerprint": { "type": "string" }, - "_document_id": { - "type": "string", - "description": "A unique identifier for an audit event." - }, - "emoji": { "type": "string" }, - "events": { "type": "array", "items": { "type": "object" } }, - "events_were": { "type": "array", "items": { "type": "object" } }, - "explanation": { "type": "string" }, - "fingerprint": { "type": "string" }, - "hook_id": { "type": "integer" }, - "limited_availability": { "type": "boolean" }, - "message": { "type": "string" }, - "name": { "type": "string" }, - "old_user": { "type": "string" }, - "openssh_public_key": { "type": "string" }, - "org": { "type": "string" }, - "previous_visibility": { "type": "string" }, - "read_only": { "type": "boolean" }, - "repo": { - "type": "string", - "description": "The name of the repository." - }, - "repository": { - "type": "string", - "description": "The name of the repository." - }, - "repository_public": { "type": "boolean" }, - "target_login": { "type": "string" }, - "team": { "type": "string" }, - "transport_protocol": { - "type": "integer", - "description": "The type of protocol (for example, HTTP or SSH) used to transfer Git data." - }, - "transport_protocol_name": { - "type": "string", - "description": "A human readable name for the protocol (for example, HTTP or SSH) used to transfer Git data." - }, - "user": { - "type": "string", - "description": "The user that was affected by the action performed (if available)." - }, - "visibility": { - "type": "string", - "description": "The repository visibility, for example `public` or `private`." - } - } - }, - "code-scanning-analysis-tool-name": { - "type": "string", - "description": "The name of the tool used to generate the code scanning analysis." - }, - "code-scanning-analysis-tool-guid": { - "type": ["string", "null"], - "description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data." - }, - "code-scanning-alert-state-query": { - "type": "string", - "description": "State of a code scanning alert.", - "enum": ["open", "closed", "dismissed", "fixed"] - }, - "alert-number": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true - }, - "alert-created-at": { - "type": "string", - "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "format": "date-time", - "readOnly": true - }, - "alert-updated-at": { - "type": "string", - "description": "The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "format": "date-time", - "readOnly": true - }, - "alert-url": { - "type": "string", - "description": "The REST API URL of the alert resource.", - "format": "uri", - "readOnly": true - }, - "alert-html-url": { - "type": "string", - "description": "The GitHub URL of the alert resource.", - "format": "uri", - "readOnly": true - }, - "alert-instances-url": { - "type": "string", - "description": "The REST API URL for fetching the list of instances for an alert.", - "format": "uri", - "readOnly": true - }, - "code-scanning-alert-state": { - "type": ["string", "null"], - "description": "State of a code scanning alert.", - "enum": ["open", "dismissed", "fixed", null] - }, - "alert-fixed-at": { - "type": ["string", "null"], - "description": "The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "format": "date-time", - "readOnly": true - }, - "alert-dismissed-at": { - "type": ["string", "null"], - "description": "The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "format": "date-time", - "readOnly": true - }, - "code-scanning-alert-dismissed-reason": { - "type": ["string", "null"], - "description": "**Required when the state is dismissed.** The reason for dismissing or closing the alert.", - "enum": ["false positive", "won't fix", "used in tests", null] - }, - "code-scanning-alert-dismissed-comment": { - "type": ["string", "null"], - "description": "The dismissal comment associated with the dismissal of the alert.", - "maxLength": 280 - }, - "code-scanning-alert-rule-summary": { - "type": "object", - "properties": { - "id": { - "type": ["string", "null"], - "description": "A unique identifier for the rule used to detect the alert." - }, - "name": { - "type": "string", - "description": "The name of the rule used to detect the alert." - }, - "severity": { - "type": ["string", "null"], - "description": "The severity of the alert.", - "enum": ["none", "note", "warning", "error", null] - }, - "security_severity_level": { - "type": ["string", "null"], - "description": "The security severity of the alert.", - "enum": ["low", "medium", "high", "critical", null] - }, - "description": { - "type": "string", - "description": "A short description of the rule used to detect the alert." - }, - "tags": { - "type": ["array", "null"], - "description": "A set of tags applicable for the rule.", - "items": { "type": "string" } - } - } - }, - "code-scanning-analysis-tool-version": { - "type": ["string", "null"], - "description": "The version of the tool used to generate the code scanning analysis." - }, - "code-scanning-analysis-tool": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/code-scanning-analysis-tool-name" - }, - "version": { - "$ref": "#/components/schemas/code-scanning-analysis-tool-version" - }, - "guid": { - "$ref": "#/components/schemas/code-scanning-analysis-tool-guid" - } - } - }, - "code-scanning-ref": { - "type": "string", - "description": "The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``." - }, - "code-scanning-analysis-analysis-key": { - "type": "string", - "description": "Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name." - }, - "code-scanning-alert-environment": { - "type": "string", - "description": "Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed." - }, - "code-scanning-analysis-category": { - "type": "string", - "description": "Identifies the configuration under which the analysis was executed. Used to distinguish between multiple analyses for the same tool and commit, but performed on different languages or different parts of the code." - }, - "code-scanning-alert-location": { - "type": "object", - "description": "Describe a region within a file for the alert.", - "properties": { - "path": { "type": "string" }, - "start_line": { "type": "integer" }, - "end_line": { "type": "integer" }, - "start_column": { "type": "integer" }, - "end_column": { "type": "integer" } - } - }, - "code-scanning-alert-classification": { - "type": ["string", "null"], - "description": "A classification of the file. For example to identify it as generated.", - "enum": ["source", "generated", "test", "library", null] - }, - "code-scanning-alert-instance": { - "type": "object", - "properties": { - "ref": { "$ref": "#/components/schemas/code-scanning-ref" }, - "analysis_key": { - "$ref": "#/components/schemas/code-scanning-analysis-analysis-key" - }, - "environment": { - "$ref": "#/components/schemas/code-scanning-alert-environment" - }, - "category": { - "$ref": "#/components/schemas/code-scanning-analysis-category" - }, - "state": { "$ref": "#/components/schemas/code-scanning-alert-state" }, - "commit_sha": { "type": "string" }, - "message": { - "type": "object", - "properties": { "text": { "type": "string" } } - }, - "location": { - "$ref": "#/components/schemas/code-scanning-alert-location" - }, - "html_url": { "type": "string" }, - "classifications": { - "type": "array", - "description": "Classifications that have been applied to the file that triggered the alert.\nFor example identifying it as documentation, or a generated file.", - "items": { - "$ref": "#/components/schemas/code-scanning-alert-classification" - } - } - } - }, - "simple-repository": { - "title": "Simple Repository", - "description": "A GitHub repository.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "A unique identifier of the repository.", - "examples": [1296269] - }, - "node_id": { - "type": "string", - "description": "The GraphQL identifier of the repository.", - "examples": ["MDEwOlJlcG9zaXRvcnkxMjk2MjY5"] - }, - "name": { - "type": "string", - "description": "The name of the repository.", - "examples": ["Hello-World"] - }, - "full_name": { - "type": "string", - "description": "The full, globally unique, name of the repository.", - "examples": ["octocat/Hello-World"] - }, - "owner": { "$ref": "#/components/schemas/simple-user" }, - "private": { - "type": "boolean", - "description": "Whether the repository is private." - }, - "html_url": { - "type": "string", - "format": "uri", - "description": "The URL to view the repository on GitHub.com.", - "examples": ["https://github.com/octocat/Hello-World"] - }, - "description": { - "type": ["string", "null"], - "description": "The repository description.", - "examples": ["This your first repo!"] - }, - "fork": { - "type": "boolean", - "description": "Whether the repository is a fork." - }, - "url": { - "type": "string", - "format": "uri", - "description": "The URL to get more information about the repository from the GitHub API.", - "examples": ["https://api.github.com/repos/octocat/Hello-World"] - }, - "archive_url": { - "type": "string", - "description": "A template for the API URL to download the repository as an archive.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" - ] - }, - "assignees_url": { - "type": "string", - "description": "A template for the API URL to list the available assignees for issues in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/assignees{/user}" - ] - }, - "blobs_url": { - "type": "string", - "description": "A template for the API URL to create or retrieve a raw Git blob in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" - ] - }, - "branches_url": { - "type": "string", - "description": "A template for the API URL to get information about branches in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/branches{/branch}" - ] - }, - "collaborators_url": { - "type": "string", - "description": "A template for the API URL to get information about collaborators of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" - ] - }, - "comments_url": { - "type": "string", - "description": "A template for the API URL to get information about comments on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/comments{/number}" - ] - }, - "commits_url": { - "type": "string", - "description": "A template for the API URL to get information about commits on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/commits{/sha}" - ] - }, - "compare_url": { - "type": "string", - "description": "A template for the API URL to compare two commits or refs.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" - ] - }, - "contents_url": { - "type": "string", - "description": "A template for the API URL to get the contents of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/contents/{+path}" - ] - }, - "contributors_url": { - "type": "string", - "format": "uri", - "description": "A template for the API URL to list the contributors to the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/contributors" - ] - }, - "deployments_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the deployments of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/deployments" - ] - }, - "downloads_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the downloads on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/downloads" - ] - }, - "events_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the events of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/events" - ] - }, - "forks_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the forks of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/forks" - ] - }, - "git_commits_url": { - "type": "string", - "description": "A template for the API URL to get information about Git commits of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" - ] - }, - "git_refs_url": { - "type": "string", - "description": "A template for the API URL to get information about Git refs of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" - ] - }, - "git_tags_url": { - "type": "string", - "description": "A template for the API URL to get information about Git tags of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" - ] - }, - "issue_comment_url": { - "type": "string", - "description": "A template for the API URL to get information about issue comments on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" - ] - }, - "issue_events_url": { - "type": "string", - "description": "A template for the API URL to get information about issue events on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}" - ] - }, - "issues_url": { - "type": "string", - "description": "A template for the API URL to get information about issues on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues{/number}" - ] - }, - "keys_url": { - "type": "string", - "description": "A template for the API URL to get information about deploy keys on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}" - ] - }, - "labels_url": { - "type": "string", - "description": "A template for the API URL to get information about labels of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/labels{/name}" - ] - }, - "languages_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get information about the languages of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/languages" - ] - }, - "merges_url": { - "type": "string", - "format": "uri", - "description": "The API URL to merge branches in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/merges" - ] - }, - "milestones_url": { - "type": "string", - "description": "A template for the API URL to get information about milestones of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/milestones{/number}" - ] - }, - "notifications_url": { - "type": "string", - "description": "A template for the API URL to get information about notifications on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" - ] - }, - "pulls_url": { - "type": "string", - "description": "A template for the API URL to get information about pull requests on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls{/number}" - ] - }, - "releases_url": { - "type": "string", - "description": "A template for the API URL to get information about releases on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/releases{/id}" - ] - }, - "stargazers_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the stargazers on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/stargazers" - ] - }, - "statuses_url": { - "type": "string", - "description": "A template for the API URL to get information about statuses of a commit.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}" - ] - }, - "subscribers_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the subscribers on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/subscribers" - ] - }, - "subscription_url": { - "type": "string", - "format": "uri", - "description": "The API URL to subscribe to notifications for this repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/subscription" - ] - }, - "tags_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get information about tags on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/tags" - ] - }, - "teams_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the teams on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/teams" - ] - }, - "trees_url": { - "type": "string", - "description": "A template for the API URL to create or retrieve a raw Git tree of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" - ] - }, - "hooks_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the hooks on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/hooks" - ] - } - }, - "required": [ - "archive_url", - "assignees_url", - "blobs_url", - "branches_url", - "collaborators_url", - "comments_url", - "commits_url", - "compare_url", - "contents_url", - "contributors_url", - "deployments_url", - "description", - "downloads_url", - "events_url", - "fork", - "forks_url", - "full_name", - "git_commits_url", - "git_refs_url", - "git_tags_url", - "hooks_url", - "html_url", - "id", - "node_id", - "issue_comment_url", - "issue_events_url", - "issues_url", - "keys_url", - "labels_url", - "languages_url", - "merges_url", - "milestones_url", - "name", - "notifications_url", - "owner", - "private", - "pulls_url", - "releases_url", - "stargazers_url", - "statuses_url", - "subscribers_url", - "subscription_url", - "tags_url", - "teams_url", - "trees_url", - "url" - ] - }, - "code-scanning-organization-alert-items": { - "type": "object", - "properties": { - "number": { "$ref": "#/components/schemas/alert-number" }, - "created_at": { "$ref": "#/components/schemas/alert-created-at" }, - "updated_at": { "$ref": "#/components/schemas/alert-updated-at" }, - "url": { "$ref": "#/components/schemas/alert-url" }, - "html_url": { "$ref": "#/components/schemas/alert-html-url" }, - "instances_url": { - "$ref": "#/components/schemas/alert-instances-url" - }, - "state": { "$ref": "#/components/schemas/code-scanning-alert-state" }, - "fixed_at": { "$ref": "#/components/schemas/alert-fixed-at" }, - "dismissed_by": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "dismissed_at": { "$ref": "#/components/schemas/alert-dismissed-at" }, - "dismissed_reason": { - "$ref": "#/components/schemas/code-scanning-alert-dismissed-reason" - }, - "dismissed_comment": { - "$ref": "#/components/schemas/code-scanning-alert-dismissed-comment" - }, - "rule": { - "$ref": "#/components/schemas/code-scanning-alert-rule-summary" - }, - "tool": { - "$ref": "#/components/schemas/code-scanning-analysis-tool" - }, - "most_recent_instance": { - "$ref": "#/components/schemas/code-scanning-alert-instance" - }, - "repository": { "$ref": "#/components/schemas/simple-repository" }, - "dismissal_approved_by": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - } - }, - "required": [ - "number", - "created_at", - "url", - "html_url", - "instances_url", - "state", - "dismissed_by", - "dismissed_at", - "dismissed_reason", - "rule", - "tool", - "most_recent_instance", - "repository" - ] - }, - "enterprise-security-analysis-settings": { - "title": "Enterprise Security Analysis Settings", - "type": "object", - "properties": { - "advanced_security_enabled_for_new_repositories": { - "type": "boolean", - "description": "Whether GitHub advanced security is automatically enabled for new repositories and repositories transferred to\nthis enterprise.", - "examples": [false] - }, - "advanced_security_enabled_for_new_user_namespace_repositories": { - "type": "boolean", - "description": "Whether GitHub Advanced Security is automatically enabled for new user namespace repositories.", - "examples": [false] - }, - "dependabot_alerts_enabled_for_new_repositories": { - "type": "boolean", - "description": "Whether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this\nenterprise.", - "examples": [false] - }, - "secret_scanning_enabled_for_new_repositories": { - "type": "boolean", - "description": "Whether secret scanning is automatically enabled for new repositories and repositories transferred to this\nenterprise.", - "examples": [false] - }, - "secret_scanning_push_protection_enabled_for_new_repositories": { - "type": "boolean", - "description": "Whether secret scanning push protection is automatically enabled for new repositories and repositories\ntransferred to this enterprise.", - "examples": [false] - }, - "secret_scanning_push_protection_custom_link": { - "type": ["string", "null"], - "description": "An optional URL string to display to contributors who are blocked from pushing a secret.", - "examples": [ - "https://github.com/test-org/test-repo/blob/main/README.md" - ] - } - }, - "required": [ - "advanced_security_enabled_for_new_repositories", - "dependabot_alerts_enabled_for_new_repositories", - "secret_scanning_enabled_for_new_repositories", - "secret_scanning_push_protection_enabled_for_new_repositories" - ] - }, - "dependabot-alert-package": { - "type": "object", - "description": "Details for the vulnerable package.", - "readOnly": true, - "properties": { - "ecosystem": { - "type": "string", - "description": "The package's language or package management ecosystem.", - "readOnly": true - }, - "name": { - "type": "string", - "description": "The unique package name within its ecosystem.", - "readOnly": true - } - }, - "required": ["ecosystem", "name"], - "additionalProperties": false - }, - "dependabot-alert-security-vulnerability": { - "type": "object", - "description": "Details pertaining to one vulnerable version range for the advisory.", - "readOnly": true, - "properties": { - "package": { - "$ref": "#/components/schemas/dependabot-alert-package" - }, - "severity": { - "type": "string", - "description": "The severity of the vulnerability.", - "readOnly": true, - "enum": ["low", "medium", "high", "critical"] - }, - "vulnerable_version_range": { - "type": "string", - "description": "Conditions that identify vulnerable versions of this vulnerability's package.", - "readOnly": true - }, - "first_patched_version": { - "type": ["object", "null"], - "description": "Details pertaining to the package version that patches this vulnerability.", - "readOnly": true, - "properties": { - "identifier": { - "type": "string", - "description": "The package version that patches this vulnerability.", - "readOnly": true - } - }, - "required": ["identifier"], - "additionalProperties": false - } - }, - "required": [ - "package", - "severity", - "vulnerable_version_range", - "first_patched_version" - ], - "additionalProperties": false - }, - "dependabot-alert-security-advisory": { - "type": "object", - "description": "Details for the GitHub Security Advisory.", - "readOnly": true, - "properties": { - "ghsa_id": { - "type": "string", - "description": "The unique GitHub Security Advisory ID assigned to the advisory.", - "readOnly": true - }, - "cve_id": { - "type": ["string", "null"], - "description": "The unique CVE ID assigned to the advisory.", - "readOnly": true - }, - "summary": { - "type": "string", - "description": "A short, plain text summary of the advisory.", - "readOnly": true, - "maxLength": 1024 - }, - "description": { - "type": "string", - "description": "A long-form Markdown-supported description of the advisory.", - "readOnly": true - }, - "vulnerabilities": { - "type": "array", - "description": "Vulnerable version range information for the advisory.", - "readOnly": true, - "items": { - "$ref": "#/components/schemas/dependabot-alert-security-vulnerability" - } - }, - "severity": { - "type": "string", - "description": "The severity of the advisory.", - "readOnly": true, - "enum": ["low", "medium", "high", "critical"] - }, - "cvss": { - "type": "object", - "description": "Details for the advisory pertaining to the Common Vulnerability Scoring System.", - "readOnly": true, - "properties": { - "score": { - "type": "number", - "description": "The overall CVSS score of the advisory.", - "minimum": 0, - "maximum": 10, - "readOnly": true - }, - "vector_string": { - "type": ["string", "null"], - "description": "The full CVSS vector string for the advisory.", - "readOnly": true - } - }, - "required": ["score", "vector_string"], - "additionalProperties": false - }, - "cvss_severities": { "$ref": "#/components/schemas/cvss-severities" }, - "cwes": { - "type": "array", - "description": "Details for the advisory pertaining to Common Weakness Enumeration.", - "readOnly": true, - "items": { - "type": "object", - "description": "A CWE weakness assigned to the advisory.", - "readOnly": true, - "properties": { - "cwe_id": { - "type": "string", - "description": "The unique CWE ID.", - "readOnly": true - }, - "name": { - "type": "string", - "description": "The short, plain text name of the CWE.", - "readOnly": true - } - }, - "required": ["cwe_id", "name"], - "additionalProperties": false - } - }, - "identifiers": { - "type": "array", - "description": "Values that identify this advisory among security information sources.", - "readOnly": true, - "items": { - "type": "object", - "description": "An advisory identifier.", - "readOnly": true, - "properties": { - "type": { - "type": "string", - "description": "The type of advisory identifier.", - "readOnly": true, - "enum": ["CVE", "GHSA"] - }, - "value": { - "type": "string", - "description": "The value of the advisory identifer.", - "readOnly": true - } - }, - "required": ["value", "type"], - "additionalProperties": false - } - }, - "references": { - "type": "array", - "description": "Links to additional advisory information.", - "readOnly": true, - "items": { - "type": "object", - "description": "A link to additional advisory information.", - "readOnly": true, - "properties": { - "url": { - "type": "string", - "description": "The URL of the reference.", - "format": "uri", - "readOnly": true - } - }, - "required": ["url"], - "additionalProperties": false - } - }, - "published_at": { - "type": "string", - "description": "The time that the advisory was published in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "format": "date-time", - "readOnly": true - }, - "updated_at": { - "type": "string", - "description": "The time that the advisory was last modified in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "format": "date-time", - "readOnly": true - }, - "withdrawn_at": { - "type": ["string", "null"], - "description": "The time that the advisory was withdrawn in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "format": "date-time", - "readOnly": true - } - }, - "required": [ - "ghsa_id", - "cve_id", - "summary", - "description", - "vulnerabilities", - "severity", - "cvss", - "cwes", - "identifiers", - "references", - "published_at", - "updated_at", - "withdrawn_at" - ], - "additionalProperties": false - }, - "alert-auto-dismissed-at": { - "type": ["string", "null"], - "description": "The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "format": "date-time", - "readOnly": true - }, - "dependabot-alert-with-repository": { - "type": "object", - "description": "A Dependabot alert.", - "properties": { - "number": { "$ref": "#/components/schemas/alert-number" }, - "state": { - "type": "string", - "description": "The state of the Dependabot alert.", - "readOnly": true, - "enum": ["auto_dismissed", "dismissed", "fixed", "open"] - }, - "dependency": { - "type": "object", - "description": "Details for the vulnerable dependency.", - "readOnly": true, - "properties": { - "package": { - "$ref": "#/components/schemas/dependabot-alert-package" - }, - "manifest_path": { - "type": "string", - "description": "The full path to the dependency manifest file, relative to the root of the repository.", - "readOnly": true - }, - "scope": { - "type": ["string", "null"], - "description": "The execution scope of the vulnerable dependency.", - "readOnly": true, - "enum": ["development", "runtime", null] - } - } - }, - "security_advisory": { - "$ref": "#/components/schemas/dependabot-alert-security-advisory" - }, - "security_vulnerability": { - "$ref": "#/components/schemas/dependabot-alert-security-vulnerability" - }, - "url": { "$ref": "#/components/schemas/alert-url" }, - "html_url": { "$ref": "#/components/schemas/alert-html-url" }, - "created_at": { "$ref": "#/components/schemas/alert-created-at" }, - "updated_at": { "$ref": "#/components/schemas/alert-updated-at" }, - "dismissed_at": { "$ref": "#/components/schemas/alert-dismissed-at" }, - "dismissed_by": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "dismissed_reason": { - "type": ["string", "null"], - "description": "The reason that the alert was dismissed.", - "enum": [ - "fix_started", - "inaccurate", - "no_bandwidth", - "not_used", - "tolerable_risk", - null - ] - }, - "dismissed_comment": { - "type": ["string", "null"], - "description": "An optional comment associated with the alert's dismissal.", - "maxLength": 280 - }, - "fixed_at": { "$ref": "#/components/schemas/alert-fixed-at" }, - "auto_dismissed_at": { - "$ref": "#/components/schemas/alert-auto-dismissed-at" - }, - "repository": { "$ref": "#/components/schemas/simple-repository" } - }, - "required": [ - "number", - "state", - "dependency", - "security_advisory", - "security_vulnerability", - "url", - "html_url", - "created_at", - "updated_at", - "dismissed_at", - "dismissed_by", - "dismissed_reason", - "dismissed_comment", - "fixed_at", - "repository" - ], - "additionalProperties": false - }, - "secret-scanning-alert-state": { - "description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.", - "type": "string", - "enum": ["open", "resolved"] - }, - "secret-scanning-alert-resolution": { - "type": ["string", "null"], - "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", - "enum": ["false_positive", "wont_fix", "revoked", "used_in_tests", null] - }, - "organization-secret-scanning-alert": { - "type": "object", - "properties": { - "number": { "$ref": "#/components/schemas/alert-number" }, - "created_at": { "$ref": "#/components/schemas/alert-created-at" }, - "updated_at": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/alert-updated-at" } - ] - }, - "url": { "$ref": "#/components/schemas/alert-url" }, - "html_url": { "$ref": "#/components/schemas/alert-html-url" }, - "locations_url": { - "type": "string", - "format": "uri", - "description": "The REST API URL of the code locations for this alert." - }, - "state": { - "$ref": "#/components/schemas/secret-scanning-alert-state" - }, - "resolution": { - "$ref": "#/components/schemas/secret-scanning-alert-resolution" - }, - "resolved_at": { - "type": ["string", "null"], - "format": "date-time", - "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "resolved_by": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "secret_type": { - "type": "string", - "description": "The type of secret that secret scanning detected." - }, - "secret_type_display_name": { - "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/enterprise-server@3.13/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" - }, - "secret": { - "type": "string", - "description": "The secret that was detected." - }, - "repository": { "$ref": "#/components/schemas/simple-repository" }, - "push_protection_bypassed": { - "type": ["boolean", "null"], - "description": "Whether push protection was bypassed for the detected secret." - }, - "push_protection_bypassed_by": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "push_protection_bypassed_at": { - "type": ["string", "null"], - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "resolution_comment": { - "type": ["string", "null"], - "description": "The comment that was optionally added when this alert was closed" - }, - "validity": { - "type": "string", - "description": "The token status as of the latest validity check.", - "enum": ["active", "inactive", "unknown"] - } - } - }, - "advanced-security-active-committers-user": { - "type": "object", - "properties": { - "user_login": { "type": "string" }, - "last_pushed_date": { "type": "string", "examples": ["2021-11-03"] }, - "last_pushed_email": { - "type": "string", - "examples": ["monalisa@github.com"] - } - }, - "required": ["user_login", "last_pushed_date", "last_pushed_email"] - }, - "advanced-security-active-committers-repository": { - "type": "object", - "properties": { - "name": { "type": "string", "examples": ["octocat/Hello-World"] }, - "advanced_security_committers": { - "type": "integer", - "examples": [25] - }, - "advanced_security_committers_breakdown": { - "type": "array", - "items": { - "$ref": "#/components/schemas/advanced-security-active-committers-user" - } - } - }, - "required": [ - "name", - "advanced_security_committers", - "advanced_security_committers_breakdown" - ] - }, - "advanced-security-active-committers": { - "type": "object", - "properties": { - "total_advanced_security_committers": { - "type": "integer", - "examples": [25] - }, - "total_count": { "type": "integer", "examples": [2] }, - "maximum_advanced_security_committers": { - "type": "integer", - "description": "The total number of GitHub Advanced Security licences required if all repositories were to enable GitHub Advanced Security", - "examples": [4] - }, - "purchased_advanced_security_committers": { - "type": "integer", - "description": "The total number of GitHub Advanced Security licences purchased", - "examples": [4] - }, - "repositories": { - "type": "array", - "items": { - "$ref": "#/components/schemas/advanced-security-active-committers-repository" - } - } - }, - "required": ["repositories"] - }, - "actor": { - "title": "Actor", - "description": "Actor", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "login": { "type": "string" }, - "display_login": { "type": "string" }, - "gravatar_id": { "type": ["string", "null"] }, - "url": { "type": "string", "format": "uri" }, - "avatar_url": { "type": "string", "format": "uri" } - }, - "required": ["id", "login", "gravatar_id", "url", "avatar_url"] - }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/milestones/1" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat/Hello-World/milestones/v1.0" - ] - }, - "labels_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" - ] - }, - "id": { "type": "integer", "examples": [1002604] }, - "node_id": { - "type": "string", - "examples": ["MDk6TWlsZXN0b25lMTAwMjYwNA=="] - }, - "number": { - "description": "The number of the milestone.", - "type": "integer", - "examples": [42] - }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"], - "default": "open", - "examples": ["open"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string", - "examples": ["v1.0"] - }, - "description": { - "type": ["string", "null"], - "examples": ["Tracking milestone for version 1.0"] - }, - "creator": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "open_issues": { "type": "integer", "examples": [4] }, - "closed_issues": { "type": "integer", "examples": [8] }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": ["2011-04-10T20:09:31Z"] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": ["2014-03-03T18:58:10Z"] - }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2013-02-12T13:22:01Z"] - }, - "due_on": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2012-10-09T23:39:01Z"] - } - }, - "required": [ - "closed_issues", - "creator", - "description", - "due_on", - "closed_at", - "id", - "node_id", - "labels_url", - "html_url", - "number", - "open_issues", - "state", - "title", - "url", - "created_at", - "updated_at" - ] - }, - "issue-type": { - "title": "Issue Type", - "description": "The type of issue.", - "type": ["object", "null"], - "properties": { - "id": { - "type": "integer", - "description": "The unique identifier of the issue type." - }, - "node_id": { - "type": "string", - "description": "The node identifier of the issue type." - }, - "name": { - "type": "string", - "description": "The name of the issue type." - }, - "description": { - "type": ["string", "null"], - "description": "The description of the issue type." - }, - "color": { - "type": ["string", "null"], - "description": "The color of the issue type.", - "enum": [ - "gray", - "blue", - "green", - "yellow", - "orange", - "red", - "pink", - "purple", - null - ] - }, - "created_at": { - "type": "string", - "description": "The time the issue type created.", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "description": "The time the issue type last updated.", - "format": "date-time" - }, - "is_enabled": { - "type": "boolean", - "description": "The enabled state of the issue type." - } - }, - "required": ["id", "node_id", "name", "description"] - }, - "author-association": { - "title": "author_association", - "type": "string", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ], - "examples": ["OWNER"] - }, - "reaction-rollup": { - "title": "Reaction Rollup", - "type": "object", - "properties": { - "url": { "type": "string", "format": "uri" }, - "total_count": { "type": "integer" }, - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "laugh": { "type": "integer" }, - "confused": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "eyes": { "type": "integer" }, - "rocket": { "type": "integer" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] - }, - "sub-issues-summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] - }, - "issue": { - "title": "Issue", - "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", - "type": "object", - "properties": { - "id": { "type": "integer", "format": "int64" }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the issue", - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/repositories/42/issues/1"] - }, - "repository_url": { "type": "string", "format": "uri" }, - "labels_url": { "type": "string" }, - "comments_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "number": { - "description": "Number uniquely identifying the issue within its repository", - "type": "integer", - "examples": [42] - }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "examples": ["open"] - }, - "state_reason": { - "description": "The reason for the current state", - "type": ["string", "null"], - "enum": ["completed", "reopened", "not_planned", null], - "examples": ["not_planned"] - }, - "title": { - "description": "Title of the issue", - "type": "string", - "examples": ["Widget creation fails in Safari on OS X 10.8"] - }, - "body": { - "description": "Contents of the issue", - "type": ["string", "null"], - "examples": [ - "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?" - ] - }, - "user": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "labels": { - "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", - "type": "array", - "items": { - "oneOf": [ - { "type": "string" }, - { - "type": "object", - "properties": { - "id": { "type": "integer", "format": "int64" }, - "node_id": { "type": "string" }, - "url": { "type": "string", "format": "uri" }, - "name": { "type": "string" }, - "description": { "type": ["string", "null"] }, - "color": { "type": ["string", "null"] }, - "default": { "type": "boolean" } - } - } - ] - }, - "examples": ["bug", "registration"] - }, - "assignee": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "assignees": { - "type": ["array", "null"], - "items": { "$ref": "#/components/schemas/simple-user" } - }, - "milestone": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/milestone" } - ] - }, - "locked": { "type": "boolean" }, - "active_lock_reason": { "type": ["string", "null"] }, - "comments": { "type": "integer" }, - "pull_request": { - "type": "object", - "properties": { - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "diff_url": { "type": ["string", "null"], "format": "uri" }, - "html_url": { "type": ["string", "null"], "format": "uri" }, - "patch_url": { "type": ["string", "null"], "format": "uri" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["diff_url", "html_url", "patch_url", "url"] - }, - "closed_at": { "type": ["string", "null"], "format": "date-time" }, - "created_at": { "type": "string", "format": "date-time" }, - "updated_at": { "type": "string", "format": "date-time" }, - "draft": { "type": "boolean" }, - "closed_by": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "body_html": { "type": "string" }, - "body_text": { "type": "string" }, - "timeline_url": { "type": "string", "format": "uri" }, - "type": { "$ref": "#/components/schemas/issue-type" }, - "repository": { "$ref": "#/components/schemas/repository" }, - "performed_via_github_app": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/integration" } - ] - }, - "author_association": { - "$ref": "#/components/schemas/author-association" - }, - "reactions": { "$ref": "#/components/schemas/reaction-rollup" }, - "sub_issues_summary": { - "$ref": "#/components/schemas/sub-issues-summary" - } - }, - "required": [ - "assignee", - "closed_at", - "comments", - "comments_url", - "events_url", - "html_url", - "id", - "node_id", - "labels", - "labels_url", - "milestone", - "number", - "repository_url", - "state", - "locked", - "title", - "url", - "user", - "author_association", - "created_at", - "updated_at" - ] - }, - "issue-comment": { - "title": "Issue Comment", - "description": "Comments provide a way for people to collaborate on an issue.", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier of the issue comment", - "type": "integer", - "format": "int64", - "examples": [42] - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the issue comment", - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repositories/42/issues/comments/1" - ] - }, - "body": { - "description": "Contents of the issue comment", - "type": "string", - "examples": [ - "What version of Safari were you using when you observed this bug?" - ] - }, - "body_text": { "type": "string" }, - "body_html": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "user": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": ["2011-04-14T16:00:49Z"] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": ["2011-04-14T16:00:49Z"] - }, - "issue_url": { "type": "string", "format": "uri" }, - "author_association": { - "$ref": "#/components/schemas/author-association" - }, - "performed_via_github_app": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/integration" } - ] - }, - "reactions": { "$ref": "#/components/schemas/reaction-rollup" } - }, - "required": [ - "id", - "node_id", - "html_url", - "issue_url", - "author_association", - "user", - "url", - "created_at", - "updated_at" - ] - }, - "event": { - "title": "Event", - "description": "Event", - "type": "object", - "properties": { - "id": { "type": "string" }, - "type": { "type": ["string", "null"] }, - "actor": { "$ref": "#/components/schemas/actor" }, - "repo": { - "type": "object", - "properties": { - "id": { "type": "integer" }, - "name": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["id", "name", "url"] - }, - "org": { "$ref": "#/components/schemas/actor" }, - "payload": { - "type": "object", - "properties": { - "action": { "type": "string" }, - "issue": { "$ref": "#/components/schemas/issue" }, - "comment": { "$ref": "#/components/schemas/issue-comment" }, - "pages": { - "type": "array", - "items": { - "type": "object", - "properties": { - "page_name": { "type": "string" }, - "title": { "type": "string" }, - "summary": { "type": ["string", "null"] }, - "action": { "type": "string" }, - "sha": { "type": "string" }, - "html_url": { "type": "string" } - } - } - } - } - }, - "public": { "type": "boolean" }, - "created_at": { "type": ["string", "null"], "format": "date-time" } - }, - "required": [ - "id", - "type", - "actor", - "repo", - "payload", - "public", - "created_at" - ] - }, - "link-with-type": { - "title": "Link With Type", - "description": "Hypermedia Link with Type", - "type": "object", - "properties": { - "href": { "type": "string" }, - "type": { "type": "string" } - }, - "required": ["href", "type"] - }, - "feed": { - "title": "Feed", - "description": "Feed", - "type": "object", - "properties": { - "timeline_url": { - "type": "string", - "examples": ["https://github.com/timeline"] - }, - "user_url": { - "type": "string", - "examples": ["https://github.com/{user}"] - }, - "current_user_public_url": { - "type": "string", - "examples": ["https://github.com/octocat"] - }, - "current_user_url": { - "type": "string", - "examples": ["https://github.com/octocat.private?token=abc123"] - }, - "current_user_actor_url": { - "type": "string", - "examples": [ - "https://github.com/octocat.private.actor?token=abc123" - ] - }, - "current_user_organization_url": { - "type": "string", - "examples": ["https://github.com/octocat-org"] - }, - "current_user_organization_urls": { - "type": "array", - "items": { "type": "string", "format": "uri" }, - "examples": [ - "https://github.com/organizations/github/octocat.private.atom?token=abc123" - ] - }, - "security_advisories_url": { - "type": "string", - "examples": ["https://github.com/security-advisories"] - }, - "repository_discussions_url": { - "type": "string", - "description": "A feed of discussions for a given repository.", - "examples": ["https://github.com/{user}/{repo}/discussions"] - }, - "repository_discussions_category_url": { - "type": "string", - "description": "A feed of discussions for a given repository and category.", - "examples": [ - "https://github.com/{user}/{repo}/discussions/categories/{category}" - ] - }, - "_links": { - "type": "object", - "properties": { - "timeline": { "$ref": "#/components/schemas/link-with-type" }, - "user": { "$ref": "#/components/schemas/link-with-type" }, - "security_advisories": { - "$ref": "#/components/schemas/link-with-type" - }, - "current_user": { "$ref": "#/components/schemas/link-with-type" }, - "current_user_public": { - "$ref": "#/components/schemas/link-with-type" - }, - "current_user_actor": { - "$ref": "#/components/schemas/link-with-type" - }, - "current_user_organization": { - "$ref": "#/components/schemas/link-with-type" - }, - "current_user_organizations": { - "type": "array", - "items": { "$ref": "#/components/schemas/link-with-type" } - }, - "repository_discussions": { - "$ref": "#/components/schemas/link-with-type" - }, - "repository_discussions_category": { - "$ref": "#/components/schemas/link-with-type" - } - }, - "required": ["timeline", "user"] - } - }, - "required": ["_links", "timeline_url", "user_url"] - }, - "base-gist": { - "title": "Base Gist", - "description": "Base Gist", - "type": "object", - "properties": { - "url": { "type": "string", "format": "uri" }, - "forks_url": { "type": "string", "format": "uri" }, - "commits_url": { "type": "string", "format": "uri" }, - "id": { "type": "string" }, - "node_id": { "type": "string" }, - "git_pull_url": { "type": "string", "format": "uri" }, - "git_push_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "files": { - "type": "object", - "additionalProperties": { - "type": "object", - "properties": { - "filename": { "type": "string" }, - "type": { "type": "string" }, - "language": { "type": "string" }, - "raw_url": { "type": "string" }, - "size": { "type": "integer" }, - "encoding": { - "type": "string", - "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.", - "default": "utf-8" - } - } - } - }, - "public": { "type": "boolean" }, - "created_at": { "type": "string", "format": "date-time" }, - "updated_at": { "type": "string", "format": "date-time" }, - "description": { "type": ["string", "null"] }, - "comments": { "type": "integer" }, - "user": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "comments_url": { "type": "string", "format": "uri" }, - "owner": { "$ref": "#/components/schemas/simple-user" }, - "truncated": { "type": "boolean" }, - "forks": { "type": "array", "items": {} }, - "history": { "type": "array", "items": {} } - }, - "required": [ - "id", - "node_id", - "url", - "forks_url", - "commits_url", - "git_pull_url", - "git_push_url", - "html_url", - "comments_url", - "public", - "description", - "comments", - "user", - "files", - "created_at", - "updated_at" - ] - }, - "public-user": { - "title": "Public User", - "description": "Public User", - "type": "object", - "properties": { - "login": { "type": "string" }, - "id": { "type": "integer", "format": "int64" }, - "user_view_type": { "type": "string" }, - "node_id": { "type": "string" }, - "avatar_url": { "type": "string", "format": "uri" }, - "gravatar_id": { "type": ["string", "null"] }, - "url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "organizations_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string" }, - "received_events_url": { "type": "string", "format": "uri" }, - "type": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "name": { "type": ["string", "null"] }, - "company": { "type": ["string", "null"] }, - "blog": { "type": ["string", "null"] }, - "location": { "type": ["string", "null"] }, - "email": { "type": ["string", "null"], "format": "email" }, - "notification_email": { - "type": ["string", "null"], - "format": "email" - }, - "hireable": { "type": ["boolean", "null"] }, - "bio": { "type": ["string", "null"] }, - "twitter_username": { "type": ["string", "null"] }, - "public_repos": { "type": "integer" }, - "public_gists": { "type": "integer" }, - "followers": { "type": "integer" }, - "following": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "updated_at": { "type": "string", "format": "date-time" }, - "plan": { - "type": "object", - "properties": { - "collaborators": { "type": "integer" }, - "name": { "type": "string" }, - "space": { "type": "integer" }, - "private_repos": { "type": "integer" } - }, - "required": ["collaborators", "name", "space", "private_repos"] - }, - "private_gists": { "type": "integer", "examples": [1] }, - "total_private_repos": { "type": "integer", "examples": [2] }, - "owned_private_repos": { "type": "integer", "examples": [2] }, - "disk_usage": { "type": "integer", "examples": [1] }, - "collaborators": { "type": "integer", "examples": [3] } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url", - "bio", - "blog", - "company", - "email", - "followers", - "following", - "hireable", - "location", - "name", - "public_gists", - "public_repos", - "created_at", - "updated_at" - ], - "additionalProperties": false - }, - "gist-history": { - "title": "Gist History", - "description": "Gist History", - "type": "object", - "properties": { - "user": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "version": { "type": "string" }, - "committed_at": { "type": "string", "format": "date-time" }, - "change_status": { - "type": "object", - "properties": { - "total": { "type": "integer" }, - "additions": { "type": "integer" }, - "deletions": { "type": "integer" } - } - }, - "url": { "type": "string", "format": "uri" } - } - }, - "gist-simple": { - "title": "Gist Simple", - "description": "Gist Simple", - "type": "object", - "properties": { - "forks": { - "deprecated": true, - "type": ["array", "null"], - "items": { - "type": "object", - "properties": { - "id": { "type": "string" }, - "url": { "type": "string", "format": "uri" }, - "user": { "$ref": "#/components/schemas/public-user" }, - "created_at": { "type": "string", "format": "date-time" }, - "updated_at": { "type": "string", "format": "date-time" } - } - } - }, - "history": { - "deprecated": true, - "type": ["array", "null"], - "items": { "$ref": "#/components/schemas/gist-history" } - }, - "fork_of": { - "title": "Gist", - "description": "Gist", - "type": ["object", "null"], - "properties": { - "url": { "type": "string", "format": "uri" }, - "forks_url": { "type": "string", "format": "uri" }, - "commits_url": { "type": "string", "format": "uri" }, - "id": { "type": "string" }, - "node_id": { "type": "string" }, - "git_pull_url": { "type": "string", "format": "uri" }, - "git_push_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "files": { - "type": "object", - "additionalProperties": { - "type": "object", - "properties": { - "filename": { "type": "string" }, - "type": { "type": "string" }, - "language": { "type": "string" }, - "raw_url": { "type": "string" }, - "size": { "type": "integer" } - } - } - }, - "public": { "type": "boolean" }, - "created_at": { "type": "string", "format": "date-time" }, - "updated_at": { "type": "string", "format": "date-time" }, - "description": { "type": ["string", "null"] }, - "comments": { "type": "integer" }, - "user": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "comments_url": { "type": "string", "format": "uri" }, - "owner": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "truncated": { "type": "boolean" }, - "forks": { "type": "array", "items": {} }, - "history": { "type": "array", "items": {} } - }, - "required": [ - "id", - "node_id", - "url", - "forks_url", - "commits_url", - "git_pull_url", - "git_push_url", - "html_url", - "comments_url", - "public", - "description", - "comments", - "user", - "files", - "created_at", - "updated_at" - ] - }, - "url": { "type": "string" }, - "forks_url": { "type": "string" }, - "commits_url": { "type": "string" }, - "id": { "type": "string" }, - "node_id": { "type": "string" }, - "git_pull_url": { "type": "string" }, - "git_push_url": { "type": "string" }, - "html_url": { "type": "string" }, - "files": { - "type": "object", - "additionalProperties": { - "type": ["object", "null"], - "properties": { - "filename": { "type": "string" }, - "type": { "type": "string" }, - "language": { "type": "string" }, - "raw_url": { "type": "string" }, - "size": { "type": "integer" }, - "truncated": { "type": "boolean" }, - "content": { "type": "string" }, - "encoding": { - "type": "string", - "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.", - "default": "utf-8" - } - } - } - }, - "public": { "type": "boolean" }, - "created_at": { "type": "string" }, - "updated_at": { "type": "string" }, - "description": { "type": ["string", "null"] }, - "comments": { "type": "integer" }, - "user": { "type": ["string", "null"] }, - "comments_url": { "type": "string" }, - "owner": { "$ref": "#/components/schemas/simple-user" }, - "truncated": { "type": "boolean" } - } - }, - "gist-comment": { - "title": "Gist Comment", - "description": "A comment made to a gist.", - "type": "object", - "properties": { - "id": { "type": "integer", "examples": [1] }, - "node_id": { - "type": "string", - "examples": ["MDExOkdpc3RDb21tZW50MQ=="] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/gists/a6db0bec360bb87e9418/comments/1" - ] - }, - "body": { - "description": "The comment text.", - "type": "string", - "maxLength": 65535, - "examples": ["Body of the attachment"] - }, - "user": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": ["2011-04-18T23:23:56Z"] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": ["2011-04-18T23:23:56Z"] - }, - "author_association": { - "$ref": "#/components/schemas/author-association" - } - }, - "required": [ - "url", - "id", - "node_id", - "user", - "body", - "author_association", - "created_at", - "updated_at" - ] - }, - "gist-commit": { - "title": "Gist Commit", - "description": "Gist Commit", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/gists/aa5a315d61ae9438b18d/57a7f021a713b1c5a6a199b54cc514735d2d462f" - ] - }, - "version": { - "type": "string", - "examples": ["57a7f021a713b1c5a6a199b54cc514735d2d462f"] - }, - "user": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "change_status": { - "type": "object", - "properties": { - "total": { "type": "integer" }, - "additions": { "type": "integer" }, - "deletions": { "type": "integer" } - } - }, - "committed_at": { - "type": "string", - "format": "date-time", - "examples": ["2010-04-14T02:15:15Z"] - } - }, - "required": ["url", "user", "version", "committed_at", "change_status"] - }, - "gitignore-template": { - "title": "Gitignore Template", - "description": "Gitignore Template", - "type": "object", - "properties": { - "name": { "type": "string", "examples": ["C"] }, - "source": { - "type": "string", - "examples": [ - "# Object files\n*.o\n\n# Libraries\n*.lib\n*.a\n\n# Shared objects (inc. Windows DLLs)\n*.dll\n*.so\n*.so.*\n*.dylib\n\n# Executables\n*.exe\n*.out\n*.app\n" - ] - } - }, - "required": ["name", "source"] - }, - "license": { - "title": "License", - "description": "License", - "type": "object", - "properties": { - "key": { "type": "string", "examples": ["mit"] }, - "name": { "type": "string", "examples": ["MIT License"] }, - "spdx_id": { "type": ["string", "null"], "examples": ["MIT"] }, - "url": { - "type": ["string", "null"], - "format": "uri", - "examples": ["https://api.github.com/licenses/mit"] - }, - "node_id": { "type": "string", "examples": ["MDc6TGljZW5zZW1pdA=="] }, - "html_url": { - "type": "string", - "format": "uri", - "examples": ["http://choosealicense.com/licenses/mit/"] - }, - "description": { - "type": "string", - "examples": [ - "A permissive license that is short and to the point. It lets people do anything with your code with proper attribution and without warranty." - ] - }, - "implementation": { - "type": "string", - "examples": [ - "Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders." - ] - }, - "permissions": { - "type": "array", - "items": { "type": "string" }, - "examples": [ - "commercial-use", - "modifications", - "distribution", - "sublicense", - "private-use" - ] - }, - "conditions": { - "type": "array", - "items": { "type": "string" }, - "examples": ["include-copyright"] - }, - "limitations": { - "type": "array", - "items": { "type": "string" }, - "examples": ["no-liability"] - }, - "body": { - "type": "string", - "examples": [ - "\n\nThe MIT License (MIT)\n\nCopyright (c) [year] [fullname]\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n" - ] - }, - "featured": { "type": "boolean", "examples": [true] } - }, - "required": [ - "key", - "name", - "url", - "spdx_id", - "node_id", - "html_url", - "description", - "implementation", - "permissions", - "conditions", - "limitations", - "body", - "featured" - ] - }, - "ghes-get-ssh": { - "type": "array", - "items": { - "type": "object", - "properties": { - "key": { - "type": "string", - "format": "ssh-key", - "description": "The full public key" - }, - "fingerprint": { - "type": "string", - "format": "ssh-key fingerprint", - "description": "The fingerprint of the key" - } - } - } - }, - "ghes-set-ssh-request": { - "title": "Set SSH key", - "type": "object", - "properties": { - "key": { - "description": "The public SSH key to add to the `authorized_keys` file.", - "type": "string" - } - }, - "required": ["key"] - }, - "ghes-set-ssh-response": { - "type": "array", - "items": { - "type": "object", - "properties": { - "hostname": { - "type": "string", - "format": "hostname", - "description": "Hostname of the node where the SSH key was added." - }, - "uuid": { - "type": "string", - "format": "uuid", - "description": "UUID of the SSH key that was added." - }, - "message": { - "type": "string", - "description": "Message indicating the result of the SSH key addition." - }, - "error": { - "type": "string", - "description": "Error message indicating the reason for the SSH key addition failure. This field is only present if the SSH key addition failed." - }, - "modified": { - "type": "boolean", - "description": "Whether the SSH key was already present on the `authorized_keys` file." - } - } - } - }, - "ghes-delete-ssh-request": { - "title": "Set SSH key", - "type": "object", - "properties": { - "key": { - "description": "The public SSH key to remove from the `authorized_keys` file.", - "type": "string" - } - }, - "required": ["key"] - }, - "ghes-delete-ssh-response": { - "type": "array", - "items": { - "type": "object", - "properties": { - "hostname": { - "type": "string", - "format": "hostname", - "description": "Hostname of the node where the SSH key was removed." - }, - "uuid": { - "type": "string", - "format": "uuid", - "description": "UUID of the SSH key that was removed." - }, - "message": { - "type": "string", - "description": "Message indicating the result of the SSH key removal." - }, - "error": { - "type": "string", - "description": "Error message indicating the reason for the SSH key removal failure. This field is only present if the SSH key removal failed." - } - } - } - }, - "ghes-checks-result-indicator": { - "type": "string", - "enum": ["OK", "FAILED"] - }, - "ghes-checks-system-requirements": { - "type": "object", - "properties": { - "status": { - "$ref": "#/components/schemas/ghes-checks-result-indicator" - }, - "nodes": { - "type": "array", - "items": { - "type": "object", - "properties": { - "hostname": { "type": "string" }, - "status": { - "$ref": "#/components/schemas/ghes-checks-result-indicator" - }, - "roles_status": { - "type": "array", - "items": { - "type": "object", - "properties": { - "status": { - "$ref": "#/components/schemas/ghes-checks-result-indicator" - }, - "role": { "type": "string" } - } - } - } - } - } - } - } - }, - "ghes-cluster-status-indicator": { - "type": "string", - "enum": ["UNKNOWN", "OK", "WARNING", "CRITICAL"] - }, - "ghes-cluster-status": { - "type": "object", - "properties": { - "status": { - "$ref": "#/components/schemas/ghes-cluster-status-indicator" - }, - "nodes": { - "type": "array", - "items": { - "type": "object", - "properties": { - "hostname": { "type": "string" }, - "status": { - "$ref": "#/components/schemas/ghes-cluster-status-indicator" - }, - "services": { - "type": "array", - "items": { - "type": "object", - "properties": { - "status": { - "$ref": "#/components/schemas/ghes-cluster-status-indicator" - }, - "name": { "type": "string" }, - "details": { "type": "string" } - } - } - } - } - } - } - } - }, - "ghes-config-init-request": { - "title": "Initialize configuration with license upload", - "type": "object", - "properties": { - "license": { - "type": "string", - "description": "The content of your _.ghl_ license file." - }, - "password": { - "type": "string", - "description": "The root site administrator password." - } - }, - "required": ["license", "password"] - }, - "ghes-license-info": { - "type": "object", - "properties": { - "advancedSecurityEnabled": { - "description": "Whether the GitHub Advanced Security feature is enabled.", - "type": "boolean" - }, - "advancedSecuritySeats": { - "description": "If the GitHub Advanced Security feature is enabled, the seat count.", - "type": "integer" - }, - "clusterSupport": { - "description": "Whether the cluster support feature is enabled.", - "type": "boolean" - }, - "company": { - "description": "The company under which the license is issued.", - "type": "string" - }, - "croquetSupport": { - "description": "Whether the GitHub Connect feature is enabled.", - "type": "boolean" - }, - "customTerms": { - "description": "Whether this license is issued under custom terms.", - "type": "boolean" - }, - "evaluation": { - "description": "Wheter this license is issued as an evaluation license.", - "type": "boolean" - }, - "expireAt": { - "description": "The expiration date of the license.", - "type": "string", - "format": "date-time", - "examples": ["2025-01-02T07:59:59Z"] - }, - "insightsEnabled": { - "description": "Whether the insights feature is enabled.", - "type": "boolean" - }, - "insightsExpireAt": { - "description": "If the insights feature is enabled, the expiration date.", - "type": "string", - "format": "date-time", - "examples": ["2025-01-02T07:59:59Z"] - }, - "learningLabEvaluationExpires": { - "description": "If the learning lab feature is enabled, the expiration date.", - "type": "string", - "format": "date-time", - "examples": ["2025-01-02T07:59:59Z"] - }, - "learningLabSeats": { - "description": "If the learning lab feature is enabled, the seat count.", - "type": "integer" - }, - "perpetual": { - "description": "Whether the perpetual feature is enabled.", - "type": "boolean" - }, - "referenceNumber": { - "description": "The unique reference number of the license.", - "type": "string" - }, - "seats": { - "description": "If the license is issued with limited seating, the seat count.", - "type": "integer" - }, - "sshAllowed": { - "description": "Whether the SSH feature is enabled.", - "type": "boolean" - }, - "supportKey": { - "description": "The support key of the license.", - "type": "string" - }, - "unlimitedSeating": { - "description": "Whether the license is issued with unlimited seat count.", - "type": "boolean" - } - } - }, - "ghes-upload-license-request": { - "title": "License upload form", - "type": "object", - "properties": { - "license": { - "type": "string", - "description": "The content of your _.ghl_ license file." - } - }, - "required": ["license"] - }, - "ghes-license-check": { - "type": "object", - "properties": { - "status": { - "description": "The license status of the currently active enterprise license.", - "type": "string", - "enum": [ - "valid", - "invalid", - "expired", - "cluster mode not supported" - ] - } - } - }, - "ghes-cluster-topology": { - "type": "string", - "enum": ["SingleNode", "Ha", "Cluster"] - }, - "ghes-cluster-roles": { - "type": "string", - "enum": [ - "Blank", - "ActionsServer", - "ConsulServer", - "ElasticsearchServer", - "GitServer", - "JobServer", - "LaunchServer", - "MemcacheServer", - "MetricsServer", - "MssqlServer", - "MysqlServer", - "PagesServer", - "RedisServer", - "StorageServer", - "WebServer" - ] - }, - "ghes-config-nodes": { - "type": "object", - "properties": { - "topology": { "$ref": "#/components/schemas/ghes-cluster-topology" }, - "nodes": { - "type": "array", - "items": { - "type": "object", - "properties": { - "hostname": { "type": "string" }, - "uuid": { "type": "string" }, - "replica": { "type": "boolean" }, - "cluster_roles": { - "type": "array", - "items": { "$ref": "#/components/schemas/ghes-cluster-roles" } - } - } - } - } - } - }, - "ghes-get-settings": { - "type": "object", - "properties": { - "private_mode": { "type": "boolean" }, - "public_pages": { "type": "boolean" }, - "subdomain_isolation": { "type": "boolean" }, - "signup_enabled": { "type": "boolean" }, - "github_hostname": { "type": "string" }, - "identicons_host": { "type": "string" }, - "http_proxy": { "type": ["string", "null"] }, - "auth_mode": { "type": "string" }, - "expire_sessions": { "type": "boolean" }, - "admin_password": { "type": ["string", "null"] }, - "configuration_id": { "type": "integer" }, - "configuration_run_count": { "type": "integer" }, - "avatar": { - "type": "object", - "properties": { - "enabled": { "type": "boolean" }, - "uri": { "type": "string" } - } - }, - "customer": { - "type": "object", - "properties": { - "name": { "type": "string" }, - "email": { "type": "string" }, - "uuid": { "type": "string" }, - "secret_key_data": { "type": "string" }, - "public_key_data": { "type": "string" } - } - }, - "license": { - "type": "object", - "properties": { - "seats": { "type": "integer" }, - "evaluation": { "type": "boolean" }, - "perpetual": { "type": "boolean" }, - "unlimited_seating": { "type": "boolean" }, - "support_key": { "type": "string" }, - "ssh_allowed": { "type": "boolean" }, - "cluster_support": { "type": "boolean" }, - "expire_at": { "type": "string" } - } - }, - "github_ssl": { - "type": "object", - "properties": { - "enabled": { "type": "boolean" }, - "cert": { "type": ["string", "null"] }, - "key": { "type": ["string", "null"] } - } - }, - "ldap": { - "type": "object", - "properties": { - "host": { "type": ["string", "null"] }, - "port": { "type": "integer" }, - "base": { "type": "array", "items": { "type": "string" } }, - "uid": { "type": ["string", "null"] }, - "bind_dn": { "type": ["string", "null"] }, - "password": { "type": ["string", "null"] }, - "method": { "type": "string" }, - "search_strategy": { "type": "string" }, - "user_groups": { "type": "array", "items": { "type": "string" } }, - "admin_group": { "type": ["string", "null"] }, - "virtual_attribute_enabled": { "type": "boolean" }, - "recursive_group_search": { "type": "boolean" }, - "posix_support": { "type": "boolean" }, - "user_sync_emails": { "type": "boolean" }, - "user_sync_keys": { "type": "boolean" }, - "user_sync_interval": { "type": "integer" }, - "team_sync_interval": { "type": "integer" }, - "sync_enabled": { "type": "boolean" }, - "reconciliation": { - "type": "object", - "properties": { - "user": { "type": ["string", "null"] }, - "org": { "type": ["string", "null"] } - } - }, - "profile": { - "type": "object", - "properties": { - "uid": { "type": "string" }, - "name": { "type": ["string", "null"] }, - "mail": { "type": ["string", "null"] }, - "key": { "type": ["string", "null"] } - } - } - } - }, - "cas": { - "type": "object", - "properties": { "url": { "type": ["string", "null"] } } - }, - "saml": { - "type": "object", - "properties": { - "sso_url": { "type": ["string", "null"] }, - "certificate": { "type": ["string", "null"] }, - "certificate_path": { "type": ["string", "null"] }, - "issuer": { "type": ["string", "null"] }, - "idp_initiated_sso": { "type": "boolean" }, - "disable_admin_demote": { "type": "boolean" } - } - }, - "github_oauth": { - "type": "object", - "properties": { - "client_id": { "type": "string" }, - "client_secret": { "type": "string" }, - "organization_name": { "type": "string" }, - "organization_team": { "type": "string" } - } - }, - "smtp": { - "type": "object", - "properties": { - "enabled": { "type": "boolean" }, - "address": { "type": "string" }, - "authentication": { "type": "string" }, - "port": { "type": "string" }, - "domain": { "type": "string" }, - "username": { "type": "string" }, - "user_name": { "type": "string" }, - "enable_starttls_auto": { "type": "boolean" }, - "password": { "type": "string" }, - "discard-to-noreply-address": { "type": "boolean" }, - "support_address": { "type": "string" }, - "support_address_type": { "type": "string" }, - "noreply_address": { "type": "string" } - } - }, - "ntp": { - "type": "object", - "properties": { - "primary_server": { "type": "string" }, - "secondary_server": { "type": "string" } - } - }, - "timezone": { "type": ["string", "null"] }, - "snmp": { - "type": "object", - "properties": { - "enabled": { "type": "boolean" }, - "community": { "type": "string" } - } - }, - "syslog": { - "type": "object", - "properties": { - "enabled": { "type": "boolean" }, - "server": { "type": ["string", "null"] }, - "protocol_name": { "type": "string" } - } - }, - "assets": { "type": ["string", "null"] }, - "pages": { - "type": "object", - "properties": { "enabled": { "type": "boolean" } } - }, - "collectd": { - "type": "object", - "properties": { - "enabled": { "type": "boolean" }, - "server": { "type": ["string", "null"] }, - "port": { "type": "integer" }, - "encryption": { "type": ["string", "null"] }, - "username": { "type": ["string", "null"] }, - "password": { "type": ["string", "null"] } - } - }, - "mapping": { - "type": "object", - "properties": { - "enabled": { "type": "boolean" }, - "tileserver": { "type": ["string", "null"] }, - "basemap": { "type": "string" }, - "token": { "type": ["string", "null"] } - } - }, - "load_balancer": { "type": ["string", "null"] } - } - }, - "ghes-get-maintenance": { - "type": "array", - "items": { - "type": "object", - "properties": { - "hostname": { "type": "string", "format": "hostname" }, - "uuid": { "type": "string", "format": "uuid" }, - "status": { "type": "string", "enum": ["on", "off", "scheduled"] }, - "scheduled_time": { "type": "string", "format": "date" }, - "connection_services": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { "type": "string" }, - "number": { "type": "integer" } - } - } - }, - "can_unset_maintenance": { "type": "boolean" }, - "ip_exception_list": { - "type": "array", - "items": { "type": "string", "format": "ip/cidr" } - }, - "maintenance_mode_message": { "type": "string" } - } - } - }, - "ghes-set-maintenance-request": { - "title": "Set Maintenance mode", - "type": "object", - "properties": { - "enabled": { - "description": "Whether to enable maintenance mode.", - "type": "boolean" - }, - "uuid": { - "description": "The UUID of the node to target. This parameter is incompatible with maintenance mode scheduling. Only use `uuid` if the value of `when` is empty or `now`.", - "type": "string", - "format": "uuid" - }, - "when": { - "description": "The time to enable maintenance mode. If this parameter is empty or set to `now`, maintenance mode is enabled immediately. Otherwise, maintenance mode is enabled at the specified time. The format is ISO 8601.", - "type": "string", - "format": "date-time", - "examples": ["2006-01-02T15:04:05+00:00"] - }, - "ip_exception_list": { - "description": "The list of IP addresses to exclude from maintenance mode. IPv4, IPv6, and CIDR addresses are supported.", - "type": "array", - "items": { "type": "string", "format": "ip/cidr" }, - "examples": ["[\"1.1.1.1\",\"192.168.1.0/24\"]"] - }, - "maintenance_mode_message": { - "description": "The message to display to users when maintenance mode is enabled.", - "type": "string" - } - }, - "required": ["enabled"] - }, - "ghes-set-maintenance-response": { - "type": "array", - "items": { - "type": "object", - "properties": { - "hostname": { "type": "string", "format": "hostname" }, - "uuid": { "type": "string", "format": "uuid" }, - "message": { "type": "string" }, - "error": { "type": "string" } - } - } - }, - "ghes-replication-status-indicator": { - "type": "string", - "enum": ["UNKNOWN", "OK", "WARNING", "CRITICAL"] - }, - "ghes-replication-status": { - "type": "object", - "properties": { - "status": { - "$ref": "#/components/schemas/ghes-replication-status-indicator" - }, - "nodes": { - "type": "array", - "items": { - "type": "object", - "properties": { - "hostname": { "type": "string" }, - "status": { - "$ref": "#/components/schemas/ghes-replication-status-indicator" - }, - "services": { - "type": "array", - "items": { - "type": "object", - "properties": { - "status": { - "$ref": "#/components/schemas/ghes-replication-status-indicator" - }, - "name": { "type": "string" }, - "details": { "type": "string" } - } - } - } - } - } - } - } - }, - "ghes-version": { - "type": "array", - "items": { - "type": "object", - "properties": { - "hostname": { "type": "string", "format": "hostname" }, - "version": { - "type": "object", - "properties": { - "version": { - "type": "string", - "pattern": "[0-9]\\.[0-9]{2}\\.[0-9]" - }, - "platform": { - "type": "string", - "enum": ["ami", "azure", "esx", "gce", "hyperv", "kvm"] - }, - "build_id": { "type": "string", "pattern": "[0-9a-f]{8}" }, - "build_date": { "type": "string", "format": "date" } - } - } - } - } - }, - "api-overview": { - "title": "Api Overview", - "description": "Api Overview", - "type": "object", - "properties": { - "verifiable_password_authentication": { - "type": "boolean", - "examples": [true] - }, - "packages": { - "type": "array", - "items": { "type": "string" }, - "examples": ["192.0.2.1"] - }, - "domains": { - "type": "object", - "properties": { - "website": { - "type": "array", - "items": { "type": "string", "examples": ["example.com"] } - }, - "codespaces": { - "type": "array", - "items": { "type": "string", "examples": ["example.com"] } - }, - "copilot": { - "type": "array", - "items": { "type": "string", "examples": ["example.com"] } - }, - "packages": { - "type": "array", - "items": { "type": "string", "examples": ["example.com"] } - }, - "actions": { - "type": "array", - "items": { "type": "string", "examples": ["example.com"] } - }, - "actions_inbound": { - "type": "object", - "properties": { - "full_domains": { - "type": "array", - "items": { "type": "string", "examples": ["example.com"] } - }, - "wildcard_domains": { - "type": "array", - "items": { "type": "string", "examples": ["example.com"] } - } - } - }, - "artifact_attestations": { - "type": "object", - "properties": { - "trust_domain": { "type": "string", "examples": ["example"] }, - "services": { - "type": "array", - "items": { "type": "string", "examples": ["example.com"] } - } - } - } - } - }, - "installed_version": { "type": "string", "examples": ["3.13.0"] } - }, - "required": ["verifiable_password_authentication"] - }, - "security-and-analysis": { - "type": ["object", "null"], - "properties": { - "advanced_security": { - "type": "object", - "properties": { - "status": { "type": "string", "enum": ["enabled", "disabled"] } - } - }, - "dependabot_security_updates": { - "description": "Enable or disable Dependabot security updates for the repository.", - "type": "object", - "properties": { - "status": { - "description": "The enablement status of Dependabot security updates for the repository.", - "type": "string", - "enum": ["enabled", "disabled"] - } - } - }, - "secret_scanning": { - "type": "object", - "properties": { - "status": { "type": "string", "enum": ["enabled", "disabled"] } - } - }, - "secret_scanning_push_protection": { - "type": "object", - "properties": { - "status": { "type": "string", "enum": ["enabled", "disabled"] } - } - } - } - }, - "minimal-repository": { - "title": "Minimal Repository", - "description": "Minimal Repository", - "type": "object", - "properties": { - "id": { "type": "integer", "format": "int64", "examples": [1296269] }, - "node_id": { - "type": "string", - "examples": ["MDEwOlJlcG9zaXRvcnkxMjk2MjY5"] - }, - "name": { "type": "string", "examples": ["Hello-World"] }, - "full_name": { - "type": "string", - "examples": ["octocat/Hello-World"] - }, - "owner": { "$ref": "#/components/schemas/simple-user" }, - "private": { "type": "boolean" }, - "html_url": { - "type": "string", - "format": "uri", - "examples": ["https://github.com/octocat/Hello-World"] - }, - "description": { - "type": ["string", "null"], - "examples": ["This your first repo!"] - }, - "fork": { "type": "boolean" }, - "url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/repos/octocat/Hello-World"] - }, - "archive_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" - ] - }, - "assignees_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" - ] - }, - "blobs_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" - ] - }, - "branches_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" - ] - }, - "collaborators_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" - ] - }, - "comments_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/comments{/number}" - ] - }, - "commits_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" - ] - }, - "compare_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" - ] - }, - "contents_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" - ] - }, - "contributors_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/contributors" - ] - }, - "deployments_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/deployments" - ] - }, - "downloads_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/downloads" - ] - }, - "events_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/events" - ] - }, - "forks_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/forks" - ] - }, - "git_commits_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" - ] - }, - "git_refs_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" - ] - }, - "git_tags_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" - ] - }, - "git_url": { "type": "string" }, - "issue_comment_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" - ] - }, - "issue_events_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" - ] - }, - "issues_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/issues{/number}" - ] - }, - "keys_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" - ] - }, - "labels_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/labels{/name}" - ] - }, - "languages_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/languages" - ] - }, - "merges_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/merges" - ] - }, - "milestones_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" - ] - }, - "notifications_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" - ] - }, - "pulls_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" - ] - }, - "releases_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/releases{/id}" - ] - }, - "ssh_url": { "type": "string" }, - "stargazers_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/stargazers" - ] - }, - "statuses_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" - ] - }, - "subscribers_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/subscribers" - ] - }, - "subscription_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/subscription" - ] - }, - "tags_url": { - "type": "string", - "format": "uri", - "examples": ["http://api.github.com/repos/octocat/Hello-World/tags"] - }, - "teams_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/teams" - ] - }, - "trees_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" - ] - }, - "clone_url": { "type": "string" }, - "mirror_url": { "type": ["string", "null"] }, - "hooks_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/hooks" - ] - }, - "svn_url": { "type": "string" }, - "homepage": { "type": ["string", "null"] }, - "language": { "type": ["string", "null"] }, - "forks_count": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "size": { - "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", - "type": "integer" - }, - "default_branch": { "type": "string" }, - "open_issues_count": { "type": "integer" }, - "is_template": { "type": "boolean" }, - "topics": { "type": "array", "items": { "type": "string" } }, - "has_issues": { "type": "boolean" }, - "has_projects": { "type": "boolean" }, - "has_wiki": { "type": "boolean" }, - "has_pages": { "type": "boolean" }, - "has_downloads": { "type": "boolean" }, - "has_discussions": { "type": "boolean" }, - "archived": { "type": "boolean" }, - "disabled": { "type": "boolean" }, - "visibility": { "type": "string" }, - "pushed_at": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2011-01-26T19:06:43Z"] - }, - "created_at": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2011-01-26T19:01:12Z"] - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2011-01-26T19:14:43Z"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" }, - "pull": { "type": "boolean" } - } - }, - "role_name": { "type": "string", "examples": ["admin"] }, - "temp_clone_token": { "type": "string" }, - "delete_branch_on_merge": { "type": "boolean" }, - "subscribers_count": { "type": "integer" }, - "network_count": { "type": "integer" }, - "code_of_conduct": { "$ref": "#/components/schemas/code-of-conduct" }, - "license": { - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": "string" }, - "node_id": { "type": "string" } - } - }, - "forks": { "type": "integer", "examples": [0] }, - "open_issues": { "type": "integer", "examples": [0] }, - "watchers": { "type": "integer", "examples": [0] }, - "allow_forking": { "type": "boolean" }, - "web_commit_signoff_required": { - "type": "boolean", - "examples": [false] - }, - "security_and_analysis": { - "$ref": "#/components/schemas/security-and-analysis" - } - }, - "required": [ - "archive_url", - "assignees_url", - "blobs_url", - "branches_url", - "collaborators_url", - "comments_url", - "commits_url", - "compare_url", - "contents_url", - "contributors_url", - "deployments_url", - "description", - "downloads_url", - "events_url", - "fork", - "forks_url", - "full_name", - "git_commits_url", - "git_refs_url", - "git_tags_url", - "hooks_url", - "html_url", - "id", - "node_id", - "issue_comment_url", - "issue_events_url", - "issues_url", - "keys_url", - "labels_url", - "languages_url", - "merges_url", - "milestones_url", - "name", - "notifications_url", - "owner", - "private", - "pulls_url", - "releases_url", - "stargazers_url", - "statuses_url", - "subscribers_url", - "subscription_url", - "tags_url", - "teams_url", - "trees_url", - "url" - ] - }, - "thread": { - "title": "Thread", - "description": "Thread", - "type": "object", - "properties": { - "id": { "type": "string" }, - "repository": { "$ref": "#/components/schemas/minimal-repository" }, - "subject": { - "type": "object", - "properties": { - "title": { "type": "string" }, - "url": { "type": "string" }, - "latest_comment_url": { "type": "string" }, - "type": { "type": "string" } - }, - "required": ["title", "url", "latest_comment_url", "type"] - }, - "reason": { "type": "string" }, - "unread": { "type": "boolean" }, - "updated_at": { "type": "string" }, - "last_read_at": { "type": ["string", "null"] }, - "url": { "type": "string" }, - "subscription_url": { - "type": "string", - "examples": [ - "https://api.github.com/notifications/threads/2/subscription" - ] - } - }, - "required": [ - "id", - "unread", - "reason", - "updated_at", - "last_read_at", - "subject", - "repository", - "url", - "subscription_url" - ] - }, - "thread-subscription": { - "title": "Thread Subscription", - "description": "Thread Subscription", - "type": "object", - "properties": { - "subscribed": { "type": "boolean", "examples": [true] }, - "ignored": { "type": "boolean" }, - "reason": { "type": ["string", "null"] }, - "created_at": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2012-10-06T21:34:12Z"] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/notifications/threads/1/subscription" - ] - }, - "thread_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/notifications/threads/1"] - }, - "repository_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/repos/1"] - } - }, - "required": ["created_at", "ignored", "reason", "url", "subscribed"] - }, - "organization-custom-repository-role": { - "title": "Organization Custom Repository Role", - "description": "Custom repository roles created by organization owners", - "type": "object", - "properties": { - "id": { - "description": "The unique identifier of the custom role.", - "type": "integer" - }, - "name": { - "description": "The name of the custom role.", - "type": "string" - }, - "description": { - "description": "A short description about who this role is for or what permissions it grants.", - "type": ["string", "null"] - }, - "base_role": { - "type": "string", - "description": "The system role from which this role inherits permissions.", - "enum": ["read", "triage", "write", "maintain"] - }, - "permissions": { - "description": "A list of additional permissions included in this role.", - "type": "array", - "items": { "type": "string" } - }, - "organization": { "$ref": "#/components/schemas/simple-user" }, - "created_at": { "type": "string", "format": "date-time" }, - "updated_at": { "type": "string", "format": "date-time" } - }, - "required": [ - "id", - "name", - "base_role", - "permissions", - "organization", - "created_at", - "updated_at" - ] - }, - "organization-full": { - "title": "Organization Full", - "description": "Organization Full", - "type": "object", - "properties": { - "login": { "type": "string", "examples": ["github"] }, - "id": { "type": "integer", "examples": [1] }, - "node_id": { - "type": "string", - "examples": ["MDEyOk9yZ2FuaXphdGlvbjE="] - }, - "url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/orgs/github"] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/orgs/github/repos"] - }, - "events_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/orgs/github/events"] - }, - "hooks_url": { - "type": "string", - "examples": ["https://api.github.com/orgs/github/hooks"] - }, - "issues_url": { - "type": "string", - "examples": ["https://api.github.com/orgs/github/issues"] - }, - "members_url": { - "type": "string", - "examples": ["https://api.github.com/orgs/github/members{/member}"] - }, - "public_members_url": { - "type": "string", - "examples": [ - "https://api.github.com/orgs/github/public_members{/member}" - ] - }, - "avatar_url": { - "type": "string", - "examples": ["https://github.com/images/error/octocat_happy.gif"] - }, - "description": { - "type": ["string", "null"], - "examples": ["A great organization"] - }, - "name": { "type": "string", "examples": ["github"] }, - "company": { "type": "string", "examples": ["GitHub"] }, - "blog": { - "type": "string", - "format": "uri", - "examples": ["https://github.com/blog"] - }, - "location": { "type": "string", "examples": ["San Francisco"] }, - "email": { - "type": "string", - "format": "email", - "examples": ["octocat@github.com"] - }, - "twitter_username": { - "type": ["string", "null"], - "examples": ["github"] - }, - "is_verified": { "type": "boolean", "examples": [true] }, - "has_organization_projects": { - "type": "boolean", - "examples": [true] - }, - "has_repository_projects": { "type": "boolean", "examples": [true] }, - "public_repos": { "type": "integer", "examples": [2] }, - "public_gists": { "type": "integer", "examples": [1] }, - "followers": { "type": "integer", "examples": [20] }, - "following": { "type": "integer", "examples": [0] }, - "html_url": { - "type": "string", - "format": "uri", - "examples": ["https://github.com/octocat"] - }, - "type": { "type": "string", "examples": ["Organization"] }, - "total_private_repos": { "type": "integer", "examples": [100] }, - "owned_private_repos": { "type": "integer", "examples": [100] }, - "private_gists": { "type": ["integer", "null"], "examples": [81] }, - "disk_usage": { "type": ["integer", "null"], "examples": [10000] }, - "collaborators": { - "type": ["integer", "null"], - "description": "The number of collaborators on private repositories.\n\nThis field may be null if the number of private repositories is over 50,000.", - "examples": [8] - }, - "billing_email": { - "type": ["string", "null"], - "format": "email", - "examples": ["org@example.com"] - }, - "plan": { - "type": "object", - "properties": { - "name": { "type": "string" }, - "space": { "type": "integer" }, - "private_repos": { "type": "integer" }, - "filled_seats": { "type": "integer" }, - "seats": { "type": "integer" } - }, - "required": ["name", "space", "private_repos"] - }, - "default_repository_permission": { "type": ["string", "null"] }, - "members_can_create_repositories": { - "type": ["boolean", "null"], - "examples": [true] - }, - "two_factor_requirement_enabled": { - "type": ["boolean", "null"], - "examples": [true] - }, - "members_allowed_repository_creation_type": { - "type": "string", - "examples": ["all"] - }, - "members_can_create_public_repositories": { - "type": "boolean", - "examples": [true] - }, - "members_can_create_private_repositories": { - "type": "boolean", - "examples": [true] - }, - "members_can_create_internal_repositories": { - "type": "boolean", - "examples": [true] - }, - "members_can_create_pages": { "type": "boolean", "examples": [true] }, - "members_can_create_public_pages": { - "type": "boolean", - "examples": [true] - }, - "members_can_create_private_pages": { - "type": "boolean", - "examples": [true] - }, - "members_can_fork_private_repositories": { - "type": ["boolean", "null"], - "examples": [false] - }, - "web_commit_signoff_required": { - "type": "boolean", - "examples": [false] - }, - "advanced_security_enabled_for_new_repositories": { - "type": "boolean", - "description": "Whether GitHub Advanced Security is enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", - "examples": [false] - }, - "dependabot_alerts_enabled_for_new_repositories": { - "type": "boolean", - "description": "Whether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", - "examples": [false] - }, - "dependabot_security_updates_enabled_for_new_repositories": { - "type": "boolean", - "description": "Whether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", - "examples": [false] - }, - "dependency_graph_enabled_for_new_repositories": { - "type": "boolean", - "description": "Whether dependency graph is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", - "examples": [false] - }, - "secret_scanning_enabled_for_new_repositories": { - "type": "boolean", - "description": "Whether secret scanning is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", - "examples": [false] - }, - "secret_scanning_push_protection_enabled_for_new_repositories": { - "type": "boolean", - "description": "Whether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", - "examples": [false] - }, - "secret_scanning_push_protection_custom_link_enabled": { - "type": "boolean", - "description": "Whether a custom link is shown to contributors who are blocked from pushing a secret by push protection.", - "examples": [false] - }, - "secret_scanning_push_protection_custom_link": { - "type": ["string", "null"], - "description": "An optional URL string to display to contributors who are blocked from pushing a secret.", - "examples": [ - "https://github.com/test-org/test-repo/blob/main/README.md" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": ["2008-01-14T04:33:35Z"] - }, - "updated_at": { "type": "string", "format": "date-time" }, - "archived_at": { "type": ["string", "null"], "format": "date-time" } - }, - "required": [ - "login", - "url", - "id", - "node_id", - "repos_url", - "events_url", - "hooks_url", - "issues_url", - "members_url", - "public_members_url", - "avatar_url", - "description", - "html_url", - "has_organization_projects", - "has_repository_projects", - "public_repos", - "public_gists", - "followers", - "following", - "type", - "created_at", - "updated_at", - "archived_at" - ] - }, - "actions-cache-usage-by-repository": { - "title": "Actions Cache Usage by repository", - "description": "GitHub Actions Cache Usage by repository.", - "type": "object", - "properties": { - "full_name": { - "description": "The repository owner and name for the cache usage being shown.", - "type": "string", - "examples": ["octo-org/Hello-World"] - }, - "active_caches_size_in_bytes": { - "description": "The sum of the size in bytes of all the active cache items in the repository.", - "type": "integer", - "examples": [2322142] - }, - "active_caches_count": { - "description": "The number of active caches in the repository.", - "type": "integer", - "examples": [3] - } - }, - "required": [ - "full_name", - "active_caches_size_in_bytes", - "active_caches_count" - ] - }, - "oidc-custom-sub": { - "title": "Actions OIDC Subject customization", - "description": "Actions OIDC Subject customization", - "type": "object", - "properties": { - "include_claim_keys": { - "description": "Array of unique strings. Each claim key can only contain alphanumeric characters and underscores.", - "type": "array", - "items": { "type": "string" } - } - }, - "required": ["include_claim_keys"] - }, - "empty-object": { - "title": "Empty Object", - "description": "An object without any properties.", - "type": "object", - "properties": {}, - "additionalProperties": false - }, - "enabled-repositories": { - "type": "string", - "description": "The policy that controls the repositories in the organization that are allowed to run GitHub Actions.", - "enum": ["all", "none", "selected"] - }, - "actions-organization-permissions": { - "type": "object", - "properties": { - "enabled_repositories": { - "$ref": "#/components/schemas/enabled-repositories" - }, - "selected_repositories_url": { - "type": "string", - "description": "The API URL to use to get or set the selected repositories that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`." - }, - "allowed_actions": { "$ref": "#/components/schemas/allowed-actions" }, - "selected_actions_url": { - "$ref": "#/components/schemas/selected-actions-url" - } - }, - "required": ["enabled_repositories"] - }, - "runner-groups-org": { - "type": "object", - "properties": { - "id": { "type": "number" }, - "name": { "type": "string" }, - "visibility": { "type": "string" }, - "default": { "type": "boolean" }, - "selected_repositories_url": { - "description": "Link to the selected repositories resource for this runner group. Not present unless visibility was set to `selected`", - "type": "string" - }, - "runners_url": { "type": "string" }, - "inherited": { "type": "boolean" }, - "inherited_allows_public_repositories": { "type": "boolean" }, - "allows_public_repositories": { "type": "boolean" }, - "workflow_restrictions_read_only": { - "description": "If `true`, the `restricted_to_workflows` and `selected_workflows` fields cannot be modified.", - "type": "boolean", - "default": false - }, - "restricted_to_workflows": { - "description": "If `true`, the runner group will be restricted to running only the workflows specified in the `selected_workflows` array.", - "type": "boolean", - "default": false - }, - "selected_workflows": { - "description": "List of workflows the runner group should be allowed to run. This setting will be ignored unless `restricted_to_workflows` is set to `true`.", - "type": "array", - "items": { - "type": "string", - "description": "Name of workflow the runner group should be allowed to run. Note that a ref, tag, or long SHA is required.", - "examples": [ - "octo-org/octo-repo/.github/workflows/deploy.yaml@main" - ] - } - } - }, - "required": [ - "id", - "name", - "visibility", - "default", - "runners_url", - "inherited", - "allows_public_repositories" - ] - }, - "organization-actions-secret": { - "title": "Actions Secret for an Organization", - "description": "Secrets for GitHub Actions for an organization.", - "type": "object", - "properties": { - "name": { - "description": "The name of the secret.", - "type": "string", - "examples": ["SECRET_TOKEN"] - }, - "created_at": { "type": "string", "format": "date-time" }, - "updated_at": { "type": "string", "format": "date-time" }, - "visibility": { - "description": "Visibility of a secret", - "enum": ["all", "private", "selected"], - "type": "string" - }, - "selected_repositories_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/organizations/org/secrets/my_secret/repositories" - ] - } - }, - "required": ["name", "created_at", "updated_at", "visibility"] - }, - "actions-public-key": { - "title": "ActionsPublicKey", - "description": "The public key used for setting Actions Secrets.", - "type": "object", - "properties": { - "key_id": { - "description": "The identifier for the key.", - "type": "string", - "examples": ["1234567"] - }, - "key": { - "description": "The Base64 encoded public key.", - "type": "string", - "examples": ["hBT5WZEj8ZoOv6TYJsfWq7MxTEQopZO5/IT3ZCVQPzs="] - }, - "id": { "type": "integer", "examples": [2] }, - "url": { - "type": "string", - "examples": ["https://api.github.com/user/keys/2"] - }, - "title": { - "type": "string", - "examples": ["ssh-rsa AAAAB3NzaC1yc2EAAA"] - }, - "created_at": { - "type": "string", - "examples": ["2011-01-26T19:01:12Z"] - } - }, - "required": ["key_id", "key"] - }, - "organization-actions-variable": { - "title": "Actions Variable for an Organization", - "description": "Organization variable for GitHub Actions.", - "type": "object", - "properties": { - "name": { - "description": "The name of the variable.", - "type": "string", - "examples": ["USERNAME"] - }, - "value": { - "description": "The value of the variable.", - "type": "string", - "examples": ["octocat"] - }, - "created_at": { - "description": "The date and time at which the variable was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", - "type": "string", - "format": "date-time", - "examples": ["2019-01-24T22:45:36.000Z"] - }, - "updated_at": { - "description": "The date and time at which the variable was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", - "type": "string", - "format": "date-time", - "examples": ["2019-01-24T22:45:36.000Z"] - }, - "visibility": { - "description": "Visibility of a variable", - "enum": ["all", "private", "selected"], - "type": "string" - }, - "selected_repositories_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/organizations/org/variables/USERNAME/repositories" - ] - } - }, - "required": ["name", "value", "created_at", "updated_at", "visibility"] - }, - "announcement-banner": { - "title": "Announcement Banner", - "description": "Announcement at either the repository, organization, or enterprise level", - "type": "object", - "properties": { - "announcement": { - "$ref": "#/components/schemas/announcement-message" - }, - "expires_at": { - "$ref": "#/components/schemas/announcement-expiration" - }, - "user_dismissible": { - "$ref": "#/components/schemas/announcement-user-dismissible" - } - }, - "required": ["announcement", "expires_at", "user_dismissible"] - }, - "code-scanning-alert-severity": { - "type": "string", - "description": "Severity of a code scanning alert.", - "enum": [ - "critical", - "high", - "medium", - "low", - "warning", - "note", - "error" - ] - }, - "organization-custom-repository-role-create-schema": { - "type": "object", - "properties": { - "name": { - "description": "The name of the custom role.", - "type": "string" - }, - "description": { - "description": "A short description about who this role is for or what permissions it grants.", - "type": ["string", "null"] - }, - "base_role": { - "type": "string", - "description": "The system role from which this role inherits permissions.", - "enum": ["read", "triage", "write", "maintain"] - }, - "permissions": { - "description": "A list of additional permissions included in this role.", - "type": "array", - "items": { "type": "string" } - } - }, - "required": ["name", "base_role", "permissions"] - }, - "organization-custom-repository-role-update-schema": { - "type": "object", - "properties": { - "name": { - "description": "The name of the custom role.", - "type": "string" - }, - "description": { - "description": "A short description about who this role is for or what permissions it grants.", - "type": ["string", "null"] - }, - "base_role": { - "type": "string", - "description": "The system role from which this role inherits permissions.", - "enum": ["read", "triage", "write", "maintain"] - }, - "permissions": { - "description": "A list of additional permissions included in this role.", - "type": "array", - "items": { "type": "string" } - } - } - }, - "organization-dependabot-secret": { - "title": "Dependabot Secret for an Organization", - "description": "Secrets for GitHub Dependabot for an organization.", - "type": "object", - "properties": { - "name": { - "description": "The name of the secret.", - "type": "string", - "examples": ["SECRET_TOKEN"] - }, - "created_at": { "type": "string", "format": "date-time" }, - "updated_at": { "type": "string", "format": "date-time" }, - "visibility": { - "description": "Visibility of a secret", - "enum": ["all", "private", "selected"], - "type": "string" - }, - "selected_repositories_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/organizations/org/dependabot/secrets/my_secret/repositories" - ] - } - }, - "required": ["name", "created_at", "updated_at", "visibility"] - }, - "dependabot-public-key": { - "title": "DependabotPublicKey", - "description": "The public key used for setting Dependabot Secrets.", - "type": "object", - "properties": { - "key_id": { - "description": "The identifier for the key.", - "type": "string", - "examples": ["1234567"] - }, - "key": { - "description": "The Base64 encoded public key.", - "type": "string", - "examples": ["hBT5WZEj8ZoOv6TYJsfWq7MxTEQopZO5/IT3ZCVQPzs="] - } - }, - "required": ["key_id", "key"] - }, - "package": { - "title": "Package", - "description": "A software package", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier of the package.", - "type": "integer", - "examples": [1] - }, - "name": { - "description": "The name of the package.", - "type": "string", - "examples": ["super-linter"] - }, - "package_type": { - "type": "string", - "enum": [ - "npm", - "maven", - "rubygems", - "docker", - "nuget", - "container" - ], - "examples": ["docker"] - }, - "url": { - "type": "string", - "examples": [ - "https://api.github.com/orgs/github/packages/container/super-linter" - ] - }, - "html_url": { - "type": "string", - "examples": [ - "https://github.com/orgs/github/packages/container/package/super-linter" - ] - }, - "version_count": { - "description": "The number of versions of the package.", - "type": "integer", - "examples": [1] - }, - "visibility": { - "type": "string", - "enum": ["private", "public"], - "examples": ["private"] - }, - "owner": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "repository": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/minimal-repository" } - ] - }, - "created_at": { "type": "string", "format": "date-time" }, - "updated_at": { "type": "string", "format": "date-time" } - }, - "required": [ - "id", - "name", - "package_type", - "visibility", - "url", - "html_url", - "version_count", - "created_at", - "updated_at" - ] - }, - "external-group": { - "title": "ExternalGroup", - "description": "Information about an external group's usage and its members", - "type": "object", - "required": ["group_id", "group_name", "teams", "members"], - "properties": { - "group_id": { - "description": "The internal ID of the group", - "type": "integer", - "examples": [1] - }, - "group_name": { - "description": "The display name for the group", - "type": "string", - "examples": ["group-azuread-test"] - }, - "updated_at": { - "description": "The date when the group was last updated_at", - "type": "string", - "examples": ["2021-01-03 22:27:15:000 -700"] - }, - "teams": { - "description": "An array of teams linked to this group", - "type": "array", - "items": { - "type": "object", - "required": ["team_id", "team_name"], - "properties": { - "team_id": { - "description": "The id for a team", - "type": "integer", - "examples": [1] - }, - "team_name": { - "description": "The name of the team", - "type": "string", - "examples": ["team-test"] - } - } - }, - "examples": [ - { "team_id": 1, "team_name": "team-test" }, - { "team_id": 2, "team_name": "team-test2" } - ] - }, - "members": { - "description": "An array of external members linked to this group", - "type": "array", - "items": { - "type": "object", - "required": [ - "member_id", - "member_login", - "member_name", - "member_email" - ], - "properties": { - "member_id": { - "description": "The internal user ID of the identity", - "type": "integer", - "examples": [1] - }, - "member_login": { - "description": "The handle/login for the user", - "type": "string", - "examples": ["mona-lisa_eocsaxrs"] - }, - "member_name": { - "description": "The user display name/profile name", - "type": "string", - "examples": ["Mona Lisa"] - }, - "member_email": { - "description": "An email attached to a user", - "type": "string", - "examples": ["mona_lisa@github.com"] - } - } - }, - "examples": [ - { - "member_id": 1, - "member_login": "mona-lisa_eocsaxrs", - "member_name": "Mona Lisa", - "member_email": "mona_lisa@github.com" - }, - { - "member_id": 2, - "member_login": "octo-lisa_eocsaxrs", - "member_name": "Octo Lisa", - "member_email": "octo_lisa@github.com" - } - ] - } - } - }, - "external-groups": { - "title": "ExternalGroups", - "description": "A list of external groups available to be connected to a team", - "type": "object", - "properties": { - "groups": { - "description": "An array of external groups available to be mapped to a team", - "type": "array", - "items": { - "type": "object", - "required": ["group_id", "group_name", "updated_at"], - "properties": { - "group_id": { - "description": "The internal ID of the group", - "type": "integer", - "examples": [1] - }, - "group_name": { - "description": "The display name of the group", - "type": "string", - "examples": ["group-azuread-test"] - }, - "updated_at": { - "description": "The time of the last update for this group", - "type": "string", - "examples": ["2019-06-03 22:27:15:000 -700"] - } - } - }, - "examples": [ - { - "group_id": 1, - "group_name": "group-azuread-test", - "updated_at": "2021-01-03 22:27:15:000 -700" - }, - { - "group_id": 2, - "group_name": "group-azuread-test2", - "updated_at": "2021-06-03 22:27:15:000 -700" - } - ] - } - } - }, - "org-hook": { - "title": "Org Hook", - "description": "Org Hook", - "type": "object", - "properties": { - "id": { "type": "integer", "examples": [1] }, - "url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/orgs/octocat/hooks/1"] - }, - "ping_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/orgs/octocat/hooks/1/pings"] - }, - "deliveries_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/orgs/octocat/hooks/1/deliveries" - ] - }, - "name": { "type": "string", "examples": ["web"] }, - "events": { - "type": "array", - "items": { "type": "string" }, - "examples": ["push", "pull_request"] - }, - "active": { "type": "boolean", "examples": [true] }, - "config": { - "type": "object", - "properties": { - "url": { - "type": "string", - "examples": ["\"http://example.com/2\""] - }, - "insecure_ssl": { "type": "string", "examples": ["\"0\""] }, - "content_type": { "type": "string", "examples": ["\"form\""] }, - "secret": { "type": "string", "examples": ["\"********\""] } - } - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": ["2011-09-06T20:39:23Z"] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": ["2011-09-06T17:26:27Z"] - }, - "type": { "type": "string" } - }, - "required": [ - "id", - "url", - "type", - "name", - "active", - "events", - "config", - "ping_url", - "created_at", - "updated_at" - ] - }, - "org-membership": { - "title": "Org Membership", - "description": "Org Membership", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/orgs/octocat/memberships/defunkt" - ] - }, - "state": { - "type": "string", - "description": "The state of the member in the organization. The `pending` state indicates the user has not yet accepted an invitation.", - "enum": ["active", "pending"], - "examples": ["active"] - }, - "role": { - "type": "string", - "description": "The user's membership type in the organization.", - "enum": ["admin", "member", "billing_manager"], - "examples": ["admin"] - }, - "organization_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/orgs/octocat"] - }, - "organization": { - "$ref": "#/components/schemas/organization-simple" - }, - "user": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "permissions": { - "type": "object", - "properties": { "can_create_repository": { "type": "boolean" } }, - "required": ["can_create_repository"] - } - }, - "required": [ - "state", - "role", - "organization_url", - "url", - "organization", - "user" - ] - }, - "migration": { - "title": "Migration", - "description": "A migration.", - "type": "object", - "properties": { - "id": { "type": "integer", "format": "int64", "examples": [79] }, - "owner": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "guid": { - "type": "string", - "examples": ["0b989ba4-242f-11e5-81e1-c7b6966d2516"] - }, - "state": { "type": "string", "examples": ["pending"] }, - "lock_repositories": { "type": "boolean", "examples": [true] }, - "exclude_metadata": { "type": "boolean" }, - "exclude_git_data": { "type": "boolean" }, - "exclude_attachments": { "type": "boolean" }, - "exclude_releases": { "type": "boolean" }, - "exclude_owner_projects": { "type": "boolean" }, - "org_metadata_only": { "type": "boolean" }, - "repositories": { - "type": "array", - "description": "The repositories included in the migration. Only returned for export migrations.", - "items": { "$ref": "#/components/schemas/repository" } - }, - "url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/orgs/octo-org/migrations/79"] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": ["2015-07-06T15:33:38-07:00"] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": ["2015-07-06T15:33:38-07:00"] - }, - "node_id": { "type": "string" }, - "archive_url": { "type": "string", "format": "uri" }, - "exclude": { - "description": "Exclude related items from being returned in the response in order to improve performance of the request. The array can include any of: `\"repositories\"`.", - "type": "array", - "items": { - "description": "Allowed values that can be passed to the exclude parameter. The array can include any of: `\"repositories\"`.", - "type": "string" - } - } - }, - "required": [ - "id", - "node_id", - "owner", - "guid", - "state", - "lock_repositories", - "exclude_metadata", - "exclude_git_data", - "exclude_attachments", - "exclude_releases", - "exclude_owner_projects", - "org_metadata_only", - "repositories", - "url", - "created_at", - "updated_at" - ] - }, - "package-version": { - "title": "Package Version", - "description": "A version of a software package", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier of the package version.", - "type": "integer", - "examples": [1] - }, - "name": { - "description": "The name of the package version.", - "type": "string", - "examples": ["latest"] - }, - "url": { - "type": "string", - "examples": [ - "https://api.github.com/orgs/github/packages/container/super-linter/versions/786068" - ] - }, - "package_html_url": { - "type": "string", - "examples": [ - "https://github.com/orgs/github/packages/container/package/super-linter" - ] - }, - "html_url": { - "type": "string", - "examples": [ - "https://github.com/orgs/github/packages/container/super-linter/786068" - ] - }, - "license": { "type": "string", "examples": ["MIT"] }, - "description": { "type": "string" }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": ["2011-04-10T20:09:31Z"] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": ["2014-03-03T18:58:10Z"] - }, - "deleted_at": { - "type": "string", - "format": "date-time", - "examples": ["2014-03-03T18:58:10Z"] - }, - "metadata": { - "type": "object", - "title": "Package Version Metadata", - "properties": { - "package_type": { - "type": "string", - "enum": [ - "npm", - "maven", - "rubygems", - "docker", - "nuget", - "container" - ], - "examples": ["docker"] - }, - "container": { - "type": "object", - "title": "Container Metadata", - "properties": { - "tags": { "type": "array", "items": { "type": "string" } } - }, - "required": ["tags"] - }, - "docker": { - "type": "object", - "title": "Docker Metadata", - "properties": { - "tag": { "type": "array", "items": { "type": "string" } } - }, - "required": ["tags"] - } - }, - "required": ["package_type"] - } - }, - "required": [ - "id", - "name", - "url", - "package_html_url", - "created_at", - "updated_at" - ] - }, - "organization-programmatic-access-grant-request": { - "title": "Simple Organization Programmatic Access Grant Request", - "description": "Minimal representation of an organization programmatic access grant request for enumerations", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "Unique identifier of the request for access via fine-grained personal access token. The `pat_request_id` used to review PAT requests." - }, - "reason": { - "type": ["string", "null"], - "description": "Reason for requesting access." - }, - "owner": { "$ref": "#/components/schemas/simple-user" }, - "repository_selection": { - "type": "string", - "enum": ["none", "all", "subset"], - "description": "Type of repository selection requested." - }, - "repositories_url": { - "type": "string", - "description": "URL to the list of repositories requested to be accessed via fine-grained personal access token. Should only be followed when `repository_selection` is `subset`." - }, - "permissions": { - "type": "object", - "description": "Permissions requested, categorized by type of permission.", - "properties": { - "organization": { - "type": "object", - "additionalProperties": { "type": "string" } - }, - "repository": { - "type": "object", - "additionalProperties": { "type": "string" } - }, - "other": { - "type": "object", - "additionalProperties": { "type": "string" } - } - } - }, - "created_at": { - "type": "string", - "description": "Date and time when the request for access was created." - }, - "token_id": { - "type": "integer", - "description": "Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants." - }, - "token_name": { - "type": "string", - "description": "The name given to the user's token. This field can also be found in an organization's settings page for Active Tokens." - }, - "token_expired": { - "type": "boolean", - "description": "Whether the associated fine-grained personal access token has expired." - }, - "token_expires_at": { - "type": ["string", "null"], - "description": "Date and time when the associated fine-grained personal access token expires." - }, - "token_last_used_at": { - "type": ["string", "null"], - "description": "Date and time when the associated fine-grained personal access token was last used for authentication." - } - }, - "required": [ - "id", - "reason", - "owner", - "repository_selection", - "repositories_url", - "permissions", - "created_at", - "token_id", - "token_name", - "token_expired", - "token_expires_at", - "token_last_used_at" - ] - }, - "organization-programmatic-access-grant": { - "title": "Organization Programmatic Access Grant", - "description": "Minimal representation of an organization programmatic access grant for enumerations", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "Unique identifier of the fine-grained personal access token grant. The `pat_id` used to get details about an approved fine-grained personal access token." - }, - "owner": { "$ref": "#/components/schemas/simple-user" }, - "repository_selection": { - "type": "string", - "enum": ["none", "all", "subset"], - "description": "Type of repository selection requested." - }, - "repositories_url": { - "type": "string", - "description": "URL to the list of repositories the fine-grained personal access token can access. Only follow when `repository_selection` is `subset`." - }, - "permissions": { - "type": "object", - "description": "Permissions requested, categorized by type of permission.", - "properties": { - "organization": { - "type": "object", - "additionalProperties": { "type": "string" } - }, - "repository": { - "type": "object", - "additionalProperties": { "type": "string" } - }, - "other": { - "type": "object", - "additionalProperties": { "type": "string" } - } - } - }, - "access_granted_at": { - "type": "string", - "description": "Date and time when the fine-grained personal access token was approved to access the organization." - }, - "token_id": { - "type": "integer", - "description": "Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants." - }, - "token_name": { - "type": "string", - "description": "The name given to the user's token. This field can also be found in an organization's settings page for Active Tokens." - }, - "token_expired": { - "type": "boolean", - "description": "Whether the associated fine-grained personal access token has expired." - }, - "token_expires_at": { - "type": ["string", "null"], - "description": "Date and time when the associated fine-grained personal access token expires." - }, - "token_last_used_at": { - "type": ["string", "null"], - "description": "Date and time when the associated fine-grained personal access token was last used for authentication." - } - }, - "required": [ - "id", - "owner", - "repository_selection", - "repositories_url", - "permissions", - "access_granted_at", - "token_id", - "token_name", - "token_expired", - "token_expires_at", - "token_last_used_at" - ] - }, - "org-pre-receive-hook": { - "type": "object", - "properties": { - "id": { "type": "integer" }, - "name": { "type": "string" }, - "enforcement": { "type": "string" }, - "configuration_url": { "type": "string" }, - "allow_downstream_configuration": { "type": "boolean" } - } - }, - "project": { - "title": "Project", - "description": "Projects are a way to organize columns and cards of work.", - "type": "object", - "properties": { - "owner_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/api-playground/projects-test" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/projects/1002604"] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/api-playground/projects-test/projects/12" - ] - }, - "columns_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/projects/1002604/columns"] - }, - "id": { "type": "integer", "examples": [1002604] }, - "node_id": { - "type": "string", - "examples": ["MDc6UHJvamVjdDEwMDI2MDQ="] - }, - "name": { - "description": "Name of the project", - "type": "string", - "examples": ["Week One Sprint"] - }, - "body": { - "description": "Body of the project", - "type": ["string", "null"], - "examples": [ - "This project represents the sprint of the first week in January" - ] - }, - "number": { "type": "integer", "examples": [1] }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "type": "string", - "examples": ["open"] - }, - "creator": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": ["2011-04-10T20:09:31Z"] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": ["2014-03-03T18:58:10Z"] - }, - "organization_permission": { - "description": "The baseline permission that all organization members have on this project. Only present if owner is an organization.", - "type": "string", - "enum": ["read", "write", "admin", "none"] - }, - "private": { - "description": "Whether or not this project can be seen by everyone. Only present if owner is an organization.", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "number", - "name", - "body", - "state", - "url", - "html_url", - "owner_url", - "creator", - "columns_url", - "created_at", - "updated_at" - ] - }, - "custom-property": { - "title": "Organization Custom Property", - "description": "Custom property defined on an organization", - "type": "object", - "properties": { - "property_name": { - "type": "string", - "description": "The name of the property" - }, - "url": { - "type": "string", - "format": "uri", - "description": "The URL that can be used to fetch, update, or delete info about this property via the API." - }, - "source_type": { - "type": "string", - "description": "The source type of the property", - "enum": ["organization", "enterprise"], - "examples": ["organization"] - }, - "value_type": { - "type": "string", - "enum": ["string", "single_select", "multi_select", "true_false"], - "description": "The type of the value for the property", - "examples": ["single_select"] - }, - "required": { - "type": "boolean", - "description": "Whether the property is required." - }, - "default_value": { - "oneOf": [ - { "type": "string" }, - { "type": "array", "items": { "type": "string" } } - ], - "description": "Default value of the property", - "type": ["null", "string", "array"] - }, - "description": { - "type": ["string", "null"], - "description": "Short description of the property" - }, - "allowed_values": { - "type": ["array", "null"], - "items": { "type": "string", "maxLength": 75 }, - "maxItems": 200, - "description": "An ordered list of the allowed values of the property.\nThe property can have up to 200 allowed values." - }, - "values_editable_by": { - "type": ["string", "null"], - "enum": ["org_actors", "org_and_repo_actors", null], - "description": "Who can edit the values of the property", - "examples": ["org_actors"] - } - }, - "required": ["property_name", "value_type"] - }, - "custom-property-set-payload": { - "title": "Custom Property Set Payload", - "description": "Custom property set payload", - "type": "object", - "properties": { - "value_type": { - "type": "string", - "enum": ["string", "single_select", "multi_select", "true_false"], - "description": "The type of the value for the property", - "examples": ["single_select"] - }, - "required": { - "type": "boolean", - "description": "Whether the property is required." - }, - "default_value": { - "oneOf": [ - { "type": "string" }, - { "type": "array", "items": { "type": "string" } } - ], - "description": "Default value of the property", - "type": ["null", "string", "array"] - }, - "description": { - "type": ["string", "null"], - "description": "Short description of the property" - }, - "allowed_values": { - "type": ["array", "null"], - "items": { "type": "string", "maxLength": 75 }, - "maxItems": 200, - "description": "An ordered list of the allowed values of the property.\nThe property can have up to 200 allowed values." - }, - "values_editable_by": { - "type": ["string", "null"], - "enum": ["org_actors", "org_and_repo_actors", null], - "description": "Who can edit the values of the property", - "examples": ["org_actors"] - } - }, - "required": ["value_type"] - }, - "custom-property-value": { - "title": "Custom Property Value", - "description": "Custom property name and associated value", - "type": "object", - "properties": { - "property_name": { - "type": "string", - "description": "The name of the property" - }, - "value": { - "oneOf": [ - { "type": "string" }, - { "type": "array", "items": { "type": "string" } } - ], - "description": "The value assigned to the property", - "type": ["null", "string", "array"] - } - }, - "required": ["property_name", "value"] - }, - "org-repo-custom-property-values": { - "title": "Organization Repository Custom Property Values", - "description": "List of custom property values for a repository", - "type": "object", - "properties": { - "repository_id": { "type": "integer", "examples": [1296269] }, - "repository_name": { "type": "string", "examples": ["Hello-World"] }, - "repository_full_name": { - "type": "string", - "examples": ["octocat/Hello-World"] - }, - "properties": { - "type": "array", - "items": { "$ref": "#/components/schemas/custom-property-value" }, - "description": "List of custom property names and associated values" - } - }, - "required": [ - "repository_id", - "repository_name", - "repository_full_name", - "properties" - ] - }, - "code-of-conduct-simple": { - "title": "Code Of Conduct Simple", - "description": "Code of Conduct Simple", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/github/docs/community/code_of_conduct" - ] - }, - "key": { "type": "string", "examples": ["citizen_code_of_conduct"] }, - "name": { "type": "string", "examples": ["Citizen Code of Conduct"] }, - "html_url": { - "type": ["string", "null"], - "format": "uri", - "examples": [ - "https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md" - ] - } - }, - "required": ["url", "key", "name", "html_url"] - }, - "full-repository": { - "title": "Full Repository", - "description": "Full Repository", - "type": "object", - "properties": { - "id": { "type": "integer", "format": "int64", "examples": [1296269] }, - "node_id": { - "type": "string", - "examples": ["MDEwOlJlcG9zaXRvcnkxMjk2MjY5"] - }, - "name": { "type": "string", "examples": ["Hello-World"] }, - "full_name": { - "type": "string", - "examples": ["octocat/Hello-World"] - }, - "owner": { "$ref": "#/components/schemas/simple-user" }, - "private": { "type": "boolean" }, - "html_url": { - "type": "string", - "format": "uri", - "examples": ["https://github.com/octocat/Hello-World"] - }, - "description": { - "type": ["string", "null"], - "examples": ["This your first repo!"] - }, - "fork": { "type": "boolean" }, - "url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/repos/octocat/Hello-World"] - }, - "archive_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" - ] - }, - "assignees_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" - ] - }, - "blobs_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" - ] - }, - "branches_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" - ] - }, - "collaborators_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" - ] - }, - "comments_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/comments{/number}" - ] - }, - "commits_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" - ] - }, - "compare_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" - ] - }, - "contents_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" - ] - }, - "contributors_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/contributors" - ] - }, - "deployments_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/deployments" - ] - }, - "downloads_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/downloads" - ] - }, - "events_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/events" - ] - }, - "forks_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/forks" - ] - }, - "git_commits_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" - ] - }, - "git_refs_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" - ] - }, - "git_tags_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" - ] - }, - "git_url": { - "type": "string", - "examples": ["git:github.com/octocat/Hello-World.git"] - }, - "issue_comment_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" - ] - }, - "issue_events_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" - ] - }, - "issues_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/issues{/number}" - ] - }, - "keys_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" - ] - }, - "labels_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/labels{/name}" - ] - }, - "languages_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/languages" - ] - }, - "merges_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/merges" - ] - }, - "milestones_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" - ] - }, - "notifications_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" - ] - }, - "pulls_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" - ] - }, - "releases_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/releases{/id}" - ] - }, - "ssh_url": { - "type": "string", - "examples": ["git@github.com:octocat/Hello-World.git"] - }, - "stargazers_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/stargazers" - ] - }, - "statuses_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" - ] - }, - "subscribers_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/subscribers" - ] - }, - "subscription_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/subscription" - ] - }, - "tags_url": { - "type": "string", - "format": "uri", - "examples": ["http://api.github.com/repos/octocat/Hello-World/tags"] - }, - "teams_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/teams" - ] - }, - "trees_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" - ] - }, - "clone_url": { - "type": "string", - "examples": ["https://github.com/octocat/Hello-World.git"] - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri", - "examples": ["git:git.example.com/octocat/Hello-World"] - }, - "hooks_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/hooks" - ] - }, - "svn_url": { - "type": "string", - "format": "uri", - "examples": ["https://svn.github.com/octocat/Hello-World"] - }, - "homepage": { - "type": ["string", "null"], - "format": "uri", - "examples": ["https://github.com"] - }, - "language": { "type": ["string", "null"] }, - "forks_count": { "type": "integer", "examples": [9] }, - "stargazers_count": { "type": "integer", "examples": [80] }, - "watchers_count": { "type": "integer", "examples": [80] }, - "size": { - "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", - "type": "integer", - "examples": [108] - }, - "default_branch": { "type": "string", "examples": ["master"] }, - "open_issues_count": { "type": "integer", "examples": [0] }, - "is_template": { "type": "boolean", "examples": [true] }, - "topics": { - "type": "array", - "items": { "type": "string" }, - "examples": ["octocat", "atom", "electron", "API"] - }, - "has_issues": { "type": "boolean", "examples": [true] }, - "has_projects": { "type": "boolean", "examples": [true] }, - "has_wiki": { "type": "boolean", "examples": [true] }, - "has_pages": { "type": "boolean" }, - "has_downloads": { "type": "boolean", "examples": [true] }, - "has_discussions": { "type": "boolean", "examples": [true] }, - "archived": { "type": "boolean" }, - "disabled": { - "type": "boolean", - "description": "Returns whether or not this repository disabled." - }, - "visibility": { - "description": "The repository visibility: public, private, or internal.", - "type": "string", - "examples": ["public"] - }, - "pushed_at": { - "type": "string", - "format": "date-time", - "examples": ["2011-01-26T19:06:43Z"] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": ["2011-01-26T19:01:12Z"] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": ["2011-01-26T19:14:43Z"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" }, - "pull": { "type": "boolean" } - }, - "required": ["admin", "pull", "push"] - }, - "allow_rebase_merge": { "type": "boolean", "examples": [true] }, - "template_repository": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/repository" } - ] - }, - "temp_clone_token": { "type": ["string", "null"] }, - "allow_squash_merge": { "type": "boolean", "examples": [true] }, - "allow_auto_merge": { "type": "boolean", "examples": [false] }, - "delete_branch_on_merge": { "type": "boolean", "examples": [false] }, - "allow_merge_commit": { "type": "boolean", "examples": [true] }, - "allow_update_branch": { "type": "boolean", "examples": [true] }, - "use_squash_pr_title_as_default": { - "type": "boolean", - "examples": [false] - }, - "squash_merge_commit_title": { - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"], - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "examples": ["PR_TITLE"] - }, - "squash_merge_commit_message": { - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"], - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "examples": ["PR_BODY"] - }, - "merge_commit_title": { - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"], - "description": "The default value for a merge commit title.\n\n - `PR_TITLE` - default to the pull request's title.\n - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "examples": ["PR_TITLE"] - }, - "merge_commit_message": { - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"], - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "examples": ["PR_BODY"] - }, - "allow_forking": { "type": "boolean", "examples": [true] }, - "web_commit_signoff_required": { - "type": "boolean", - "examples": [false] - }, - "subscribers_count": { "type": "integer", "examples": [42] }, - "network_count": { "type": "integer", "examples": [0] }, - "license": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/license-simple" } - ] - }, - "organization": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "parent": { "$ref": "#/components/schemas/repository" }, - "source": { "$ref": "#/components/schemas/repository" }, - "forks": { "type": "integer" }, - "master_branch": { "type": "string" }, - "open_issues": { "type": "integer" }, - "watchers": { "type": "integer" }, - "anonymous_access_enabled": { - "description": "Whether anonymous git access is allowed.", - "default": true, - "type": "boolean" - }, - "code_of_conduct": { - "$ref": "#/components/schemas/code-of-conduct-simple" - }, - "security_and_analysis": { - "$ref": "#/components/schemas/security-and-analysis" - }, - "custom_properties": { - "type": "object", - "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", - "additionalProperties": true - } - }, - "required": [ - "archive_url", - "assignees_url", - "blobs_url", - "branches_url", - "collaborators_url", - "comments_url", - "commits_url", - "compare_url", - "contents_url", - "contributors_url", - "deployments_url", - "description", - "downloads_url", - "events_url", - "fork", - "forks_url", - "full_name", - "git_commits_url", - "git_refs_url", - "git_tags_url", - "hooks_url", - "html_url", - "id", - "node_id", - "issue_comment_url", - "issue_events_url", - "issues_url", - "keys_url", - "labels_url", - "languages_url", - "merges_url", - "milestones_url", - "name", - "notifications_url", - "owner", - "private", - "pulls_url", - "releases_url", - "stargazers_url", - "statuses_url", - "subscribers_url", - "subscription_url", - "tags_url", - "teams_url", - "trees_url", - "url", - "clone_url", - "default_branch", - "forks", - "forks_count", - "git_url", - "has_issues", - "has_projects", - "has_wiki", - "has_pages", - "has_discussions", - "homepage", - "language", - "archived", - "disabled", - "mirror_url", - "open_issues", - "open_issues_count", - "license", - "pushed_at", - "size", - "ssh_url", - "stargazers_count", - "svn_url", - "watchers", - "watchers_count", - "created_at", - "updated_at", - "network_count", - "subscribers_count" - ] - }, - "repository-fine-grained-permission": { - "title": "Repository Fine-Grained Permission", - "description": "A fine-grained permission that protects repository resources.", - "type": "object", - "properties": { - "name": { "type": "string" }, - "description": { "type": "string" } - }, - "required": ["name", "description"] - }, - "repository-rule-enforcement": { - "type": "string", - "description": "The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights on the Rule Insights page. `evaluate` is not available for the `repository` target.", - "enum": ["disabled", "active", "evaluate"] - }, - "repository-ruleset-bypass-actor": { - "title": "Repository Ruleset Bypass Actor", - "type": "object", - "description": "An actor that can bypass rules in a ruleset", - "required": ["actor_id", "actor_type", "bypass_mode"], - "properties": { - "actor_id": { - "type": "integer", - "description": "The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`." - }, - "actor_type": { - "type": "string", - "enum": [ - "Integration", - "OrganizationAdmin", - "RepositoryRole", - "Team" - ], - "description": "The type of actor that can bypass a ruleset" - }, - "bypass_mode": { - "type": "string", - "description": "When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` is not applicable for the `DeployKey` actor type. Also, `pull_request` is only applicable to branch rulesets.", - "enum": ["always", "pull_request"], - "default": "always" - } - } - }, - "repository-ruleset-conditions": { - "title": "Repository ruleset conditions for ref names", - "type": "object", - "description": "Parameters for a repository ruleset ref name condition", - "properties": { - "ref_name": { - "type": "object", - "properties": { - "include": { - "type": "array", - "description": "Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~DEFAULT_BRANCH` to include the default branch or `~ALL` to include all branches.", - "items": { "type": "string" } - }, - "exclude": { - "type": "array", - "description": "Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.", - "items": { "type": "string" } - } - } - } - } - }, - "repository-ruleset-conditions-repository-name-target": { - "title": "Repository ruleset conditions for repository names", - "type": "object", - "description": "Parameters for a repository name condition", - "properties": { - "repository_name": { - "type": "object", - "properties": { - "include": { - "type": "array", - "description": "Array of repository names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~ALL` to include all repositories.", - "items": { "type": "string" } - }, - "exclude": { - "type": "array", - "description": "Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match.", - "items": { "type": "string" } - }, - "protected": { - "type": "boolean", - "description": "Whether renaming of target repositories is prevented." - } - } - } - }, - "required": ["repository_name"] - }, - "repository-ruleset-conditions-repository-id-target": { - "title": "Repository ruleset conditions for repository IDs", - "type": "object", - "description": "Parameters for a repository ID condition", - "properties": { - "repository_id": { - "type": "object", - "properties": { - "repository_ids": { - "type": "array", - "description": "The repository IDs that the ruleset applies to. One of these IDs must match for the condition to pass.", - "items": { "type": "integer" } - } - } - } - }, - "required": ["repository_id"] - }, - "repository-ruleset-conditions-repository-property-spec": { - "title": "Repository ruleset property targeting definition", - "type": "object", - "description": "Parameters for a targeting a repository property", - "properties": { - "name": { - "type": "string", - "description": "The name of the repository property to target" - }, - "property_values": { - "type": "array", - "description": "The values to match for the repository property", - "items": { "type": "string" } - }, - "source": { - "type": "string", - "description": "The source of the repository property. Defaults to 'custom' if not specified.", - "enum": ["custom", "system"] - } - }, - "required": ["name", "property_values"] - }, - "repository-ruleset-conditions-repository-property-target": { - "title": "Repository ruleset conditions for repository properties", - "type": "object", - "description": "Parameters for a repository property condition", - "properties": { - "repository_property": { - "type": "object", - "properties": { - "include": { - "type": "array", - "description": "The repository properties and values to include. All of these properties must match for the condition to pass.", - "items": { - "$ref": "#/components/schemas/repository-ruleset-conditions-repository-property-spec" - } - }, - "exclude": { - "type": "array", - "description": "The repository properties and values to exclude. The condition will not pass if any of these properties match.", - "items": { - "$ref": "#/components/schemas/repository-ruleset-conditions-repository-property-spec" - } - } - } - } - }, - "required": ["repository_property"] - }, - "org-ruleset-conditions": { - "title": "Organization ruleset conditions", - "type": "object", - "description": "Conditions for an organization ruleset.\nThe branch and tag rulesets conditions object should contain both `repository_name` and `ref_name` properties, or both `repository_id` and `ref_name` properties, or both `repository_property` and `ref_name` properties.\nThe push rulesets conditions object does not require the `ref_name` property.", - "oneOf": [ - { - "type": "object", - "title": "repository_name_and_ref_name", - "description": "Conditions to target repositories by name and refs by name", - "allOf": [ - { "$ref": "#/components/schemas/repository-ruleset-conditions" }, - { - "$ref": "#/components/schemas/repository-ruleset-conditions-repository-name-target" - } - ] - }, - { - "type": "object", - "title": "repository_id_and_ref_name", - "description": "Conditions to target repositories by id and refs by name", - "allOf": [ - { "$ref": "#/components/schemas/repository-ruleset-conditions" }, - { - "$ref": "#/components/schemas/repository-ruleset-conditions-repository-id-target" - } - ] - }, - { - "type": "object", - "title": "repository_property_and_ref_name", - "description": "Conditions to target repositories by property and refs by name", - "allOf": [ - { "$ref": "#/components/schemas/repository-ruleset-conditions" }, - { - "$ref": "#/components/schemas/repository-ruleset-conditions-repository-property-target" - } - ] - } - ] - }, - "repository-rule-creation": { - "title": "creation", - "description": "Only allow users with bypass permission to create matching refs.", - "type": "object", - "required": ["type"], - "properties": { "type": { "type": "string", "enum": ["creation"] } } - }, - "repository-rule-update": { - "title": "update", - "description": "Only allow users with bypass permission to update matching refs.", - "type": "object", - "required": ["type"], - "properties": { - "type": { "type": "string", "enum": ["update"] }, - "parameters": { - "type": "object", - "properties": { - "update_allows_fetch_and_merge": { - "type": "boolean", - "description": "Branch can pull changes from its upstream repository" - } - }, - "required": ["update_allows_fetch_and_merge"] - } - } - }, - "repository-rule-deletion": { - "title": "deletion", - "description": "Only allow users with bypass permissions to delete matching refs.", - "type": "object", - "required": ["type"], - "properties": { "type": { "type": "string", "enum": ["deletion"] } } - }, - "repository-rule-required-linear-history": { - "title": "required_linear_history", - "description": "Prevent merge commits from being pushed to matching refs.", - "type": "object", - "required": ["type"], - "properties": { - "type": { "type": "string", "enum": ["required_linear_history"] } - } - }, - "repository-rule-required-deployments": { - "title": "required_deployments", - "description": "Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule.", - "type": "object", - "required": ["type"], - "properties": { - "type": { "type": "string", "enum": ["required_deployments"] }, - "parameters": { - "type": "object", - "properties": { - "required_deployment_environments": { - "type": "array", - "description": "The environments that must be successfully deployed to before branches can be merged.", - "items": { "type": "string" } - } - }, - "required": ["required_deployment_environments"] - } - } - }, - "repository-rule-required-signatures": { - "title": "required_signatures", - "description": "Commits pushed to matching refs must have verified signatures.", - "type": "object", - "required": ["type"], - "properties": { - "type": { "type": "string", "enum": ["required_signatures"] } - } - }, - "repository-rule-params-reviewer": { - "title": "Reviewer", - "description": "A required reviewing team", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "ID of the reviewer which must review changes to matching files." - }, - "type": { - "type": "string", - "description": "The type of the reviewer", - "enum": ["Team"] - } - }, - "required": ["id", "type"] - }, - "repository-rule-params-required-reviewer-configuration": { - "title": "RequiredReviewerConfiguration", - "description": "A reviewing team, and file patterns describing which files they must approve changes to.", - "type": "object", - "properties": { - "file_patterns": { - "type": "array", - "description": "Array of file patterns. Pull requests which change matching files must be approved by the specified team. File patterns use the same syntax as `.gitignore` files.", - "items": { "type": "string" } - }, - "minimum_approvals": { - "type": "integer", - "description": "Minimum number of approvals required from the specified team. If set to zero, the team will be added to the pull request but approval is optional." - }, - "reviewer": { - "$ref": "#/components/schemas/repository-rule-params-reviewer" - } - }, - "required": ["file_patterns", "minimum_approvals", "reviewer"] - }, - "repository-rule-pull-request": { - "title": "pull_request", - "description": "Require all commits be made to a non-target branch and submitted via a pull request before they can be merged.", - "type": "object", - "required": ["type"], - "properties": { - "type": { "type": "string", "enum": ["pull_request"] }, - "parameters": { - "type": "object", - "properties": { - "automatic_copilot_code_review_enabled": { - "type": "boolean", - "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." - }, - "dismiss_stale_reviews_on_push": { - "type": "boolean", - "description": "New, reviewable commits pushed will dismiss previous pull request review approvals." - }, - "require_code_owner_review": { - "type": "boolean", - "description": "Require an approving review in pull requests that modify files that have a designated code owner." - }, - "require_last_push_approval": { - "type": "boolean", - "description": "Whether the most recent reviewable push must be approved by someone other than the person who pushed it." - }, - "required_approving_review_count": { - "type": "integer", - "description": "The number of approving reviews that are required before a pull request can be merged.", - "minimum": 0, - "maximum": 10 - }, - "required_review_thread_resolution": { - "type": "boolean", - "description": "All conversations on code must be resolved before a pull request can be merged." - } - }, - "required": [ - "dismiss_stale_reviews_on_push", - "require_code_owner_review", - "require_last_push_approval", - "required_approving_review_count", - "required_review_thread_resolution" - ] - } - } - }, - "repository-rule-params-status-check-configuration": { - "title": "StatusCheckConfiguration", - "description": "Required status check", - "type": "object", - "properties": { - "context": { - "type": "string", - "description": "The status check context name that must be present on the commit." - }, - "integration_id": { - "type": "integer", - "description": "The optional integration ID that this status check must originate from." - } - }, - "required": ["context"] - }, - "repository-rule-required-status-checks": { - "title": "required_status_checks", - "description": "Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed to another ref where the checks pass.", - "type": "object", - "required": ["type"], - "properties": { - "type": { "type": "string", "enum": ["required_status_checks"] }, - "parameters": { - "type": "object", - "properties": { - "do_not_enforce_on_create": { - "type": "boolean", - "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." - }, - "required_status_checks": { - "type": "array", - "description": "Status checks that are required.", - "items": { - "$ref": "#/components/schemas/repository-rule-params-status-check-configuration" - } - }, - "strict_required_status_checks_policy": { - "type": "boolean", - "description": "Whether pull requests targeting a matching branch must be tested with the latest code. This setting will not take effect unless at least one status check is enabled." - } - }, - "required": [ - "required_status_checks", - "strict_required_status_checks_policy" - ] - } - } - }, - "repository-rule-non-fast-forward": { - "title": "non_fast_forward", - "description": "Prevent users with push access from force pushing to refs.", - "type": "object", - "required": ["type"], - "properties": { - "type": { "type": "string", "enum": ["non_fast_forward"] } - } - }, - "repository-rule-commit-message-pattern": { - "title": "commit_message_pattern", - "description": "Parameters to be used for the commit_message_pattern rule", - "type": "object", - "required": ["type"], - "properties": { - "type": { "type": "string", "enum": ["commit_message_pattern"] }, - "parameters": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "How this rule will appear to users." - }, - "negate": { - "type": "boolean", - "description": "If true, the rule will fail if the pattern matches." - }, - "operator": { - "type": "string", - "description": "The operator to use for matching.", - "enum": ["starts_with", "ends_with", "contains", "regex"] - }, - "pattern": { - "type": "string", - "description": "The pattern to match with." - } - }, - "required": ["operator", "pattern"] - } - } - }, - "repository-rule-commit-author-email-pattern": { - "title": "commit_author_email_pattern", - "description": "Parameters to be used for the commit_author_email_pattern rule", - "type": "object", - "required": ["type"], - "properties": { - "type": { "type": "string", "enum": ["commit_author_email_pattern"] }, - "parameters": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "How this rule will appear to users." - }, - "negate": { - "type": "boolean", - "description": "If true, the rule will fail if the pattern matches." - }, - "operator": { - "type": "string", - "description": "The operator to use for matching.", - "enum": ["starts_with", "ends_with", "contains", "regex"] - }, - "pattern": { - "type": "string", - "description": "The pattern to match with." - } - }, - "required": ["operator", "pattern"] - } - } - }, - "repository-rule-committer-email-pattern": { - "title": "committer_email_pattern", - "description": "Parameters to be used for the committer_email_pattern rule", - "type": "object", - "required": ["type"], - "properties": { - "type": { "type": "string", "enum": ["committer_email_pattern"] }, - "parameters": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "How this rule will appear to users." - }, - "negate": { - "type": "boolean", - "description": "If true, the rule will fail if the pattern matches." - }, - "operator": { - "type": "string", - "description": "The operator to use for matching.", - "enum": ["starts_with", "ends_with", "contains", "regex"] - }, - "pattern": { - "type": "string", - "description": "The pattern to match with." - } - }, - "required": ["operator", "pattern"] - } - } - }, - "repository-rule-branch-name-pattern": { - "title": "branch_name_pattern", - "description": "Parameters to be used for the branch_name_pattern rule", - "type": "object", - "required": ["type"], - "properties": { - "type": { "type": "string", "enum": ["branch_name_pattern"] }, - "parameters": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "How this rule will appear to users." - }, - "negate": { - "type": "boolean", - "description": "If true, the rule will fail if the pattern matches." - }, - "operator": { - "type": "string", - "description": "The operator to use for matching.", - "enum": ["starts_with", "ends_with", "contains", "regex"] - }, - "pattern": { - "type": "string", - "description": "The pattern to match with." - } - }, - "required": ["operator", "pattern"] - } - } - }, - "repository-rule-tag-name-pattern": { - "title": "tag_name_pattern", - "description": "Parameters to be used for the tag_name_pattern rule", - "type": "object", - "required": ["type"], - "properties": { - "type": { "type": "string", "enum": ["tag_name_pattern"] }, - "parameters": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "How this rule will appear to users." - }, - "negate": { - "type": "boolean", - "description": "If true, the rule will fail if the pattern matches." - }, - "operator": { - "type": "string", - "description": "The operator to use for matching.", - "enum": ["starts_with", "ends_with", "contains", "regex"] - }, - "pattern": { - "type": "string", - "description": "The pattern to match with." - } - }, - "required": ["operator", "pattern"] - } - } - }, - "repository-rule-params-workflow-file-reference": { - "title": "WorkflowFileReference", - "description": "A workflow that must run for this rule to pass", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The path to the workflow file" - }, - "ref": { - "type": "string", - "description": "The ref (branch or tag) of the workflow file to use" - }, - "repository_id": { - "type": "integer", - "description": "The ID of the repository where the workflow is defined" - }, - "sha": { - "type": "string", - "description": "The commit SHA of the workflow file to use" - } - }, - "required": ["path", "repository_id"] - }, - "repository-rule-workflows": { - "title": "workflows", - "description": "Require all changes made to a targeted branch to pass the specified workflows before they can be merged.", - "type": "object", - "required": ["type"], - "properties": { - "type": { "type": "string", "enum": ["workflows"] }, - "parameters": { - "type": "object", - "properties": { - "do_not_enforce_on_create": { - "type": "boolean", - "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." - }, - "workflows": { - "type": "array", - "description": "Workflows that must pass for this rule to pass.", - "items": { - "$ref": "#/components/schemas/repository-rule-params-workflow-file-reference" - } - } - }, - "required": ["workflows"] - } - } - }, - "repository-rule": { - "title": "Repository Rule", - "type": "object", - "description": "A repository rule.", - "oneOf": [ - { "$ref": "#/components/schemas/repository-rule-creation" }, - { "$ref": "#/components/schemas/repository-rule-update" }, - { "$ref": "#/components/schemas/repository-rule-deletion" }, - { - "$ref": "#/components/schemas/repository-rule-required-linear-history" - }, - { - "$ref": "#/components/schemas/repository-rule-required-deployments" - }, - { - "$ref": "#/components/schemas/repository-rule-required-signatures" - }, - { "$ref": "#/components/schemas/repository-rule-pull-request" }, - { - "$ref": "#/components/schemas/repository-rule-required-status-checks" - }, - { "$ref": "#/components/schemas/repository-rule-non-fast-forward" }, - { - "$ref": "#/components/schemas/repository-rule-commit-message-pattern" - }, - { - "$ref": "#/components/schemas/repository-rule-commit-author-email-pattern" - }, - { - "$ref": "#/components/schemas/repository-rule-committer-email-pattern" - }, - { - "$ref": "#/components/schemas/repository-rule-branch-name-pattern" - }, - { "$ref": "#/components/schemas/repository-rule-tag-name-pattern" }, - { "$ref": "#/components/schemas/repository-rule-workflows" } - ] - }, - "repository-ruleset": { - "title": "Repository ruleset", - "type": "object", - "description": "A set of rules to apply when specified conditions are met.", - "required": ["id", "name", "source", "enforcement"], - "properties": { - "id": { "type": "integer", "description": "The ID of the ruleset" }, - "name": { - "type": "string", - "description": "The name of the ruleset" - }, - "target": { - "type": "string", - "description": "The target of the ruleset.", - "enum": ["branch", "tag", "push"] - }, - "source_type": { - "type": "string", - "description": "The type of the source of the ruleset", - "enum": ["Repository", "Organization"] - }, - "source": { - "type": "string", - "description": "The name of the source" - }, - "enforcement": { - "$ref": "#/components/schemas/repository-rule-enforcement" - }, - "bypass_actors": { - "type": "array", - "description": "The actors that can bypass the rules in this ruleset", - "items": { - "$ref": "#/components/schemas/repository-ruleset-bypass-actor" - } - }, - "current_user_can_bypass": { - "type": "string", - "description": "The bypass type of the user making the API request for this ruleset. This field is only returned when\nquerying the repository-level endpoint.", - "enum": ["always", "pull_requests_only", "never"] - }, - "node_id": { "type": "string" }, - "_links": { - "type": "object", - "properties": { - "self": { - "type": "object", - "properties": { - "href": { - "type": "string", - "description": "The URL of the ruleset" - } - } - }, - "html": { - "type": ["object", "null"], - "properties": { - "href": { - "type": "string", - "description": "The html URL of the ruleset" - } - } - } - } - }, - "conditions": { - "anyOf": [ - { "$ref": "#/components/schemas/repository-ruleset-conditions" }, - { "$ref": "#/components/schemas/org-ruleset-conditions" } - ], - "type": ["null", "object"] - }, - "rules": { - "type": "array", - "items": { "$ref": "#/components/schemas/repository-rule" } - }, - "created_at": { "type": "string", "format": "date-time" }, - "updated_at": { "type": "string", "format": "date-time" } - } - }, - "rule-suites": { - "title": "Rule Suites", - "description": "Response", - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "The unique identifier of the rule insight." - }, - "actor_id": { - "type": "integer", - "description": "The number that identifies the user." - }, - "actor_name": { - "type": "string", - "description": "The handle for the GitHub user account." - }, - "before_sha": { - "type": "string", - "description": "The first commit sha before the push evaluation." - }, - "after_sha": { - "type": "string", - "description": "The last commit sha in the push evaluation." - }, - "ref": { - "type": "string", - "description": "The ref name that the evaluation ran on." - }, - "repository_id": { - "type": "integer", - "description": "The ID of the repository associated with the rule evaluation." - }, - "repository_name": { - "type": "string", - "description": "The name of the repository without the `.git` extension." - }, - "pushed_at": { - "type": "string", - "format": "date-time", - "examples": ["2011-01-26T19:06:43Z"] - }, - "result": { - "type": "string", - "enum": ["pass", "fail", "bypass"], - "description": "The result of the rule evaluations for rules with the `active` enforcement status." - }, - "evaluation_result": { - "type": "string", - "enum": ["pass", "fail"], - "description": "The result of the rule evaluations for rules with the `active` and `evaluate` enforcement statuses, demonstrating whether rules would pass or fail if all rules in the rule suite were `active`." - } - } - } - }, - "rule-suite": { - "title": "Rule Suite", - "description": "Response", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "The unique identifier of the rule insight." - }, - "actor_id": { - "type": ["integer", "null"], - "description": "The number that identifies the user." - }, - "actor_name": { - "type": ["string", "null"], - "description": "The handle for the GitHub user account." - }, - "before_sha": { - "type": "string", - "description": "The first commit sha before the push evaluation." - }, - "after_sha": { - "type": "string", - "description": "The last commit sha in the push evaluation." - }, - "ref": { - "type": "string", - "description": "The ref name that the evaluation ran on." - }, - "repository_id": { - "type": "integer", - "description": "The ID of the repository associated with the rule evaluation." - }, - "repository_name": { - "type": "string", - "description": "The name of the repository without the `.git` extension." - }, - "pushed_at": { - "type": "string", - "format": "date-time", - "examples": ["2011-01-26T19:06:43Z"] - }, - "result": { - "type": "string", - "enum": ["pass", "fail", "bypass"], - "description": "The result of the rule evaluations for rules with the `active` enforcement status." - }, - "evaluation_result": { - "type": ["string", "null"], - "enum": ["pass", "fail"], - "description": "The result of the rule evaluations for rules with the `active` and `evaluate` enforcement statuses, demonstrating whether rules would pass or fail if all rules in the rule suite were `active`. Null if no rules with `evaluate` enforcement status were run." - }, - "rule_evaluations": { - "type": "array", - "description": "Details on the evaluated rules.", - "items": { - "type": "object", - "properties": { - "rule_source": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "The type of rule source." - }, - "id": { - "type": ["integer", "null"], - "description": "The ID of the rule source." - }, - "name": { - "type": ["string", "null"], - "description": "The name of the rule source." - } - } - }, - "enforcement": { - "type": "string", - "enum": ["active", "evaluate", "deleted ruleset"], - "description": "The enforcement level of this rule source." - }, - "result": { - "type": "string", - "enum": ["pass", "fail"], - "description": "The result of the evaluation of the individual rule." - }, - "rule_type": { - "type": "string", - "description": "The type of rule." - }, - "details": { - "type": ["string", "null"], - "description": "The detailed failure message for the rule. Null if the rule passed." - } - } - } - } - } - }, - "team-simple": { - "title": "Team Simple", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier of the team", - "type": "integer", - "examples": [1] - }, - "node_id": { "type": "string", "examples": ["MDQ6VGVhbTE="] }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/organizations/1/team/1"] - }, - "members_url": { - "type": "string", - "examples": [ - "https://api.github.com/organizations/1/team/1/members{/member}" - ] - }, - "name": { - "description": "Name of the team", - "type": "string", - "examples": ["Justice League"] - }, - "description": { - "description": "Description of the team", - "type": ["string", "null"], - "examples": ["A great team."] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string", - "examples": ["admin"] - }, - "privacy": { - "description": "The level of privacy this team should have", - "type": "string", - "examples": ["closed"] - }, - "notification_setting": { - "description": "The notification setting the team has set", - "type": "string", - "examples": ["notifications_enabled"] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": ["https://github.com/orgs/rails/teams/core"] - }, - "repositories_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/organizations/1/team/1/repos"] - }, - "slug": { "type": "string", "examples": ["justice-league"] }, - "ldap_dn": { - "description": "Distinguished Name (DN) that team maps to within LDAP environment", - "type": "string", - "examples": ["uid=example,ou=users,dc=github,dc=com"] - } - }, - "required": [ - "id", - "node_id", - "url", - "members_url", - "name", - "description", - "permission", - "html_url", - "repositories_url", - "slug" - ] - }, - "team": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "node_id": { "type": "string" }, - "name": { "type": "string" }, - "slug": { "type": "string" }, - "description": { "type": ["string", "null"] }, - "privacy": { "type": "string" }, - "notification_setting": { "type": "string" }, - "permission": { "type": "string" }, - "permissions": { - "type": "object", - "properties": { - "pull": { "type": "boolean" }, - "triage": { "type": "boolean" }, - "push": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "admin": { "type": "boolean" } - }, - "required": ["pull", "triage", "push", "maintain", "admin"] - }, - "url": { "type": "string", "format": "uri" }, - "html_url": { - "type": "string", - "format": "uri", - "examples": ["https://github.com/orgs/rails/teams/core"] - }, - "members_url": { "type": "string" }, - "repositories_url": { "type": "string", "format": "uri" }, - "parent": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/team-simple" } - ] - } - }, - "required": [ - "id", - "node_id", - "url", - "members_url", - "name", - "description", - "permission", - "html_url", - "repositories_url", - "slug", - "parent" - ] - }, - "team-organization": { - "title": "Team Organization", - "description": "Team Organization", - "type": "object", - "properties": { - "login": { "type": "string", "examples": ["github"] }, - "id": { "type": "integer", "examples": [1] }, - "node_id": { - "type": "string", - "examples": ["MDEyOk9yZ2FuaXphdGlvbjE="] - }, - "url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/orgs/github"] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/orgs/github/repos"] - }, - "events_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/orgs/github/events"] - }, - "hooks_url": { - "type": "string", - "examples": ["https://api.github.com/orgs/github/hooks"] - }, - "issues_url": { - "type": "string", - "examples": ["https://api.github.com/orgs/github/issues"] - }, - "members_url": { - "type": "string", - "examples": ["https://api.github.com/orgs/github/members{/member}"] - }, - "public_members_url": { - "type": "string", - "examples": [ - "https://api.github.com/orgs/github/public_members{/member}" - ] - }, - "avatar_url": { - "type": "string", - "examples": ["https://github.com/images/error/octocat_happy.gif"] - }, - "description": { - "type": ["string", "null"], - "examples": ["A great organization"] - }, - "name": { "type": "string", "examples": ["github"] }, - "company": { "type": "string", "examples": ["GitHub"] }, - "blog": { - "type": "string", - "format": "uri", - "examples": ["https://github.com/blog"] - }, - "location": { "type": "string", "examples": ["San Francisco"] }, - "email": { - "type": "string", - "format": "email", - "examples": ["octocat@github.com"] - }, - "twitter_username": { - "type": ["string", "null"], - "examples": ["github"] - }, - "is_verified": { "type": "boolean", "examples": [true] }, - "has_organization_projects": { - "type": "boolean", - "examples": [true] - }, - "has_repository_projects": { "type": "boolean", "examples": [true] }, - "public_repos": { "type": "integer", "examples": [2] }, - "public_gists": { "type": "integer", "examples": [1] }, - "followers": { "type": "integer", "examples": [20] }, - "following": { "type": "integer", "examples": [0] }, - "html_url": { - "type": "string", - "format": "uri", - "examples": ["https://github.com/octocat"] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": ["2008-01-14T04:33:35Z"] - }, - "type": { "type": "string", "examples": ["Organization"] }, - "total_private_repos": { "type": "integer", "examples": [100] }, - "owned_private_repos": { "type": "integer", "examples": [100] }, - "private_gists": { "type": ["integer", "null"], "examples": [81] }, - "disk_usage": { "type": ["integer", "null"], "examples": [10000] }, - "collaborators": { "type": ["integer", "null"], "examples": [8] }, - "billing_email": { - "type": ["string", "null"], - "format": "email", - "examples": ["org@example.com"] - }, - "plan": { - "type": "object", - "properties": { - "name": { "type": "string" }, - "space": { "type": "integer" }, - "private_repos": { "type": "integer" }, - "filled_seats": { "type": "integer" }, - "seats": { "type": "integer" } - }, - "required": ["name", "space", "private_repos"] - }, - "default_repository_permission": { "type": ["string", "null"] }, - "members_can_create_repositories": { - "type": ["boolean", "null"], - "examples": [true] - }, - "two_factor_requirement_enabled": { - "type": ["boolean", "null"], - "examples": [true] - }, - "members_allowed_repository_creation_type": { - "type": "string", - "examples": ["all"] - }, - "members_can_create_public_repositories": { - "type": "boolean", - "examples": [true] - }, - "members_can_create_private_repositories": { - "type": "boolean", - "examples": [true] - }, - "members_can_create_internal_repositories": { - "type": "boolean", - "examples": [true] - }, - "members_can_create_pages": { "type": "boolean", "examples": [true] }, - "members_can_create_public_pages": { - "type": "boolean", - "examples": [true] - }, - "members_can_create_private_pages": { - "type": "boolean", - "examples": [true] - }, - "members_can_fork_private_repositories": { - "type": ["boolean", "null"], - "examples": [false] - }, - "web_commit_signoff_required": { - "type": "boolean", - "examples": [false] - }, - "updated_at": { "type": "string", "format": "date-time" }, - "archived_at": { "type": ["string", "null"], "format": "date-time" } - }, - "required": [ - "login", - "url", - "id", - "node_id", - "repos_url", - "events_url", - "hooks_url", - "issues_url", - "members_url", - "public_members_url", - "avatar_url", - "description", - "html_url", - "has_organization_projects", - "has_repository_projects", - "public_repos", - "public_gists", - "followers", - "following", - "type", - "created_at", - "updated_at", - "archived_at" - ] - }, - "team-full": { - "title": "Full Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier of the team", - "type": "integer", - "examples": [42] - }, - "node_id": { "type": "string", "examples": ["MDQ6VGVhbTE="] }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/organizations/1/team/1"] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": ["https://github.com/orgs/rails/teams/core"] - }, - "name": { - "description": "Name of the team", - "type": "string", - "examples": ["Developers"] - }, - "slug": { "type": "string", "examples": ["justice-league"] }, - "description": { - "type": ["string", "null"], - "examples": ["A great team."] - }, - "privacy": { - "description": "The level of privacy this team should have", - "type": "string", - "enum": ["closed", "secret"], - "examples": ["closed"] - }, - "notification_setting": { - "description": "The notification setting the team has set", - "type": "string", - "enum": ["notifications_enabled", "notifications_disabled"], - "examples": ["notifications_enabled"] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string", - "examples": ["push"] - }, - "members_url": { - "type": "string", - "examples": [ - "https://api.github.com/organizations/1/team/1/members{/member}" - ] - }, - "repositories_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/organizations/1/team/1/repos"] - }, - "parent": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/team-simple" } - ] - }, - "members_count": { "type": "integer", "examples": [3] }, - "repos_count": { "type": "integer", "examples": [10] }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": ["2017-07-14T16:53:42Z"] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": ["2017-08-17T12:37:15Z"] - }, - "organization": { "$ref": "#/components/schemas/team-organization" }, - "ldap_dn": { - "description": "Distinguished Name (DN) that team maps to within LDAP environment", - "type": "string", - "examples": ["uid=example,ou=users,dc=github,dc=com"] - } - }, - "required": [ - "id", - "node_id", - "url", - "members_url", - "name", - "description", - "permission", - "html_url", - "repositories_url", - "slug", - "created_at", - "updated_at", - "members_count", - "repos_count", - "organization" - ] - }, - "team-discussion": { - "title": "Team Discussion", - "description": "A team discussion is a persistent record of a free-form conversation within a team.", - "type": "object", - "properties": { - "author": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "body": { - "description": "The main text of the discussion.", - "type": "string", - "examples": [ - "Please suggest improvements to our workflow in comments." - ] - }, - "body_html": { - "type": "string", - "examples": [ - "

Hi! This is an area for us to collaborate as a team

" - ] - }, - "body_version": { - "description": "The current version of the body content. If provided, this update operation will be rejected if the given version does not match the latest version on the server.", - "type": "string", - "examples": ["0307116bbf7ced493b8d8a346c650b71"] - }, - "comments_count": { "type": "integer", "examples": [0] }, - "comments_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/organizations/1/team/2343027/discussions/1/comments" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": ["2018-01-25T18:56:31Z"] - }, - "last_edited_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/orgs/github/teams/justice-league/discussions/1" - ] - }, - "node_id": { - "type": "string", - "examples": ["MDE0OlRlYW1EaXNjdXNzaW9uMQ=="] - }, - "number": { - "description": "The unique sequence number of a team discussion.", - "type": "integer", - "examples": [42] - }, - "pinned": { - "description": "Whether or not this discussion should be pinned for easy retrieval.", - "type": "boolean", - "examples": [true] - }, - "private": { - "description": "Whether or not this discussion should be restricted to team members and organization owners.", - "type": "boolean", - "examples": [true] - }, - "team_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/organizations/1/team/2343027"] - }, - "title": { - "description": "The title of the discussion.", - "type": "string", - "examples": ["How can we improve our workflow?"] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": ["2018-01-25T18:56:31Z"] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/organizations/1/team/2343027/discussions/1" - ] - }, - "reactions": { "$ref": "#/components/schemas/reaction-rollup" } - }, - "required": [ - "author", - "body", - "body_html", - "body_version", - "comments_count", - "comments_url", - "created_at", - "last_edited_at", - "html_url", - "pinned", - "private", - "node_id", - "number", - "team_url", - "title", - "updated_at", - "url" - ] - }, - "team-discussion-comment": { - "title": "Team Discussion Comment", - "description": "A reply to a discussion within a team.", - "type": "object", - "properties": { - "author": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "body": { - "description": "The main text of the comment.", - "type": "string", - "examples": ["I agree with this suggestion."] - }, - "body_html": { - "type": "string", - "examples": ["

Do you like apples?

"] - }, - "body_version": { - "description": "The current version of the body content. If provided, this update operation will be rejected if the given version does not match the latest version on the server.", - "type": "string", - "examples": ["0307116bbf7ced493b8d8a346c650b71"] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": ["2018-01-15T23:53:58Z"] - }, - "last_edited_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "discussion_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/organizations/1/team/2403582/discussions/1" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/orgs/github/teams/justice-league/discussions/1/comments/1" - ] - }, - "node_id": { - "type": "string", - "examples": ["MDIxOlRlYW1EaXNjdXNzaW9uQ29tbWVudDE="] - }, - "number": { - "description": "The unique sequence number of a team discussion comment.", - "type": "integer", - "examples": [42] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": ["2018-01-15T23:53:58Z"] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1" - ] - }, - "reactions": { "$ref": "#/components/schemas/reaction-rollup" } - }, - "required": [ - "author", - "body", - "body_html", - "body_version", - "created_at", - "last_edited_at", - "discussion_url", - "html_url", - "node_id", - "number", - "updated_at", - "url" - ] - }, - "reaction": { - "title": "Reaction", - "description": "Reactions to conversations provide a way to help people express their feelings more simply and effectively.", - "type": "object", - "properties": { - "id": { "type": "integer", "examples": [1] }, - "node_id": { "type": "string", "examples": ["MDg6UmVhY3Rpb24x"] }, - "user": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "content": { - "description": "The reaction to use", - "type": "string", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "examples": ["heart"] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": ["2016-05-20T20:09:31Z"] - } - }, - "required": ["id", "node_id", "user", "content", "created_at"] - }, - "team-membership": { - "title": "Team Membership", - "description": "Team Membership", - "type": "object", - "properties": { - "url": { "type": "string", "format": "uri" }, - "role": { - "description": "The role of the user in the team.", - "enum": ["member", "maintainer"], - "default": "member", - "type": "string", - "examples": ["member"] - }, - "state": { - "description": "The state of the user's membership in the team.", - "type": "string", - "enum": ["active", "pending"] - } - }, - "required": ["role", "state", "url"] - }, - "team-project": { - "title": "Team Project", - "description": "A team's access to a project.", - "type": "object", - "properties": { - "owner_url": { "type": "string" }, - "url": { "type": "string" }, - "html_url": { "type": "string" }, - "columns_url": { "type": "string" }, - "id": { "type": "integer" }, - "node_id": { "type": "string" }, - "name": { "type": "string" }, - "body": { "type": ["string", "null"] }, - "number": { "type": "integer" }, - "state": { "type": "string" }, - "creator": { "$ref": "#/components/schemas/simple-user" }, - "created_at": { "type": "string" }, - "updated_at": { "type": "string" }, - "organization_permission": { - "description": "The organization permission for this project. Only present when owner is an organization.", - "type": "string" - }, - "private": { - "description": "Whether the project is private or not. Only present when owner is an organization.", - "type": "boolean" - }, - "permissions": { - "type": "object", - "properties": { - "read": { "type": "boolean" }, - "write": { "type": "boolean" }, - "admin": { "type": "boolean" } - }, - "required": ["read", "write", "admin"] - } - }, - "required": [ - "owner_url", - "url", - "html_url", - "columns_url", - "id", - "node_id", - "name", - "body", - "number", - "state", - "creator", - "created_at", - "updated_at", - "permissions" - ] - }, - "team-repository": { - "title": "Team Repository", - "description": "A team's access to a repository.", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "examples": [42] - }, - "node_id": { - "type": "string", - "examples": ["MDEwOlJlcG9zaXRvcnkxMjk2MjY5"] - }, - "name": { - "description": "The name of the repository.", - "type": "string", - "examples": ["Team Environment"] - }, - "full_name": { - "type": "string", - "examples": ["octocat/Hello-World"] - }, - "license": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/license-simple" } - ] - }, - "forks": { "type": "integer" }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "triage": { "type": "boolean" }, - "push": { "type": "boolean" }, - "maintain": { "type": "boolean" } - }, - "required": ["admin", "pull", "push"] - }, - "role_name": { "type": "string", "examples": ["admin"] }, - "owner": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "private": { - "description": "Whether the repository is private or public.", - "default": false, - "type": "boolean" - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": ["https://github.com/octocat/Hello-World"] - }, - "description": { - "type": ["string", "null"], - "examples": ["This your first repo!"] - }, - "fork": { "type": "boolean" }, - "url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/repos/octocat/Hello-World"] - }, - "archive_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" - ] - }, - "assignees_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" - ] - }, - "blobs_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" - ] - }, - "branches_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" - ] - }, - "collaborators_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" - ] - }, - "comments_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/comments{/number}" - ] - }, - "commits_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" - ] - }, - "compare_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" - ] - }, - "contents_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" - ] - }, - "contributors_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/contributors" - ] - }, - "deployments_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/deployments" - ] - }, - "downloads_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/downloads" - ] - }, - "events_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/events" - ] - }, - "forks_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/forks" - ] - }, - "git_commits_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" - ] - }, - "git_refs_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" - ] - }, - "git_tags_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" - ] - }, - "git_url": { - "type": "string", - "examples": ["git:github.com/octocat/Hello-World.git"] - }, - "issue_comment_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" - ] - }, - "issue_events_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" - ] - }, - "issues_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/issues{/number}" - ] - }, - "keys_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" - ] - }, - "labels_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/labels{/name}" - ] - }, - "languages_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/languages" - ] - }, - "merges_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/merges" - ] - }, - "milestones_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" - ] - }, - "notifications_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" - ] - }, - "pulls_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" - ] - }, - "releases_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/releases{/id}" - ] - }, - "ssh_url": { - "type": "string", - "examples": ["git@github.com:octocat/Hello-World.git"] - }, - "stargazers_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/stargazers" - ] - }, - "statuses_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" - ] - }, - "subscribers_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/subscribers" - ] - }, - "subscription_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/subscription" - ] - }, - "tags_url": { - "type": "string", - "format": "uri", - "examples": ["http://api.github.com/repos/octocat/Hello-World/tags"] - }, - "teams_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/teams" - ] - }, - "trees_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" - ] - }, - "clone_url": { - "type": "string", - "examples": ["https://github.com/octocat/Hello-World.git"] - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri", - "examples": ["git:git.example.com/octocat/Hello-World"] - }, - "hooks_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/hooks" - ] - }, - "svn_url": { - "type": "string", - "format": "uri", - "examples": ["https://svn.github.com/octocat/Hello-World"] - }, - "homepage": { - "type": ["string", "null"], - "format": "uri", - "examples": ["https://github.com"] - }, - "language": { "type": ["string", "null"] }, - "forks_count": { "type": "integer", "examples": [9] }, - "stargazers_count": { "type": "integer", "examples": [80] }, - "watchers_count": { "type": "integer", "examples": [80] }, - "size": { "type": "integer", "examples": [108] }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string", - "examples": ["master"] - }, - "open_issues_count": { "type": "integer", "examples": [0] }, - "is_template": { - "description": "Whether this repository acts as a template that can be used to generate new repositories.", - "default": false, - "type": "boolean", - "examples": [true] - }, - "topics": { "type": "array", "items": { "type": "string" } }, - "has_issues": { - "description": "Whether issues are enabled.", - "default": true, - "type": "boolean", - "examples": [true] - }, - "has_projects": { - "description": "Whether projects are enabled.", - "default": true, - "type": "boolean", - "examples": [true] - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "default": true, - "type": "boolean", - "examples": [true] - }, - "has_pages": { "type": "boolean" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "default": true, - "type": "boolean", - "examples": [true] - }, - "archived": { - "description": "Whether the repository is archived.", - "default": false, - "type": "boolean" - }, - "disabled": { - "type": "boolean", - "description": "Returns whether or not this repository disabled." - }, - "visibility": { - "description": "The repository visibility: public, private, or internal.", - "default": "public", - "type": "string" - }, - "pushed_at": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2011-01-26T19:06:43Z"] - }, - "created_at": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2011-01-26T19:01:12Z"] - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2011-01-26T19:14:43Z"] - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "default": true, - "type": "boolean", - "examples": [true] - }, - "temp_clone_token": { "type": "string" }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "default": true, - "type": "boolean", - "examples": [true] - }, - "allow_auto_merge": { - "description": "Whether to allow Auto-merge to be used on pull requests.", - "default": false, - "type": "boolean", - "examples": [false] - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "default": false, - "type": "boolean", - "examples": [false] - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "default": true, - "type": "boolean", - "examples": [true] - }, - "allow_forking": { - "description": "Whether to allow forking this repo", - "default": false, - "type": "boolean", - "examples": [false] - }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "default": false, - "type": "boolean", - "examples": [false] - }, - "subscribers_count": { "type": "integer" }, - "network_count": { "type": "integer" }, - "open_issues": { "type": "integer" }, - "watchers": { "type": "integer" }, - "master_branch": { "type": "string" } - }, - "required": [ - "archive_url", - "assignees_url", - "blobs_url", - "branches_url", - "collaborators_url", - "comments_url", - "commits_url", - "compare_url", - "contents_url", - "contributors_url", - "deployments_url", - "description", - "downloads_url", - "events_url", - "fork", - "forks_url", - "full_name", - "git_commits_url", - "git_refs_url", - "git_tags_url", - "hooks_url", - "html_url", - "id", - "node_id", - "issue_comment_url", - "issue_events_url", - "issues_url", - "keys_url", - "labels_url", - "languages_url", - "merges_url", - "milestones_url", - "name", - "notifications_url", - "owner", - "private", - "pulls_url", - "releases_url", - "stargazers_url", - "statuses_url", - "subscribers_url", - "subscription_url", - "tags_url", - "teams_url", - "trees_url", - "url", - "clone_url", - "default_branch", - "forks", - "forks_count", - "git_url", - "has_downloads", - "has_issues", - "has_projects", - "has_wiki", - "has_pages", - "homepage", - "language", - "archived", - "disabled", - "mirror_url", - "open_issues", - "open_issues_count", - "license", - "pushed_at", - "size", - "ssh_url", - "stargazers_count", - "svn_url", - "watchers", - "watchers_count", - "created_at", - "updated_at" - ] - }, - "project-card": { - "title": "Project Card", - "description": "Project cards represent a scope of work.", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/projects/columns/cards/1478"] - }, - "id": { - "description": "The project card's ID", - "type": "integer", - "format": "int64", - "examples": [42] - }, - "node_id": { - "type": "string", - "examples": ["MDExOlByb2plY3RDYXJkMTQ3OA=="] - }, - "note": { - "type": ["string", "null"], - "examples": ["Add payload for delete Project column"] - }, - "creator": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": ["2016-09-05T14:21:06Z"] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": ["2016-09-05T14:20:22Z"] - }, - "archived": { - "description": "Whether or not the card is archived", - "type": "boolean", - "examples": [false] - }, - "column_name": { "type": "string" }, - "project_id": { "type": "string" }, - "column_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/projects/columns/367"] - }, - "content_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/api-playground/projects-test/issues/3" - ] - }, - "project_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/projects/120"] - } - }, - "required": [ - "id", - "node_id", - "note", - "url", - "column_url", - "project_url", - "creator", - "created_at", - "updated_at" - ] - }, - "project-column": { - "title": "Project Column", - "description": "Project columns contain cards of work.", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/projects/columns/367"] - }, - "project_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/projects/120"] - }, - "cards_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/projects/columns/367/cards"] - }, - "id": { - "description": "The unique identifier of the project column", - "type": "integer", - "examples": [42] - }, - "node_id": { - "type": "string", - "examples": ["MDEzOlByb2plY3RDb2x1bW4zNjc="] - }, - "name": { - "description": "Name of the project column", - "type": "string", - "examples": ["Remaining tasks"] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": ["2016-09-05T14:18:44Z"] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": ["2016-09-05T14:22:28Z"] - } - }, - "required": [ - "id", - "node_id", - "url", - "project_url", - "cards_url", - "name", - "created_at", - "updated_at" - ] - }, - "project-collaborator-permission": { - "title": "Project Collaborator Permission", - "description": "Project Collaborator Permission", - "type": "object", - "properties": { - "permission": { "type": "string" }, - "user": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - } - }, - "required": ["permission", "user"] - }, - "rate-limit": { - "title": "Rate Limit", - "type": "object", - "properties": { - "limit": { "type": "integer" }, - "remaining": { "type": "integer" }, - "reset": { "type": "integer" }, - "used": { "type": "integer" } - }, - "required": ["limit", "remaining", "reset", "used"] - }, - "rate-limit-overview": { - "title": "Rate Limit Overview", - "description": "Rate Limit Overview", - "type": "object", - "properties": { - "resources": { - "type": "object", - "properties": { - "core": { "$ref": "#/components/schemas/rate-limit" }, - "graphql": { "$ref": "#/components/schemas/rate-limit" }, - "search": { "$ref": "#/components/schemas/rate-limit" }, - "code_search": { "$ref": "#/components/schemas/rate-limit" }, - "source_import": { "$ref": "#/components/schemas/rate-limit" }, - "integration_manifest": { - "$ref": "#/components/schemas/rate-limit" - }, - "code_scanning_upload": { - "$ref": "#/components/schemas/rate-limit" - }, - "actions_runner_registration": { - "$ref": "#/components/schemas/rate-limit" - }, - "scim": { "$ref": "#/components/schemas/rate-limit" }, - "code_scanning_autofix": { - "$ref": "#/components/schemas/rate-limit" - } - }, - "required": ["core", "search"] - }, - "rate": { "$ref": "#/components/schemas/rate-limit" } - }, - "required": ["rate", "resources"] - }, - "artifact": { - "title": "Artifact", - "description": "An artifact", - "type": "object", - "properties": { - "id": { "type": "integer", "examples": [5] }, - "node_id": { "type": "string", "examples": ["MDEwOkNoZWNrU3VpdGU1"] }, - "name": { - "description": "The name of the artifact.", - "type": "string", - "examples": ["AdventureWorks.Framework"] - }, - "size_in_bytes": { - "description": "The size in bytes of the artifact.", - "type": "integer", - "examples": [12345] - }, - "url": { - "type": "string", - "examples": [ - "https://api.github.com/repos/github/hello-world/actions/artifacts/5" - ] - }, - "archive_download_url": { - "type": "string", - "examples": [ - "https://api.github.com/repos/github/hello-world/actions/artifacts/5/zip" - ] - }, - "expired": { - "description": "Whether or not the artifact has expired.", - "type": "boolean" - }, - "created_at": { "type": ["string", "null"], "format": "date-time" }, - "expires_at": { "type": ["string", "null"], "format": "date-time" }, - "updated_at": { "type": ["string", "null"], "format": "date-time" }, - "workflow_run": { - "type": ["object", "null"], - "properties": { - "id": { "type": "integer", "examples": [10] }, - "repository_id": { "type": "integer", "examples": [42] }, - "head_repository_id": { "type": "integer", "examples": [42] }, - "head_branch": { "type": "string", "examples": ["main"] }, - "head_sha": { - "type": "string", - "examples": ["009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d"] - } - } - } - }, - "required": [ - "id", - "node_id", - "name", - "size_in_bytes", - "url", - "archive_download_url", - "expired", - "created_at", - "expires_at", - "updated_at" - ] - }, - "actions-cache-usage-policy-for-repository": { - "title": "Actions cache usage policy for repository", - "description": "GitHub Actions cache usage policy for repository.", - "type": "object", - "properties": { - "repo_cache_size_limit_in_gb": { - "description": "The size limit for the sum of all caches, in gigabytes.", - "type": "integer", - "examples": [14] - } - }, - "required": ["repo_cache_size_limit_in_gb"] - }, - "actions-cache-list": { - "title": "Repository actions caches", - "description": "Repository actions caches", - "type": "object", - "properties": { - "total_count": { - "description": "Total number of caches", - "type": "integer", - "examples": [2] - }, - "actions_caches": { - "description": "Array of caches", - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { "type": "integer", "examples": [2] }, - "ref": { "type": "string", "examples": ["refs/heads/main"] }, - "key": { - "type": "string", - "examples": [ - "Linux-node-958aff96db2d75d67787d1e634ae70b659de937b" - ] - }, - "version": { - "type": "string", - "examples": [ - "73885106f58cc52a7df9ec4d4a5622a5614813162cb516c759a30af6bf56e6f0" - ] - }, - "last_accessed_at": { - "type": "string", - "format": "date-time", - "examples": ["2019-01-24T22:45:36.000Z"] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": ["2019-01-24T22:45:36.000Z"] - }, - "size_in_bytes": { "type": "integer", "examples": [1024] } - } - } - } - }, - "required": ["total_count", "actions_caches"] - }, - "job": { - "title": "Job", - "description": "Information of a job execution in a workflow run", - "type": "object", - "properties": { - "id": { - "description": "The id of the job.", - "type": "integer", - "examples": [21] - }, - "run_id": { - "description": "The id of the associated workflow run.", - "type": "integer", - "examples": [5] - }, - "run_url": { - "type": "string", - "examples": [ - "https://api.github.com/repos/github/hello-world/actions/runs/5" - ] - }, - "run_attempt": { - "type": "integer", - "description": "Attempt number of the associated workflow run, 1 for first attempt and higher if the workflow was re-run.", - "examples": [1] - }, - "node_id": { "type": "string", "examples": ["MDg6Q2hlY2tSdW40"] }, - "head_sha": { - "description": "The SHA of the commit that is being run.", - "type": "string", - "examples": ["009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d"] - }, - "url": { - "type": "string", - "examples": [ - "https://api.github.com/repos/github/hello-world/actions/jobs/21" - ] - }, - "html_url": { - "type": ["string", "null"], - "examples": ["https://github.com/github/hello-world/runs/4"] - }, - "status": { - "description": "The phase of the lifecycle that the job is currently in.", - "type": "string", - "enum": [ - "queued", - "in_progress", - "completed", - "waiting", - "requested", - "pending" - ], - "examples": ["queued"] - }, - "conclusion": { - "description": "The outcome of the job.", - "type": ["string", "null"], - "enum": [ - "success", - "failure", - "neutral", - "cancelled", - "skipped", - "timed_out", - "action_required", - null - ], - "examples": ["success"] - }, - "created_at": { - "description": "The time that the job created, in ISO 8601 format.", - "format": "date-time", - "type": "string", - "examples": ["2019-08-08T08:00:00-07:00"] - }, - "started_at": { - "description": "The time that the job started, in ISO 8601 format.", - "format": "date-time", - "type": "string", - "examples": ["2019-08-08T08:00:00-07:00"] - }, - "completed_at": { - "description": "The time that the job finished, in ISO 8601 format.", - "format": "date-time", - "type": ["string", "null"], - "examples": ["2019-08-08T08:00:00-07:00"] - }, - "name": { - "description": "The name of the job.", - "type": "string", - "examples": ["test-coverage"] - }, - "steps": { - "description": "Steps in this job.", - "type": "array", - "items": { - "type": "object", - "required": ["name", "status", "conclusion", "number"], - "properties": { - "status": { - "description": "The phase of the lifecycle that the job is currently in.", - "type": "string", - "enum": ["queued", "in_progress", "completed"], - "examples": ["queued"] - }, - "conclusion": { - "description": "The outcome of the job.", - "type": ["string", "null"], - "examples": ["success"] - }, - "name": { - "description": "The name of the job.", - "type": "string", - "examples": ["test-coverage"] - }, - "number": { "type": "integer", "examples": [1] }, - "started_at": { - "description": "The time that the step started, in ISO 8601 format.", - "format": "date-time", - "type": ["string", "null"], - "examples": ["2019-08-08T08:00:00-07:00"] - }, - "completed_at": { - "description": "The time that the job finished, in ISO 8601 format.", - "format": "date-time", - "type": ["string", "null"], - "examples": ["2019-08-08T08:00:00-07:00"] - } - } - } - }, - "check_run_url": { - "type": "string", - "examples": [ - "https://api.github.com/repos/github/hello-world/check-runs/4" - ] - }, - "labels": { - "type": "array", - "items": { "type": "string" }, - "description": "Labels for the workflow job. Specified by the \"runs_on\" attribute in the action's workflow file.", - "examples": ["self-hosted", "foo", "bar"] - }, - "runner_id": { - "type": ["integer", "null"], - "description": "The ID of the runner to which this job has been assigned. (If a runner hasn't yet been assigned, this will be null.)", - "examples": [1] - }, - "runner_name": { - "type": ["string", "null"], - "description": "The name of the runner to which this job has been assigned. (If a runner hasn't yet been assigned, this will be null.)", - "examples": ["my runner"] - }, - "runner_group_id": { - "type": ["integer", "null"], - "description": "The ID of the runner group to which this job has been assigned. (If a runner hasn't yet been assigned, this will be null.)", - "examples": [2] - }, - "runner_group_name": { - "type": ["string", "null"], - "description": "The name of the runner group to which this job has been assigned. (If a runner hasn't yet been assigned, this will be null.)", - "examples": ["my runner group"] - }, - "workflow_name": { - "type": ["string", "null"], - "description": "The name of the workflow.", - "examples": ["Build"] - }, - "head_branch": { - "type": ["string", "null"], - "description": "The name of the current branch.", - "examples": ["main"] - } - }, - "required": [ - "id", - "node_id", - "run_id", - "run_url", - "head_sha", - "workflow_name", - "head_branch", - "name", - "url", - "html_url", - "status", - "conclusion", - "started_at", - "completed_at", - "check_run_url", - "labels", - "runner_id", - "runner_name", - "runner_group_id", - "runner_group_name", - "created_at" - ] - }, - "oidc-custom-sub-repo": { - "title": "Actions OIDC subject customization for a repository", - "description": "Actions OIDC subject customization for a repository", - "type": "object", - "properties": { - "use_default": { - "description": "Whether to use the default template or not. If `true`, the `include_claim_keys` field is ignored.", - "type": "boolean" - }, - "include_claim_keys": { - "description": "Array of unique strings. Each claim key can only contain alphanumeric characters and underscores.", - "type": "array", - "items": { "type": "string" } - } - }, - "required": ["use_default"] - }, - "actions-secret": { - "title": "Actions Secret", - "description": "Set secrets for GitHub Actions.", - "type": "object", - "properties": { - "name": { - "description": "The name of the secret.", - "type": "string", - "examples": ["SECRET_TOKEN"] - }, - "created_at": { "type": "string", "format": "date-time" }, - "updated_at": { "type": "string", "format": "date-time" } - }, - "required": ["name", "created_at", "updated_at"] - }, - "actions-variable": { - "title": "Actions Variable", - "type": "object", - "properties": { - "name": { - "description": "The name of the variable.", - "type": "string", - "examples": ["USERNAME"] - }, - "value": { - "description": "The value of the variable.", - "type": "string", - "examples": ["octocat"] - }, - "created_at": { - "description": "The date and time at which the variable was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", - "type": "string", - "format": "date-time", - "examples": ["2019-01-24T22:45:36.000Z"] - }, - "updated_at": { - "description": "The date and time at which the variable was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", - "type": "string", - "format": "date-time", - "examples": ["2019-01-24T22:45:36.000Z"] - } - }, - "required": ["name", "value", "created_at", "updated_at"] - }, - "actions-enabled": { - "type": "boolean", - "description": "Whether GitHub Actions is enabled on the repository." - }, - "actions-repository-permissions": { - "type": "object", - "properties": { - "enabled": { "$ref": "#/components/schemas/actions-enabled" }, - "allowed_actions": { "$ref": "#/components/schemas/allowed-actions" }, - "selected_actions_url": { - "$ref": "#/components/schemas/selected-actions-url" - } - }, - "required": ["enabled"] - }, - "actions-workflow-access-to-repository": { - "type": "object", - "properties": { - "access_level": { - "type": "string", - "description": "Defines the level of access that workflows outside of the repository have to actions and reusable workflows within the\nrepository.\n\n`none` means the access is only possible from workflows in this repository. `user` level access allows sharing across user owned private repositories only. `organization` level access allows sharing across the organization. `enterprise` level access allows sharing across the enterprise.", - "enum": ["none", "user", "organization", "enterprise"] - } - }, - "required": ["access_level"] - }, - "referenced-workflow": { - "title": "Referenced workflow", - "description": "A workflow referenced/reused by the initial caller workflow", - "type": "object", - "properties": { - "path": { "type": "string" }, - "sha": { "type": "string" }, - "ref": { "type": "string" } - }, - "required": ["path", "sha"] - }, - "pull-request-minimal": { - "title": "Pull Request Minimal", - "type": "object", - "properties": { - "id": { "type": "integer", "format": "int64" }, - "number": { "type": "integer" }, - "url": { "type": "string" }, - "head": { - "type": "object", - "properties": { - "ref": { "type": "string" }, - "sha": { "type": "string" }, - "repo": { - "type": "object", - "properties": { - "id": { "type": "integer", "format": "int64" }, - "url": { "type": "string" }, - "name": { "type": "string" } - }, - "required": ["id", "url", "name"] - } - }, - "required": ["ref", "sha", "repo"] - }, - "base": { - "type": "object", - "properties": { - "ref": { "type": "string" }, - "sha": { "type": "string" }, - "repo": { - "type": "object", - "properties": { - "id": { "type": "integer", "format": "int64" }, - "url": { "type": "string" }, - "name": { "type": "string" } - }, - "required": ["id", "url", "name"] - } - }, - "required": ["ref", "sha", "repo"] - } - }, - "required": ["id", "number", "url", "head", "base"] - }, - "simple-commit": { - "title": "Simple Commit", - "description": "A commit.", - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "SHA for the commit", - "examples": ["7638417db6d59f3c431d3e1f261cc637155684cd"] - }, - "tree_id": { - "type": "string", - "description": "SHA for the commit's tree" - }, - "message": { - "description": "Message describing the purpose of the commit", - "type": "string", - "examples": ["Fix #42"] - }, - "timestamp": { - "description": "Timestamp of the commit", - "format": "date-time", - "type": "string", - "examples": ["2014-08-09T08:02:04+12:00"] - }, - "author": { - "type": ["object", "null"], - "description": "Information about the Git author", - "properties": { - "name": { - "description": "Name of the commit's author", - "type": "string", - "examples": ["Monalisa Octocat"] - }, - "email": { - "description": "Git email address of the commit's author", - "type": "string", - "format": "email", - "examples": ["monalisa.octocat@example.com"] - } - }, - "required": ["name", "email"] - }, - "committer": { - "type": ["object", "null"], - "description": "Information about the Git committer", - "properties": { - "name": { - "description": "Name of the commit's committer", - "type": "string", - "examples": ["Monalisa Octocat"] - }, - "email": { - "description": "Git email address of the commit's committer", - "type": "string", - "format": "email", - "examples": ["monalisa.octocat@example.com"] - } - }, - "required": ["name", "email"] - } - }, - "required": [ - "id", - "tree_id", - "message", - "timestamp", - "author", - "committer" - ] - }, - "workflow-run": { - "title": "Workflow Run", - "description": "An invocation of a workflow", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "The ID of the workflow run.", - "examples": [5] - }, - "name": { - "type": ["string", "null"], - "description": "The name of the workflow run.", - "examples": ["Build"] - }, - "node_id": { "type": "string", "examples": ["MDEwOkNoZWNrU3VpdGU1"] }, - "check_suite_id": { - "type": "integer", - "description": "The ID of the associated check suite.", - "examples": [42] - }, - "check_suite_node_id": { - "type": "string", - "description": "The node ID of the associated check suite.", - "examples": ["MDEwOkNoZWNrU3VpdGU0Mg=="] - }, - "head_branch": { "type": ["string", "null"], "examples": ["master"] }, - "head_sha": { - "description": "The SHA of the head commit that points to the version of the workflow being run.", - "type": "string", - "examples": ["009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d"] - }, - "path": { - "description": "The full path of the workflow", - "type": "string", - "examples": ["octocat/octo-repo/.github/workflows/ci.yml@main"] - }, - "run_number": { - "type": "integer", - "description": "The auto incrementing run number for the workflow run.", - "examples": [106] - }, - "run_attempt": { - "type": "integer", - "description": "Attempt number of the run, 1 for first attempt and higher if the workflow was re-run.", - "examples": [1] - }, - "referenced_workflows": { - "type": ["array", "null"], - "items": { "$ref": "#/components/schemas/referenced-workflow" } - }, - "event": { "type": "string", "examples": ["push"] }, - "status": { "type": ["string", "null"], "examples": ["completed"] }, - "conclusion": { "type": ["string", "null"], "examples": ["neutral"] }, - "workflow_id": { - "type": "integer", - "description": "The ID of the parent workflow.", - "examples": [5] - }, - "url": { - "type": "string", - "description": "The URL to the workflow run.", - "examples": [ - "https://api.github.com/repos/github/hello-world/actions/runs/5" - ] - }, - "html_url": { - "type": "string", - "examples": ["https://github.com/github/hello-world/suites/4"] - }, - "pull_requests": { - "description": "Pull requests that are open with a `head_sha` or `head_branch` that matches the workflow run. The returned pull requests do not necessarily indicate pull requests that triggered the run.", - "type": ["array", "null"], - "items": { "$ref": "#/components/schemas/pull-request-minimal" } - }, - "created_at": { "type": "string", "format": "date-time" }, - "updated_at": { "type": "string", "format": "date-time" }, - "actor": { "$ref": "#/components/schemas/simple-user" }, - "triggering_actor": { "$ref": "#/components/schemas/simple-user" }, - "run_started_at": { - "type": "string", - "format": "date-time", - "description": "The start time of the latest run. Resets on re-run." - }, - "jobs_url": { - "description": "The URL to the jobs for the workflow run.", - "type": "string", - "examples": [ - "https://api.github.com/repos/github/hello-world/actions/runs/5/jobs" - ] - }, - "logs_url": { - "description": "The URL to download the logs for the workflow run.", - "type": "string", - "examples": [ - "https://api.github.com/repos/github/hello-world/actions/runs/5/logs" - ] - }, - "check_suite_url": { - "description": "The URL to the associated check suite.", - "type": "string", - "examples": [ - "https://api.github.com/repos/github/hello-world/check-suites/12" - ] - }, - "artifacts_url": { - "description": "The URL to the artifacts for the workflow run.", - "type": "string", - "examples": [ - "https://api.github.com/repos/github/hello-world/actions/runs/5/rerun/artifacts" - ] - }, - "cancel_url": { - "description": "The URL to cancel the workflow run.", - "type": "string", - "examples": [ - "https://api.github.com/repos/github/hello-world/actions/runs/5/cancel" - ] - }, - "rerun_url": { - "description": "The URL to rerun the workflow run.", - "type": "string", - "examples": [ - "https://api.github.com/repos/github/hello-world/actions/runs/5/rerun" - ] - }, - "previous_attempt_url": { - "description": "The URL to the previous attempted run of this workflow, if one exists.", - "type": ["string", "null"], - "examples": [ - "https://api.github.com/repos/github/hello-world/actions/runs/5/attempts/3" - ] - }, - "workflow_url": { - "description": "The URL to the workflow.", - "type": "string", - "examples": [ - "https://api.github.com/repos/github/hello-world/actions/workflows/main.yaml" - ] - }, - "head_commit": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-commit" } - ] - }, - "repository": { "$ref": "#/components/schemas/minimal-repository" }, - "head_repository": { - "$ref": "#/components/schemas/minimal-repository" - }, - "head_repository_id": { "type": "integer", "examples": [5] }, - "display_title": { - "type": "string", - "description": "The event-specific title associated with the run or the run-name if set, or the value of `run-name` if it is set in the workflow.", - "examples": ["Simple Workflow"] - } - }, - "required": [ - "id", - "node_id", - "head_branch", - "run_number", - "display_title", - "event", - "status", - "conclusion", - "head_sha", - "path", - "workflow_id", - "url", - "html_url", - "created_at", - "updated_at", - "head_commit", - "head_repository", - "repository", - "jobs_url", - "logs_url", - "check_suite_url", - "cancel_url", - "rerun_url", - "artifacts_url", - "workflow_url", - "pull_requests" - ] - }, - "environment-approvals": { - "title": "Environment Approval", - "description": "An entry in the reviews log for environment deployments", - "type": "object", - "properties": { - "environments": { - "description": "The list of environments that were approved or rejected", - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "description": "The id of the environment.", - "type": "integer", - "examples": [56780428] - }, - "node_id": { - "type": "string", - "examples": ["MDExOkVudmlyb25tZW50NTY3ODA0Mjg="] - }, - "name": { - "description": "The name of the environment.", - "type": "string", - "examples": ["staging"] - }, - "url": { - "type": "string", - "examples": [ - "https://api.github.com/repos/github/hello-world/environments/staging" - ] - }, - "html_url": { - "type": "string", - "examples": [ - "https://github.com/github/hello-world/deployments/activity_log?environments_filter=staging" - ] - }, - "created_at": { - "description": "The time that the environment was created, in ISO 8601 format.", - "format": "date-time", - "type": "string", - "examples": ["2020-11-23T22:00:40Z"] - }, - "updated_at": { - "description": "The time that the environment was last updated, in ISO 8601 format.", - "format": "date-time", - "type": "string", - "examples": ["2020-11-23T22:00:40Z"] - } - } - } - }, - "state": { - "description": "Whether deployment to the environment(s) was approved or rejected or pending (with comments)", - "enum": ["approved", "rejected", "pending"], - "type": "string", - "examples": ["approved"] - }, - "user": { "$ref": "#/components/schemas/simple-user" }, - "comment": { - "type": "string", - "description": "The comment submitted with the deployment review", - "examples": ["Ship it!"] - } - }, - "required": ["environments", "state", "user", "comment"] - }, - "review-custom-gates-comment-required": { - "type": "object", - "properties": { - "environment_name": { - "type": "string", - "description": "The name of the environment to approve or reject." - }, - "comment": { - "type": "string", - "description": "Comment associated with the pending deployment protection rule. **Required when state is not provided.**" - } - }, - "required": ["environment_name", "comment"] - }, - "review-custom-gates-state-required": { - "type": "object", - "properties": { - "environment_name": { - "type": "string", - "description": "The name of the environment to approve or reject." - }, - "state": { - "type": "string", - "description": "Whether to approve or reject deployment to the specified environments.", - "enum": ["approved", "rejected"] - }, - "comment": { - "type": "string", - "description": "Optional comment to include with the review." - } - }, - "required": ["environment_name", "state"] - }, - "deployment-reviewer-type": { - "type": "string", - "description": "The type of reviewer.", - "enum": ["User", "Team"], - "examples": ["User"] - }, - "pending-deployment": { - "title": "Pending Deployment", - "description": "Details of a deployment that is waiting for protection rules to pass", - "type": "object", - "properties": { - "environment": { - "type": "object", - "properties": { - "id": { - "description": "The id of the environment.", - "type": "integer", - "format": "int64", - "examples": [56780428] - }, - "node_id": { - "type": "string", - "examples": ["MDExOkVudmlyb25tZW50NTY3ODA0Mjg="] - }, - "name": { - "description": "The name of the environment.", - "type": "string", - "examples": ["staging"] - }, - "url": { - "type": "string", - "examples": [ - "https://api.github.com/repos/github/hello-world/environments/staging" - ] - }, - "html_url": { - "type": "string", - "examples": [ - "https://github.com/github/hello-world/deployments/activity_log?environments_filter=staging" - ] - } - } - }, - "wait_timer": { - "type": "integer", - "description": "The set duration of the wait timer", - "examples": [30] - }, - "wait_timer_started_at": { - "description": "The time that the wait timer began.", - "format": "date-time", - "type": ["string", "null"], - "examples": ["2020-11-23T22:00:40Z"] - }, - "current_user_can_approve": { - "description": "Whether the currently authenticated user can approve the deployment", - "type": "boolean", - "examples": [true] - }, - "reviewers": { - "type": "array", - "description": "The people or teams that may approve jobs that reference the environment. You can list up to six users or teams as reviewers. The reviewers must have at least read access to the repository. Only one of the required reviewers needs to approve the job for it to proceed.", - "items": { - "type": "object", - "properties": { - "type": { - "$ref": "#/components/schemas/deployment-reviewer-type" - }, - "reviewer": { - "anyOf": [ - { "$ref": "#/components/schemas/simple-user" }, - { "$ref": "#/components/schemas/team" } - ] - } - } - } - } - }, - "required": [ - "environment", - "wait_timer", - "wait_timer_started_at", - "current_user_can_approve", - "reviewers" - ] - }, - "deployment": { - "title": "Deployment", - "description": "A request for a specific ref(branch,sha,tag) to be deployed", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/example/deployments/1" - ] - }, - "id": { - "description": "Unique identifier of the deployment", - "type": "integer", - "format": "int64", - "examples": [42] - }, - "node_id": { "type": "string", "examples": ["MDEwOkRlcGxveW1lbnQx"] }, - "sha": { - "type": "string", - "examples": ["a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d"] - }, - "ref": { - "description": "The ref to deploy. This can be a branch, tag, or sha.", - "type": "string", - "examples": ["topic-branch"] - }, - "task": { - "description": "Parameter to specify a task to execute", - "type": "string", - "examples": ["deploy"] - }, - "payload": { - "oneOf": [ - { "type": "object", "additionalProperties": true }, - { "type": "string" } - ] - }, - "original_environment": { "type": "string", "examples": ["staging"] }, - "environment": { - "description": "Name for the target deployment environment.", - "type": "string", - "examples": ["production"] - }, - "description": { - "type": ["string", "null"], - "examples": ["Deploy request from hubot"] - }, - "creator": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": ["2012-07-20T01:19:13Z"] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": ["2012-07-20T01:19:13Z"] - }, - "statuses_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/example/deployments/1/statuses" - ] - }, - "repository_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/repos/octocat/example"] - }, - "transient_environment": { - "description": "Specifies if the given environment is will no longer exist at some point in the future. Default: false.", - "type": "boolean", - "examples": [true] - }, - "production_environment": { - "description": "Specifies if the given environment is one that end-users directly interact with. Default: false.", - "type": "boolean", - "examples": [true] - }, - "performed_via_github_app": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/integration" } - ] - } - }, - "required": [ - "id", - "node_id", - "sha", - "ref", - "task", - "environment", - "creator", - "payload", - "description", - "statuses_url", - "repository_url", - "url", - "created_at", - "updated_at" - ] - }, - "workflow": { - "title": "Workflow", - "description": "A GitHub Actions workflow", - "type": "object", - "properties": { - "id": { "type": "integer", "examples": [5] }, - "node_id": { "type": "string", "examples": ["MDg6V29ya2Zsb3cxMg=="] }, - "name": { "type": "string", "examples": ["CI"] }, - "path": { "type": "string", "examples": ["ruby.yaml"] }, - "state": { - "type": "string", - "enum": [ - "active", - "deleted", - "disabled_fork", - "disabled_inactivity", - "disabled_manually" - ], - "examples": ["active"] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": ["2019-12-06T14:20:20.000Z"] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": ["2019-12-06T14:20:20.000Z"] - }, - "url": { - "type": "string", - "examples": [ - "https://api.github.com/repos/actions/setup-ruby/workflows/5" - ] - }, - "html_url": { - "type": "string", - "examples": [ - "https://github.com/actions/setup-ruby/blob/master/.github/workflows/ruby.yaml" - ] - }, - "badge_url": { - "type": "string", - "examples": [ - "https://github.com/actions/setup-ruby/workflows/CI/badge.svg" - ] - }, - "deleted_at": { - "type": "string", - "format": "date-time", - "examples": ["2019-12-06T14:20:20.000Z"] - } - }, - "required": [ - "id", - "node_id", - "name", - "path", - "state", - "url", - "html_url", - "badge_url", - "created_at", - "updated_at" - ] - }, - "activity": { - "title": "Activity", - "description": "Activity", - "type": "object", - "properties": { - "id": { "type": "integer", "examples": [1296269] }, - "node_id": { - "type": "string", - "examples": ["MDEwOlJlcG9zaXRvcnkxMjk2MjY5"] - }, - "before": { - "type": "string", - "description": "The SHA of the commit before the activity.", - "examples": ["6dcb09b5b57875f334f61aebed695e2e4193db5e"] - }, - "after": { - "type": "string", - "description": "The SHA of the commit after the activity.", - "examples": ["827efc6d56897b048c772eb4087f854f46256132"] - }, - "ref": { - "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`.", - "examples": ["refs/heads/main"] - }, - "timestamp": { - "type": "string", - "format": "date-time", - "description": "The time when the activity occurred.", - "examples": ["2011-01-26T19:06:43Z"] - }, - "activity_type": { - "type": "string", - "enum": [ - "push", - "force_push", - "branch_deletion", - "branch_creation", - "pr_merge", - "merge_queue_merge" - ], - "description": "The type of the activity that was performed.", - "examples": ["force_push"] - }, - "actor": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - } - }, - "required": [ - "id", - "node_id", - "before", - "after", - "ref", - "timestamp", - "activity_type", - "actor" - ] - }, - "autolink": { - "title": "Autolink reference", - "description": "An autolink reference.", - "type": "object", - "properties": { - "id": { "type": "integer", "examples": [3] }, - "key_prefix": { - "description": "The prefix of a key that is linkified.", - "type": "string", - "examples": ["TICKET-"] - }, - "url_template": { - "description": "A template for the target URL that is generated if a key was found.", - "type": "string", - "examples": ["https://example.com/TICKET?query="] - }, - "is_alphanumeric": { - "description": "Whether this autolink reference matches alphanumeric characters. If false, this autolink reference only matches numeric characters.", - "type": "boolean", - "examples": [true] - } - }, - "required": ["id", "key_prefix", "url_template", "is_alphanumeric"] - }, - "check-automated-security-fixes": { - "title": "Check Dependabot security updates", - "description": "Check Dependabot security updates", - "type": "object", - "properties": { - "enabled": { - "type": "boolean", - "description": "Whether Dependabot security updates are enabled for the repository.", - "examples": [true] - }, - "paused": { - "type": "boolean", - "description": "Whether Dependabot security updates are paused for the repository.", - "examples": [false] - } - }, - "required": ["enabled", "paused"] - }, - "protected-branch-required-status-check": { - "title": "Protected Branch Required Status Check", - "description": "Protected Branch Required Status Check", - "type": "object", - "properties": { - "url": { "type": "string" }, - "enforcement_level": { "type": "string" }, - "contexts": { "type": "array", "items": { "type": "string" } }, - "checks": { - "type": "array", - "items": { - "type": "object", - "properties": { - "context": { "type": "string" }, - "app_id": { "type": ["integer", "null"] } - }, - "required": ["context", "app_id"] - } - }, - "contexts_url": { "type": "string" }, - "strict": { "type": "boolean" } - }, - "required": ["contexts", "checks"] - }, - "protected-branch-admin-enforced": { - "title": "Protected Branch Admin Enforced", - "description": "Protected Branch Admin Enforced", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins" - ] - }, - "enabled": { "type": "boolean", "examples": [true] } - }, - "required": ["url", "enabled"] - }, - "protected-branch-pull-request-review": { - "title": "Protected Branch Pull Request Review", - "description": "Protected Branch Pull Request Review", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/dismissal_restrictions" - ] - }, - "dismissal_restrictions": { - "type": "object", - "properties": { - "users": { - "description": "The list of users with review dismissal access.", - "type": "array", - "items": { "$ref": "#/components/schemas/simple-user" } - }, - "teams": { - "description": "The list of teams with review dismissal access.", - "type": "array", - "items": { "$ref": "#/components/schemas/team" } - }, - "apps": { - "description": "The list of apps with review dismissal access.", - "type": "array", - "items": { "$ref": "#/components/schemas/integration" } - }, - "url": { - "type": "string", - "examples": [ - "\"https://api.github.com/repos/the-org/an-org-repo/branches/master/protection/dismissal_restrictions\"" - ] - }, - "users_url": { - "type": "string", - "examples": [ - "\"https://api.github.com/repos/the-org/an-org-repo/branches/master/protection/dismissal_restrictions/users\"" - ] - }, - "teams_url": { - "type": "string", - "examples": [ - "\"https://api.github.com/repos/the-org/an-org-repo/branches/master/protection/dismissal_restrictions/teams\"" - ] - } - } - }, - "bypass_pull_request_allowances": { - "type": "object", - "description": "Allow specific users, teams, or apps to bypass pull request requirements.", - "properties": { - "users": { - "description": "The list of users allowed to bypass pull request requirements.", - "type": "array", - "items": { "$ref": "#/components/schemas/simple-user" } - }, - "teams": { - "description": "The list of teams allowed to bypass pull request requirements.", - "type": "array", - "items": { "$ref": "#/components/schemas/team" } - }, - "apps": { - "description": "The list of apps allowed to bypass pull request requirements.", - "type": "array", - "items": { "$ref": "#/components/schemas/integration" } - } - } - }, - "dismiss_stale_reviews": { "type": "boolean", "examples": [true] }, - "require_code_owner_reviews": { - "type": "boolean", - "examples": [true] - }, - "required_approving_review_count": { - "type": "integer", - "minimum": 0, - "maximum": 6, - "examples": [2] - }, - "require_last_push_approval": { - "description": "Whether the most recent push must be approved by someone other than the person who pushed it.", - "type": "boolean", - "default": false, - "examples": [true] - } - }, - "required": ["dismiss_stale_reviews", "require_code_owner_reviews"] - }, - "branch-restriction-policy": { - "title": "Branch Restriction Policy", - "description": "Branch Restriction Policy", - "type": "object", - "properties": { - "url": { "type": "string", "format": "uri" }, - "users_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "apps_url": { "type": "string", "format": "uri" }, - "users": { - "type": "array", - "items": { - "type": "object", - "properties": { - "login": { "type": "string" }, - "id": { "type": "integer", "format": "int64" }, - "node_id": { "type": "string" }, - "avatar_url": { "type": "string" }, - "gravatar_id": { "type": "string" }, - "url": { "type": "string" }, - "html_url": { "type": "string" }, - "followers_url": { "type": "string" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "organizations_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "events_url": { "type": "string" }, - "received_events_url": { "type": "string" }, - "type": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "user_view_type": { "type": "string" } - } - } - }, - "teams": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { "type": "integer" }, - "node_id": { "type": "string" }, - "url": { "type": "string" }, - "html_url": { "type": "string" }, - "name": { "type": "string" }, - "slug": { "type": "string" }, - "description": { "type": ["string", "null"] }, - "privacy": { "type": "string" }, - "notification_setting": { "type": "string" }, - "permission": { "type": "string" }, - "members_url": { "type": "string" }, - "repositories_url": { "type": "string" }, - "parent": { "type": ["string", "null"] } - } - } - }, - "apps": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { "type": "integer" }, - "slug": { "type": "string" }, - "node_id": { "type": "string" }, - "owner": { - "type": "object", - "properties": { - "login": { "type": "string" }, - "id": { "type": "integer" }, - "node_id": { "type": "string" }, - "url": { "type": "string" }, - "repos_url": { "type": "string" }, - "events_url": { "type": "string" }, - "hooks_url": { "type": "string" }, - "issues_url": { "type": "string" }, - "members_url": { "type": "string" }, - "public_members_url": { "type": "string" }, - "avatar_url": { "type": "string" }, - "description": { "type": "string" }, - "gravatar_id": { "type": "string", "examples": ["\"\""] }, - "html_url": { - "type": "string", - "examples": [ - "\"https://github.com/testorg-ea8ec76d71c3af4b\"" - ] - }, - "followers_url": { - "type": "string", - "examples": [ - "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/followers\"" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/following{/other_user}\"" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/gists{/gist_id}\"" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/starred{/owner}{/repo}\"" - ] - }, - "subscriptions_url": { - "type": "string", - "examples": [ - "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/subscriptions\"" - ] - }, - "organizations_url": { - "type": "string", - "examples": [ - "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/orgs\"" - ] - }, - "received_events_url": { - "type": "string", - "examples": [ - "\"https://api.github.com/users/testorg-ea8ec76d71c3af4b/received_events\"" - ] - }, - "type": { - "type": "string", - "examples": ["\"Organization\""] - }, - "site_admin": { "type": "boolean", "examples": [false] }, - "user_view_type": { - "type": "string", - "examples": ["public"] - } - } - }, - "name": { "type": "string" }, - "client_id": { "type": "string" }, - "description": { "type": "string" }, - "external_url": { "type": "string" }, - "html_url": { "type": "string" }, - "created_at": { "type": "string" }, - "updated_at": { "type": "string" }, - "permissions": { - "type": "object", - "properties": { - "metadata": { "type": "string" }, - "contents": { "type": "string" }, - "issues": { "type": "string" }, - "single_file": { "type": "string" } - } - }, - "events": { "type": "array", "items": { "type": "string" } } - } - } - } - }, - "required": [ - "url", - "users_url", - "teams_url", - "apps_url", - "users", - "teams", - "apps" - ] - }, - "branch-protection": { - "title": "Branch Protection", - "description": "Branch Protection", - "type": "object", - "properties": { - "url": { "type": "string" }, - "enabled": { "type": "boolean" }, - "required_status_checks": { - "$ref": "#/components/schemas/protected-branch-required-status-check" - }, - "enforce_admins": { - "$ref": "#/components/schemas/protected-branch-admin-enforced" - }, - "required_pull_request_reviews": { - "$ref": "#/components/schemas/protected-branch-pull-request-review" - }, - "restrictions": { - "$ref": "#/components/schemas/branch-restriction-policy" - }, - "required_linear_history": { - "type": "object", - "properties": { "enabled": { "type": "boolean" } } - }, - "allow_force_pushes": { - "type": "object", - "properties": { "enabled": { "type": "boolean" } } - }, - "allow_deletions": { - "type": "object", - "properties": { "enabled": { "type": "boolean" } } - }, - "block_creations": { - "type": "object", - "properties": { "enabled": { "type": "boolean" } } - }, - "required_conversation_resolution": { - "type": "object", - "properties": { "enabled": { "type": "boolean" } } - }, - "name": { - "type": "string", - "examples": ["\"branch/with/protection\""] - }, - "protection_url": { - "type": "string", - "examples": [ - "\"https://api.github.com/repos/owner-79e94e2d36b3fd06a32bb213/AAA_Public_Repo/branches/branch/with/protection/protection\"" - ] - }, - "required_signatures": { - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures" - ] - }, - "enabled": { "type": "boolean", "examples": [true] } - }, - "required": ["url", "enabled"] - }, - "lock_branch": { - "type": "object", - "description": "Whether to set the branch as read-only. If this is true, users will not be able to push to the branch.", - "properties": { "enabled": { "default": false, "type": "boolean" } } - }, - "allow_fork_syncing": { - "type": "object", - "description": "Whether users can pull changes from upstream when the branch is locked. Set to `true` to allow fork syncing. Set to `false` to prevent fork syncing.", - "properties": { "enabled": { "default": false, "type": "boolean" } } - } - } - }, - "short-branch": { - "title": "Short Branch", - "description": "Short Branch", - "type": "object", - "properties": { - "name": { "type": "string" }, - "commit": { - "type": "object", - "properties": { - "sha": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["sha", "url"] - }, - "protected": { "type": "boolean" }, - "protection": { "$ref": "#/components/schemas/branch-protection" }, - "protection_url": { "type": "string", "format": "uri" } - }, - "required": ["name", "commit", "protected"] - }, - "git-user": { - "title": "Git User", - "description": "Metaproperties for Git author/committer information.", - "type": "object", - "properties": { - "name": { "type": "string", "examples": ["\"Chris Wanstrath\""] }, - "email": { "type": "string", "examples": ["\"chris@ozmm.org\""] }, - "date": { - "type": "string", - "examples": ["\"2007-10-29T02:42:39.000-07:00\""] - } - } - }, - "verification": { - "title": "Verification", - "type": "object", - "properties": { - "verified": { "type": "boolean" }, - "reason": { "type": "string" }, - "payload": { "type": ["string", "null"] }, - "signature": { "type": ["string", "null"] } - }, - "required": ["verified", "reason", "payload", "signature"] - }, - "diff-entry": { - "title": "Diff Entry", - "description": "Diff Entry", - "type": "object", - "properties": { - "sha": { - "type": "string", - "examples": ["bbcd538c8e72b8c175046e27cc8f907076331401"] - }, - "filename": { "type": "string", "examples": ["file1.txt"] }, - "status": { - "type": "string", - "enum": [ - "added", - "removed", - "modified", - "renamed", - "copied", - "changed", - "unchanged" - ], - "examples": ["added"] - }, - "additions": { "type": "integer", "examples": [103] }, - "deletions": { "type": "integer", "examples": [21] }, - "changes": { "type": "integer", "examples": [124] }, - "blob_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat/Hello-World/blob/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt" - ] - }, - "raw_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat/Hello-World/raw/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt" - ] - }, - "contents_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/contents/file1.txt?ref=6dcb09b5b57875f334f61aebed695e2e4193db5e" - ] - }, - "patch": { - "type": "string", - "examples": [ - "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" - ] - }, - "previous_filename": { "type": "string", "examples": ["file.txt"] } - }, - "required": [ - "additions", - "blob_url", - "changes", - "contents_url", - "deletions", - "filename", - "raw_url", - "sha", - "status" - ] - }, - "commit": { - "title": "Commit", - "description": "Commit", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e" - ] - }, - "sha": { - "type": "string", - "examples": ["6dcb09b5b57875f334f61aebed695e2e4193db5e"] - }, - "node_id": { - "type": "string", - "examples": [ - "MDY6Q29tbWl0NmRjYjA5YjViNTc4NzVmMzM0ZjYxYWViZWQ2OTVlMmU0MTkzZGI1ZQ==" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e" - ] - }, - "comments_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e/comments" - ] - }, - "commit": { - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e" - ] - }, - "author": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/git-user" } - ] - }, - "committer": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/git-user" } - ] - }, - "message": { "type": "string", "examples": ["Fix all the bugs"] }, - "comment_count": { "type": "integer", "examples": [0] }, - "tree": { - "type": "object", - "properties": { - "sha": { - "type": "string", - "examples": ["827efc6d56897b048c772eb4087f854f46256132"] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/tree/827efc6d56897b048c772eb4087f854f46256132" - ] - } - }, - "required": ["sha", "url"] - }, - "verification": { "$ref": "#/components/schemas/verification" } - }, - "required": [ - "author", - "committer", - "comment_count", - "message", - "tree", - "url" - ] - }, - "author": { - "oneOf": [ - { "$ref": "#/components/schemas/simple-user" }, - { "$ref": "#/components/schemas/empty-object" } - ], - "type": ["null", "object"] - }, - "committer": { - "oneOf": [ - { "$ref": "#/components/schemas/simple-user" }, - { "$ref": "#/components/schemas/empty-object" } - ], - "type": ["null", "object"] - }, - "parents": { - "type": "array", - "items": { - "type": "object", - "properties": { - "sha": { - "type": "string", - "examples": ["7638417db6d59f3c431d3e1f261cc637155684cd"] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/commits/7638417db6d59f3c431d3e1f261cc637155684cd" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat/Hello-World/commit/7638417db6d59f3c431d3e1f261cc637155684cd" - ] - } - }, - "required": ["sha", "url"] - } - }, - "stats": { - "type": "object", - "properties": { - "additions": { "type": "integer" }, - "deletions": { "type": "integer" }, - "total": { "type": "integer" } - } - }, - "files": { - "type": "array", - "items": { "$ref": "#/components/schemas/diff-entry" } - } - }, - "required": [ - "url", - "sha", - "node_id", - "html_url", - "comments_url", - "commit", - "author", - "committer", - "parents" - ] - }, - "branch-with-protection": { - "title": "Branch With Protection", - "description": "Branch With Protection", - "type": "object", - "properties": { - "name": { "type": "string" }, - "commit": { "$ref": "#/components/schemas/commit" }, - "_links": { - "type": "object", - "properties": { - "html": { "type": "string" }, - "self": { "type": "string", "format": "uri" } - }, - "required": ["html", "self"] - }, - "protected": { "type": "boolean" }, - "protection": { "$ref": "#/components/schemas/branch-protection" }, - "protection_url": { "type": "string", "format": "uri" }, - "pattern": { "type": "string", "examples": ["\"mas*\""] }, - "required_approving_review_count": { - "type": "integer", - "examples": [1] - } - }, - "required": [ - "name", - "commit", - "_links", - "protection", - "protected", - "protection_url" - ] - }, - "status-check-policy": { - "title": "Status Check Policy", - "description": "Status Check Policy", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks" - ] - }, - "strict": { "type": "boolean", "examples": [true] }, - "contexts": { - "type": "array", - "items": { "type": "string" }, - "examples": ["continuous-integration/travis-ci"] - }, - "checks": { - "type": "array", - "items": { - "type": "object", - "properties": { - "context": { - "type": "string", - "examples": ["continuous-integration/travis-ci"] - }, - "app_id": { "type": ["integer", "null"] } - }, - "required": ["context", "app_id"] - } - }, - "contexts_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks/contexts" - ] - } - }, - "required": ["url", "contexts_url", "strict", "contexts", "checks"] - }, - "protected-branch": { - "title": "Protected Branch", - "description": "Branch protections protect branches", - "type": "object", - "properties": { - "url": { "type": "string", "format": "uri" }, - "required_status_checks": { - "$ref": "#/components/schemas/status-check-policy" - }, - "required_pull_request_reviews": { - "type": "object", - "properties": { - "url": { "type": "string", "format": "uri" }, - "dismiss_stale_reviews": { "type": "boolean" }, - "require_code_owner_reviews": { "type": "boolean" }, - "required_approving_review_count": { "type": "integer" }, - "require_last_push_approval": { - "description": "Whether the most recent push must be approved by someone other than the person who pushed it.", - "type": "boolean", - "default": false - }, - "dismissal_restrictions": { - "type": "object", - "properties": { - "url": { "type": "string", "format": "uri" }, - "users_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "users": { - "type": "array", - "items": { "$ref": "#/components/schemas/simple-user" } - }, - "teams": { - "type": "array", - "items": { "$ref": "#/components/schemas/team" } - }, - "apps": { - "type": "array", - "items": { "$ref": "#/components/schemas/integration" } - } - }, - "required": ["url", "users_url", "teams_url", "users", "teams"] - }, - "bypass_pull_request_allowances": { - "type": "object", - "properties": { - "users": { - "type": "array", - "items": { "$ref": "#/components/schemas/simple-user" } - }, - "teams": { - "type": "array", - "items": { "$ref": "#/components/schemas/team" } - }, - "apps": { - "type": "array", - "items": { "$ref": "#/components/schemas/integration" } - } - }, - "required": ["users", "teams"] - } - }, - "required": ["url"] - }, - "required_signatures": { - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures" - ] - }, - "enabled": { "type": "boolean", "examples": [true] } - }, - "required": ["url", "enabled"] - }, - "enforce_admins": { - "type": "object", - "properties": { - "url": { "type": "string", "format": "uri" }, - "enabled": { "type": "boolean" } - }, - "additionalProperties": false, - "required": ["url", "enabled"] - }, - "required_linear_history": { - "type": "object", - "properties": { "enabled": { "type": "boolean" } }, - "additionalProperties": false, - "required": ["enabled"] - }, - "allow_force_pushes": { - "type": "object", - "properties": { "enabled": { "type": "boolean" } }, - "additionalProperties": false, - "required": ["enabled"] - }, - "allow_deletions": { - "type": "object", - "properties": { "enabled": { "type": "boolean" } }, - "additionalProperties": false, - "required": ["enabled"] - }, - "restrictions": { - "$ref": "#/components/schemas/branch-restriction-policy" - }, - "required_conversation_resolution": { - "type": "object", - "properties": { "enabled": { "type": "boolean" } }, - "additionalProperties": false - }, - "block_creations": { - "type": "object", - "properties": { "enabled": { "type": "boolean" } }, - "additionalProperties": false, - "required": ["enabled"] - }, - "lock_branch": { - "type": "object", - "description": "Whether to set the branch as read-only. If this is true, users will not be able to push to the branch.", - "properties": { - "enabled": { "default": false, "type": "boolean" } - }, - "additionalProperties": false - }, - "allow_fork_syncing": { - "type": "object", - "description": "Whether users can pull changes from upstream when the branch is locked. Set to `true` to allow fork syncing. Set to `false` to prevent fork syncing.", - "properties": { - "enabled": { "default": false, "type": "boolean" } - }, - "additionalProperties": false - } - }, - "required": ["url"] - }, - "deployment-simple": { - "title": "Deployment", - "description": "A deployment created as the result of an Actions check run from a workflow that references an environment", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/example/deployments/1" - ] - }, - "id": { - "description": "Unique identifier of the deployment", - "type": "integer", - "examples": [42] - }, - "node_id": { "type": "string", "examples": ["MDEwOkRlcGxveW1lbnQx"] }, - "task": { - "description": "Parameter to specify a task to execute", - "type": "string", - "examples": ["deploy"] - }, - "original_environment": { "type": "string", "examples": ["staging"] }, - "environment": { - "description": "Name for the target deployment environment.", - "type": "string", - "examples": ["production"] - }, - "description": { - "type": ["string", "null"], - "examples": ["Deploy request from hubot"] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": ["2012-07-20T01:19:13Z"] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": ["2012-07-20T01:19:13Z"] - }, - "statuses_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/example/deployments/1/statuses" - ] - }, - "repository_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/repos/octocat/example"] - }, - "transient_environment": { - "description": "Specifies if the given environment is will no longer exist at some point in the future. Default: false.", - "type": "boolean", - "examples": [true] - }, - "production_environment": { - "description": "Specifies if the given environment is one that end-users directly interact with. Default: false.", - "type": "boolean", - "examples": [true] - }, - "performed_via_github_app": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/integration" } - ] - } - }, - "required": [ - "id", - "node_id", - "task", - "environment", - "description", - "statuses_url", - "repository_url", - "url", - "created_at", - "updated_at" - ] - }, - "check-run": { - "title": "CheckRun", - "description": "A check performed on the code of a given code change", - "type": "object", - "properties": { - "id": { - "description": "The id of the check.", - "type": "integer", - "format": "int64", - "examples": [21] - }, - "head_sha": { - "description": "The SHA of the commit that is being checked.", - "type": "string", - "examples": ["009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d"] - }, - "node_id": { "type": "string", "examples": ["MDg6Q2hlY2tSdW40"] }, - "external_id": { "type": ["string", "null"], "examples": ["42"] }, - "url": { - "type": "string", - "examples": [ - "https://api.github.com/repos/github/hello-world/check-runs/4" - ] - }, - "html_url": { - "type": ["string", "null"], - "examples": ["https://github.com/github/hello-world/runs/4"] - }, - "details_url": { - "type": ["string", "null"], - "examples": ["https://example.com"] - }, - "status": { - "description": "The phase of the lifecycle that the check is currently in. Statuses of waiting, requested, and pending are reserved for GitHub Actions check runs.", - "type": "string", - "enum": [ - "queued", - "in_progress", - "completed", - "waiting", - "requested", - "pending" - ], - "examples": ["queued"] - }, - "conclusion": { - "type": ["string", "null"], - "enum": [ - "success", - "failure", - "neutral", - "cancelled", - "skipped", - "timed_out", - "action_required", - null - ], - "examples": ["neutral"] - }, - "started_at": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2018-05-04T01:14:52Z"] - }, - "completed_at": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2018-05-04T01:14:52Z"] - }, - "output": { - "type": "object", - "properties": { - "title": { "type": ["string", "null"] }, - "summary": { "type": ["string", "null"] }, - "text": { "type": ["string", "null"] }, - "annotations_count": { "type": "integer" }, - "annotations_url": { "type": "string", "format": "uri" } - }, - "required": [ - "title", - "summary", - "text", - "annotations_count", - "annotations_url" - ] - }, - "name": { - "description": "The name of the check.", - "type": "string", - "examples": ["test-coverage"] - }, - "check_suite": { - "type": ["object", "null"], - "properties": { "id": { "type": "integer" } }, - "required": ["id"] - }, - "app": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/integration" } - ] - }, - "pull_requests": { - "description": "Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check.", - "type": "array", - "items": { "$ref": "#/components/schemas/pull-request-minimal" } - }, - "deployment": { "$ref": "#/components/schemas/deployment-simple" } - }, - "required": [ - "id", - "node_id", - "head_sha", - "name", - "url", - "html_url", - "details_url", - "status", - "conclusion", - "started_at", - "completed_at", - "external_id", - "check_suite", - "output", - "app", - "pull_requests" - ] - }, - "check-annotation": { - "title": "Check Annotation", - "description": "Check Annotation", - "type": "object", - "properties": { - "path": { "type": "string", "examples": ["README.md"] }, - "start_line": { "type": "integer", "examples": [2] }, - "end_line": { "type": "integer", "examples": [2] }, - "start_column": { "type": ["integer", "null"], "examples": [5] }, - "end_column": { "type": ["integer", "null"], "examples": [10] }, - "annotation_level": { - "type": ["string", "null"], - "examples": ["warning"] - }, - "title": { - "type": ["string", "null"], - "examples": ["Spell Checker"] - }, - "message": { - "type": ["string", "null"], - "examples": ["Check your spelling for 'banaas'."] - }, - "raw_details": { - "type": ["string", "null"], - "examples": ["Do you mean 'bananas' or 'banana'?"] - }, - "blob_href": { "type": "string" } - }, - "required": [ - "path", - "blob_href", - "start_line", - "end_line", - "start_column", - "end_column", - "annotation_level", - "title", - "message", - "raw_details" - ] - }, - "check-suite": { - "title": "CheckSuite", - "description": "A suite of checks performed on the code of a given code change", - "type": "object", - "properties": { - "id": { "type": "integer", "format": "int64", "examples": [5] }, - "node_id": { "type": "string", "examples": ["MDEwOkNoZWNrU3VpdGU1"] }, - "head_branch": { "type": ["string", "null"], "examples": ["master"] }, - "head_sha": { - "description": "The SHA of the head commit that is being checked.", - "type": "string", - "examples": ["009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d"] - }, - "status": { - "type": ["string", "null"], - "description": "The phase of the lifecycle that the check suite is currently in. Statuses of waiting, requested, and pending are reserved for GitHub Actions check suites.", - "enum": [ - "queued", - "in_progress", - "completed", - "waiting", - "requested", - "pending", - null - ], - "examples": ["completed"] - }, - "conclusion": { - "type": ["string", "null"], - "enum": [ - "success", - "failure", - "neutral", - "cancelled", - "skipped", - "timed_out", - "action_required", - "startup_failure", - "stale", - null - ], - "examples": ["neutral"] - }, - "url": { - "type": ["string", "null"], - "examples": [ - "https://api.github.com/repos/github/hello-world/check-suites/5" - ] - }, - "before": { - "type": ["string", "null"], - "examples": ["146e867f55c26428e5f9fade55a9bbf5e95a7912"] - }, - "after": { - "type": ["string", "null"], - "examples": ["d6fde92930d4715a2b49857d24b940956b26d2d3"] - }, - "pull_requests": { - "type": ["array", "null"], - "items": { "$ref": "#/components/schemas/pull-request-minimal" } - }, - "app": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/integration" } - ] - }, - "repository": { "$ref": "#/components/schemas/minimal-repository" }, - "created_at": { "type": ["string", "null"], "format": "date-time" }, - "updated_at": { "type": ["string", "null"], "format": "date-time" }, - "head_commit": { "$ref": "#/components/schemas/simple-commit" }, - "latest_check_runs_count": { "type": "integer" }, - "check_runs_url": { "type": "string" }, - "rerequestable": { "type": "boolean" }, - "runs_rerequestable": { "type": "boolean" } - }, - "required": [ - "id", - "node_id", - "head_branch", - "status", - "conclusion", - "head_sha", - "url", - "before", - "after", - "created_at", - "updated_at", - "app", - "head_commit", - "repository", - "latest_check_runs_count", - "check_runs_url", - "pull_requests" - ] - }, - "check-suite-preference": { - "title": "Check Suite Preference", - "description": "Check suite configuration preferences for a repository.", - "type": "object", - "required": ["preferences", "repository"], - "properties": { - "preferences": { - "type": "object", - "properties": { - "auto_trigger_checks": { - "type": "array", - "items": { - "type": "object", - "properties": { - "app_id": { "type": "integer" }, - "setting": { "type": "boolean" } - }, - "required": ["app_id", "setting"] - } - } - } - }, - "repository": { "$ref": "#/components/schemas/minimal-repository" } - } - }, - "code-scanning-alert-items": { - "type": "object", - "properties": { - "number": { "$ref": "#/components/schemas/alert-number" }, - "created_at": { "$ref": "#/components/schemas/alert-created-at" }, - "updated_at": { "$ref": "#/components/schemas/alert-updated-at" }, - "url": { "$ref": "#/components/schemas/alert-url" }, - "html_url": { "$ref": "#/components/schemas/alert-html-url" }, - "instances_url": { - "$ref": "#/components/schemas/alert-instances-url" - }, - "state": { "$ref": "#/components/schemas/code-scanning-alert-state" }, - "fixed_at": { "$ref": "#/components/schemas/alert-fixed-at" }, - "dismissed_by": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "dismissed_at": { "$ref": "#/components/schemas/alert-dismissed-at" }, - "dismissed_reason": { - "$ref": "#/components/schemas/code-scanning-alert-dismissed-reason" - }, - "dismissed_comment": { - "$ref": "#/components/schemas/code-scanning-alert-dismissed-comment" - }, - "rule": { - "$ref": "#/components/schemas/code-scanning-alert-rule-summary" - }, - "tool": { - "$ref": "#/components/schemas/code-scanning-analysis-tool" - }, - "most_recent_instance": { - "$ref": "#/components/schemas/code-scanning-alert-instance" - }, - "dismissal_approved_by": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - } - }, - "required": [ - "number", - "created_at", - "url", - "html_url", - "instances_url", - "state", - "dismissed_by", - "dismissed_at", - "dismissed_reason", - "rule", - "tool", - "most_recent_instance" - ] - }, - "code-scanning-alert-rule": { - "type": "object", - "properties": { - "id": { - "type": ["string", "null"], - "description": "A unique identifier for the rule used to detect the alert." - }, - "name": { - "type": "string", - "description": "The name of the rule used to detect the alert." - }, - "severity": { - "type": ["string", "null"], - "description": "The severity of the alert.", - "enum": ["none", "note", "warning", "error", null] - }, - "security_severity_level": { - "type": ["string", "null"], - "description": "The security severity of the alert.", - "enum": ["low", "medium", "high", "critical", null] - }, - "description": { - "type": "string", - "description": "A short description of the rule used to detect the alert." - }, - "full_description": { - "type": "string", - "description": "A description of the rule used to detect the alert." - }, - "tags": { - "type": ["array", "null"], - "description": "A set of tags applicable for the rule.", - "items": { "type": "string" } - }, - "help": { - "type": ["string", "null"], - "description": "Detailed documentation for the rule as GitHub Flavored Markdown." - }, - "help_uri": { - "type": ["string", "null"], - "description": "A link to the documentation for the rule used to detect the alert." - } - } - }, - "code-scanning-alert": { - "type": "object", - "properties": { - "number": { "$ref": "#/components/schemas/alert-number" }, - "created_at": { "$ref": "#/components/schemas/alert-created-at" }, - "updated_at": { "$ref": "#/components/schemas/alert-updated-at" }, - "url": { "$ref": "#/components/schemas/alert-url" }, - "html_url": { "$ref": "#/components/schemas/alert-html-url" }, - "instances_url": { - "$ref": "#/components/schemas/alert-instances-url" - }, - "state": { "$ref": "#/components/schemas/code-scanning-alert-state" }, - "fixed_at": { "$ref": "#/components/schemas/alert-fixed-at" }, - "dismissed_by": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "dismissed_at": { "$ref": "#/components/schemas/alert-dismissed-at" }, - "dismissed_reason": { - "$ref": "#/components/schemas/code-scanning-alert-dismissed-reason" - }, - "dismissed_comment": { - "$ref": "#/components/schemas/code-scanning-alert-dismissed-comment" - }, - "rule": { "$ref": "#/components/schemas/code-scanning-alert-rule" }, - "tool": { - "$ref": "#/components/schemas/code-scanning-analysis-tool" - }, - "most_recent_instance": { - "$ref": "#/components/schemas/code-scanning-alert-instance" - }, - "dismissal_approved_by": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - } - }, - "required": [ - "number", - "created_at", - "url", - "html_url", - "instances_url", - "state", - "dismissed_by", - "dismissed_at", - "dismissed_reason", - "rule", - "tool", - "most_recent_instance" - ] - }, - "code-scanning-alert-set-state": { - "description": "Sets the state of the code scanning alert. You must provide `dismissed_reason` when you set the state to `dismissed`.", - "type": "string", - "enum": ["open", "dismissed"] - }, - "code-scanning-alert-create-request": { - "type": "boolean", - "description": "If `true`, attempt to create an alert dismissal request." - }, - "code-scanning-analysis-sarif-id": { - "type": "string", - "description": "An identifier for the upload.", - "examples": ["6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53"] - }, - "code-scanning-analysis-commit-sha": { - "description": "The SHA of the commit to which the analysis you are uploading relates.", - "type": "string", - "minLength": 40, - "maxLength": 40, - "pattern": "^[0-9a-fA-F]+$" - }, - "code-scanning-analysis-environment": { - "type": "string", - "description": "Identifies the variable values associated with the environment in which this analysis was performed." - }, - "code-scanning-analysis-created-at": { - "type": "string", - "description": "The time that the analysis was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "format": "date-time", - "readOnly": true - }, - "code-scanning-analysis-url": { - "type": "string", - "description": "The REST API URL of the analysis resource.", - "format": "uri", - "readOnly": true - }, - "code-scanning-analysis": { - "type": "object", - "properties": { - "ref": { "$ref": "#/components/schemas/code-scanning-ref" }, - "commit_sha": { - "$ref": "#/components/schemas/code-scanning-analysis-commit-sha" - }, - "analysis_key": { - "$ref": "#/components/schemas/code-scanning-analysis-analysis-key" - }, - "environment": { - "$ref": "#/components/schemas/code-scanning-analysis-environment" - }, - "category": { - "$ref": "#/components/schemas/code-scanning-analysis-category" - }, - "error": { - "type": "string", - "examples": ["error reading field xyz"] - }, - "created_at": { - "$ref": "#/components/schemas/code-scanning-analysis-created-at" - }, - "results_count": { - "type": "integer", - "description": "The total number of results in the analysis." - }, - "rules_count": { - "type": "integer", - "description": "The total number of rules used in the analysis." - }, - "id": { - "type": "integer", - "description": "Unique identifier for this analysis." - }, - "url": { "$ref": "#/components/schemas/code-scanning-analysis-url" }, - "sarif_id": { - "$ref": "#/components/schemas/code-scanning-analysis-sarif-id" - }, - "tool": { - "$ref": "#/components/schemas/code-scanning-analysis-tool" - }, - "deletable": { "type": "boolean" }, - "warning": { - "type": "string", - "description": "Warning generated when processing the analysis", - "examples": ["123 results were ignored"] - } - }, - "required": [ - "ref", - "commit_sha", - "analysis_key", - "environment", - "error", - "created_at", - "results_count", - "rules_count", - "id", - "url", - "sarif_id", - "tool", - "deletable", - "warning" - ] - }, - "code-scanning-analysis-deletion": { - "title": "Analysis deletion", - "description": "Successful deletion of a code scanning analysis", - "type": "object", - "properties": { - "next_analysis_url": { - "type": ["string", "null"], - "description": "Next deletable analysis in chain, without last analysis deletion confirmation", - "format": "uri", - "readOnly": true - }, - "confirm_delete_url": { - "type": ["string", "null"], - "description": "Next deletable analysis in chain, with last analysis deletion confirmation", - "format": "uri", - "readOnly": true - } - }, - "required": ["next_analysis_url", "confirm_delete_url"] - }, - "code-scanning-default-setup": { - "description": "Configuration for code scanning default setup.", - "type": "object", - "properties": { - "state": { - "description": "Code scanning default setup has been configured or not.", - "type": "string", - "enum": ["configured", "not-configured"] - }, - "languages": { - "description": "Languages to be analyzed.", - "type": "array", - "items": { - "type": "string", - "enum": [ - "actions", - "c-cpp", - "csharp", - "go", - "java-kotlin", - "javascript-typescript", - "javascript", - "python", - "ruby", - "typescript", - "swift" - ] - } - }, - "query_suite": { - "description": "CodeQL query suite to be used.", - "type": "string", - "enum": ["default", "extended"] - }, - "updated_at": { - "description": "Timestamp of latest configuration update.", - "type": ["string", "null"], - "format": "date-time", - "examples": ["2023-12-06T14:20:20.000Z"] - }, - "schedule": { - "description": "The frequency of the periodic analysis.", - "type": ["string", "null"], - "enum": ["weekly", null] - } - } - }, - "code-scanning-default-setup-update": { - "description": "Configuration for code scanning default setup.", - "type": "object", - "properties": { - "state": { - "description": "The desired state of code scanning default setup.", - "type": "string", - "enum": ["configured", "not-configured"] - }, - "query_suite": { - "description": "CodeQL query suite to be used.", - "type": "string", - "enum": ["default", "extended"] - }, - "languages": { - "description": "CodeQL languages to be analyzed.", - "type": "array", - "items": { - "type": "string", - "enum": [ - "actions", - "c-cpp", - "csharp", - "go", - "java-kotlin", - "javascript-typescript", - "python", - "ruby", - "swift" - ] - } - } - }, - "additionalProperties": false - }, - "code-scanning-default-setup-update-response": { - "description": "You can use `run_url` to track the status of the run. This includes a property status and conclusion.\nYou should not rely on this always being an actions workflow run object.", - "type": "object", - "properties": { - "run_id": { - "description": "ID of the corresponding run.", - "type": "integer" - }, - "run_url": { - "description": "URL of the corresponding run.", - "type": "string" - } - } - }, - "code-scanning-ref-full": { - "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`,\n`refs/tags/`, `refs/pull//merge`, or `refs/pull//head`.", - "pattern": "^refs/(heads|tags|pull)/.*$", - "examples": ["refs/heads/main"] - }, - "code-scanning-analysis-sarif-file": { - "description": "A Base64 string representing the SARIF file to upload. You must first compress your SARIF file using [`gzip`](http://www.gnu.org/software/gzip/manual/gzip.html) and then translate the contents of the file into a Base64 encoding string. For more information, see \"[SARIF support for code scanning](https://docs.github.com/enterprise-server@3.13/code-security/secure-coding/sarif-support-for-code-scanning).\"", - "type": "string" - }, - "code-scanning-sarifs-receipt": { - "type": "object", - "properties": { - "id": { - "$ref": "#/components/schemas/code-scanning-analysis-sarif-id" - }, - "url": { - "type": "string", - "description": "The REST API URL for checking the status of the upload.", - "format": "uri", - "readOnly": true - } - } - }, - "code-scanning-sarifs-status": { - "type": "object", - "properties": { - "processing_status": { - "type": "string", - "enum": ["pending", "complete", "failed"], - "description": "`pending` files have not yet been processed, while `complete` means results from the SARIF have been stored. `failed` files have either not been processed at all, or could only be partially processed." - }, - "analyses_url": { - "type": ["string", "null"], - "description": "The REST API URL for getting the analyses associated with the upload.", - "format": "uri", - "readOnly": true - }, - "errors": { - "type": ["array", "null"], - "items": { "type": "string" }, - "description": "Any errors that ocurred during processing of the delivery.", - "readOnly": true - } - } - }, - "codeowners-errors": { - "title": "CODEOWNERS errors", - "description": "A list of errors found in a repo's CODEOWNERS file", - "type": "object", - "properties": { - "errors": { - "type": "array", - "items": { - "type": "object", - "properties": { - "line": { - "description": "The line number where this errors occurs.", - "type": "integer", - "examples": [7] - }, - "column": { - "description": "The column number where this errors occurs.", - "type": "integer", - "examples": [3] - }, - "source": { - "description": "The contents of the line where the error occurs.", - "type": "string", - "examples": ["* user"] - }, - "kind": { - "description": "The type of error.", - "type": "string", - "examples": ["Invalid owner"] - }, - "suggestion": { - "description": "Suggested action to fix the error. This will usually be `null`, but is provided for some common errors.", - "type": ["string", "null"], - "examples": [ - "The pattern `/` will never match anything, did you mean `*` instead?" - ] - }, - "message": { - "description": "A human-readable description of the error, combining information from multiple fields, laid out for display in a monospaced typeface (for example, a command-line setting).", - "type": "string", - "examples": ["Invalid owner on line 7:\n\n * user\n ^"] - }, - "path": { - "description": "The path of the file where the error occured.", - "type": "string", - "examples": [".github/CODEOWNERS"] - } - }, - "required": ["line", "column", "kind", "message", "path"] - } - } - }, - "required": ["errors"] - }, - "collaborator": { - "title": "Collaborator", - "description": "Collaborator", - "type": "object", - "properties": { - "login": { "type": "string", "examples": ["octocat"] }, - "id": { "type": "integer", "format": "int64", "examples": [1] }, - "email": { "type": ["string", "null"] }, - "name": { "type": ["string", "null"] }, - "node_id": { "type": "string", "examples": ["MDQ6VXNlcjE="] }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": ["https://github.com/images/error/octocat_happy.gif"] - }, - "gravatar_id": { - "type": ["string", "null"], - "examples": ["41d064eb2195891e12d0413f63227ea7"] - }, - "url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/users/octocat"] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": ["https://github.com/octocat"] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/users/octocat/followers"] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": ["https://api.github.com/users/octocat/gists{/gist_id}"] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/users/octocat/subscriptions"] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/users/octocat/orgs"] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/users/octocat/repos"] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/users/octocat/received_events"] - }, - "type": { "type": "string", "examples": ["User"] }, - "site_admin": { "type": "boolean" }, - "permissions": { - "type": "object", - "properties": { - "pull": { "type": "boolean" }, - "triage": { "type": "boolean" }, - "push": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "admin": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "role_name": { "type": "string", "examples": ["admin"] }, - "user_view_type": { "type": "string", "examples": ["public"] } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - "repository-collaborator-permission": { - "title": "Repository Collaborator Permission", - "description": "Repository Collaborator Permission", - "type": "object", - "properties": { - "permission": { "type": "string" }, - "role_name": { "type": "string", "examples": ["admin"] }, - "user": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/collaborator" } - ] - } - }, - "required": ["permission", "role_name", "user"] - }, - "commit-comment": { - "title": "Commit Comment", - "description": "Commit Comment", - "type": "object", - "properties": { - "html_url": { "type": "string", "format": "uri" }, - "url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "node_id": { "type": "string" }, - "body": { "type": "string" }, - "path": { "type": ["string", "null"] }, - "position": { "type": ["integer", "null"] }, - "line": { "type": ["integer", "null"] }, - "commit_id": { "type": "string" }, - "user": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "created_at": { "type": "string", "format": "date-time" }, - "updated_at": { "type": "string", "format": "date-time" }, - "author_association": { - "$ref": "#/components/schemas/author-association" - }, - "reactions": { "$ref": "#/components/schemas/reaction-rollup" } - }, - "required": [ - "url", - "html_url", - "id", - "node_id", - "user", - "position", - "line", - "path", - "commit_id", - "body", - "author_association", - "created_at", - "updated_at" - ] - }, - "branch-short": { - "title": "Branch Short", - "description": "Branch Short", - "type": "object", - "properties": { - "name": { "type": "string" }, - "commit": { - "type": "object", - "properties": { - "sha": { "type": "string" }, - "url": { "type": "string" } - }, - "required": ["sha", "url"] - }, - "protected": { "type": "boolean" } - }, - "required": ["name", "commit", "protected"] - }, - "link": { - "title": "Link", - "description": "Hypermedia Link", - "type": "object", - "properties": { "href": { "type": "string" } }, - "required": ["href"] - }, - "auto-merge": { - "title": "Auto merge", - "description": "The status of auto merging a pull request.", - "type": ["object", "null"], - "properties": { - "enabled_by": { "$ref": "#/components/schemas/simple-user" }, - "merge_method": { - "type": "string", - "description": "The merge method to use.", - "enum": ["merge", "squash", "rebase"] - }, - "commit_title": { - "type": "string", - "description": "Title for the merge commit message." - }, - "commit_message": { - "type": "string", - "description": "Commit message for the merge commit." - } - }, - "required": [ - "enabled_by", - "merge_method", - "commit_title", - "commit_message" - ] - }, - "pull-request-simple": { - "title": "Pull Request Simple", - "description": "Pull Request Simple", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/1347" - ] - }, - "id": { "type": "integer", "format": "int64", "examples": [1] }, - "node_id": { - "type": "string", - "examples": ["MDExOlB1bGxSZXF1ZXN0MQ=="] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": ["https://github.com/octocat/Hello-World/pull/1347"] - }, - "diff_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat/Hello-World/pull/1347.diff" - ] - }, - "patch_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat/Hello-World/pull/1347.patch" - ] - }, - "issue_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/1347" - ] - }, - "commits_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits" - ] - }, - "review_comments_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments" - ] - }, - "review_comment_url": { - "type": "string", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}" - ] - }, - "comments_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments" - ] - }, - "statuses_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e" - ] - }, - "number": { "type": "integer", "examples": [1347] }, - "state": { "type": "string", "examples": ["open"] }, - "locked": { "type": "boolean", "examples": [true] }, - "title": { "type": "string", "examples": ["new-feature"] }, - "user": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "body": { - "type": ["string", "null"], - "examples": ["Please pull these awesome changes"] - }, - "labels": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { "type": "integer", "format": "int64" }, - "node_id": { "type": "string" }, - "url": { "type": "string" }, - "name": { "type": "string" }, - "description": { "type": "string" }, - "color": { "type": "string" }, - "default": { "type": "boolean" } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "description", - "color", - "default" - ] - } - }, - "milestone": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/milestone" } - ] - }, - "active_lock_reason": { - "type": ["string", "null"], - "examples": ["too heated"] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": ["2011-01-26T19:01:12Z"] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": ["2011-01-26T19:01:12Z"] - }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2011-01-26T19:01:12Z"] - }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2011-01-26T19:01:12Z"] - }, - "merge_commit_sha": { - "type": ["string", "null"], - "examples": ["e5bd3914e2e596debea16f433f57875b5b90bcd6"] - }, - "assignee": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "assignees": { - "type": ["array", "null"], - "items": { "$ref": "#/components/schemas/simple-user" } - }, - "requested_reviewers": { - "type": ["array", "null"], - "items": { "$ref": "#/components/schemas/simple-user" } - }, - "requested_teams": { - "type": ["array", "null"], - "items": { "$ref": "#/components/schemas/team" } - }, - "head": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { "$ref": "#/components/schemas/repository" }, - "sha": { "type": "string" }, - "user": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - } - }, - "required": ["label", "ref", "repo", "sha", "user"] - }, - "base": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { "$ref": "#/components/schemas/repository" }, - "sha": { "type": "string" }, - "user": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - } - }, - "required": ["label", "ref", "repo", "sha", "user"] - }, - "_links": { - "type": "object", - "properties": { - "comments": { "$ref": "#/components/schemas/link" }, - "commits": { "$ref": "#/components/schemas/link" }, - "statuses": { "$ref": "#/components/schemas/link" }, - "html": { "$ref": "#/components/schemas/link" }, - "issue": { "$ref": "#/components/schemas/link" }, - "review_comments": { "$ref": "#/components/schemas/link" }, - "review_comment": { "$ref": "#/components/schemas/link" }, - "self": { "$ref": "#/components/schemas/link" } - }, - "required": [ - "comments", - "commits", - "statuses", - "html", - "issue", - "review_comments", - "review_comment", - "self" - ] - }, - "author_association": { - "$ref": "#/components/schemas/author-association" - }, - "auto_merge": { "$ref": "#/components/schemas/auto-merge" }, - "draft": { - "description": "Indicates whether or not the pull request is a draft.", - "type": "boolean", - "examples": [false] - } - }, - "required": [ - "_links", - "assignee", - "labels", - "base", - "body", - "closed_at", - "comments_url", - "commits_url", - "created_at", - "diff_url", - "head", - "html_url", - "id", - "node_id", - "issue_url", - "merge_commit_sha", - "merged_at", - "milestone", - "number", - "patch_url", - "review_comment_url", - "review_comments_url", - "statuses_url", - "state", - "locked", - "title", - "updated_at", - "url", - "user", - "author_association", - "auto_merge" - ] - }, - "simple-commit-status": { - "title": "Simple Commit Status", - "type": "object", - "properties": { - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "node_id": { "type": "string" }, - "state": { "type": "string" }, - "context": { "type": "string" }, - "target_url": { "type": ["string", "null"], "format": "uri" }, - "required": { "type": ["boolean", "null"] }, - "avatar_url": { "type": ["string", "null"], "format": "uri" }, - "url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "updated_at": { "type": "string", "format": "date-time" } - }, - "required": [ - "description", - "id", - "node_id", - "state", - "context", - "target_url", - "avatar_url", - "url", - "created_at", - "updated_at" - ] - }, - "combined-commit-status": { - "title": "Combined Commit Status", - "description": "Combined Commit Status", - "type": "object", - "properties": { - "state": { "type": "string" }, - "statuses": { - "type": "array", - "items": { "$ref": "#/components/schemas/simple-commit-status" } - }, - "sha": { "type": "string" }, - "total_count": { "type": "integer" }, - "repository": { "$ref": "#/components/schemas/minimal-repository" }, - "commit_url": { "type": "string", "format": "uri" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "state", - "sha", - "total_count", - "statuses", - "repository", - "commit_url", - "url" - ] - }, - "status": { - "title": "Status", - "description": "The status of a commit.", - "type": "object", - "properties": { - "url": { "type": "string" }, - "avatar_url": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "node_id": { "type": "string" }, - "state": { "type": "string" }, - "description": { "type": ["string", "null"] }, - "target_url": { "type": ["string", "null"] }, - "context": { "type": "string" }, - "created_at": { "type": "string" }, - "updated_at": { "type": "string" }, - "creator": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - } - }, - "required": [ - "url", - "avatar_url", - "id", - "node_id", - "state", - "description", - "target_url", - "context", - "created_at", - "updated_at", - "creator" - ] - }, - "commit-comparison": { - "title": "Commit Comparison", - "description": "Commit Comparison", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/compare/master...topic" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat/Hello-World/compare/master...topic" - ] - }, - "permalink_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat/Hello-World/compare/octocat:bbcd538c8e72b8c175046e27cc8f907076331401...octocat:0328041d1152db8ae77652d1618a02e57f745f17" - ] - }, - "diff_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat/Hello-World/compare/master...topic.diff" - ] - }, - "patch_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat/Hello-World/compare/master...topic.patch" - ] - }, - "base_commit": { "$ref": "#/components/schemas/commit" }, - "merge_base_commit": { "$ref": "#/components/schemas/commit" }, - "status": { - "type": "string", - "enum": ["diverged", "ahead", "behind", "identical"], - "examples": ["ahead"] - }, - "ahead_by": { "type": "integer", "examples": [4] }, - "behind_by": { "type": "integer", "examples": [5] }, - "total_commits": { "type": "integer", "examples": [6] }, - "commits": { - "type": "array", - "items": { "$ref": "#/components/schemas/commit" } - }, - "files": { - "type": "array", - "items": { "$ref": "#/components/schemas/diff-entry" } - } - }, - "required": [ - "url", - "html_url", - "permalink_url", - "diff_url", - "patch_url", - "base_commit", - "merge_base_commit", - "status", - "ahead_by", - "behind_by", - "total_commits", - "commits" - ] - }, - "content-tree": { - "title": "Content Tree", - "description": "Content Tree", - "type": "object", - "properties": { - "type": { "type": "string" }, - "size": { "type": "integer" }, - "name": { "type": "string" }, - "path": { "type": "string" }, - "sha": { "type": "string" }, - "content": { "type": "string" }, - "url": { "type": "string", "format": "uri" }, - "git_url": { "type": ["string", "null"], "format": "uri" }, - "html_url": { "type": ["string", "null"], "format": "uri" }, - "download_url": { "type": ["string", "null"], "format": "uri" }, - "entries": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { "type": "string" }, - "size": { "type": "integer" }, - "name": { "type": "string" }, - "path": { "type": "string" }, - "sha": { "type": "string" }, - "url": { "type": "string", "format": "uri" }, - "git_url": { "type": ["string", "null"], "format": "uri" }, - "html_url": { "type": ["string", "null"], "format": "uri" }, - "download_url": { "type": ["string", "null"], "format": "uri" }, - "_links": { - "type": "object", - "properties": { - "git": { "type": ["string", "null"], "format": "uri" }, - "html": { "type": ["string", "null"], "format": "uri" }, - "self": { "type": "string", "format": "uri" } - }, - "required": ["git", "html", "self"] - } - }, - "required": [ - "_links", - "git_url", - "html_url", - "download_url", - "name", - "path", - "sha", - "size", - "type", - "url" - ] - } - }, - "encoding": { "type": "string" }, - "_links": { - "type": "object", - "properties": { - "git": { "type": ["string", "null"], "format": "uri" }, - "html": { "type": ["string", "null"], "format": "uri" }, - "self": { "type": "string", "format": "uri" } - }, - "required": ["git", "html", "self"] - } - }, - "required": [ - "_links", - "git_url", - "html_url", - "download_url", - "name", - "path", - "sha", - "size", - "type", - "url" - ] - }, - "content-directory": { - "title": "Content Directory", - "description": "A list of directory items", - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": ["dir", "file", "submodule", "symlink"] - }, - "size": { "type": "integer" }, - "name": { "type": "string" }, - "path": { "type": "string" }, - "content": { "type": "string" }, - "sha": { "type": "string" }, - "url": { "type": "string", "format": "uri" }, - "git_url": { "type": ["string", "null"], "format": "uri" }, - "html_url": { "type": ["string", "null"], "format": "uri" }, - "download_url": { "type": ["string", "null"], "format": "uri" }, - "_links": { - "type": "object", - "properties": { - "git": { "type": ["string", "null"], "format": "uri" }, - "html": { "type": ["string", "null"], "format": "uri" }, - "self": { "type": "string", "format": "uri" } - }, - "required": ["git", "html", "self"] - } - }, - "required": [ - "_links", - "git_url", - "html_url", - "download_url", - "name", - "path", - "sha", - "size", - "type", - "url" - ] - } - }, - "content-file": { - "title": "Content File", - "description": "Content File", - "type": "object", - "properties": { - "type": { "type": "string", "enum": ["file"] }, - "encoding": { "type": "string" }, - "size": { "type": "integer" }, - "name": { "type": "string" }, - "path": { "type": "string" }, - "content": { "type": "string" }, - "sha": { "type": "string" }, - "url": { "type": "string", "format": "uri" }, - "git_url": { "type": ["string", "null"], "format": "uri" }, - "html_url": { "type": ["string", "null"], "format": "uri" }, - "download_url": { "type": ["string", "null"], "format": "uri" }, - "_links": { - "type": "object", - "properties": { - "git": { "type": ["string", "null"], "format": "uri" }, - "html": { "type": ["string", "null"], "format": "uri" }, - "self": { "type": "string", "format": "uri" } - }, - "required": ["git", "html", "self"] - }, - "target": { "type": "string", "examples": ["\"actual/actual.md\""] }, - "submodule_git_url": { - "type": "string", - "examples": ["\"git://example.com/defunkt/dotjs.git\""] - } - }, - "required": [ - "_links", - "git_url", - "html_url", - "download_url", - "name", - "path", - "sha", - "size", - "type", - "url", - "content", - "encoding" - ] - }, - "content-symlink": { - "title": "Symlink Content", - "description": "An object describing a symlink", - "type": "object", - "properties": { - "type": { "type": "string", "enum": ["symlink"] }, - "target": { "type": "string" }, - "size": { "type": "integer" }, - "name": { "type": "string" }, - "path": { "type": "string" }, - "sha": { "type": "string" }, - "url": { "type": "string", "format": "uri" }, - "git_url": { "type": ["string", "null"], "format": "uri" }, - "html_url": { "type": ["string", "null"], "format": "uri" }, - "download_url": { "type": ["string", "null"], "format": "uri" }, - "_links": { - "type": "object", - "properties": { - "git": { "type": ["string", "null"], "format": "uri" }, - "html": { "type": ["string", "null"], "format": "uri" }, - "self": { "type": "string", "format": "uri" } - }, - "required": ["git", "html", "self"] - } - }, - "required": [ - "_links", - "git_url", - "html_url", - "download_url", - "name", - "path", - "sha", - "size", - "type", - "url", - "target" - ] - }, - "content-submodule": { - "title": "Submodule Content", - "description": "An object describing a submodule", - "type": "object", - "properties": { - "type": { "type": "string", "enum": ["submodule"] }, - "submodule_git_url": { "type": "string", "format": "uri" }, - "size": { "type": "integer" }, - "name": { "type": "string" }, - "path": { "type": "string" }, - "sha": { "type": "string" }, - "url": { "type": "string", "format": "uri" }, - "git_url": { "type": ["string", "null"], "format": "uri" }, - "html_url": { "type": ["string", "null"], "format": "uri" }, - "download_url": { "type": ["string", "null"], "format": "uri" }, - "_links": { - "type": "object", - "properties": { - "git": { "type": ["string", "null"], "format": "uri" }, - "html": { "type": ["string", "null"], "format": "uri" }, - "self": { "type": "string", "format": "uri" } - }, - "required": ["git", "html", "self"] - } - }, - "required": [ - "_links", - "git_url", - "html_url", - "download_url", - "name", - "path", - "sha", - "size", - "type", - "url", - "submodule_git_url" - ] - }, - "file-commit": { - "title": "File Commit", - "description": "File Commit", - "type": "object", - "required": ["content", "commit"], - "properties": { - "content": { - "type": ["object", "null"], - "properties": { - "name": { "type": "string" }, - "path": { "type": "string" }, - "sha": { "type": "string" }, - "size": { "type": "integer" }, - "url": { "type": "string" }, - "html_url": { "type": "string" }, - "git_url": { "type": "string" }, - "download_url": { "type": "string" }, - "type": { "type": "string" }, - "_links": { - "type": "object", - "properties": { - "self": { "type": "string" }, - "git": { "type": "string" }, - "html": { "type": "string" } - } - } - } - }, - "commit": { - "type": "object", - "properties": { - "sha": { "type": "string" }, - "node_id": { "type": "string" }, - "url": { "type": "string" }, - "html_url": { "type": "string" }, - "author": { - "type": "object", - "properties": { - "date": { "type": "string" }, - "name": { "type": "string" }, - "email": { "type": "string" } - } - }, - "committer": { - "type": "object", - "properties": { - "date": { "type": "string" }, - "name": { "type": "string" }, - "email": { "type": "string" } - } - }, - "message": { "type": "string" }, - "tree": { - "type": "object", - "properties": { - "url": { "type": "string" }, - "sha": { "type": "string" } - } - }, - "parents": { - "type": "array", - "items": { - "type": "object", - "properties": { - "url": { "type": "string" }, - "html_url": { "type": "string" }, - "sha": { "type": "string" } - } - } - }, - "verification": { - "type": "object", - "properties": { - "verified": { "type": "boolean" }, - "reason": { "type": "string" }, - "signature": { "type": ["string", "null"] }, - "payload": { "type": ["string", "null"] } - } - } - } - } - } - }, - "secret-scanning-push-protection-bypass-placeholder-id": { - "description": "The ID of the push protection bypass placeholder. This value is returned on any push protected routes.", - "type": "string" - }, - "repository-rule-violation-error": { - "description": "Repository rule violation was detected", - "type": "object", - "properties": { - "message": { "type": "string" }, - "documentation_url": { "type": "string" }, - "status": { "type": "string" }, - "metadata": { - "type": "object", - "properties": { - "secret_scanning": { - "type": "object", - "properties": { - "bypass_placeholders": { - "type": "array", - "items": { - "type": "object", - "properties": { - "placeholder_id": { - "$ref": "#/components/schemas/secret-scanning-push-protection-bypass-placeholder-id" - }, - "token_type": { "type": "string" } - } - } - } - } - } - } - } - } - }, - "contributor": { - "title": "Contributor", - "description": "Contributor", - "type": "object", - "properties": { - "login": { "type": "string" }, - "id": { "type": "integer" }, - "node_id": { "type": "string" }, - "avatar_url": { "type": "string", "format": "uri" }, - "gravatar_id": { "type": ["string", "null"] }, - "url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "organizations_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string" }, - "received_events_url": { "type": "string", "format": "uri" }, - "type": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "contributions": { "type": "integer" }, - "email": { "type": "string" }, - "name": { "type": "string" }, - "user_view_type": { "type": "string" } - }, - "required": ["contributions", "type"] - }, - "dependabot-alert": { - "type": "object", - "description": "A Dependabot alert.", - "properties": { - "number": { "$ref": "#/components/schemas/alert-number" }, - "state": { - "type": "string", - "description": "The state of the Dependabot alert.", - "readOnly": true, - "enum": ["auto_dismissed", "dismissed", "fixed", "open"] - }, - "dependency": { - "type": "object", - "description": "Details for the vulnerable dependency.", - "readOnly": true, - "properties": { - "package": { - "$ref": "#/components/schemas/dependabot-alert-package" - }, - "manifest_path": { - "type": "string", - "description": "The full path to the dependency manifest file, relative to the root of the repository.", - "readOnly": true - }, - "scope": { - "type": ["string", "null"], - "description": "The execution scope of the vulnerable dependency.", - "readOnly": true, - "enum": ["development", "runtime", null] - } - } - }, - "security_advisory": { - "$ref": "#/components/schemas/dependabot-alert-security-advisory" - }, - "security_vulnerability": { - "$ref": "#/components/schemas/dependabot-alert-security-vulnerability" - }, - "url": { "$ref": "#/components/schemas/alert-url" }, - "html_url": { "$ref": "#/components/schemas/alert-html-url" }, - "created_at": { "$ref": "#/components/schemas/alert-created-at" }, - "updated_at": { "$ref": "#/components/schemas/alert-updated-at" }, - "dismissed_at": { "$ref": "#/components/schemas/alert-dismissed-at" }, - "dismissed_by": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "dismissed_reason": { - "type": ["string", "null"], - "description": "The reason that the alert was dismissed.", - "enum": [ - "fix_started", - "inaccurate", - "no_bandwidth", - "not_used", - "tolerable_risk", - null - ] - }, - "dismissed_comment": { - "type": ["string", "null"], - "description": "An optional comment associated with the alert's dismissal.", - "maxLength": 280 - }, - "fixed_at": { "$ref": "#/components/schemas/alert-fixed-at" }, - "auto_dismissed_at": { - "$ref": "#/components/schemas/alert-auto-dismissed-at" - } - }, - "required": [ - "number", - "state", - "dependency", - "security_advisory", - "security_vulnerability", - "url", - "html_url", - "created_at", - "updated_at", - "dismissed_at", - "dismissed_by", - "dismissed_reason", - "dismissed_comment", - "fixed_at" - ], - "additionalProperties": false - }, - "dependabot-secret": { - "title": "Dependabot Secret", - "description": "Set secrets for Dependabot.", - "type": "object", - "properties": { - "name": { - "description": "The name of the secret.", - "type": "string", - "examples": ["MY_ARTIFACTORY_PASSWORD"] - }, - "created_at": { "type": "string", "format": "date-time" }, - "updated_at": { "type": "string", "format": "date-time" } - }, - "required": ["name", "created_at", "updated_at"] - }, - "dependency-graph-diff": { - "title": "Dependency Graph Diff", - "description": "A diff of the dependencies between two commits.", - "type": "array", - "items": { - "type": "object", - "properties": { - "change_type": { "type": "string", "enum": ["added", "removed"] }, - "manifest": { - "type": "string", - "examples": ["path/to/package-lock.json"] - }, - "ecosystem": { "type": "string", "examples": ["npm"] }, - "name": { "type": "string", "examples": ["@actions/core"] }, - "version": { "type": "string", "examples": ["1.0.0"] }, - "package_url": { - "type": ["string", "null"], - "examples": ["pkg:/npm/%40actions/core@1.1.0"] - }, - "license": { "type": ["string", "null"], "examples": ["MIT"] }, - "source_repository_url": { - "type": ["string", "null"], - "examples": ["https://github.com/github/actions"] - }, - "vulnerabilities": { - "type": "array", - "items": { - "type": "object", - "properties": { - "severity": { "type": "string", "examples": ["critical"] }, - "advisory_ghsa_id": { - "type": "string", - "examples": ["GHSA-rf4j-j272-fj86"] - }, - "advisory_summary": { - "type": "string", - "examples": ["A summary of the advisory."] - }, - "advisory_url": { - "type": "string", - "examples": [ - "https://github.com/advisories/GHSA-rf4j-j272-fj86" - ] - } - }, - "required": [ - "severity", - "advisory_ghsa_id", - "advisory_summary", - "advisory_url" - ] - } - }, - "scope": { - "description": "Where the dependency is utilized. `development` means that the dependency is only utilized in the development environment. `runtime` means that the dependency is utilized at runtime and in the development environment.", - "type": "string", - "enum": ["unknown", "runtime", "development"] - } - }, - "required": [ - "change_type", - "manifest", - "ecosystem", - "name", - "version", - "package_url", - "license", - "source_repository_url", - "vulnerabilities", - "scope" - ] - } - }, - "dependency-graph-spdx-sbom": { - "title": "Dependency Graph SPDX SBOM", - "description": "A schema for the SPDX JSON format returned by the Dependency Graph.", - "type": "object", - "properties": { - "sbom": { - "type": "object", - "properties": { - "SPDXID": { - "type": "string", - "description": "The SPDX identifier for the SPDX document.", - "examples": ["SPDXRef-DOCUMENT"] - }, - "spdxVersion": { - "type": "string", - "description": "The version of the SPDX specification that this document conforms to.", - "examples": ["SPDX-2.3"] - }, - "comment": { - "type": "string", - "description": "An optional comment about the SPDX document.", - "examples": [ - "Exact versions could not be resolved for some packages. For more information: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/" - ] - }, - "creationInfo": { - "type": "object", - "properties": { - "created": { - "type": "string", - "description": "The date and time the SPDX document was created.", - "examples": ["2021-11-03T00:00:00Z"] - }, - "creators": { - "type": "array", - "items": { "type": "string", "examples": ["GitHub"] }, - "description": "The tools that were used to generate the SPDX document." - } - }, - "required": ["created", "creators"] - }, - "name": { - "type": "string", - "description": "The name of the SPDX document.", - "examples": ["github/github"] - }, - "dataLicense": { - "type": "string", - "description": "The license under which the SPDX document is licensed.", - "examples": ["CC0-1.0"] - }, - "documentNamespace": { - "type": "string", - "description": "The namespace for the SPDX document.", - "examples": [ - "https://spdx.org/spdxdocs/protobom/15e41dd2-f961-4f4d-b8dc-f8f57ad70d57" - ] - }, - "packages": { - "type": "array", - "items": { - "type": "object", - "properties": { - "SPDXID": { - "type": "string", - "description": "A unique SPDX identifier for the package.", - "examples": ["SPDXRef-Package"] - }, - "name": { - "type": "string", - "description": "The name of the package.", - "examples": ["github/github"] - }, - "versionInfo": { - "type": "string", - "description": "The version of the package. If the package does not have an exact version specified,\na version range is given.", - "examples": ["1.0.0"] - }, - "downloadLocation": { - "type": "string", - "description": "The location where the package can be downloaded,\nor NOASSERTION if this has not been determined.", - "examples": ["NOASSERTION"] - }, - "filesAnalyzed": { - "type": "boolean", - "description": "Whether the package's file content has been subjected to\nanalysis during the creation of the SPDX document.", - "examples": [false] - }, - "licenseConcluded": { - "type": "string", - "description": "The license of the package as determined while creating the SPDX document.", - "examples": ["MIT"] - }, - "licenseDeclared": { - "type": "string", - "description": "The license of the package as declared by its author, or NOASSERTION if this information\nwas not available when the SPDX document was created.", - "examples": ["NOASSERTION"] - }, - "supplier": { - "type": "string", - "description": "The distribution source of this package, or NOASSERTION if this was not determined.", - "examples": ["NOASSERTION"] - }, - "copyrightText": { - "type": "string", - "description": "The copyright holders of the package, and any dates present with those notices, if available.", - "examples": ["Copyright (c) 1985 GitHub.com"] - }, - "externalRefs": { - "type": "array", - "items": { - "type": "object", - "properties": { - "referenceCategory": { - "type": "string", - "description": "The category of reference to an external resource this reference refers to.", - "examples": ["PACKAGE-MANAGER"] - }, - "referenceLocator": { - "type": "string", - "description": "A locator for the particular external resource this reference refers to.", - "examples": ["pkg:gem/rails@6.0.1"] - }, - "referenceType": { - "type": "string", - "description": "The category of reference to an external resource this reference refers to.", - "examples": ["purl"] - } - }, - "required": [ - "referenceCategory", - "referenceLocator", - "referenceType" - ] - } - } - } - }, - "required": [ - "SPDXID", - "name", - "versionInfo", - "downloadLocation", - "filesAnalyzed" - ] - }, - "relationships": { - "type": "array", - "items": { - "type": "object", - "properties": { - "relationshipType": { - "type": "string", - "description": "The type of relationship between the two SPDX elements.", - "examples": ["DEPENDS_ON"] - }, - "spdxElementId": { - "type": "string", - "description": "The SPDX identifier of the package that is the source of the relationship." - }, - "relatedSpdxElement": { - "type": "string", - "description": "The SPDX identifier of the package that is the target of the relationship." - } - } - }, - "required": [ - "relationshipType", - "spdxElementId", - "relatedSpdxElement" - ] - } - }, - "required": [ - "SPDXID", - "spdxVersion", - "creationInfo", - "name", - "dataLicense", - "documentNamespace", - "packages" - ] - } - }, - "required": ["sbom"] - }, - "metadata": { - "title": "metadata", - "description": "User-defined metadata to store domain-specific information limited to 8 keys with scalar values.", - "type": "object", - "maxProperties": 8, - "additionalProperties": { - "anyOf": [ - { "type": "string" }, - { "type": "number" }, - { "type": "boolean" } - ], - "type": ["null", "string", "number", "boolean"] - } - }, - "dependency": { - "type": "object", - "properties": { - "package_url": { - "type": "string", - "description": "Package-url (PURL) of dependency. See https://github.com/package-url/purl-spec for more details.", - "pattern": "^pkg", - "examples": ["pkg:/npm/%40actions/http-client@1.0.11"] - }, - "metadata": { "$ref": "#/components/schemas/metadata" }, - "relationship": { - "type": "string", - "description": "A notation of whether a dependency is requested directly by this manifest or is a dependency of another dependency.", - "enum": ["direct", "indirect"], - "examples": ["direct"] - }, - "scope": { - "type": "string", - "description": "A notation of whether the dependency is required for the primary build artifact (runtime) or is only used for development. Future versions of this specification may allow for more granular scopes.", - "enum": ["runtime", "development"], - "examples": ["runtime"] - }, - "dependencies": { - "type": "array", - "description": "Array of package-url (PURLs) of direct child dependencies.", - "items": { "type": "string" }, - "examples": ["@actions/http-client"] - } - }, - "additionalProperties": false - }, - "manifest": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the manifest.", - "examples": ["package-lock.json"] - }, - "file": { - "type": "object", - "properties": { - "source_location": { - "type": "string", - "description": "The path of the manifest file relative to the root of the Git repository.", - "examples": ["/src/build/package-lock.json"] - } - }, - "additionalProperties": false - }, - "metadata": { "$ref": "#/components/schemas/metadata" }, - "resolved": { - "type": "object", - "description": "A collection of resolved package dependencies.", - "additionalProperties": { - "$ref": "#/components/schemas/dependency" - } - } - }, - "required": ["name"], - "additionalProperties": false - }, - "snapshot": { - "title": "snapshot", - "description": "Create a new snapshot of a repository's dependencies.", - "type": "object", - "properties": { - "version": { - "description": "The version of the repository snapshot submission.", - "type": "integer" - }, - "job": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "The external ID of the job.", - "examples": ["5622a2b0-63f6-4732-8c34-a1ab27e102a11"] - }, - "correlator": { - "type": "string", - "description": "Correlator provides a key that is used to group snapshots submitted over time. Only the \"latest\" submitted snapshot for a given combination of `job.correlator` and `detector.name` will be considered when calculating a repository's current dependencies. Correlator should be as unique as it takes to distinguish all detection runs for a given \"wave\" of CI workflow you run. If you're using GitHub Actions, a good default value for this could be the environment variables GITHUB_WORKFLOW and GITHUB_JOB concatenated together. If you're using a build matrix, then you'll also need to add additional key(s) to distinguish between each submission inside a matrix variation.", - "examples": ["yourworkflowname_yourjobname"] - }, - "html_url": { - "type": "string", - "description": "The url for the job.", - "examples": ["http://example.com/build"] - } - }, - "required": ["id", "correlator"], - "additionalProperties": false - }, - "sha": { - "description": "The commit SHA associated with this dependency snapshot. Maximum length: 40 characters.", - "type": "string", - "minLength": 40, - "maxLength": 40, - "examples": ["ddc951f4b1293222421f2c8df679786153acf689"] - }, - "ref": { - "description": "The repository branch that triggered this snapshot.", - "type": "string", - "pattern": "^refs/", - "examples": ["refs/heads/main"] - }, - "detector": { - "type": "object", - "description": "A description of the detector used.", - "properties": { - "name": { - "type": "string", - "description": "The name of the detector used.", - "examples": ["docker buildtime detector"] - }, - "version": { - "type": "string", - "description": "The version of the detector used.", - "examples": ["1.0.0"] - }, - "url": { - "type": "string", - "description": "The url of the detector used.", - "examples": ["http://example.com/docker-buildtimer-detector"] - } - }, - "required": ["name", "version", "url"], - "additionalProperties": false - }, - "metadata": { "$ref": "#/components/schemas/metadata" }, - "manifests": { - "type": "object", - "description": "A collection of package manifests, which are a collection of related dependencies declared in a file or representing a logical group of dependencies.", - "additionalProperties": { "$ref": "#/components/schemas/manifest" } - }, - "scanned": { - "type": "string", - "format": "date-time", - "description": "The time at which the snapshot was scanned.", - "examples": ["2020-06-13T14:52:50-05:00"] - } - }, - "required": ["detector", "version", "ref", "sha", "job", "scanned"], - "additionalProperties": false - }, - "deployment-status": { - "title": "Deployment Status", - "description": "The status of a deployment.", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/example/deployments/42/statuses/1" - ] - }, - "id": { "type": "integer", "format": "int64", "examples": [1] }, - "node_id": { - "type": "string", - "examples": ["MDE2OkRlcGxveW1lbnRTdGF0dXMx"] - }, - "state": { - "description": "The state of the status.", - "enum": [ - "error", - "failure", - "inactive", - "pending", - "success", - "queued", - "in_progress" - ], - "type": "string", - "examples": ["success"] - }, - "creator": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "description": { - "description": "A short description of the status.", - "default": "", - "type": "string", - "maxLength": 140, - "examples": ["Deployment finished successfully."] - }, - "environment": { - "description": "The environment of the deployment that the status is for.", - "default": "", - "type": "string", - "examples": ["production"] - }, - "target_url": { - "description": "Closing down notice: the URL to associate with this status.", - "default": "", - "type": "string", - "format": "uri", - "examples": ["https://example.com/deployment/42/output"] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": ["2012-07-20T01:19:13Z"] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": ["2012-07-20T01:19:13Z"] - }, - "deployment_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/example/deployments/42" - ] - }, - "repository_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/repos/octocat/example"] - }, - "environment_url": { - "description": "The URL for accessing your environment.", - "default": "", - "type": "string", - "format": "uri", - "examples": ["https://staging.example.com/"] - }, - "log_url": { - "description": "The URL to associate with this status.", - "default": "", - "type": "string", - "format": "uri", - "examples": ["https://example.com/deployment/42/output"] - }, - "performed_via_github_app": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/integration" } - ] - } - }, - "required": [ - "id", - "node_id", - "state", - "creator", - "description", - "deployment_url", - "target_url", - "repository_url", - "url", - "created_at", - "updated_at" - ] - }, - "wait-timer": { - "type": "integer", - "description": "The amount of time to delay a job after the job is initially triggered. The time (in minutes) must be an integer between 0 and 43,200 (30 days).", - "examples": [30] - }, - "deployment-branch-policy-settings": { - "type": ["object", "null"], - "description": "The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`.", - "properties": { - "protected_branches": { - "type": "boolean", - "description": "Whether only branches with branch protection rules can deploy to this environment. If `protected_branches` is `true`, `custom_branch_policies` must be `false`; if `protected_branches` is `false`, `custom_branch_policies` must be `true`." - }, - "custom_branch_policies": { - "type": "boolean", - "description": "Whether only branches that match the specified name patterns can deploy to this environment. If `custom_branch_policies` is `true`, `protected_branches` must be `false`; if `custom_branch_policies` is `false`, `protected_branches` must be `true`." - } - }, - "required": ["protected_branches", "custom_branch_policies"] - }, - "environment": { - "title": "Environment", - "description": "Details of a deployment environment", - "type": "object", - "properties": { - "id": { - "description": "The id of the environment.", - "type": "integer", - "format": "int64", - "examples": [56780428] - }, - "node_id": { - "type": "string", - "examples": ["MDExOkVudmlyb25tZW50NTY3ODA0Mjg="] - }, - "name": { - "description": "The name of the environment.", - "type": "string", - "examples": ["staging"] - }, - "url": { - "type": "string", - "examples": [ - "https://api.github.com/repos/github/hello-world/environments/staging" - ] - }, - "html_url": { - "type": "string", - "examples": [ - "https://github.com/github/hello-world/deployments/activity_log?environments_filter=staging" - ] - }, - "created_at": { - "description": "The time that the environment was created, in ISO 8601 format.", - "format": "date-time", - "type": "string", - "examples": ["2020-11-23T22:00:40Z"] - }, - "updated_at": { - "description": "The time that the environment was last updated, in ISO 8601 format.", - "format": "date-time", - "type": "string", - "examples": ["2020-11-23T22:00:40Z"] - }, - "protection_rules": { - "type": "array", - "description": "Built-in deployment protection rules for the environment.", - "items": { - "anyOf": [ - { - "type": "object", - "properties": { - "id": { "type": "integer", "examples": [3515] }, - "node_id": { - "type": "string", - "examples": ["MDQ6R2F0ZTM1MTU="] - }, - "type": { "type": "string", "examples": ["wait_timer"] }, - "wait_timer": { "$ref": "#/components/schemas/wait-timer" } - }, - "required": ["id", "node_id", "type"] - }, - { - "type": "object", - "properties": { - "id": { "type": "integer", "examples": [3755] }, - "node_id": { - "type": "string", - "examples": ["MDQ6R2F0ZTM3NTU="] - }, - "prevent_self_review": { - "type": "boolean", - "description": "Whether deployments to this environment can be approved by the user who created the deployment.", - "examples": [false] - }, - "type": { - "type": "string", - "examples": ["required_reviewers"] - }, - "reviewers": { - "type": "array", - "description": "The people or teams that may approve jobs that reference the environment. You can list up to six users or teams as reviewers. The reviewers must have at least read access to the repository. Only one of the required reviewers needs to approve the job for it to proceed.", - "items": { - "type": "object", - "properties": { - "type": { - "$ref": "#/components/schemas/deployment-reviewer-type" - }, - "reviewer": { - "anyOf": [ - { "$ref": "#/components/schemas/simple-user" }, - { "$ref": "#/components/schemas/team" } - ] - } - } - } - } - }, - "required": ["id", "node_id", "type"] - }, - { - "type": "object", - "properties": { - "id": { "type": "integer", "examples": [3515] }, - "node_id": { - "type": "string", - "examples": ["MDQ6R2F0ZTM1MTU="] - }, - "type": { "type": "string", "examples": ["branch_policy"] } - }, - "required": ["id", "node_id", "type"] - } - ] - } - }, - "deployment_branch_policy": { - "$ref": "#/components/schemas/deployment-branch-policy-settings" - } - }, - "required": [ - "id", - "node_id", - "name", - "url", - "html_url", - "created_at", - "updated_at" - ] - }, - "prevent-self-review": { - "type": "boolean", - "description": "Whether or not a user who created the job is prevented from approving their own job.", - "examples": [false] - }, - "deployment-branch-policy": { - "title": "Deployment branch policy", - "description": "Details of a deployment branch or tag policy.", - "type": "object", - "properties": { - "id": { - "description": "The unique identifier of the branch or tag policy.", - "type": "integer", - "examples": [361471] - }, - "node_id": { - "type": "string", - "examples": ["MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjE0NzE="] - }, - "name": { - "description": "The name pattern that branches or tags must match in order to deploy to the environment.", - "type": "string", - "examples": ["release/*"] - }, - "type": { - "description": "Whether this rule targets a branch or tag.", - "type": "string", - "enum": ["branch", "tag"], - "examples": ["branch"] - } - } - }, - "deployment-branch-policy-name-pattern-with-type": { - "title": "Deployment branch and tag policy name pattern", - "type": "object", - "properties": { - "name": { - "description": "The name pattern that branches or tags must match in order to deploy to the environment.\n\nWildcard characters will not match `/`. For example, to match branches that begin with `release/` and contain an additional single slash, use `release/*/*`.\nFor more information about pattern matching syntax, see the [Ruby File.fnmatch documentation](https://ruby-doc.org/core-2.5.1/File.html#method-c-fnmatch).", - "type": "string", - "examples": ["release/*"] - }, - "type": { - "description": "Whether this rule targets a branch or tag", - "type": "string", - "enum": ["branch", "tag"], - "examples": ["branch"] - } - }, - "required": ["name"] - }, - "deployment-branch-policy-name-pattern": { - "title": "Deployment branch policy name pattern", - "type": "object", - "properties": { - "name": { - "description": "The name pattern that branches must match in order to deploy to the environment.\n\nWildcard characters will not match `/`. For example, to match branches that begin with `release/` and contain an additional single slash, use `release/*/*`.\nFor more information about pattern matching syntax, see the [Ruby File.fnmatch documentation](https://ruby-doc.org/core-2.5.1/File.html#method-c-fnmatch).", - "type": "string", - "examples": ["release/*"] - } - }, - "required": ["name"] - }, - "custom-deployment-rule-app": { - "title": "Custom deployment protection rule app", - "description": "A GitHub App that is providing a custom deployment protection rule.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "The unique identifier of the deployment protection rule integration.", - "examples": [3515] - }, - "slug": { - "type": "string", - "description": "The slugified name of the deployment protection rule integration.", - "examples": ["my-custom-app"] - }, - "integration_url": { - "type": "string", - "description": "The URL for the endpoint to get details about the app.", - "examples": ["https://api.github.com/apps/custom-app-slug"] - }, - "node_id": { - "type": "string", - "description": "The node ID for the deployment protection rule integration.", - "examples": ["MDQ6R2F0ZTM1MTU="] - } - }, - "required": ["id", "slug", "integration_url", "node_id"] - }, - "deployment-protection-rule": { - "title": "Deployment protection rule", - "description": "Deployment protection rule", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "The unique identifier for the deployment protection rule.", - "examples": [3515] - }, - "node_id": { - "type": "string", - "description": "The node ID for the deployment protection rule.", - "examples": ["MDQ6R2F0ZTM1MTU="] - }, - "enabled": { - "type": "boolean", - "description": "Whether the deployment protection rule is enabled for the environment.", - "examples": [true] - }, - "app": { "$ref": "#/components/schemas/custom-deployment-rule-app" } - }, - "required": ["id", "node_id", "enabled", "app"] - }, - "short-blob": { - "title": "Short Blob", - "description": "Short Blob", - "type": "object", - "properties": { - "url": { "type": "string" }, - "sha": { "type": "string" } - }, - "required": ["url", "sha"] - }, - "blob": { - "title": "Blob", - "description": "Blob", - "type": "object", - "properties": { - "content": { "type": "string" }, - "encoding": { "type": "string" }, - "url": { "type": "string", "format": "uri" }, - "sha": { "type": "string" }, - "size": { "type": ["integer", "null"] }, - "node_id": { "type": "string" }, - "highlighted_content": { "type": "string" } - }, - "required": ["sha", "url", "node_id", "size", "content", "encoding"] - }, - "git-commit": { - "title": "Git Commit", - "description": "Low-level Git commit operations within a repository", - "type": "object", - "properties": { - "sha": { - "description": "SHA for the commit", - "type": "string", - "examples": ["7638417db6d59f3c431d3e1f261cc637155684cd"] - }, - "node_id": { "type": "string" }, - "url": { "type": "string", "format": "uri" }, - "author": { - "description": "Identifying information for the git-user", - "type": "object", - "properties": { - "date": { - "description": "Timestamp of the commit", - "format": "date-time", - "type": "string", - "examples": ["2014-08-09T08:02:04+12:00"] - }, - "email": { - "type": "string", - "description": "Git email address of the user", - "examples": ["monalisa.octocat@example.com"] - }, - "name": { - "description": "Name of the git user", - "type": "string", - "examples": ["Monalisa Octocat"] - } - }, - "required": ["email", "name", "date"] - }, - "committer": { - "description": "Identifying information for the git-user", - "type": "object", - "properties": { - "date": { - "description": "Timestamp of the commit", - "format": "date-time", - "type": "string", - "examples": ["2014-08-09T08:02:04+12:00"] - }, - "email": { - "type": "string", - "description": "Git email address of the user", - "examples": ["monalisa.octocat@example.com"] - }, - "name": { - "description": "Name of the git user", - "type": "string", - "examples": ["Monalisa Octocat"] - } - }, - "required": ["email", "name", "date"] - }, - "message": { - "description": "Message describing the purpose of the commit", - "type": "string", - "examples": ["Fix #42"] - }, - "tree": { - "type": "object", - "properties": { - "sha": { - "description": "SHA for the commit", - "type": "string", - "examples": ["7638417db6d59f3c431d3e1f261cc637155684cd"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["sha", "url"] - }, - "parents": { - "type": "array", - "items": { - "type": "object", - "properties": { - "sha": { - "description": "SHA for the commit", - "type": "string", - "examples": ["7638417db6d59f3c431d3e1f261cc637155684cd"] - }, - "url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" } - }, - "required": ["sha", "url", "html_url"] - } - }, - "verification": { - "type": "object", - "properties": { - "verified": { "type": "boolean" }, - "reason": { "type": "string" }, - "signature": { "type": ["string", "null"] }, - "payload": { "type": ["string", "null"] } - }, - "required": ["verified", "reason", "signature", "payload"] - }, - "html_url": { "type": "string", "format": "uri" } - }, - "required": [ - "sha", - "node_id", - "url", - "html_url", - "author", - "committer", - "tree", - "message", - "parents", - "verification" - ] - }, - "git-ref": { - "title": "Git Reference", - "description": "Git references within a repository", - "type": "object", - "properties": { - "ref": { "type": "string" }, - "node_id": { "type": "string" }, - "url": { "type": "string", "format": "uri" }, - "object": { - "type": "object", - "properties": { - "type": { "type": "string" }, - "sha": { - "description": "SHA for the reference", - "type": "string", - "minLength": 40, - "maxLength": 40, - "examples": ["7638417db6d59f3c431d3e1f261cc637155684cd"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["type", "sha", "url"] - } - }, - "required": ["ref", "node_id", "url", "object"] - }, - "git-tag": { - "title": "Git Tag", - "description": "Metadata for a Git tag", - "type": "object", - "properties": { - "node_id": { - "type": "string", - "examples": [ - "MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw==" - ] - }, - "tag": { - "description": "Name of the tag", - "type": "string", - "examples": ["v0.0.1"] - }, - "sha": { - "type": "string", - "examples": ["940bd336248efae0f9ee5bc7b2d5c985887b16ac"] - }, - "url": { - "description": "URL for the tag", - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repositories/42/git/tags/940bd336248efae0f9ee5bc7b2d5c985887b16ac" - ] - }, - "message": { - "description": "Message describing the purpose of the tag", - "type": "string", - "examples": ["Initial public release"] - }, - "tagger": { - "type": "object", - "properties": { - "date": { "type": "string" }, - "email": { "type": "string" }, - "name": { "type": "string" } - }, - "required": ["date", "email", "name"] - }, - "object": { - "type": "object", - "properties": { - "sha": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["sha", "type", "url"] - }, - "verification": { "$ref": "#/components/schemas/verification" } - }, - "required": [ - "sha", - "url", - "node_id", - "tagger", - "object", - "tag", - "message" - ] - }, - "git-tree": { - "title": "Git Tree", - "description": "The hierarchy between files in a Git repository.", - "type": "object", - "properties": { - "sha": { "type": "string" }, - "url": { "type": "string", "format": "uri" }, - "truncated": { "type": "boolean" }, - "tree": { - "description": "Objects specifying a tree structure", - "type": "array", - "items": { - "type": "object", - "required": ["path", "mode", "type", "sha"], - "properties": { - "path": { "type": "string", "examples": ["test/file.rb"] }, - "mode": { "type": "string", "examples": ["040000"] }, - "type": { "type": "string", "examples": ["tree"] }, - "sha": { - "type": "string", - "examples": ["23f6827669e43831def8a7ad935069c8bd418261"] - }, - "size": { "type": "integer", "examples": [12] }, - "url": { - "type": "string", - "examples": [ - "https://api.github.com/repos/owner-482f3203ecf01f67e9deb18e/BBB_Private_Repo/git/blobs/23f6827669e43831def8a7ad935069c8bd418261" - ] - } - } - }, - "examples": [ - { - "path": "file.rb", - "mode": "100644", - "type": "blob", - "size": 30, - "sha": "44b4fc6d56897b048c772eb4087f854f46256132", - "url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/44b4fc6d56897b048c772eb4087f854f46256132" - } - ] - } - }, - "required": ["sha", "tree", "truncated"] - }, - "hook-response": { - "title": "Hook Response", - "type": "object", - "properties": { - "code": { "type": ["integer", "null"] }, - "status": { "type": ["string", "null"] }, - "message": { "type": ["string", "null"] } - }, - "required": ["code", "status", "message"] - }, - "hook": { - "title": "Webhook", - "description": "Webhooks for repositories.", - "type": "object", - "properties": { - "type": { "type": "string" }, - "id": { - "description": "Unique identifier of the webhook.", - "type": "integer", - "examples": [42] - }, - "name": { - "description": "The name of a valid service, use 'web' for a webhook.", - "type": "string", - "examples": ["web"] - }, - "active": { - "description": "Determines whether the hook is actually triggered on pushes.", - "type": "boolean", - "examples": [true] - }, - "events": { - "description": "Determines what events the hook is triggered for. Default: ['push'].", - "type": "array", - "items": { "type": "string" }, - "examples": ["push", "pull_request"] - }, - "config": { "$ref": "#/components/schemas/webhook-config" }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": ["2011-09-06T20:39:23Z"] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": ["2011-09-06T17:26:27Z"] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/hooks/1" - ] - }, - "test_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/hooks/1/test" - ] - }, - "ping_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/hooks/1/pings" - ] - }, - "deliveries_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries" - ] - }, - "last_response": { "$ref": "#/components/schemas/hook-response" } - }, - "required": [ - "id", - "url", - "type", - "name", - "active", - "events", - "config", - "ping_url", - "created_at", - "updated_at", - "last_response", - "test_url" - ] - }, - "repository-invitation": { - "title": "Repository Invitation", - "description": "Repository invitations let you manage who you collaborate with.", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier of the repository invitation.", - "type": "integer", - "format": "int64", - "examples": [42] - }, - "repository": { "$ref": "#/components/schemas/minimal-repository" }, - "invitee": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "inviter": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "permissions": { - "description": "The permission associated with the invitation.", - "type": "string", - "enum": ["read", "write", "admin", "triage", "maintain"], - "examples": ["read"] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": ["2016-06-13T14:52:50-05:00"] - }, - "expired": { - "description": "Whether or not the invitation has expired", - "type": "boolean" - }, - "url": { - "description": "URL for the repository invitation", - "type": "string", - "examples": ["https://api.github.com/user/repository-invitations/1"] - }, - "html_url": { - "type": "string", - "examples": ["https://github.com/octocat/Hello-World/invitations"] - }, - "node_id": { "type": "string" } - }, - "required": [ - "id", - "node_id", - "permissions", - "inviter", - "invitee", - "repository", - "url", - "html_url", - "created_at" - ] - }, - "issue-event-label": { - "title": "Issue Event Label", - "description": "Issue Event Label", - "type": "object", - "properties": { - "name": { "type": ["string", "null"] }, - "color": { "type": ["string", "null"] } - }, - "required": ["name", "color"] - }, - "issue-event-dismissed-review": { - "title": "Issue Event Dismissed Review", - "type": "object", - "properties": { - "state": { "type": "string" }, - "review_id": { "type": "integer" }, - "dismissal_message": { "type": ["string", "null"] }, - "dismissal_commit_id": { "type": ["string", "null"] } - }, - "required": ["state", "review_id", "dismissal_message"] - }, - "issue-event-milestone": { - "title": "Issue Event Milestone", - "description": "Issue Event Milestone", - "type": "object", - "properties": { "title": { "type": "string" } }, - "required": ["title"] - }, - "issue-event-project-card": { - "title": "Issue Event Project Card", - "description": "Issue Event Project Card", - "type": "object", - "properties": { - "url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "project_url": { "type": "string", "format": "uri" }, - "project_id": { "type": "integer" }, - "column_name": { "type": "string" }, - "previous_column_name": { "type": "string" } - }, - "required": ["url", "id", "project_url", "project_id", "column_name"] - }, - "issue-event-rename": { - "title": "Issue Event Rename", - "description": "Issue Event Rename", - "type": "object", - "properties": { - "from": { "type": "string" }, - "to": { "type": "string" } - }, - "required": ["from", "to"] - }, - "issue-event": { - "title": "Issue Event", - "description": "Issue Event", - "type": "object", - "properties": { - "id": { "type": "integer", "format": "int64", "examples": [1] }, - "node_id": { "type": "string", "examples": ["MDEwOklzc3VlRXZlbnQx"] }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/events/1" - ] - }, - "actor": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "event": { "type": "string", "examples": ["closed"] }, - "commit_id": { - "type": ["string", "null"], - "examples": ["6dcb09b5b57875f334f61aebed695e2e4193db5e"] - }, - "commit_url": { - "type": ["string", "null"], - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": ["2011-04-14T16:00:49Z"] - }, - "issue": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/issue" } - ] - }, - "label": { "$ref": "#/components/schemas/issue-event-label" }, - "assignee": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "assigner": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "review_requester": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "requested_reviewer": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "requested_team": { "$ref": "#/components/schemas/team" }, - "dismissed_review": { - "$ref": "#/components/schemas/issue-event-dismissed-review" - }, - "milestone": { "$ref": "#/components/schemas/issue-event-milestone" }, - "project_card": { - "$ref": "#/components/schemas/issue-event-project-card" - }, - "rename": { "$ref": "#/components/schemas/issue-event-rename" }, - "author_association": { - "$ref": "#/components/schemas/author-association" - }, - "lock_reason": { "type": ["string", "null"] }, - "performed_via_github_app": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/integration" } - ] - } - }, - "required": [ - "id", - "node_id", - "url", - "actor", - "event", - "commit_id", - "commit_url", - "created_at" - ] - }, - "labeled-issue-event": { - "title": "Labeled Issue Event", - "description": "Labeled Issue Event", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "node_id": { "type": "string" }, - "url": { "type": "string" }, - "actor": { "$ref": "#/components/schemas/simple-user" }, - "event": { "type": "string" }, - "commit_id": { "type": ["string", "null"] }, - "commit_url": { "type": ["string", "null"] }, - "created_at": { "type": "string" }, - "performed_via_github_app": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/integration" } - ] - }, - "label": { - "type": "object", - "properties": { - "name": { "type": "string" }, - "color": { "type": "string" } - }, - "required": ["name", "color"] - } - }, - "required": [ - "label", - "id", - "node_id", - "url", - "actor", - "event", - "commit_id", - "commit_url", - "created_at", - "performed_via_github_app" - ] - }, - "unlabeled-issue-event": { - "title": "Unlabeled Issue Event", - "description": "Unlabeled Issue Event", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "node_id": { "type": "string" }, - "url": { "type": "string" }, - "actor": { "$ref": "#/components/schemas/simple-user" }, - "event": { "type": "string" }, - "commit_id": { "type": ["string", "null"] }, - "commit_url": { "type": ["string", "null"] }, - "created_at": { "type": "string" }, - "performed_via_github_app": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/integration" } - ] - }, - "label": { - "type": "object", - "properties": { - "name": { "type": "string" }, - "color": { "type": "string" } - }, - "required": ["name", "color"] - } - }, - "required": [ - "label", - "id", - "node_id", - "url", - "actor", - "event", - "commit_id", - "commit_url", - "created_at", - "performed_via_github_app" - ] - }, - "assigned-issue-event": { - "title": "Assigned Issue Event", - "description": "Assigned Issue Event", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "node_id": { "type": "string" }, - "url": { "type": "string" }, - "actor": { "$ref": "#/components/schemas/simple-user" }, - "event": { "type": "string" }, - "commit_id": { "type": ["string", "null"] }, - "commit_url": { "type": ["string", "null"] }, - "created_at": { "type": "string" }, - "performed_via_github_app": { - "$ref": "#/components/schemas/integration" - }, - "assignee": { "$ref": "#/components/schemas/simple-user" }, - "assigner": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "id", - "node_id", - "url", - "actor", - "event", - "commit_id", - "commit_url", - "created_at", - "performed_via_github_app", - "assignee", - "assigner" - ] - }, - "unassigned-issue-event": { - "title": "Unassigned Issue Event", - "description": "Unassigned Issue Event", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "node_id": { "type": "string" }, - "url": { "type": "string" }, - "actor": { "$ref": "#/components/schemas/simple-user" }, - "event": { "type": "string" }, - "commit_id": { "type": ["string", "null"] }, - "commit_url": { "type": ["string", "null"] }, - "created_at": { "type": "string" }, - "performed_via_github_app": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/integration" } - ] - }, - "assignee": { "$ref": "#/components/schemas/simple-user" }, - "assigner": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "id", - "node_id", - "url", - "actor", - "event", - "commit_id", - "commit_url", - "created_at", - "performed_via_github_app", - "assignee", - "assigner" - ] - }, - "milestoned-issue-event": { - "title": "Milestoned Issue Event", - "description": "Milestoned Issue Event", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "node_id": { "type": "string" }, - "url": { "type": "string" }, - "actor": { "$ref": "#/components/schemas/simple-user" }, - "event": { "type": "string" }, - "commit_id": { "type": ["string", "null"] }, - "commit_url": { "type": ["string", "null"] }, - "created_at": { "type": "string" }, - "performed_via_github_app": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/integration" } - ] - }, - "milestone": { - "type": "object", - "properties": { "title": { "type": "string" } }, - "required": ["title"] - } - }, - "required": [ - "milestone", - "id", - "node_id", - "url", - "actor", - "event", - "commit_id", - "commit_url", - "created_at", - "performed_via_github_app" - ] - }, - "demilestoned-issue-event": { - "title": "Demilestoned Issue Event", - "description": "Demilestoned Issue Event", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "node_id": { "type": "string" }, - "url": { "type": "string" }, - "actor": { "$ref": "#/components/schemas/simple-user" }, - "event": { "type": "string" }, - "commit_id": { "type": ["string", "null"] }, - "commit_url": { "type": ["string", "null"] }, - "created_at": { "type": "string" }, - "performed_via_github_app": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/integration" } - ] - }, - "milestone": { - "type": "object", - "properties": { "title": { "type": "string" } }, - "required": ["title"] - } - }, - "required": [ - "milestone", - "id", - "node_id", - "url", - "actor", - "event", - "commit_id", - "commit_url", - "created_at", - "performed_via_github_app" - ] - }, - "renamed-issue-event": { - "title": "Renamed Issue Event", - "description": "Renamed Issue Event", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "node_id": { "type": "string" }, - "url": { "type": "string" }, - "actor": { "$ref": "#/components/schemas/simple-user" }, - "event": { "type": "string" }, - "commit_id": { "type": ["string", "null"] }, - "commit_url": { "type": ["string", "null"] }, - "created_at": { "type": "string" }, - "performed_via_github_app": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/integration" } - ] - }, - "rename": { - "type": "object", - "properties": { - "from": { "type": "string" }, - "to": { "type": "string" } - }, - "required": ["from", "to"] - } - }, - "required": [ - "rename", - "id", - "node_id", - "url", - "actor", - "event", - "commit_id", - "commit_url", - "created_at", - "performed_via_github_app" - ] - }, - "review-requested-issue-event": { - "title": "Review Requested Issue Event", - "description": "Review Requested Issue Event", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "node_id": { "type": "string" }, - "url": { "type": "string" }, - "actor": { "$ref": "#/components/schemas/simple-user" }, - "event": { "type": "string" }, - "commit_id": { "type": ["string", "null"] }, - "commit_url": { "type": ["string", "null"] }, - "created_at": { "type": "string" }, - "performed_via_github_app": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/integration" } - ] - }, - "review_requester": { "$ref": "#/components/schemas/simple-user" }, - "requested_team": { "$ref": "#/components/schemas/team" }, - "requested_reviewer": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "review_requester", - "id", - "node_id", - "url", - "actor", - "event", - "commit_id", - "commit_url", - "created_at", - "performed_via_github_app" - ] - }, - "review-request-removed-issue-event": { - "title": "Review Request Removed Issue Event", - "description": "Review Request Removed Issue Event", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "node_id": { "type": "string" }, - "url": { "type": "string" }, - "actor": { "$ref": "#/components/schemas/simple-user" }, - "event": { "type": "string" }, - "commit_id": { "type": ["string", "null"] }, - "commit_url": { "type": ["string", "null"] }, - "created_at": { "type": "string" }, - "performed_via_github_app": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/integration" } - ] - }, - "review_requester": { "$ref": "#/components/schemas/simple-user" }, - "requested_team": { "$ref": "#/components/schemas/team" }, - "requested_reviewer": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "review_requester", - "id", - "node_id", - "url", - "actor", - "event", - "commit_id", - "commit_url", - "created_at", - "performed_via_github_app" - ] - }, - "review-dismissed-issue-event": { - "title": "Review Dismissed Issue Event", - "description": "Review Dismissed Issue Event", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "node_id": { "type": "string" }, - "url": { "type": "string" }, - "actor": { "$ref": "#/components/schemas/simple-user" }, - "event": { "type": "string" }, - "commit_id": { "type": ["string", "null"] }, - "commit_url": { "type": ["string", "null"] }, - "created_at": { "type": "string" }, - "performed_via_github_app": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/integration" } - ] - }, - "dismissed_review": { - "type": "object", - "properties": { - "state": { "type": "string" }, - "review_id": { "type": "integer" }, - "dismissal_message": { "type": ["string", "null"] }, - "dismissal_commit_id": { "type": "string" } - }, - "required": ["state", "review_id", "dismissal_message"] - } - }, - "required": [ - "dismissed_review", - "id", - "node_id", - "url", - "actor", - "event", - "commit_id", - "commit_url", - "created_at", - "performed_via_github_app" - ] - }, - "locked-issue-event": { - "title": "Locked Issue Event", - "description": "Locked Issue Event", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "node_id": { "type": "string" }, - "url": { "type": "string" }, - "actor": { "$ref": "#/components/schemas/simple-user" }, - "event": { "type": "string" }, - "commit_id": { "type": ["string", "null"] }, - "commit_url": { "type": ["string", "null"] }, - "created_at": { "type": "string" }, - "performed_via_github_app": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/integration" } - ] - }, - "lock_reason": { - "type": ["string", "null"], - "examples": ["\"off-topic\""] - } - }, - "required": [ - "lock_reason", - "id", - "node_id", - "url", - "actor", - "event", - "commit_id", - "commit_url", - "created_at", - "performed_via_github_app" - ] - }, - "added-to-project-issue-event": { - "title": "Added to Project Issue Event", - "description": "Added to Project Issue Event", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "node_id": { "type": "string" }, - "url": { "type": "string" }, - "actor": { "$ref": "#/components/schemas/simple-user" }, - "event": { "type": "string" }, - "commit_id": { "type": ["string", "null"] }, - "commit_url": { "type": ["string", "null"] }, - "created_at": { "type": "string" }, - "performed_via_github_app": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/integration" } - ] - }, - "project_card": { - "type": "object", - "properties": { - "id": { "type": "integer" }, - "url": { "type": "string", "format": "uri" }, - "project_id": { "type": "integer" }, - "project_url": { "type": "string", "format": "uri" }, - "column_name": { "type": "string" }, - "previous_column_name": { "type": "string" } - }, - "required": [ - "id", - "url", - "project_id", - "project_url", - "column_name" - ] - } - }, - "required": [ - "id", - "node_id", - "url", - "actor", - "event", - "commit_id", - "commit_url", - "created_at", - "performed_via_github_app" - ] - }, - "moved-column-in-project-issue-event": { - "title": "Moved Column in Project Issue Event", - "description": "Moved Column in Project Issue Event", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "node_id": { "type": "string" }, - "url": { "type": "string" }, - "actor": { "$ref": "#/components/schemas/simple-user" }, - "event": { "type": "string" }, - "commit_id": { "type": ["string", "null"] }, - "commit_url": { "type": ["string", "null"] }, - "created_at": { "type": "string" }, - "performed_via_github_app": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/integration" } - ] - }, - "project_card": { - "type": "object", - "properties": { - "id": { "type": "integer" }, - "url": { "type": "string", "format": "uri" }, - "project_id": { "type": "integer" }, - "project_url": { "type": "string", "format": "uri" }, - "column_name": { "type": "string" }, - "previous_column_name": { "type": "string" } - }, - "required": [ - "id", - "url", - "project_id", - "project_url", - "column_name" - ] - } - }, - "required": [ - "id", - "node_id", - "url", - "actor", - "event", - "commit_id", - "commit_url", - "created_at", - "performed_via_github_app" - ] - }, - "removed-from-project-issue-event": { - "title": "Removed from Project Issue Event", - "description": "Removed from Project Issue Event", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "node_id": { "type": "string" }, - "url": { "type": "string" }, - "actor": { "$ref": "#/components/schemas/simple-user" }, - "event": { "type": "string" }, - "commit_id": { "type": ["string", "null"] }, - "commit_url": { "type": ["string", "null"] }, - "created_at": { "type": "string" }, - "performed_via_github_app": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/integration" } - ] - }, - "project_card": { - "type": "object", - "properties": { - "id": { "type": "integer" }, - "url": { "type": "string", "format": "uri" }, - "project_id": { "type": "integer" }, - "project_url": { "type": "string", "format": "uri" }, - "column_name": { "type": "string" }, - "previous_column_name": { "type": "string" } - }, - "required": [ - "id", - "url", - "project_id", - "project_url", - "column_name" - ] - } - }, - "required": [ - "id", - "node_id", - "url", - "actor", - "event", - "commit_id", - "commit_url", - "created_at", - "performed_via_github_app" - ] - }, - "converted-note-to-issue-issue-event": { - "title": "Converted Note to Issue Issue Event", - "description": "Converted Note to Issue Issue Event", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "node_id": { "type": "string" }, - "url": { "type": "string" }, - "actor": { "$ref": "#/components/schemas/simple-user" }, - "event": { "type": "string" }, - "commit_id": { "type": ["string", "null"] }, - "commit_url": { "type": ["string", "null"] }, - "created_at": { "type": "string" }, - "performed_via_github_app": { - "$ref": "#/components/schemas/integration" - }, - "project_card": { - "type": "object", - "properties": { - "id": { "type": "integer" }, - "url": { "type": "string", "format": "uri" }, - "project_id": { "type": "integer" }, - "project_url": { "type": "string", "format": "uri" }, - "column_name": { "type": "string" }, - "previous_column_name": { "type": "string" } - }, - "required": [ - "id", - "url", - "project_id", - "project_url", - "column_name" - ] - } - }, - "required": [ - "id", - "node_id", - "url", - "actor", - "event", - "commit_id", - "commit_url", - "created_at", - "performed_via_github_app" - ] - }, - "issue-event-for-issue": { - "title": "Issue Event for Issue", - "description": "Issue Event for Issue", - "anyOf": [ - { "$ref": "#/components/schemas/labeled-issue-event" }, - { "$ref": "#/components/schemas/unlabeled-issue-event" }, - { "$ref": "#/components/schemas/assigned-issue-event" }, - { "$ref": "#/components/schemas/unassigned-issue-event" }, - { "$ref": "#/components/schemas/milestoned-issue-event" }, - { "$ref": "#/components/schemas/demilestoned-issue-event" }, - { "$ref": "#/components/schemas/renamed-issue-event" }, - { "$ref": "#/components/schemas/review-requested-issue-event" }, - { "$ref": "#/components/schemas/review-request-removed-issue-event" }, - { "$ref": "#/components/schemas/review-dismissed-issue-event" }, - { "$ref": "#/components/schemas/locked-issue-event" }, - { "$ref": "#/components/schemas/added-to-project-issue-event" }, - { - "$ref": "#/components/schemas/moved-column-in-project-issue-event" - }, - { "$ref": "#/components/schemas/removed-from-project-issue-event" }, - { "$ref": "#/components/schemas/converted-note-to-issue-issue-event" } - ] - }, - "label": { - "title": "Label", - "description": "Color-coded labels help you categorize and filter your issues (just like labels in Gmail).", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the label.", - "type": "integer", - "format": "int64", - "examples": [208045946] - }, - "node_id": { - "type": "string", - "examples": ["MDU6TGFiZWwyMDgwNDU5NDY="] - }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/repositories/42/labels/bug"] - }, - "name": { - "description": "The name of the label.", - "type": "string", - "examples": ["bug"] - }, - "description": { - "description": "Optional description of the label, such as its purpose.", - "type": ["string", "null"], - "examples": ["Something isn't working"] - }, - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string", - "examples": ["FFFFFF"] - }, - "default": { - "description": "Whether this label comes by default in a new repository.", - "type": "boolean", - "examples": [true] - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "description", - "color", - "default" - ] - }, - "timeline-comment-event": { - "title": "Timeline Comment Event", - "description": "Timeline Comment Event", - "type": "object", - "properties": { - "event": { "type": "string" }, - "actor": { "$ref": "#/components/schemas/simple-user" }, - "id": { - "description": "Unique identifier of the issue comment", - "type": "integer", - "examples": [42] - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the issue comment", - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repositories/42/issues/comments/1" - ] - }, - "body": { - "description": "Contents of the issue comment", - "type": "string", - "examples": [ - "What version of Safari were you using when you observed this bug?" - ] - }, - "body_text": { "type": "string" }, - "body_html": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "user": { "$ref": "#/components/schemas/simple-user" }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": ["2011-04-14T16:00:49Z"] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": ["2011-04-14T16:00:49Z"] - }, - "issue_url": { "type": "string", "format": "uri" }, - "author_association": { - "$ref": "#/components/schemas/author-association" - }, - "performed_via_github_app": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/integration" } - ] - }, - "reactions": { "$ref": "#/components/schemas/reaction-rollup" } - }, - "required": [ - "event", - "actor", - "id", - "node_id", - "html_url", - "issue_url", - "author_association", - "user", - "url", - "created_at", - "updated_at" - ] - }, - "timeline-cross-referenced-event": { - "title": "Timeline Cross Referenced Event", - "description": "Timeline Cross Referenced Event", - "type": "object", - "properties": { - "event": { "type": "string" }, - "actor": { "$ref": "#/components/schemas/simple-user" }, - "created_at": { "type": "string", "format": "date-time" }, - "updated_at": { "type": "string", "format": "date-time" }, - "source": { - "type": "object", - "properties": { - "type": { "type": "string" }, - "issue": { "$ref": "#/components/schemas/issue" } - } - } - }, - "required": ["event", "created_at", "updated_at", "source"] - }, - "timeline-committed-event": { - "title": "Timeline Committed Event", - "description": "Timeline Committed Event", - "type": "object", - "properties": { - "event": { "type": "string" }, - "sha": { - "description": "SHA for the commit", - "type": "string", - "examples": ["7638417db6d59f3c431d3e1f261cc637155684cd"] - }, - "node_id": { "type": "string" }, - "url": { "type": "string", "format": "uri" }, - "author": { - "description": "Identifying information for the git-user", - "type": "object", - "properties": { - "date": { - "description": "Timestamp of the commit", - "format": "date-time", - "type": "string", - "examples": ["2014-08-09T08:02:04+12:00"] - }, - "email": { - "type": "string", - "description": "Git email address of the user", - "examples": ["monalisa.octocat@example.com"] - }, - "name": { - "description": "Name of the git user", - "type": "string", - "examples": ["Monalisa Octocat"] - } - }, - "required": ["email", "name", "date"] - }, - "committer": { - "description": "Identifying information for the git-user", - "type": "object", - "properties": { - "date": { - "description": "Timestamp of the commit", - "format": "date-time", - "type": "string", - "examples": ["2014-08-09T08:02:04+12:00"] - }, - "email": { - "type": "string", - "description": "Git email address of the user", - "examples": ["monalisa.octocat@example.com"] - }, - "name": { - "description": "Name of the git user", - "type": "string", - "examples": ["Monalisa Octocat"] - } - }, - "required": ["email", "name", "date"] - }, - "message": { - "description": "Message describing the purpose of the commit", - "type": "string", - "examples": ["Fix #42"] - }, - "tree": { - "type": "object", - "properties": { - "sha": { - "description": "SHA for the commit", - "type": "string", - "examples": ["7638417db6d59f3c431d3e1f261cc637155684cd"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["sha", "url"] - }, - "parents": { - "type": "array", - "items": { - "type": "object", - "properties": { - "sha": { - "description": "SHA for the commit", - "type": "string", - "examples": ["7638417db6d59f3c431d3e1f261cc637155684cd"] - }, - "url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" } - }, - "required": ["sha", "url", "html_url"] - } - }, - "verification": { - "type": "object", - "properties": { - "verified": { "type": "boolean" }, - "reason": { "type": "string" }, - "signature": { "type": ["string", "null"] }, - "payload": { "type": ["string", "null"] } - }, - "required": ["verified", "reason", "signature", "payload"] - }, - "html_url": { "type": "string", "format": "uri" } - }, - "required": [ - "sha", - "node_id", - "url", - "html_url", - "author", - "committer", - "tree", - "message", - "parents", - "verification" - ] - }, - "timeline-reviewed-event": { - "title": "Timeline Reviewed Event", - "description": "Timeline Reviewed Event", - "type": "object", - "properties": { - "event": { "type": "string" }, - "id": { - "description": "Unique identifier of the review", - "type": "integer", - "examples": [42] - }, - "node_id": { - "type": "string", - "examples": ["MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA="] - }, - "user": { "$ref": "#/components/schemas/simple-user" }, - "body": { - "description": "The text of the review.", - "type": ["string", "null"], - "examples": ["This looks great."] - }, - "state": { "type": "string", "examples": ["CHANGES_REQUESTED"] }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80" - ] - }, - "pull_request_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/12" - ] - }, - "_links": { - "type": "object", - "properties": { - "html": { - "type": "object", - "properties": { "href": { "type": "string" } }, - "required": ["href"] - }, - "pull_request": { - "type": "object", - "properties": { "href": { "type": "string" } }, - "required": ["href"] - } - }, - "required": ["html", "pull_request"] - }, - "submitted_at": { "type": "string", "format": "date-time" }, - "commit_id": { - "description": "A commit SHA for the review.", - "type": "string", - "examples": ["54bb654c9e6025347f57900a4a5c2313a96b8035"] - }, - "body_html": { "type": "string" }, - "body_text": { "type": "string" }, - "author_association": { - "$ref": "#/components/schemas/author-association" - } - }, - "required": [ - "event", - "id", - "node_id", - "user", - "body", - "state", - "commit_id", - "html_url", - "pull_request_url", - "_links", - "author_association" - ] - }, - "pull-request-review-comment": { - "title": "Pull Request Review Comment", - "description": "Pull Request Review Comments are comments on a portion of the Pull Request's diff.", - "type": "object", - "properties": { - "url": { - "description": "URL for the pull request review comment", - "type": "string", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1" - ] - }, - "pull_request_review_id": { - "description": "The ID of the pull request review to which the comment belongs.", - "type": ["integer", "null"], - "format": "int64", - "examples": [42] - }, - "id": { - "description": "The ID of the pull request review comment.", - "type": "integer", - "format": "int64", - "examples": [1] - }, - "node_id": { - "description": "The node ID of the pull request review comment.", - "type": "string", - "examples": ["MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw"] - }, - "diff_hunk": { - "description": "The diff of the line that the comment refers to.", - "type": "string", - "examples": [ - "@@ -16,33 +16,40 @@ public class Connection : IConnection..." - ] - }, - "path": { - "description": "The relative path of the file to which the comment applies.", - "type": "string", - "examples": ["config/database.yaml"] - }, - "position": { - "description": "The line index in the diff to which the comment applies. This field is closing down; use `line` instead.", - "type": "integer", - "examples": [1] - }, - "original_position": { - "description": "The index of the original line in the diff to which the comment applies. This field is closing down; use `original_line` instead.", - "type": "integer", - "examples": [4] - }, - "commit_id": { - "description": "The SHA of the commit to which the comment applies.", - "type": "string", - "examples": ["6dcb09b5b57875f334f61aebed695e2e4193db5e"] - }, - "original_commit_id": { - "description": "The SHA of the original commit to which the comment applies.", - "type": "string", - "examples": ["9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840"] - }, - "in_reply_to_id": { - "description": "The comment ID to reply to.", - "type": "integer", - "examples": [8] - }, - "user": { "$ref": "#/components/schemas/simple-user" }, - "body": { - "description": "The text of the comment.", - "type": "string", - "examples": [ - "We should probably include a check for null values here." - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": ["2011-04-14T16:00:49Z"] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": ["2011-04-14T16:00:49Z"] - }, - "html_url": { - "description": "HTML URL for the pull request review comment.", - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1" - ] - }, - "pull_request_url": { - "description": "URL for the pull request that the review comment belongs to.", - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/1" - ] - }, - "author_association": { - "$ref": "#/components/schemas/author-association" - }, - "_links": { - "type": "object", - "properties": { - "self": { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1" - ] - } - }, - "required": ["href"] - }, - "html": { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1" - ] - } - }, - "required": ["href"] - }, - "pull_request": { - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/1" - ] - } - }, - "required": ["href"] - } - }, - "required": ["self", "html", "pull_request"] - }, - "start_line": { - "type": ["integer", "null"], - "description": "The first line of the range for a multi-line comment.", - "examples": [2] - }, - "original_start_line": { - "type": ["integer", "null"], - "description": "The first line of the range for a multi-line comment.", - "examples": [2] - }, - "start_side": { - "type": ["string", "null"], - "description": "The side of the first line of the range for a multi-line comment.", - "enum": ["LEFT", "RIGHT", null], - "default": "RIGHT" - }, - "line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "type": "integer", - "examples": [2] - }, - "original_line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "type": "integer", - "examples": [2] - }, - "side": { - "description": "The side of the diff to which the comment applies. The side of the last line of the range for a multi-line comment", - "enum": ["LEFT", "RIGHT"], - "default": "RIGHT", - "type": "string" - }, - "subject_type": { - "description": "The level at which the comment is targeted, can be a diff line or a file.", - "type": "string", - "enum": ["line", "file"] - }, - "reactions": { "$ref": "#/components/schemas/reaction-rollup" }, - "body_html": { - "type": "string", - "examples": ["\"

comment body

\""] - }, - "body_text": { "type": "string", "examples": ["\"comment body\""] } - }, - "required": [ - "url", - "id", - "node_id", - "pull_request_review_id", - "diff_hunk", - "path", - "commit_id", - "original_commit_id", - "user", - "body", - "created_at", - "updated_at", - "html_url", - "pull_request_url", - "author_association", - "_links" - ] - }, - "timeline-line-commented-event": { - "title": "Timeline Line Commented Event", - "description": "Timeline Line Commented Event", - "type": "object", - "properties": { - "event": { "type": "string" }, - "node_id": { "type": "string" }, - "comments": { - "type": "array", - "items": { - "$ref": "#/components/schemas/pull-request-review-comment" - } - } - } - }, - "timeline-commit-commented-event": { - "title": "Timeline Commit Commented Event", - "description": "Timeline Commit Commented Event", - "type": "object", - "properties": { - "event": { "type": "string" }, - "node_id": { "type": "string" }, - "commit_id": { "type": "string" }, - "comments": { - "type": "array", - "items": { "$ref": "#/components/schemas/commit-comment" } - } - } - }, - "timeline-assigned-issue-event": { - "title": "Timeline Assigned Issue Event", - "description": "Timeline Assigned Issue Event", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "node_id": { "type": "string" }, - "url": { "type": "string" }, - "actor": { "$ref": "#/components/schemas/simple-user" }, - "event": { "type": "string" }, - "commit_id": { "type": ["string", "null"] }, - "commit_url": { "type": ["string", "null"] }, - "created_at": { "type": "string" }, - "performed_via_github_app": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/integration" } - ] - }, - "assignee": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "id", - "node_id", - "url", - "actor", - "event", - "commit_id", - "commit_url", - "created_at", - "performed_via_github_app", - "assignee" - ] - }, - "timeline-unassigned-issue-event": { - "title": "Timeline Unassigned Issue Event", - "description": "Timeline Unassigned Issue Event", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "node_id": { "type": "string" }, - "url": { "type": "string" }, - "actor": { "$ref": "#/components/schemas/simple-user" }, - "event": { "type": "string" }, - "commit_id": { "type": ["string", "null"] }, - "commit_url": { "type": ["string", "null"] }, - "created_at": { "type": "string" }, - "performed_via_github_app": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/integration" } - ] - }, - "assignee": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "id", - "node_id", - "url", - "actor", - "event", - "commit_id", - "commit_url", - "created_at", - "performed_via_github_app", - "assignee" - ] - }, - "state-change-issue-event": { - "title": "State Change Issue Event", - "description": "State Change Issue Event", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "node_id": { "type": "string" }, - "url": { "type": "string" }, - "actor": { "$ref": "#/components/schemas/simple-user" }, - "event": { "type": "string" }, - "commit_id": { "type": ["string", "null"] }, - "commit_url": { "type": ["string", "null"] }, - "created_at": { "type": "string" }, - "performed_via_github_app": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/integration" } - ] - }, - "state_reason": { "type": ["string", "null"] } - }, - "required": [ - "id", - "node_id", - "url", - "actor", - "event", - "commit_id", - "commit_url", - "created_at", - "performed_via_github_app" - ] - }, - "timeline-issue-events": { - "title": "Timeline Event", - "description": "Timeline Event", - "type": "object", - "anyOf": [ - { "$ref": "#/components/schemas/labeled-issue-event" }, - { "$ref": "#/components/schemas/unlabeled-issue-event" }, - { "$ref": "#/components/schemas/milestoned-issue-event" }, - { "$ref": "#/components/schemas/demilestoned-issue-event" }, - { "$ref": "#/components/schemas/renamed-issue-event" }, - { "$ref": "#/components/schemas/review-requested-issue-event" }, - { "$ref": "#/components/schemas/review-request-removed-issue-event" }, - { "$ref": "#/components/schemas/review-dismissed-issue-event" }, - { "$ref": "#/components/schemas/locked-issue-event" }, - { "$ref": "#/components/schemas/added-to-project-issue-event" }, - { - "$ref": "#/components/schemas/moved-column-in-project-issue-event" - }, - { "$ref": "#/components/schemas/removed-from-project-issue-event" }, - { - "$ref": "#/components/schemas/converted-note-to-issue-issue-event" - }, - { "$ref": "#/components/schemas/timeline-comment-event" }, - { "$ref": "#/components/schemas/timeline-cross-referenced-event" }, - { "$ref": "#/components/schemas/timeline-committed-event" }, - { "$ref": "#/components/schemas/timeline-reviewed-event" }, - { "$ref": "#/components/schemas/timeline-line-commented-event" }, - { "$ref": "#/components/schemas/timeline-commit-commented-event" }, - { "$ref": "#/components/schemas/timeline-assigned-issue-event" }, - { "$ref": "#/components/schemas/timeline-unassigned-issue-event" }, - { "$ref": "#/components/schemas/state-change-issue-event" } - ] - }, - "deploy-key": { - "title": "Deploy Key", - "description": "An SSH key granting access to a single repository.", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "key": { "type": "string" }, - "url": { "type": "string" }, - "title": { "type": "string" }, - "verified": { "type": "boolean" }, - "created_at": { "type": "string" }, - "read_only": { "type": "boolean" }, - "added_by": { "type": ["string", "null"] }, - "last_used": { "type": ["string", "null"] } - }, - "required": [ - "id", - "key", - "url", - "title", - "verified", - "created_at", - "read_only" - ] - }, - "language": { - "title": "Language", - "description": "Language", - "type": "object", - "additionalProperties": { "type": "integer" } - }, - "license-content": { - "title": "License Content", - "description": "License Content", - "type": "object", - "properties": { - "name": { "type": "string" }, - "path": { "type": "string" }, - "sha": { "type": "string" }, - "size": { "type": "integer" }, - "url": { "type": "string", "format": "uri" }, - "html_url": { "type": ["string", "null"], "format": "uri" }, - "git_url": { "type": ["string", "null"], "format": "uri" }, - "download_url": { "type": ["string", "null"], "format": "uri" }, - "type": { "type": "string" }, - "content": { "type": "string" }, - "encoding": { "type": "string" }, - "_links": { - "type": "object", - "properties": { - "git": { "type": ["string", "null"], "format": "uri" }, - "html": { "type": ["string", "null"], "format": "uri" }, - "self": { "type": "string", "format": "uri" } - }, - "required": ["git", "html", "self"] - }, - "license": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/license-simple" } - ] - } - }, - "required": [ - "_links", - "git_url", - "html_url", - "download_url", - "name", - "path", - "sha", - "size", - "type", - "url", - "content", - "encoding", - "license" - ] - }, - "merged-upstream": { - "title": "Merged upstream", - "description": "Results of a successful merge upstream request", - "type": "object", - "properties": { - "message": { "type": "string" }, - "merge_type": { - "type": "string", - "enum": ["merge", "fast-forward", "none"] - }, - "base_branch": { "type": "string" } - } - }, - "pages-source-hash": { - "title": "Pages Source Hash", - "type": "object", - "properties": { - "branch": { "type": "string" }, - "path": { "type": "string" } - }, - "required": ["branch", "path"] - }, - "pages-https-certificate": { - "title": "Pages Https Certificate", - "type": "object", - "properties": { - "state": { - "type": "string", - "enum": [ - "new", - "authorization_created", - "authorization_pending", - "authorized", - "authorization_revoked", - "issued", - "uploaded", - "approved", - "errored", - "bad_authz", - "destroy_pending", - "dns_changed" - ], - "examples": ["approved"] - }, - "description": { - "type": "string", - "examples": ["Certificate is approved"] - }, - "domains": { - "type": "array", - "items": { "type": "string" }, - "description": "Array of the domain set and its alternate name (if it is configured)", - "examples": ["example.com", "www.example.com"] - }, - "expires_at": { "type": "string", "format": "date" } - }, - "required": ["state", "description", "domains"] - }, - "page": { - "title": "GitHub Pages", - "description": "The configuration for GitHub Pages for a repository.", - "type": "object", - "properties": { - "url": { - "type": "string", - "description": "The API address for accessing this Page resource.", - "format": "uri", - "examples": [ - "https://api.github.com/repos/github/hello-world/pages" - ] - }, - "status": { - "type": ["string", "null"], - "description": "The status of the most recent build of the Page.", - "enum": ["built", "building", "errored", null], - "examples": ["built"] - }, - "cname": { - "description": "The Pages site's custom domain", - "type": ["string", "null"], - "examples": ["example.com"] - }, - "protected_domain_state": { - "type": ["string", "null"], - "description": "The state if the domain is verified", - "enum": ["pending", "verified", "unverified", null], - "examples": ["pending"] - }, - "pending_domain_unverified_at": { - "type": ["string", "null"], - "description": "The timestamp when a pending domain becomes unverified.", - "format": "date-time" - }, - "custom_404": { - "type": "boolean", - "description": "Whether the Page has a custom 404 page.", - "default": false, - "examples": [false] - }, - "html_url": { - "type": "string", - "description": "The web address the Page can be accessed from.", - "format": "uri", - "examples": ["https://example.com"] - }, - "build_type": { - "type": ["string", "null"], - "description": "The process in which the Page will be built.", - "enum": ["legacy", "workflow", null], - "examples": ["legacy"] - }, - "source": { "$ref": "#/components/schemas/pages-source-hash" }, - "public": { - "type": "boolean", - "description": "Whether the GitHub Pages site is publicly visible. If set to `true`, the site is accessible to anyone on the internet. If set to `false`, the site will only be accessible to users who have at least `read` access to the repository that published the site.", - "examples": [true] - }, - "https_certificate": { - "$ref": "#/components/schemas/pages-https-certificate" - }, - "https_enforced": { - "type": "boolean", - "description": "Whether https is enabled on the domain", - "examples": [true] - } - }, - "required": ["url", "status", "cname", "custom_404", "public"] - }, - "page-build": { - "title": "Page Build", - "description": "Page Build", - "type": "object", - "properties": { - "url": { "type": "string", "format": "uri" }, - "status": { "type": "string" }, - "error": { - "type": "object", - "properties": { "message": { "type": ["string", "null"] } }, - "required": ["message"] - }, - "pusher": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "commit": { "type": "string" }, - "duration": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "updated_at": { "type": "string", "format": "date-time" } - }, - "required": [ - "url", - "status", - "error", - "pusher", - "commit", - "duration", - "created_at", - "updated_at" - ] - }, - "page-build-status": { - "title": "Page Build Status", - "description": "Page Build Status", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/github/hello-world/pages/builds/latest" - ] - }, - "status": { "type": "string", "examples": ["queued"] } - }, - "required": ["url", "status"] - }, - "page-deployment": { - "title": "GitHub Pages", - "description": "The GitHub Pages deployment status.", - "type": "object", - "properties": { - "id": { - "oneOf": [{ "type": "integer" }, { "type": "string" }], - "description": "The ID of the GitHub Pages deployment. This is the Git SHA of the deployed commit." - }, - "status_url": { - "type": "string", - "description": "The URI to monitor GitHub Pages deployment status.", - "format": "uri", - "examples": [ - "https://api.github.com/repos/github/hello-world/pages/deployments/4fd754f7e594640989b406850d0bc8f06a121251" - ] - }, - "page_url": { - "type": "string", - "description": "The URI to the deployed GitHub Pages.", - "format": "uri", - "examples": ["hello-world.github.io"] - }, - "preview_url": { - "type": "string", - "description": "The URI to the deployed GitHub Pages preview.", - "format": "uri", - "examples": ["monalisa-1231a2312sa32-23sda74.drafts.github.io"] - } - }, - "required": ["id", "status_url", "page_url"] - }, - "pages-deployment-status": { - "title": "GitHub Pages deployment status", - "type": "object", - "properties": { - "status": { - "type": "string", - "description": "The current status of the deployment.", - "enum": [ - "deployment_in_progress", - "syncing_files", - "finished_file_sync", - "updating_pages", - "purging_cdn", - "deployment_cancelled", - "deployment_failed", - "deployment_content_failed", - "deployment_attempt_error", - "deployment_lost", - "succeed" - ] - } - } - }, - "repository-pre-receive-hook": { - "type": "object", - "properties": { - "id": { "type": "integer" }, - "name": { "type": "string" }, - "enforcement": { "type": "string" }, - "configuration_url": { "type": "string" } - } - }, - "pull-request": { - "type": "object", - "title": "Pull Request", - "description": "Pull requests let you tell others about changes you've pushed to a repository on GitHub. Once a pull request is sent, interested parties can review the set of changes, discuss potential modifications, and even push follow-up commits if necessary.", - "properties": { - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/1347" - ] - }, - "id": { "type": "integer", "format": "int64", "examples": [1] }, - "node_id": { - "type": "string", - "examples": ["MDExOlB1bGxSZXF1ZXN0MQ=="] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": ["https://github.com/octocat/Hello-World/pull/1347"] - }, - "diff_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat/Hello-World/pull/1347.diff" - ] - }, - "patch_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat/Hello-World/pull/1347.patch" - ] - }, - "issue_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/1347" - ] - }, - "commits_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits" - ] - }, - "review_comments_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments" - ] - }, - "review_comment_url": { - "type": "string", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}" - ] - }, - "comments_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments" - ] - }, - "statuses_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e" - ] - }, - "number": { - "description": "Number uniquely identifying the pull request within its repository.", - "type": "integer", - "examples": [42] - }, - "state": { - "description": "State of this Pull Request. Either `open` or `closed`.", - "enum": ["open", "closed"], - "type": "string", - "examples": ["open"] - }, - "locked": { "type": "boolean", "examples": [true] }, - "title": { - "description": "The title of the pull request.", - "type": "string", - "examples": ["Amazing new feature"] - }, - "user": { "$ref": "#/components/schemas/simple-user" }, - "body": { - "type": ["string", "null"], - "examples": ["Please pull these awesome changes"] - }, - "labels": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { "type": "integer", "format": "int64" }, - "node_id": { "type": "string" }, - "url": { "type": "string" }, - "name": { "type": "string" }, - "description": { "type": ["string", "null"] }, - "color": { "type": "string" }, - "default": { "type": "boolean" } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "description", - "color", - "default" - ] - } - }, - "milestone": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/milestone" } - ] - }, - "active_lock_reason": { - "type": ["string", "null"], - "examples": ["too heated"] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": ["2011-01-26T19:01:12Z"] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": ["2011-01-26T19:01:12Z"] - }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2011-01-26T19:01:12Z"] - }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2011-01-26T19:01:12Z"] - }, - "merge_commit_sha": { - "type": ["string", "null"], - "examples": ["e5bd3914e2e596debea16f433f57875b5b90bcd6"] - }, - "assignee": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "assignees": { - "type": ["array", "null"], - "items": { "$ref": "#/components/schemas/simple-user" } - }, - "requested_reviewers": { - "type": ["array", "null"], - "items": { "$ref": "#/components/schemas/simple-user" } - }, - "requested_teams": { - "type": ["array", "null"], - "items": { "$ref": "#/components/schemas/team-simple" } - }, - "head": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { "$ref": "#/components/schemas/repository" }, - "sha": { "type": "string" }, - "user": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["label", "ref", "repo", "sha", "user"] - }, - "base": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { "$ref": "#/components/schemas/repository" }, - "sha": { "type": "string" }, - "user": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["label", "ref", "repo", "sha", "user"] - }, - "_links": { - "type": "object", - "properties": { - "comments": { "$ref": "#/components/schemas/link" }, - "commits": { "$ref": "#/components/schemas/link" }, - "statuses": { "$ref": "#/components/schemas/link" }, - "html": { "$ref": "#/components/schemas/link" }, - "issue": { "$ref": "#/components/schemas/link" }, - "review_comments": { "$ref": "#/components/schemas/link" }, - "review_comment": { "$ref": "#/components/schemas/link" }, - "self": { "$ref": "#/components/schemas/link" } - }, - "required": [ - "comments", - "commits", - "statuses", - "html", - "issue", - "review_comments", - "review_comment", - "self" - ] - }, - "author_association": { - "$ref": "#/components/schemas/author-association" - }, - "auto_merge": { "$ref": "#/components/schemas/auto-merge" }, - "draft": { - "description": "Indicates whether or not the pull request is a draft.", - "type": "boolean", - "examples": [false] - }, - "merged": { "type": "boolean" }, - "mergeable": { "type": ["boolean", "null"], "examples": [true] }, - "rebaseable": { "type": ["boolean", "null"], "examples": [true] }, - "mergeable_state": { "type": "string", "examples": ["clean"] }, - "merged_by": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "comments": { "type": "integer", "examples": [10] }, - "review_comments": { "type": "integer", "examples": [0] }, - "maintainer_can_modify": { - "description": "Indicates whether maintainers can modify the pull request.", - "type": "boolean", - "examples": [true] - }, - "commits": { "type": "integer", "examples": [3] }, - "additions": { "type": "integer", "examples": [100] }, - "deletions": { "type": "integer", "examples": [3] }, - "changed_files": { "type": "integer", "examples": [5] } - }, - "required": [ - "_links", - "assignee", - "labels", - "base", - "body", - "closed_at", - "comments_url", - "commits_url", - "created_at", - "diff_url", - "head", - "html_url", - "id", - "node_id", - "issue_url", - "merge_commit_sha", - "merged_at", - "milestone", - "number", - "patch_url", - "review_comment_url", - "review_comments_url", - "statuses_url", - "state", - "locked", - "title", - "updated_at", - "url", - "user", - "author_association", - "auto_merge", - "additions", - "changed_files", - "comments", - "commits", - "deletions", - "mergeable", - "mergeable_state", - "merged", - "maintainer_can_modify", - "merged_by", - "review_comments" - ] - }, - "pull-request-merge-result": { - "title": "Pull Request Merge Result", - "description": "Pull Request Merge Result", - "type": "object", - "properties": { - "sha": { "type": "string" }, - "merged": { "type": "boolean" }, - "message": { "type": "string" } - }, - "required": ["merged", "message", "sha"] - }, - "pull-request-review-request": { - "title": "Pull Request Review Request", - "description": "Pull Request Review Request", - "type": "object", - "properties": { - "users": { - "type": "array", - "items": { "$ref": "#/components/schemas/simple-user" } - }, - "teams": { - "type": "array", - "items": { "$ref": "#/components/schemas/team" } - } - }, - "required": ["users", "teams"] - }, - "pull-request-review": { - "title": "Pull Request Review", - "description": "Pull Request Reviews are reviews on pull requests.", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier of the review", - "type": "integer", - "format": "int64", - "examples": [42] - }, - "node_id": { - "type": "string", - "examples": ["MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA="] - }, - "user": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "body": { - "description": "The text of the review.", - "type": "string", - "examples": ["This looks great."] - }, - "state": { "type": "string", "examples": ["CHANGES_REQUESTED"] }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80" - ] - }, - "pull_request_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/12" - ] - }, - "_links": { - "type": "object", - "properties": { - "html": { - "type": "object", - "properties": { "href": { "type": "string" } }, - "required": ["href"] - }, - "pull_request": { - "type": "object", - "properties": { "href": { "type": "string" } }, - "required": ["href"] - } - }, - "required": ["html", "pull_request"] - }, - "submitted_at": { "type": "string", "format": "date-time" }, - "commit_id": { - "description": "A commit SHA for the review. If the commit object was garbage collected or forcibly deleted, then it no longer exists in Git and this value will be `null`.", - "type": ["string", "null"], - "examples": ["54bb654c9e6025347f57900a4a5c2313a96b8035"] - }, - "body_html": { "type": "string" }, - "body_text": { "type": "string" }, - "author_association": { - "$ref": "#/components/schemas/author-association" - } - }, - "required": [ - "id", - "node_id", - "user", - "body", - "state", - "commit_id", - "html_url", - "pull_request_url", - "_links", - "author_association" - ] - }, - "review-comment": { - "title": "Legacy Review Comment", - "description": "Legacy Review Comment", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1" - ] - }, - "pull_request_review_id": { - "type": ["integer", "null"], - "format": "int64", - "examples": [42] - }, - "id": { "type": "integer", "format": "int64", "examples": [10] }, - "node_id": { - "type": "string", - "examples": ["MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw"] - }, - "diff_hunk": { - "type": "string", - "examples": [ - "@@ -16,33 +16,40 @@ public class Connection : IConnection..." - ] - }, - "path": { "type": "string", "examples": ["file1.txt"] }, - "position": { "type": ["integer", "null"], "examples": [1] }, - "original_position": { "type": "integer", "examples": [4] }, - "commit_id": { - "type": "string", - "examples": ["6dcb09b5b57875f334f61aebed695e2e4193db5e"] - }, - "original_commit_id": { - "type": "string", - "examples": ["9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840"] - }, - "in_reply_to_id": { "type": "integer", "examples": [8] }, - "user": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "body": { "type": "string", "examples": ["Great stuff"] }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": ["2011-04-14T16:00:49Z"] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": ["2011-04-14T16:00:49Z"] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1" - ] - }, - "pull_request_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/1" - ] - }, - "author_association": { - "$ref": "#/components/schemas/author-association" - }, - "_links": { - "type": "object", - "properties": { - "self": { "$ref": "#/components/schemas/link" }, - "html": { "$ref": "#/components/schemas/link" }, - "pull_request": { "$ref": "#/components/schemas/link" } - }, - "required": ["self", "html", "pull_request"] - }, - "body_text": { "type": "string" }, - "body_html": { "type": "string" }, - "reactions": { "$ref": "#/components/schemas/reaction-rollup" }, - "side": { - "description": "The side of the first line of the range for a multi-line comment.", - "enum": ["LEFT", "RIGHT"], - "default": "RIGHT", - "type": "string" - }, - "start_side": { - "type": ["string", "null"], - "description": "The side of the first line of the range for a multi-line comment.", - "enum": ["LEFT", "RIGHT", null], - "default": "RIGHT" - }, - "line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "type": "integer", - "examples": [2] - }, - "original_line": { - "description": "The original line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "type": "integer", - "examples": [2] - }, - "start_line": { - "description": "The first line of the range for a multi-line comment.", - "type": ["integer", "null"], - "examples": [2] - }, - "original_start_line": { - "description": "The original first line of the range for a multi-line comment.", - "type": ["integer", "null"], - "examples": [2] - } - }, - "required": [ - "id", - "node_id", - "url", - "body", - "diff_hunk", - "path", - "position", - "original_position", - "commit_id", - "original_commit_id", - "user", - "pull_request_review_id", - "html_url", - "pull_request_url", - "_links", - "author_association", - "created_at", - "updated_at" - ] - }, - "release-asset": { - "title": "Release Asset", - "description": "Data related to a release.", - "type": "object", - "properties": { - "url": { "type": "string", "format": "uri" }, - "browser_download_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "node_id": { "type": "string" }, - "name": { - "description": "The file name of the asset.", - "type": "string", - "examples": ["Team Environment"] - }, - "label": { "type": ["string", "null"] }, - "state": { - "description": "State of the release asset.", - "type": "string", - "enum": ["uploaded", "open"] - }, - "content_type": { "type": "string" }, - "size": { "type": "integer" }, - "digest": { "type": ["string", "null"] }, - "download_count": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "updated_at": { "type": "string", "format": "date-time" }, - "uploader": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - } - }, - "required": [ - "id", - "name", - "content_type", - "size", - "digest", - "state", - "url", - "node_id", - "download_count", - "label", - "uploader", - "browser_download_url", - "created_at", - "updated_at" - ] - }, - "release": { - "title": "Release", - "description": "A release.", - "type": "object", - "properties": { - "url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "assets_url": { "type": "string", "format": "uri" }, - "upload_url": { "type": "string" }, - "tarball_url": { "type": ["string", "null"], "format": "uri" }, - "zipball_url": { "type": ["string", "null"], "format": "uri" }, - "id": { "type": "integer" }, - "node_id": { "type": "string" }, - "tag_name": { - "description": "The name of the tag.", - "type": "string", - "examples": ["v1.0.0"] - }, - "target_commitish": { - "description": "Specifies the commitish value that determines where the Git tag is created from.", - "type": "string", - "examples": ["master"] - }, - "name": { "type": ["string", "null"] }, - "body": { "type": ["string", "null"] }, - "draft": { - "description": "true to create a draft (unpublished) release, false to create a published one.", - "type": "boolean", - "examples": [false] - }, - "prerelease": { - "description": "Whether to identify the release as a prerelease or a full release.", - "type": "boolean", - "examples": [false] - }, - "created_at": { "type": "string", "format": "date-time" }, - "published_at": { "type": ["string", "null"], "format": "date-time" }, - "author": { "$ref": "#/components/schemas/simple-user" }, - "assets": { - "type": "array", - "items": { "$ref": "#/components/schemas/release-asset" } - }, - "body_html": { "type": "string" }, - "body_text": { "type": "string" }, - "mentions_count": { "type": "integer" }, - "reactions": { "$ref": "#/components/schemas/reaction-rollup" } - }, - "required": [ - "assets_url", - "upload_url", - "tarball_url", - "zipball_url", - "created_at", - "published_at", - "draft", - "id", - "node_id", - "author", - "html_url", - "name", - "prerelease", - "tag_name", - "target_commitish", - "assets", - "url" - ] - }, - "release-notes-content": { - "title": "Generated Release Notes Content", - "description": "Generated name and body describing a release", - "type": "object", - "properties": { - "name": { - "description": "The generated name of the release", - "type": "string", - "examples": ["Release v1.0.0 is now available!"] - }, - "body": { - "description": "The generated body describing the contents of the release supporting markdown formatting", - "type": "string" - } - }, - "required": ["name", "body"] - }, - "repository-rule-ruleset-info": { - "title": "repository ruleset data for rule", - "description": "User-defined metadata to store domain-specific information limited to 8 keys with scalar values.", - "properties": { - "ruleset_source_type": { - "type": "string", - "description": "The type of source for the ruleset that includes this rule.", - "enum": ["Repository", "Organization"] - }, - "ruleset_source": { - "type": "string", - "description": "The name of the source of the ruleset that includes this rule." - }, - "ruleset_id": { - "type": "integer", - "description": "The ID of the ruleset that includes this rule." - } - } - }, - "repository-rule-detailed": { - "title": "Repository Rule", - "type": "object", - "description": "A repository rule with ruleset details.", - "oneOf": [ - { - "allOf": [ - { "$ref": "#/components/schemas/repository-rule-creation" }, - { "$ref": "#/components/schemas/repository-rule-ruleset-info" } - ] - }, - { - "allOf": [ - { "$ref": "#/components/schemas/repository-rule-update" }, - { "$ref": "#/components/schemas/repository-rule-ruleset-info" } - ] - }, - { - "allOf": [ - { "$ref": "#/components/schemas/repository-rule-deletion" }, - { "$ref": "#/components/schemas/repository-rule-ruleset-info" } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-required-linear-history" - }, - { "$ref": "#/components/schemas/repository-rule-ruleset-info" } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-required-deployments" - }, - { "$ref": "#/components/schemas/repository-rule-ruleset-info" } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-required-signatures" - }, - { "$ref": "#/components/schemas/repository-rule-ruleset-info" } - ] - }, - { - "allOf": [ - { "$ref": "#/components/schemas/repository-rule-pull-request" }, - { "$ref": "#/components/schemas/repository-rule-ruleset-info" } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-required-status-checks" - }, - { "$ref": "#/components/schemas/repository-rule-ruleset-info" } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-non-fast-forward" - }, - { "$ref": "#/components/schemas/repository-rule-ruleset-info" } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-commit-message-pattern" - }, - { "$ref": "#/components/schemas/repository-rule-ruleset-info" } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-commit-author-email-pattern" - }, - { "$ref": "#/components/schemas/repository-rule-ruleset-info" } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-committer-email-pattern" - }, - { "$ref": "#/components/schemas/repository-rule-ruleset-info" } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-branch-name-pattern" - }, - { "$ref": "#/components/schemas/repository-rule-ruleset-info" } - ] - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/repository-rule-tag-name-pattern" - }, - { "$ref": "#/components/schemas/repository-rule-ruleset-info" } - ] - }, - { - "allOf": [ - { "$ref": "#/components/schemas/repository-rule-workflows" }, - { "$ref": "#/components/schemas/repository-rule-ruleset-info" } - ] - } - ] - }, - "secret-scanning-alert": { - "type": "object", - "properties": { - "number": { "$ref": "#/components/schemas/alert-number" }, - "created_at": { "$ref": "#/components/schemas/alert-created-at" }, - "updated_at": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/alert-updated-at" } - ] - }, - "url": { "$ref": "#/components/schemas/alert-url" }, - "html_url": { "$ref": "#/components/schemas/alert-html-url" }, - "locations_url": { - "type": "string", - "format": "uri", - "description": "The REST API URL of the code locations for this alert." - }, - "state": { - "$ref": "#/components/schemas/secret-scanning-alert-state" - }, - "resolution": { - "$ref": "#/components/schemas/secret-scanning-alert-resolution" - }, - "resolved_at": { - "type": ["string", "null"], - "format": "date-time", - "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "resolved_by": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "resolution_comment": { - "type": ["string", "null"], - "description": "An optional comment to resolve an alert." - }, - "secret_type": { - "type": "string", - "description": "The type of secret that secret scanning detected." - }, - "secret_type_display_name": { - "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/enterprise-server@3.13/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" - }, - "secret": { - "type": "string", - "description": "The secret that was detected." - }, - "push_protection_bypassed": { - "type": ["boolean", "null"], - "description": "Whether push protection was bypassed for the detected secret." - }, - "push_protection_bypassed_by": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "push_protection_bypassed_at": { - "type": ["string", "null"], - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "validity": { - "type": "string", - "description": "The token status as of the latest validity check.", - "enum": ["active", "inactive", "unknown"] - } - } - }, - "secret-scanning-alert-resolution-comment": { - "description": "An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`.", - "type": ["string", "null"] - }, - "secret-scanning-location-commit": { - "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path in the repository", - "examples": ["/example/secrets.txt"] - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "examples": ["af5626b4a114abcb82d63db7c8082c3c4756e51b"] - }, - "blob_url": { - "type": "string", - "description": "The API URL to get the associated blob resource" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "examples": ["af5626b4a114abcb82d63db7c8082c3c4756e51b"] - }, - "commit_url": { - "type": "string", - "description": "The API URL to get the associated commit resource" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "blob_url", - "commit_sha", - "commit_url" - ] - }, - "secret-scanning-location-issue-title": { - "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", - "type": "object", - "properties": { - "issue_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/1347" - ] - } - }, - "required": ["issue_title_url"] - }, - "secret-scanning-location-issue-body": { - "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", - "type": "object", - "properties": { - "issue_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/1347" - ] - } - }, - "required": ["issue_body_url"] - }, - "secret-scanning-location-issue-comment": { - "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", - "type": "object", - "properties": { - "issue_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - ] - } - }, - "required": ["issue_comment_url"] - }, - "secret-scanning-location-discussion-title": { - "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", - "type": "object", - "properties": { - "discussion_title_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082" - ] - } - }, - "required": ["discussion_title_url"] - }, - "secret-scanning-location-discussion-body": { - "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", - "type": "object", - "properties": { - "discussion_body_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082#discussion-4566270" - ] - } - }, - "required": ["discussion_body_url"] - }, - "secret-scanning-location-discussion-comment": { - "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", - "type": "object", - "properties": { - "discussion_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the discussion comment where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082#discussioncomment-4158232" - ] - } - }, - "required": ["discussion_comment_url"] - }, - "secret-scanning-location-pull-request-title": { - "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", - "type": "object", - "properties": { - "pull_request_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - ] - } - }, - "required": ["pull_request_title_url"] - }, - "secret-scanning-location-pull-request-body": { - "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", - "type": "object", - "properties": { - "pull_request_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - ] - } - }, - "required": ["pull_request_body_url"] - }, - "secret-scanning-location-pull-request-comment": { - "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", - "type": "object", - "properties": { - "pull_request_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - ] - } - }, - "required": ["pull_request_comment_url"] - }, - "secret-scanning-location-pull-request-review": { - "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", - "type": "object", - "properties": { - "pull_request_review_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" - ] - } - }, - "required": ["pull_request_review_url"] - }, - "secret-scanning-location-pull-request-review-comment": { - "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", - "type": "object", - "properties": { - "pull_request_review_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" - ] - } - }, - "required": ["pull_request_review_comment_url"] - }, - "secret-scanning-location": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "commit", - "issue_title", - "issue_body", - "issue_comment", - "discussion_title", - "discussion_body", - "discussion_comment", - "pull_request_title", - "pull_request_body", - "pull_request_comment", - "pull_request_review", - "pull_request_review_comment" - ], - "description": "The location type. Because secrets may be found in different types of resources (ie. code, comments, issues, pull requests, discussions), this field identifies the type of resource where the secret was found.", - "examples": ["commit"] - }, - "details": { - "oneOf": [ - { - "$ref": "#/components/schemas/secret-scanning-location-commit" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-issue-title" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-issue-body" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-issue-comment" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-discussion-title" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-discussion-body" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" - } - ] - } - }, - "required": ["type", "details"] - }, - "stargazer": { - "title": "Stargazer", - "description": "Stargazer", - "type": "object", - "properties": { - "starred_at": { "type": "string", "format": "date-time" }, - "user": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - } - }, - "required": ["starred_at", "user"] - }, - "code-frequency-stat": { - "title": "Code Frequency Stat", - "description": "Code Frequency Stat", - "type": "array", - "items": { "type": "integer" } - }, - "commit-activity": { - "title": "Commit Activity", - "description": "Commit Activity", - "type": "object", - "properties": { - "days": { - "type": "array", - "items": { "type": "integer" }, - "examples": [0, 3, 26, 20, 39, 1, 0] - }, - "total": { "type": "integer", "examples": [89] }, - "week": { "type": "integer", "examples": [1336280400] } - }, - "required": ["days", "total", "week"] - }, - "contributor-activity": { - "title": "Contributor Activity", - "description": "Contributor Activity", - "type": "object", - "properties": { - "author": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "total": { "type": "integer", "examples": [135] }, - "weeks": { - "type": "array", - "items": { - "type": "object", - "properties": { - "w": { "type": "integer" }, - "a": { "type": "integer" }, - "d": { "type": "integer" }, - "c": { "type": "integer" } - } - }, - "examples": [{ "w": "1367712000", "a": 6898, "d": 77, "c": 10 }] - } - }, - "required": ["author", "total", "weeks"] - }, - "participation-stats": { - "title": "Participation Stats", - "type": "object", - "properties": { - "all": { "type": "array", "items": { "type": "integer" } }, - "owner": { "type": "array", "items": { "type": "integer" } } - }, - "required": ["all", "owner"] - }, - "repository-subscription": { - "title": "Repository Invitation", - "description": "Repository invitations let you manage who you collaborate with.", - "type": "object", - "properties": { - "subscribed": { - "description": "Determines if notifications should be received from this repository.", - "type": "boolean", - "examples": [true] - }, - "ignored": { - "description": "Determines if all notifications should be blocked from this repository.", - "type": "boolean" - }, - "reason": { "type": ["string", "null"] }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": ["2012-10-06T21:34:12Z"] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/example/subscription" - ] - }, - "repository_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/repos/octocat/example"] - } - }, - "required": [ - "created_at", - "ignored", - "reason", - "subscribed", - "url", - "repository_url" - ] - }, - "tag": { - "title": "Tag", - "description": "Tag", - "type": "object", - "properties": { - "name": { "type": "string", "examples": ["v0.1"] }, - "commit": { - "type": "object", - "properties": { - "sha": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["sha", "url"] - }, - "zipball_url": { - "type": "string", - "format": "uri", - "examples": ["https://github.com/octocat/Hello-World/zipball/v0.1"] - }, - "tarball_url": { - "type": "string", - "format": "uri", - "examples": ["https://github.com/octocat/Hello-World/tarball/v0.1"] - }, - "node_id": { "type": "string" } - }, - "required": ["name", "node_id", "commit", "zipball_url", "tarball_url"] - }, - "tag-protection": { - "title": "Tag protection", - "description": "Tag protection", - "type": "object", - "properties": { - "id": { "type": "integer", "examples": [2] }, - "created_at": { - "type": "string", - "examples": ["2011-01-26T19:01:12Z"] - }, - "updated_at": { - "type": "string", - "examples": ["2011-01-26T19:01:12Z"] - }, - "enabled": { "type": "boolean", "examples": [true] }, - "pattern": { "type": "string", "examples": ["v1.*"] } - }, - "required": ["pattern"] - }, - "topic": { - "title": "Topic", - "description": "A topic aggregates entities that are related to a subject.", - "type": "object", - "properties": { - "names": { "type": "array", "items": { "type": "string" } } - }, - "required": ["names"] - }, - "group-response": { - "type": "object", - "required": ["schemas"], - "properties": { - "schemas": { - "type": "array", - "description": "The URIs that are used to indicate the namespaces of the SCIM schemas.", - "items": { - "type": "string", - "enum": [ - "urn:ietf:params:scim:schemas:core:2.0:Group", - "urn:ietf:params:scim:api:messages:2.0:ListResponse" - ] - }, - "examples": ["urn:ietf:params:scim:schemas:core:2.0:Group"] - }, - "externalId": { - "type": ["string", "null"], - "description": "A unique identifier for the resource as defined by the provisioning client.", - "examples": ["8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159"] - }, - "displayName": { - "type": ["string", "null"], - "description": "A human-readable name for a security group.", - "examples": ["Engineering"] - }, - "members": { - "type": "array", - "description": "The group members.", - "items": { - "type": "object", - "required": ["value", "$ref"], - "properties": { - "value": { - "type": "string", - "description": "The local unique identifier for the member", - "examples": ["23a35c27-23d3-4c03-b4c5-6443c09e7173"] - }, - "$ref": { "type": "string" }, - "display": { - "type": "string", - "description": "The display name associated with the member", - "examples": ["Monalisa Octocat"] - } - } - } - } - } - }, - "meta": { - "type": "object", - "description": "The metadata associated with the creation/updates to the user.", - "required": ["resourceType"], - "properties": { - "resourceType": { - "type": "string", - "description": "A type of a resource", - "enum": ["User", "Group"], - "examples": ["User"] - }, - "created": { - "type": "string", - "description": "A date and time when the user was created.", - "examples": ["2022-03-27T19:59:26.000Z"] - }, - "lastModified": { - "type": "string", - "description": "A data and time when the user was last modified.", - "examples": ["2022-03-27T19:59:26.000Z"] - }, - "location": { - "type": "string", - "description": "A URL location of an object" - } - } - }, - "scim-enterprise-group-response": { - "allOf": [ - { "$ref": "#/components/schemas/group-response" }, - { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "The internally generated id for the group object.", - "examples": ["7fce0092-d52e-4f76-b727-3955bd72c939"] - }, - "members": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { "type": "string" }, - "$ref": { "type": "string" }, - "display": { "type": "string" } - } - }, - "description": "The security group members.", - "examples": [ - { - "value": "879db59-3bdf-4490-ad68-ab880a2694745", - "$+ref": "https://api.github.localhost/scim/v2/Users/879db59-3bdf-4490-ad68-ab880a2694745", - "displayName": "User 1" - }, - { - "value": "0db508eb-91e2-46e4-809c-30dcbda0c685", - "$+ref": "https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685", - "displayName": "User 2" - } - ] - }, - "meta": { "$ref": "#/components/schemas/meta" } - } - } - ] - }, - "scim-enterprise-group-list": { - "type": "object", - "required": [ - "schemas", - "totalResults", - "Resources", - "startIndex", - "itemsPerPage" - ], - "properties": { - "schemas": { - "type": "array", - "description": "The URIs that are used to indicate the namespaces of the list SCIM schemas.", - "items": { - "type": "string", - "enum": ["urn:ietf:params:scim:api:messages:2.0:ListResponse"] - }, - "examples": ["urn:ietf:params:scim:api:messages:2.0:ListResponse"] - }, - "totalResults": { - "type": "integer", - "description": "Number of results found", - "examples": [1] - }, - "Resources": { - "type": "array", - "description": "Information about each provisioned group.", - "items": { - "$ref": "#/components/schemas/scim-enterprise-group-response" - } - }, - "startIndex": { - "type": "integer", - "description": "A starting index for the returned page", - "examples": [1] - }, - "itemsPerPage": { - "type": "integer", - "description": "Number of objects per page", - "examples": [20] - } - } - }, - "group": { - "type": "object", - "required": ["schemas", "externalId", "displayName", "members"], - "properties": { - "schemas": { - "type": "array", - "description": "The URIs that are used to indicate the namespaces of the SCIM schemas.", - "items": { - "type": "string", - "enum": ["urn:ietf:params:scim:schemas:core:2.0:Group"] - }, - "examples": ["urn:ietf:params:scim:schemas:core:2.0:Group"] - }, - "externalId": { - "type": "string", - "description": "A unique identifier for the resource as defined by the provisioning client.", - "examples": ["8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159"] - }, - "displayName": { - "type": "string", - "description": "A human-readable name for a security group.", - "examples": ["Engineering"] - }, - "members": { - "type": "array", - "description": "The group members.", - "items": { - "type": "object", - "required": ["value", "displayName"], - "properties": { - "value": { - "type": "string", - "description": "The local unique identifier for the member", - "examples": ["23a35c27-23d3-4c03-b4c5-6443c09e7173"] - }, - "displayName": { - "type": "string", - "description": "The display name associated with the member", - "examples": ["Monalisa Octocat"] - } - } - } - } - } - }, - "patch-schema": { - "type": "object", - "required": ["Operations", "schemas"], - "properties": { - "Operations": { - "type": "array", - "description": "patch operations list", - "items": { - "type": "object", - "required": ["op"], - "properties": { - "op": { - "type": "string", - "enum": ["add", "replace", "remove"] - }, - "path": { "type": "string" }, - "value": { - "type": "string", - "description": "Corresponding 'value' of that field specified by 'path'" - } - } - } - }, - "schemas": { - "type": "array", - "items": { - "type": "string", - "enum": ["urn:ietf:params:scim:api:messages:2.0:PatchOp"] - } - } - } - }, - "user-name-response": { - "type": "object", - "properties": { - "formatted": { - "type": "string", - "description": "The full name, including all middle names, titles, and suffixes as appropriate, formatted for display.", - "examples": ["Ms. Mona Lisa Octocat"] - }, - "familyName": { - "type": "string", - "description": "The family name of the user.", - "examples": ["Octocat"] - }, - "givenName": { - "type": "string", - "description": "The given name of the user.", - "examples": ["Mona"] - }, - "middleName": { - "type": "string", - "description": "The middle name(s) of the user.", - "examples": ["Lisa"] - } - } - }, - "user-emails-response": { - "type": "array", - "description": "The emails for the user.", - "items": { - "type": "object", - "required": ["value"], - "properties": { - "value": { - "type": "string", - "description": "The email address.", - "examples": ["mlisa@example.com"] - }, - "type": { - "type": "string", - "description": "The type of email address.", - "examples": ["work"] - }, - "primary": { - "type": "boolean", - "description": "Whether this email address is the primary address.", - "examples": [true] - } - } - } - }, - "user-role": { - "type": "array", - "description": "The roles assigned to the user.", - "items": { - "type": "object", - "required": ["value"], - "properties": { - "display": { "type": "string" }, - "type": { "type": "string" }, - "value": { - "type": "string", - "description": "The role value representing a user role in GitHub.", - "enum": [ - "user", - "27d9891d-2c17-4f45-a262-781a0e55c80a", - "guest_collaborator", - "1ebc4a02-e56c-43a6-92a5-02ee09b90824", - "enterprise_owner", - "981df190-8801-4618-a08a-d91f6206c954", - "ba4987ab-a1c3-412a-b58c-360fc407cb10", - "billing_manager", - "0e338b8c-cc7f-498a-928d-ea3470d7e7e3", - "e6be2762-e4ad-4108-b72d-1bbe884a0f91" - ], - "examples": ["user"] - }, - "primary": { - "type": "boolean", - "description": "Is the role a primary role for the user.", - "examples": [false] - } - } - } - }, - "user-response": { - "type": "object", - "required": ["schemas", "active", "emails"], - "properties": { - "schemas": { - "type": "array", - "description": "The URIs that are used to indicate the namespaces of the SCIM schemas.", - "items": { - "type": "string", - "enum": ["urn:ietf:params:scim:schemas:core:2.0:User"] - }, - "examples": ["urn:ietf:params:scim:schemas:core:2.0:User"] - }, - "externalId": { - "type": ["string", "null"], - "description": "A unique identifier for the resource as defined by the provisioning client.", - "examples": ["E012345"] - }, - "active": { - "type": "boolean", - "description": "Whether the user active in the IdP.", - "examples": [true] - }, - "userName": { - "type": "string", - "description": "The username for the user.", - "examples": ["E012345"] - }, - "name": { "$ref": "#/components/schemas/user-name-response" }, - "displayName": { - "type": ["string", "null"], - "description": "A human-readable name for the user.", - "examples": ["Mona Lisa"] - }, - "emails": { "$ref": "#/components/schemas/user-emails-response" }, - "roles": { "$ref": "#/components/schemas/user-role" } - } - }, - "scim-enterprise-user-response": { - "allOf": [ - { "$ref": "#/components/schemas/user-response" }, - { - "type": "object", - "required": ["id", "meta"], - "properties": { - "id": { - "type": "string", - "description": "The internally generated id for the user object.", - "examples": ["7fce0092-d52e-4f76-b727-3955bd72c939"] - }, - "groups": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { "type": "string" }, - "$ref": { "type": "string" }, - "display": { "type": "string" } - } - }, - "description": "Provisioned SCIM groups that the user is a member of." - }, - "meta": { "$ref": "#/components/schemas/meta" } - } - } - ] - }, - "scim-enterprise-user-list": { - "type": "object", - "required": [ - "schemas", - "totalResults", - "Resources", - "startIndex", - "itemsPerPage" - ], - "properties": { - "schemas": { - "type": "array", - "description": "The URIs that are used to indicate the namespaces of the list SCIM schemas.", - "items": { - "type": "string", - "enum": ["urn:ietf:params:scim:api:messages:2.0:ListResponse"] - }, - "examples": ["urn:ietf:params:scim:api:messages:2.0:ListResponse"] - }, - "totalResults": { - "type": "integer", - "description": "Number of results found", - "examples": [1] - }, - "Resources": { - "type": "array", - "description": "Information about each provisioned account.", - "items": { - "$ref": "#/components/schemas/scim-enterprise-user-response" - } - }, - "startIndex": { - "type": "integer", - "description": "A starting index for the returned page", - "examples": [1] - }, - "itemsPerPage": { - "type": "integer", - "description": "Number of objects per page", - "examples": [20] - } - } - }, - "user-name": { - "type": "object", - "required": ["familyName", "givenName"], - "properties": { - "formatted": { - "type": "string", - "description": "The full name, including all middle names, titles, and suffixes as appropriate, formatted for display.", - "examples": ["Ms. Mona Lisa Octocat"] - }, - "familyName": { - "type": "string", - "description": "The family name of the user.", - "examples": ["Octocat"] - }, - "givenName": { - "type": "string", - "description": "The given name of the user.", - "examples": ["Mona"] - }, - "middleName": { - "type": "string", - "description": "The middle name(s) of the user.", - "examples": ["Lisa"] - } - } - }, - "user-emails": { - "type": "array", - "description": "The emails for the user.", - "items": { - "type": "object", - "required": ["value", "type", "primary"], - "properties": { - "value": { - "type": "string", - "description": "The email address.", - "examples": ["mlisa@example.com"] - }, - "type": { - "type": "string", - "description": "The type of email address.", - "examples": ["work"] - }, - "primary": { - "type": "boolean", - "description": "Whether this email address is the primary address.", - "examples": [true] - } - } - } - }, - "user": { - "type": "object", - "required": [ - "schemas", - "externalId", - "userName", - "active", - "displayName", - "emails" - ], - "properties": { - "schemas": { - "type": "array", - "description": "The URIs that are used to indicate the namespaces of the SCIM schemas.", - "items": { - "type": "string", - "enum": ["urn:ietf:params:scim:schemas:core:2.0:User"] - }, - "examples": ["urn:ietf:params:scim:schemas:core:2.0:User"] - }, - "externalId": { - "type": "string", - "description": "A unique identifier for the resource as defined by the provisioning client.", - "examples": ["E012345"] - }, - "active": { - "type": "boolean", - "description": "Whether the user active in the IdP.", - "examples": [true] - }, - "userName": { - "type": "string", - "description": "The username for the user.", - "examples": ["E012345"] - }, - "name": { "$ref": "#/components/schemas/user-name" }, - "displayName": { - "type": "string", - "description": "A human-readable name for the user.", - "examples": ["Mona Lisa"] - }, - "emails": { "$ref": "#/components/schemas/user-emails" }, - "roles": { "$ref": "#/components/schemas/user-role" } - } - }, - "search-result-text-matches": { - "title": "Search Result Text Matches", - "type": "array", - "items": { - "type": "object", - "properties": { - "object_url": { "type": "string" }, - "object_type": { "type": ["string", "null"] }, - "property": { "type": "string" }, - "fragment": { "type": "string" }, - "matches": { - "type": "array", - "items": { - "type": "object", - "properties": { - "text": { "type": "string" }, - "indices": { "type": "array", "items": { "type": "integer" } } - } - } - } - } - } - }, - "code-search-result-item": { - "title": "Code Search Result Item", - "description": "Code Search Result Item", - "type": "object", - "properties": { - "name": { "type": "string" }, - "path": { "type": "string" }, - "sha": { "type": "string" }, - "url": { "type": "string", "format": "uri" }, - "git_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "repository": { "$ref": "#/components/schemas/minimal-repository" }, - "score": { "type": "number" }, - "file_size": { "type": "integer" }, - "language": { "type": ["string", "null"] }, - "last_modified_at": { "type": "string", "format": "date-time" }, - "line_numbers": { - "type": "array", - "items": { "type": "string" }, - "examples": ["73..77", "77..78"] - }, - "text_matches": { - "$ref": "#/components/schemas/search-result-text-matches" - } - }, - "required": [ - "score", - "name", - "path", - "sha", - "git_url", - "html_url", - "url", - "repository" - ] - }, - "commit-search-result-item": { - "title": "Commit Search Result Item", - "description": "Commit Search Result Item", - "type": "object", - "properties": { - "url": { "type": "string", "format": "uri" }, - "sha": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "comments_url": { "type": "string", "format": "uri" }, - "commit": { - "type": "object", - "properties": { - "author": { - "type": "object", - "properties": { - "name": { "type": "string" }, - "email": { "type": "string" }, - "date": { "type": "string", "format": "date-time" } - }, - "required": ["name", "email", "date"] - }, - "committer": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/git-user" } - ] - }, - "comment_count": { "type": "integer" }, - "message": { "type": "string" }, - "tree": { - "type": "object", - "properties": { - "sha": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["sha", "url"] - }, - "url": { "type": "string", "format": "uri" }, - "verification": { "$ref": "#/components/schemas/verification" } - }, - "required": [ - "author", - "committer", - "comment_count", - "message", - "tree", - "url" - ] - }, - "author": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "committer": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/git-user" } - ] - }, - "parents": { - "type": "array", - "items": { - "type": "object", - "properties": { - "url": { "type": "string" }, - "html_url": { "type": "string" }, - "sha": { "type": "string" } - } - } - }, - "repository": { "$ref": "#/components/schemas/minimal-repository" }, - "score": { "type": "number" }, - "node_id": { "type": "string" }, - "text_matches": { - "$ref": "#/components/schemas/search-result-text-matches" - } - }, - "required": [ - "sha", - "node_id", - "url", - "html_url", - "author", - "committer", - "parents", - "comments_url", - "commit", - "repository", - "score" - ] - }, - "issue-search-result-item": { - "title": "Issue Search Result Item", - "description": "Issue Search Result Item", - "type": "object", - "properties": { - "url": { "type": "string", "format": "uri" }, - "repository_url": { "type": "string", "format": "uri" }, - "labels_url": { "type": "string" }, - "comments_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "title": { "type": "string" }, - "locked": { "type": "boolean" }, - "active_lock_reason": { "type": ["string", "null"] }, - "assignees": { - "type": ["array", "null"], - "items": { "$ref": "#/components/schemas/simple-user" } - }, - "user": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "labels": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { "type": "integer", "format": "int64" }, - "node_id": { "type": "string" }, - "url": { "type": "string" }, - "name": { "type": "string" }, - "color": { "type": "string" }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] } - } - } - }, - "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] - }, - "state": { "type": "string" }, - "state_reason": { "type": ["string", "null"] }, - "assignee": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "milestone": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/milestone" } - ] - }, - "comments": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "updated_at": { "type": "string", "format": "date-time" }, - "closed_at": { "type": ["string", "null"], "format": "date-time" }, - "text_matches": { - "$ref": "#/components/schemas/search-result-text-matches" - }, - "pull_request": { - "type": "object", - "properties": { - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "diff_url": { "type": ["string", "null"], "format": "uri" }, - "html_url": { "type": ["string", "null"], "format": "uri" }, - "patch_url": { "type": ["string", "null"], "format": "uri" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["diff_url", "html_url", "patch_url", "url"] - }, - "body": { "type": "string" }, - "score": { "type": "number" }, - "author_association": { - "$ref": "#/components/schemas/author-association" - }, - "draft": { "type": "boolean" }, - "repository": { "$ref": "#/components/schemas/repository" }, - "body_html": { "type": "string" }, - "body_text": { "type": "string" }, - "timeline_url": { "type": "string", "format": "uri" }, - "type": { "$ref": "#/components/schemas/issue-type" }, - "performed_via_github_app": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/integration" } - ] - }, - "reactions": { "$ref": "#/components/schemas/reaction-rollup" } - }, - "required": [ - "assignee", - "closed_at", - "comments", - "comments_url", - "events_url", - "html_url", - "id", - "node_id", - "labels", - "labels_url", - "milestone", - "number", - "repository_url", - "state", - "locked", - "title", - "url", - "user", - "author_association", - "created_at", - "updated_at", - "score" - ] - }, - "label-search-result-item": { - "title": "Label Search Result Item", - "description": "Label Search Result Item", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "node_id": { "type": "string" }, - "url": { "type": "string", "format": "uri" }, - "name": { "type": "string" }, - "color": { "type": "string" }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "score": { "type": "number" }, - "text_matches": { - "$ref": "#/components/schemas/search-result-text-matches" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description", - "score" - ] - }, - "repo-search-result-item": { - "title": "Repo Search Result Item", - "description": "Repo Search Result Item", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "node_id": { "type": "string" }, - "name": { "type": "string" }, - "full_name": { "type": "string" }, - "owner": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "private": { "type": "boolean" }, - "html_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "fork": { "type": "boolean" }, - "url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "updated_at": { "type": "string", "format": "date-time" }, - "pushed_at": { "type": "string", "format": "date-time" }, - "homepage": { "type": ["string", "null"], "format": "uri" }, - "size": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "language": { "type": ["string", "null"] }, - "forks_count": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "master_branch": { "type": "string" }, - "default_branch": { "type": "string" }, - "score": { "type": "number" }, - "forks_url": { "type": "string", "format": "uri" }, - "keys_url": { "type": "string" }, - "collaborators_url": { "type": "string" }, - "teams_url": { "type": "string", "format": "uri" }, - "hooks_url": { "type": "string", "format": "uri" }, - "issue_events_url": { "type": "string" }, - "events_url": { "type": "string", "format": "uri" }, - "assignees_url": { "type": "string" }, - "branches_url": { "type": "string" }, - "tags_url": { "type": "string", "format": "uri" }, - "blobs_url": { "type": "string" }, - "git_tags_url": { "type": "string" }, - "git_refs_url": { "type": "string" }, - "trees_url": { "type": "string" }, - "statuses_url": { "type": "string" }, - "languages_url": { "type": "string", "format": "uri" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "contributors_url": { "type": "string", "format": "uri" }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "commits_url": { "type": "string" }, - "git_commits_url": { "type": "string" }, - "comments_url": { "type": "string" }, - "issue_comment_url": { "type": "string" }, - "contents_url": { "type": "string" }, - "compare_url": { "type": "string" }, - "merges_url": { "type": "string", "format": "uri" }, - "archive_url": { "type": "string" }, - "downloads_url": { "type": "string", "format": "uri" }, - "issues_url": { "type": "string" }, - "pulls_url": { "type": "string" }, - "milestones_url": { "type": "string" }, - "notifications_url": { "type": "string" }, - "labels_url": { "type": "string" }, - "releases_url": { "type": "string" }, - "deployments_url": { "type": "string", "format": "uri" }, - "git_url": { "type": "string" }, - "ssh_url": { "type": "string" }, - "clone_url": { "type": "string" }, - "svn_url": { "type": "string", "format": "uri" }, - "forks": { "type": "integer" }, - "open_issues": { "type": "integer" }, - "watchers": { "type": "integer" }, - "topics": { "type": "array", "items": { "type": "string" } }, - "mirror_url": { "type": ["string", "null"], "format": "uri" }, - "has_issues": { "type": "boolean" }, - "has_projects": { "type": "boolean" }, - "has_pages": { "type": "boolean" }, - "has_wiki": { "type": "boolean" }, - "has_downloads": { "type": "boolean" }, - "has_discussions": { "type": "boolean" }, - "archived": { "type": "boolean" }, - "disabled": { - "type": "boolean", - "description": "Returns whether or not this repository disabled." - }, - "visibility": { - "description": "The repository visibility: public, private, or internal.", - "type": "string" - }, - "license": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/license-simple" } - ] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" }, - "pull": { "type": "boolean" } - }, - "required": ["admin", "pull", "push"] - }, - "text_matches": { - "$ref": "#/components/schemas/search-result-text-matches" - }, - "temp_clone_token": { "type": "string" }, - "allow_merge_commit": { "type": "boolean" }, - "allow_squash_merge": { "type": "boolean" }, - "allow_rebase_merge": { "type": "boolean" }, - "allow_auto_merge": { "type": "boolean" }, - "delete_branch_on_merge": { "type": "boolean" }, - "allow_forking": { "type": "boolean" }, - "is_template": { "type": "boolean" }, - "web_commit_signoff_required": { - "type": "boolean", - "examples": [false] - } - }, - "required": [ - "archive_url", - "assignees_url", - "blobs_url", - "branches_url", - "collaborators_url", - "comments_url", - "commits_url", - "compare_url", - "contents_url", - "contributors_url", - "deployments_url", - "description", - "downloads_url", - "events_url", - "fork", - "forks_url", - "full_name", - "git_commits_url", - "git_refs_url", - "git_tags_url", - "hooks_url", - "html_url", - "id", - "node_id", - "issue_comment_url", - "issue_events_url", - "issues_url", - "keys_url", - "labels_url", - "languages_url", - "merges_url", - "milestones_url", - "name", - "notifications_url", - "owner", - "private", - "pulls_url", - "releases_url", - "stargazers_url", - "statuses_url", - "subscribers_url", - "subscription_url", - "tags_url", - "teams_url", - "trees_url", - "url", - "clone_url", - "default_branch", - "forks", - "forks_count", - "git_url", - "has_downloads", - "has_issues", - "has_projects", - "has_wiki", - "has_pages", - "homepage", - "language", - "archived", - "disabled", - "mirror_url", - "open_issues", - "open_issues_count", - "license", - "pushed_at", - "size", - "ssh_url", - "stargazers_count", - "svn_url", - "watchers", - "watchers_count", - "created_at", - "updated_at", - "score" - ] - }, - "topic-search-result-item": { - "title": "Topic Search Result Item", - "description": "Topic Search Result Item", - "type": "object", - "properties": { - "name": { "type": "string" }, - "display_name": { "type": ["string", "null"] }, - "short_description": { "type": ["string", "null"] }, - "description": { "type": ["string", "null"] }, - "created_by": { "type": ["string", "null"] }, - "released": { "type": ["string", "null"] }, - "created_at": { "type": "string", "format": "date-time" }, - "updated_at": { "type": "string", "format": "date-time" }, - "featured": { "type": "boolean" }, - "curated": { "type": "boolean" }, - "score": { "type": "number" }, - "repository_count": { "type": ["integer", "null"] }, - "logo_url": { "type": ["string", "null"], "format": "uri" }, - "text_matches": { - "$ref": "#/components/schemas/search-result-text-matches" - }, - "related": { - "type": ["array", "null"], - "items": { - "type": "object", - "properties": { - "topic_relation": { - "type": "object", - "properties": { - "id": { "type": "integer" }, - "name": { "type": "string" }, - "topic_id": { "type": "integer" }, - "relation_type": { "type": "string" } - } - } - } - } - }, - "aliases": { - "type": ["array", "null"], - "items": { - "type": "object", - "properties": { - "topic_relation": { - "type": "object", - "properties": { - "id": { "type": "integer" }, - "name": { "type": "string" }, - "topic_id": { "type": "integer" }, - "relation_type": { "type": "string" } - } - } - } - } - } - }, - "required": [ - "name", - "display_name", - "short_description", - "description", - "created_by", - "released", - "created_at", - "updated_at", - "featured", - "curated", - "score" - ] - }, - "user-search-result-item": { - "title": "User Search Result Item", - "description": "User Search Result Item", - "type": "object", - "properties": { - "login": { "type": "string" }, - "id": { "type": "integer", "format": "int64" }, - "node_id": { "type": "string" }, - "avatar_url": { "type": "string", "format": "uri" }, - "gravatar_id": { "type": ["string", "null"] }, - "url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "followers_url": { "type": "string", "format": "uri" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "organizations_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "type": { "type": "string" }, - "score": { "type": "number" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "starred_url": { "type": "string" }, - "events_url": { "type": "string" }, - "public_repos": { "type": "integer" }, - "public_gists": { "type": "integer" }, - "followers": { "type": "integer" }, - "following": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "updated_at": { "type": "string", "format": "date-time" }, - "name": { "type": ["string", "null"] }, - "bio": { "type": ["string", "null"] }, - "email": { "type": ["string", "null"], "format": "email" }, - "location": { "type": ["string", "null"] }, - "site_admin": { "type": "boolean" }, - "hireable": { "type": ["boolean", "null"] }, - "text_matches": { - "$ref": "#/components/schemas/search-result-text-matches" - }, - "blog": { "type": ["string", "null"] }, - "company": { "type": ["string", "null"] }, - "suspended_at": { "type": ["string", "null"], "format": "date-time" }, - "user_view_type": { "type": "string" } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url", - "score" - ] - }, - "configuration-status": { - "type": "object", - "properties": { - "status": { "type": "string" }, - "progress": { - "type": "array", - "items": { - "type": "object", - "properties": { - "status": { "type": "string" }, - "key": { "type": "string" } - }, - "required": ["status", "key"] - } - } - } - }, - "maintenance-status": { - "type": "object", - "properties": { - "status": { "type": "string" }, - "scheduled_time": { "type": "string" }, - "connection_services": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { "type": "string" }, - "number": { "type": "integer" } - }, - "required": ["name", "number"] - } - } - } - }, - "enterprise-settings": { - "type": "object", - "properties": { - "enterprise": { - "type": "object", - "properties": { - "private_mode": { "type": "boolean" }, - "public_pages": { "type": "boolean" }, - "subdomain_isolation": { "type": "boolean" }, - "signup_enabled": { "type": "boolean" }, - "github_hostname": { "type": "string" }, - "identicons_host": { "type": "string" }, - "http_proxy": { "type": ["string", "null"] }, - "auth_mode": { "type": "string" }, - "expire_sessions": { "type": "boolean" }, - "admin_password": { "type": ["string", "null"] }, - "configuration_id": { "type": "integer" }, - "configuration_run_count": { "type": "integer" }, - "avatar": { - "type": "object", - "properties": { - "enabled": { "type": "boolean" }, - "uri": { "type": "string" } - } - }, - "customer": { - "type": "object", - "properties": { - "name": { "type": "string" }, - "email": { "type": "string" }, - "uuid": { "type": "string" }, - "secret_key_data": { "type": "string" }, - "public_key_data": { "type": "string" } - } - }, - "license": { - "type": "object", - "properties": { - "seats": { "type": "integer" }, - "evaluation": { "type": "boolean" }, - "perpetual": { "type": "boolean" }, - "unlimited_seating": { "type": "boolean" }, - "support_key": { "type": "string" }, - "ssh_allowed": { "type": "boolean" }, - "cluster_support": { "type": "boolean" }, - "expire_at": { "type": "string" } - } - }, - "github_ssl": { - "type": "object", - "properties": { - "enabled": { "type": "boolean" }, - "cert": { "type": ["string", "null"] }, - "key": { "type": ["string", "null"] } - } - }, - "ldap": { - "type": "object", - "properties": { - "host": { "type": ["string", "null"] }, - "port": { "type": "integer" }, - "base": { "type": "array", "items": {} }, - "uid": { "type": ["string", "null"] }, - "bind_dn": { "type": ["string", "null"] }, - "password": { "type": ["string", "null"] }, - "method": { "type": "string" }, - "search_strategy": { "type": "string" }, - "user_groups": { "type": "array", "items": {} }, - "admin_group": { "type": ["string", "null"] }, - "virtual_attribute_enabled": { "type": "boolean" }, - "recursive_group_search": { "type": "boolean" }, - "posix_support": { "type": "boolean" }, - "user_sync_emails": { "type": "boolean" }, - "user_sync_keys": { "type": "boolean" }, - "user_sync_interval": { "type": "integer" }, - "team_sync_interval": { "type": "integer" }, - "sync_enabled": { "type": "boolean" }, - "reconciliation": { - "type": "object", - "properties": { - "user": { "type": ["string", "null"] }, - "org": { "type": ["string", "null"] } - } - }, - "profile": { - "type": "object", - "properties": { - "uid": { "type": "string" }, - "name": { "type": ["string", "null"] }, - "mail": { "type": ["string", "null"] }, - "key": { "type": ["string", "null"] } - } - } - } - }, - "cas": { - "type": "object", - "properties": { "url": { "type": ["string", "null"] } } - }, - "saml": { - "type": "object", - "properties": { - "sso_url": { "type": ["string", "null"] }, - "certificate": { "type": ["string", "null"] }, - "certificate_path": { "type": ["string", "null"] }, - "issuer": { "type": ["string", "null"] }, - "idp_initiated_sso": { "type": "boolean" }, - "disable_admin_demote": { "type": "boolean" } - } - }, - "github_oauth": { - "type": "object", - "properties": { - "client_id": { "type": "string" }, - "client_secret": { "type": "string" }, - "organization_name": { "type": "string" }, - "organization_team": { "type": "string" } - } - }, - "smtp": { - "type": "object", - "properties": { - "enabled": { "type": "boolean" }, - "address": { "type": "string" }, - "authentication": { "type": "string" }, - "port": { "type": "string" }, - "domain": { "type": "string" }, - "username": { "type": "string" }, - "user_name": { "type": "string" }, - "enable_starttls_auto": { "type": "boolean" }, - "password": { "type": "string" }, - "discard-to-noreply-address": { "type": "boolean" }, - "support_address": { "type": "string" }, - "support_address_type": { "type": "string" }, - "noreply_address": { "type": "string" } - } - }, - "ntp": { - "type": "object", - "properties": { - "primary_server": { "type": "string" }, - "secondary_server": { "type": "string" } - } - }, - "timezone": { "type": ["string", "null"] }, - "snmp": { - "type": "object", - "properties": { - "enabled": { "type": "boolean" }, - "community": { "type": "string" } - } - }, - "syslog": { - "type": "object", - "properties": { - "enabled": { "type": "boolean" }, - "server": { "type": ["string", "null"] }, - "protocol_name": { "type": "string" } - } - }, - "assets": { "type": ["string", "null"] }, - "pages": { - "type": "object", - "properties": { "enabled": { "type": "boolean" } } - }, - "collectd": { - "type": "object", - "properties": { - "enabled": { "type": "boolean" }, - "server": { "type": ["string", "null"] }, - "port": { "type": "integer" }, - "encryption": { "type": ["string", "null"] }, - "username": { "type": ["string", "null"] }, - "password": { "type": ["string", "null"] } - } - }, - "mapping": { - "type": "object", - "properties": { - "enabled": { "type": "boolean" }, - "tileserver": { "type": ["string", "null"] }, - "basemap": { "type": "string" }, - "token": { "type": ["string", "null"] } - } - }, - "load_balancer": { "type": ["string", "null"] } - } - }, - "run_list": { "type": "array", "items": { "type": "string" } } - } - }, - "ssh-key": { - "type": "object", - "properties": { - "key": { "type": "string" }, - "pretty-print": { "type": "string" } - } - }, - "private-user": { - "title": "Private User", - "description": "Private User", - "type": "object", - "properties": { - "login": { "type": "string", "examples": ["octocat"] }, - "id": { "type": "integer", "format": "int64", "examples": [1] }, - "user_view_type": { "type": "string" }, - "node_id": { "type": "string", "examples": ["MDQ6VXNlcjE="] }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": ["https://github.com/images/error/octocat_happy.gif"] - }, - "gravatar_id": { - "type": ["string", "null"], - "examples": ["41d064eb2195891e12d0413f63227ea7"] - }, - "url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/users/octocat"] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": ["https://github.com/octocat"] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/users/octocat/followers"] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": ["https://api.github.com/users/octocat/gists{/gist_id}"] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/users/octocat/subscriptions"] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/users/octocat/orgs"] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/users/octocat/repos"] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/users/octocat/received_events"] - }, - "type": { "type": "string", "examples": ["User"] }, - "site_admin": { "type": "boolean" }, - "name": { - "type": ["string", "null"], - "examples": ["monalisa octocat"] - }, - "company": { "type": ["string", "null"], "examples": ["GitHub"] }, - "blog": { - "type": ["string", "null"], - "examples": ["https://github.com/blog"] - }, - "location": { - "type": ["string", "null"], - "examples": ["San Francisco"] - }, - "email": { - "type": ["string", "null"], - "format": "email", - "examples": ["octocat@github.com"] - }, - "notification_email": { - "type": ["string", "null"], - "format": "email", - "examples": ["octocat@github.com"] - }, - "hireable": { "type": ["boolean", "null"] }, - "bio": { - "type": ["string", "null"], - "examples": ["There once was..."] - }, - "twitter_username": { - "type": ["string", "null"], - "examples": ["monalisa"] - }, - "public_repos": { "type": "integer", "examples": [2] }, - "public_gists": { "type": "integer", "examples": [1] }, - "followers": { "type": "integer", "examples": [20] }, - "following": { "type": "integer", "examples": [0] }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": ["2008-01-14T04:33:35Z"] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": ["2008-01-14T04:33:35Z"] - }, - "private_gists": { "type": "integer", "examples": [81] }, - "total_private_repos": { "type": "integer", "examples": [100] }, - "owned_private_repos": { "type": "integer", "examples": [100] }, - "disk_usage": { "type": "integer", "examples": [10000] }, - "collaborators": { "type": "integer", "examples": [8] }, - "two_factor_authentication": { - "type": "boolean", - "examples": [true] - }, - "plan": { - "type": "object", - "properties": { - "collaborators": { "type": "integer" }, - "name": { "type": "string" }, - "space": { "type": "integer" }, - "private_repos": { "type": "integer" } - }, - "required": ["collaborators", "name", "space", "private_repos"] - }, - "business_plus": { "type": "boolean" }, - "ldap_dn": { "type": "string" } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url", - "bio", - "blog", - "company", - "email", - "followers", - "following", - "hireable", - "location", - "name", - "public_gists", - "public_repos", - "created_at", - "updated_at", - "collaborators", - "disk_usage", - "owned_private_repos", - "private_gists", - "total_private_repos", - "two_factor_authentication" - ] - }, - "email": { - "title": "Email", - "description": "Email", - "type": "object", - "properties": { - "email": { - "type": "string", - "format": "email", - "examples": ["octocat@github.com"] - }, - "primary": { "type": "boolean", "examples": [true] }, - "verified": { "type": "boolean", "examples": [true] }, - "visibility": { "type": ["string", "null"], "examples": ["public"] } - }, - "required": ["email", "primary", "verified", "visibility"] - }, - "gpg-key": { - "title": "GPG Key", - "description": "A unique encryption key", - "type": "object", - "properties": { - "id": { "type": "integer", "format": "int64", "examples": [3] }, - "name": { - "type": ["string", "null"], - "examples": ["Octocat's GPG Key"] - }, - "primary_key_id": { "type": ["integer", "null"] }, - "key_id": { "type": "string", "examples": ["3262EFF25BA0D270"] }, - "public_key": { "type": "string", "examples": ["xsBNBFayYZ..."] }, - "emails": { - "type": "array", - "items": { - "type": "object", - "properties": { - "email": { "type": "string" }, - "verified": { "type": "boolean" } - } - }, - "examples": [ - { "email": "octocat@users.noreply.github.com", "verified": true } - ] - }, - "subkeys": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { "type": "integer", "format": "int64" }, - "primary_key_id": { "type": "integer" }, - "key_id": { "type": "string" }, - "public_key": { "type": "string" }, - "emails": { - "type": "array", - "items": { - "type": "object", - "properties": { - "email": { "type": "string" }, - "verified": { "type": "boolean" } - } - } - }, - "subkeys": { "type": "array", "items": {} }, - "can_sign": { "type": "boolean" }, - "can_encrypt_comms": { "type": "boolean" }, - "can_encrypt_storage": { "type": "boolean" }, - "can_certify": { "type": "boolean" }, - "created_at": { "type": "string" }, - "expires_at": { "type": ["string", "null"] }, - "raw_key": { "type": ["string", "null"] }, - "revoked": { "type": "boolean" } - } - }, - "examples": [ - { - "id": 4, - "primary_key_id": 3, - "key_id": "4A595D4C72EE49C7", - "public_key": "zsBNBFayYZ...", - "emails": [], - "can_sign": false, - "can_encrypt_comms": true, - "can_encrypt_storage": true, - "can_certify": false, - "created_at": "2016-03-24T11:31:04-06:00", - "expires_at": null, - "revoked": false - } - ] - }, - "can_sign": { "type": "boolean", "examples": [true] }, - "can_encrypt_comms": { "type": "boolean" }, - "can_encrypt_storage": { "type": "boolean" }, - "can_certify": { "type": "boolean", "examples": [true] }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": ["2016-03-24T11:31:04-06:00"] - }, - "expires_at": { "type": ["string", "null"], "format": "date-time" }, - "revoked": { "type": "boolean", "examples": [true] }, - "raw_key": { "type": ["string", "null"] } - }, - "required": [ - "id", - "primary_key_id", - "key_id", - "raw_key", - "public_key", - "created_at", - "expires_at", - "can_sign", - "can_encrypt_comms", - "can_encrypt_storage", - "can_certify", - "emails", - "subkeys", - "revoked" - ] - }, - "key": { - "title": "Key", - "description": "Key", - "type": "object", - "properties": { - "key": { "type": "string" }, - "id": { "type": "integer", "format": "int64" }, - "url": { "type": "string" }, - "title": { "type": "string" }, - "created_at": { "type": "string", "format": "date-time" }, - "verified": { "type": "boolean" }, - "read_only": { "type": "boolean" } - }, - "required": [ - "key", - "id", - "url", - "title", - "created_at", - "verified", - "read_only" - ] - }, - "social-account": { - "title": "Social account", - "description": "Social media account", - "type": "object", - "properties": { - "provider": { "type": "string", "examples": ["linkedin"] }, - "url": { - "type": "string", - "examples": ["https://www.linkedin.com/company/github/"] - } - }, - "required": ["provider", "url"] - }, - "ssh-signing-key": { - "title": "SSH Signing Key", - "description": "A public SSH key used to sign Git commits", - "type": "object", - "properties": { - "key": { "type": "string" }, - "id": { "type": "integer" }, - "title": { "type": "string" }, - "created_at": { "type": "string", "format": "date-time" } - }, - "required": ["key", "id", "title", "created_at"] - }, - "starred-repository": { - "title": "Starred Repository", - "description": "Starred Repository", - "type": "object", - "properties": { - "starred_at": { "type": "string", "format": "date-time" }, - "repo": { "$ref": "#/components/schemas/repository" } - }, - "required": ["starred_at", "repo"] - }, - "hovercard": { - "title": "Hovercard", - "description": "Hovercard", - "type": "object", - "properties": { - "contexts": { - "type": "array", - "items": { - "type": "object", - "properties": { - "message": { "type": "string" }, - "octicon": { "type": "string" } - }, - "required": ["message", "octicon"] - } - } - }, - "required": ["contexts"] - }, - "key-simple": { - "title": "Key Simple", - "description": "Key Simple", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "key": { "type": "string" } - }, - "required": ["key", "id"] - }, - "enterprise-webhooks": { - "title": "Enterprise", - "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/enterprise-server@3.13/admin/overview/about-enterprise-accounts).\"", - "type": "object", - "properties": { - "description": { - "description": "A short description of the enterprise.", - "type": ["string", "null"] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": ["https://github.com/enterprises/octo-business"] - }, - "website_url": { - "description": "The enterprise's website URL.", - "type": ["string", "null"], - "format": "uri" - }, - "id": { - "description": "Unique identifier of the enterprise", - "type": "integer", - "examples": [42] - }, - "node_id": { - "type": "string", - "examples": ["MDEwOlJlcG9zaXRvcnkxMjk2MjY5"] - }, - "name": { - "description": "The name of the enterprise.", - "type": "string", - "examples": ["Octo Business"] - }, - "slug": { - "description": "The slug url identifier for the enterprise.", - "type": "string", - "examples": ["octo-business"] - }, - "created_at": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2019-01-26T19:01:12Z"] - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2019-01-26T19:14:43Z"] - }, - "avatar_url": { "type": "string", "format": "uri" } - }, - "required": [ - "id", - "node_id", - "name", - "slug", - "html_url", - "created_at", - "updated_at", - "avatar_url" - ] - }, - "simple-installation": { - "title": "Simple Installation", - "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured\nfor and sent to a GitHub App. For more information,\nsee \"[Using webhooks with GitHub Apps](https://docs.github.com/enterprise-server@3.13/apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps).\"", - "type": "object", - "properties": { - "id": { - "description": "The ID of the installation.", - "type": "integer", - "examples": [1] - }, - "node_id": { - "description": "The global node ID of the installation.", - "type": "string", - "examples": ["MDQ6VXNlcjU4MzIzMQ=="] - } - }, - "required": ["id", "node_id"] - }, - "organization-simple-webhooks": { - "title": "Organization Simple", - "description": "A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.", - "type": "object", - "properties": { - "login": { "type": "string", "examples": ["github"] }, - "id": { "type": "integer", "examples": [1] }, - "node_id": { - "type": "string", - "examples": ["MDEyOk9yZ2FuaXphdGlvbjE="] - }, - "url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/orgs/github"] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/orgs/github/repos"] - }, - "events_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/orgs/github/events"] - }, - "hooks_url": { - "type": "string", - "examples": ["https://api.github.com/orgs/github/hooks"] - }, - "issues_url": { - "type": "string", - "examples": ["https://api.github.com/orgs/github/issues"] - }, - "members_url": { - "type": "string", - "examples": ["https://api.github.com/orgs/github/members{/member}"] - }, - "public_members_url": { - "type": "string", - "examples": [ - "https://api.github.com/orgs/github/public_members{/member}" - ] - }, - "avatar_url": { - "type": "string", - "examples": ["https://github.com/images/error/octocat_happy.gif"] - }, - "description": { - "type": ["string", "null"], - "examples": ["A great organization"] - } - }, - "required": [ - "login", - "url", - "id", - "node_id", - "repos_url", - "events_url", - "hooks_url", - "issues_url", - "members_url", - "public_members_url", - "avatar_url", - "description" - ] - }, - "repository-webhooks": { - "title": "Repository", - "description": "The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property\nwhen the event occurs from activity in a repository.", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64", - "examples": [42] - }, - "node_id": { - "type": "string", - "examples": ["MDEwOlJlcG9zaXRvcnkxMjk2MjY5"] - }, - "name": { - "description": "The name of the repository.", - "type": "string", - "examples": ["Team Environment"] - }, - "full_name": { - "type": "string", - "examples": ["octocat/Hello-World"] - }, - "license": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/license-simple" } - ] - }, - "organization": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "forks": { "type": "integer" }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "triage": { "type": "boolean" }, - "push": { "type": "boolean" }, - "maintain": { "type": "boolean" } - }, - "required": ["admin", "pull", "push"] - }, - "owner": { "$ref": "#/components/schemas/simple-user" }, - "private": { - "description": "Whether the repository is private or public.", - "default": false, - "type": "boolean" - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": ["https://github.com/octocat/Hello-World"] - }, - "description": { - "type": ["string", "null"], - "examples": ["This your first repo!"] - }, - "fork": { "type": "boolean" }, - "url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/repos/octocat/Hello-World"] - }, - "archive_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" - ] - }, - "assignees_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" - ] - }, - "blobs_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" - ] - }, - "branches_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" - ] - }, - "collaborators_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" - ] - }, - "comments_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/comments{/number}" - ] - }, - "commits_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" - ] - }, - "compare_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" - ] - }, - "contents_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" - ] - }, - "contributors_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/contributors" - ] - }, - "deployments_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/deployments" - ] - }, - "downloads_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/downloads" - ] - }, - "events_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/events" - ] - }, - "forks_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/forks" - ] - }, - "git_commits_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" - ] - }, - "git_refs_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" - ] - }, - "git_tags_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" - ] - }, - "git_url": { - "type": "string", - "examples": ["git:github.com/octocat/Hello-World.git"] - }, - "issue_comment_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" - ] - }, - "issue_events_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" - ] - }, - "issues_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/issues{/number}" - ] - }, - "keys_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" - ] - }, - "labels_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/labels{/name}" - ] - }, - "languages_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/languages" - ] - }, - "merges_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/merges" - ] - }, - "milestones_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" - ] - }, - "notifications_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" - ] - }, - "pulls_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" - ] - }, - "releases_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/releases{/id}" - ] - }, - "ssh_url": { - "type": "string", - "examples": ["git@github.com:octocat/Hello-World.git"] - }, - "stargazers_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/stargazers" - ] - }, - "statuses_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" - ] - }, - "subscribers_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/subscribers" - ] - }, - "subscription_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/subscription" - ] - }, - "tags_url": { - "type": "string", - "format": "uri", - "examples": ["http://api.github.com/repos/octocat/Hello-World/tags"] - }, - "teams_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/teams" - ] - }, - "trees_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" - ] - }, - "clone_url": { - "type": "string", - "examples": ["https://github.com/octocat/Hello-World.git"] - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri", - "examples": ["git:git.example.com/octocat/Hello-World"] - }, - "hooks_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/hooks" - ] - }, - "svn_url": { - "type": "string", - "format": "uri", - "examples": ["https://svn.github.com/octocat/Hello-World"] - }, - "homepage": { - "type": ["string", "null"], - "format": "uri", - "examples": ["https://github.com"] - }, - "language": { "type": ["string", "null"] }, - "forks_count": { "type": "integer", "examples": [9] }, - "stargazers_count": { "type": "integer", "examples": [80] }, - "watchers_count": { "type": "integer", "examples": [80] }, - "size": { - "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", - "type": "integer", - "examples": [108] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string", - "examples": ["master"] - }, - "open_issues_count": { "type": "integer", "examples": [0] }, - "is_template": { - "description": "Whether this repository acts as a template that can be used to generate new repositories.", - "default": false, - "type": "boolean", - "examples": [true] - }, - "topics": { "type": "array", "items": { "type": "string" } }, - "custom_properties": { - "type": "object", - "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", - "additionalProperties": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "default": true, - "type": "boolean", - "examples": [true] - }, - "has_projects": { - "description": "Whether projects are enabled.", - "default": true, - "type": "boolean", - "examples": [true] - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "default": true, - "type": "boolean", - "examples": [true] - }, - "has_pages": { "type": "boolean" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "default": true, - "type": "boolean", - "examples": [true] - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "default": false, - "type": "boolean", - "examples": [true] - }, - "archived": { - "description": "Whether the repository is archived.", - "default": false, - "type": "boolean" - }, - "disabled": { - "type": "boolean", - "description": "Returns whether or not this repository disabled." - }, - "visibility": { - "description": "The repository visibility: public, private, or internal.", - "default": "public", - "type": "string" - }, - "pushed_at": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2011-01-26T19:06:43Z"] - }, - "created_at": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2011-01-26T19:01:12Z"] - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2011-01-26T19:14:43Z"] - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "default": true, - "type": "boolean", - "examples": [true] - }, - "template_repository": { - "type": ["object", "null"], - "properties": { - "id": { "type": "integer" }, - "node_id": { "type": "string" }, - "name": { "type": "string" }, - "full_name": { "type": "string" }, - "owner": { - "type": "object", - "properties": { - "login": { "type": "string" }, - "id": { "type": "integer" }, - "node_id": { "type": "string" }, - "avatar_url": { "type": "string" }, - "gravatar_id": { "type": "string" }, - "url": { "type": "string" }, - "html_url": { "type": "string" }, - "followers_url": { "type": "string" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "organizations_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "events_url": { "type": "string" }, - "received_events_url": { "type": "string" }, - "type": { "type": "string" }, - "site_admin": { "type": "boolean" } - } - }, - "private": { "type": "boolean" }, - "html_url": { "type": "string" }, - "description": { "type": "string" }, - "fork": { "type": "boolean" }, - "url": { "type": "string" }, - "archive_url": { "type": "string" }, - "assignees_url": { "type": "string" }, - "blobs_url": { "type": "string" }, - "branches_url": { "type": "string" }, - "collaborators_url": { "type": "string" }, - "comments_url": { "type": "string" }, - "commits_url": { "type": "string" }, - "compare_url": { "type": "string" }, - "contents_url": { "type": "string" }, - "contributors_url": { "type": "string" }, - "deployments_url": { "type": "string" }, - "downloads_url": { "type": "string" }, - "events_url": { "type": "string" }, - "forks_url": { "type": "string" }, - "git_commits_url": { "type": "string" }, - "git_refs_url": { "type": "string" }, - "git_tags_url": { "type": "string" }, - "git_url": { "type": "string" }, - "issue_comment_url": { "type": "string" }, - "issue_events_url": { "type": "string" }, - "issues_url": { "type": "string" }, - "keys_url": { "type": "string" }, - "labels_url": { "type": "string" }, - "languages_url": { "type": "string" }, - "merges_url": { "type": "string" }, - "milestones_url": { "type": "string" }, - "notifications_url": { "type": "string" }, - "pulls_url": { "type": "string" }, - "releases_url": { "type": "string" }, - "ssh_url": { "type": "string" }, - "stargazers_url": { "type": "string" }, - "statuses_url": { "type": "string" }, - "subscribers_url": { "type": "string" }, - "subscription_url": { "type": "string" }, - "tags_url": { "type": "string" }, - "teams_url": { "type": "string" }, - "trees_url": { "type": "string" }, - "clone_url": { "type": "string" }, - "mirror_url": { "type": "string" }, - "hooks_url": { "type": "string" }, - "svn_url": { "type": "string" }, - "homepage": { "type": "string" }, - "language": { "type": "string" }, - "forks_count": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "size": { "type": "integer" }, - "default_branch": { "type": "string" }, - "open_issues_count": { "type": "integer" }, - "is_template": { "type": "boolean" }, - "topics": { "type": "array", "items": { "type": "string" } }, - "has_issues": { "type": "boolean" }, - "has_projects": { "type": "boolean" }, - "has_wiki": { "type": "boolean" }, - "has_pages": { "type": "boolean" }, - "has_downloads": { "type": "boolean" }, - "archived": { "type": "boolean" }, - "disabled": { "type": "boolean" }, - "visibility": { "type": "string" }, - "pushed_at": { "type": "string" }, - "created_at": { "type": "string" }, - "updated_at": { "type": "string" }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" }, - "pull": { "type": "boolean" } - } - }, - "allow_rebase_merge": { "type": "boolean" }, - "temp_clone_token": { "type": "string" }, - "allow_squash_merge": { "type": "boolean" }, - "allow_auto_merge": { "type": "boolean" }, - "delete_branch_on_merge": { "type": "boolean" }, - "allow_update_branch": { "type": "boolean" }, - "use_squash_pr_title_as_default": { "type": "boolean" }, - "squash_merge_commit_title": { - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"], - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." - }, - "squash_merge_commit_message": { - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"], - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." - }, - "merge_commit_title": { - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"], - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." - }, - "merge_commit_message": { - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"], - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." - }, - "allow_merge_commit": { "type": "boolean" }, - "subscribers_count": { "type": "integer" }, - "network_count": { "type": "integer" } - } - }, - "temp_clone_token": { "type": "string" }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "default": true, - "type": "boolean", - "examples": [true] - }, - "allow_auto_merge": { - "description": "Whether to allow Auto-merge to be used on pull requests.", - "default": false, - "type": "boolean", - "examples": [false] - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "default": false, - "type": "boolean", - "examples": [false] - }, - "allow_update_branch": { - "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", - "default": false, - "type": "boolean", - "examples": [false] - }, - "use_squash_pr_title_as_default": { - "type": "boolean", - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "default": false, - "deprecated": true - }, - "squash_merge_commit_title": { - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"], - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." - }, - "squash_merge_commit_message": { - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"], - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." - }, - "merge_commit_title": { - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"], - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." - }, - "merge_commit_message": { - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"], - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "default": true, - "type": "boolean", - "examples": [true] - }, - "allow_forking": { - "description": "Whether to allow forking this repo", - "type": "boolean" - }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "default": false, - "type": "boolean" - }, - "subscribers_count": { "type": "integer" }, - "network_count": { "type": "integer" }, - "open_issues": { "type": "integer" }, - "watchers": { "type": "integer" }, - "master_branch": { "type": "string" }, - "starred_at": { - "type": "string", - "examples": ["\"2020-07-09T00:17:42Z\""] - }, - "anonymous_access_enabled": { - "type": "boolean", - "description": "Whether anonymous git access is enabled for this repository" - } - }, - "required": [ - "archive_url", - "assignees_url", - "blobs_url", - "branches_url", - "collaborators_url", - "comments_url", - "commits_url", - "compare_url", - "contents_url", - "contributors_url", - "deployments_url", - "description", - "downloads_url", - "events_url", - "fork", - "forks_url", - "full_name", - "git_commits_url", - "git_refs_url", - "git_tags_url", - "hooks_url", - "html_url", - "id", - "node_id", - "issue_comment_url", - "issue_events_url", - "issues_url", - "keys_url", - "labels_url", - "languages_url", - "merges_url", - "milestones_url", - "name", - "notifications_url", - "owner", - "private", - "pulls_url", - "releases_url", - "stargazers_url", - "statuses_url", - "subscribers_url", - "subscription_url", - "tags_url", - "teams_url", - "trees_url", - "url", - "clone_url", - "default_branch", - "forks", - "forks_count", - "git_url", - "has_downloads", - "has_issues", - "has_projects", - "has_wiki", - "has_pages", - "homepage", - "language", - "archived", - "disabled", - "mirror_url", - "open_issues", - "open_issues_count", - "license", - "pushed_at", - "size", - "ssh_url", - "stargazers_count", - "svn_url", - "watchers", - "watchers_count", - "created_at", - "updated_at" - ] - }, - "webhooks_rule": { - "title": "branch protection rule", - "description": "The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-server@3.13/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) applied to branches that match the name. Binary settings are boolean. Multi-level configurations are one of `off`, `non_admins`, or `everyone`. Actor and build lists are arrays of strings.", - "type": "object", - "properties": { - "admin_enforced": { "type": "boolean" }, - "allow_deletions_enforcement_level": { - "type": "string", - "enum": ["off", "non_admins", "everyone"] - }, - "allow_force_pushes_enforcement_level": { - "type": "string", - "enum": ["off", "non_admins", "everyone"] - }, - "authorized_actor_names": { - "type": "array", - "items": { "type": "string" } - }, - "authorized_actors_only": { "type": "boolean" }, - "authorized_dismissal_actors_only": { "type": "boolean" }, - "create_protected": { "type": "boolean" }, - "created_at": { "type": "string", "format": "date-time" }, - "dismiss_stale_reviews_on_push": { "type": "boolean" }, - "id": { "type": "integer" }, - "ignore_approvals_from_contributors": { "type": "boolean" }, - "linear_history_requirement_enforcement_level": { - "type": "string", - "enum": ["off", "non_admins", "everyone"] - }, - "merge_queue_enforcement_level": { - "type": "string", - "enum": ["off", "non_admins", "everyone"] - }, - "name": { "type": "string" }, - "pull_request_reviews_enforcement_level": { - "type": "string", - "enum": ["off", "non_admins", "everyone"] - }, - "repository_id": { "type": "integer" }, - "require_code_owner_review": { "type": "boolean" }, - "require_last_push_approval": { - "description": "Whether the most recent push must be approved by someone other than the person who pushed it", - "type": "boolean" - }, - "required_approving_review_count": { "type": "integer" }, - "required_conversation_resolution_level": { - "type": "string", - "enum": ["off", "non_admins", "everyone"] - }, - "required_deployments_enforcement_level": { - "type": "string", - "enum": ["off", "non_admins", "everyone"] - }, - "required_status_checks": { - "type": "array", - "items": { "type": "string" } - }, - "required_status_checks_enforcement_level": { - "type": "string", - "enum": ["off", "non_admins", "everyone"] - }, - "signature_requirement_enforcement_level": { - "type": "string", - "enum": ["off", "non_admins", "everyone"] - }, - "strict_required_status_checks_policy": { "type": "boolean" }, - "updated_at": { "type": "string", "format": "date-time" } - }, - "required": [ - "id", - "repository_id", - "name", - "created_at", - "updated_at", - "pull_request_reviews_enforcement_level", - "required_approving_review_count", - "dismiss_stale_reviews_on_push", - "require_code_owner_review", - "authorized_dismissal_actors_only", - "ignore_approvals_from_contributors", - "required_status_checks", - "required_status_checks_enforcement_level", - "strict_required_status_checks_policy", - "signature_requirement_enforcement_level", - "linear_history_requirement_enforcement_level", - "lock_branch_enforcement_level", - "admin_enforced", - "allow_force_pushes_enforcement_level", - "allow_deletions_enforcement_level", - "merge_queue_enforcement_level", - "required_deployments_enforcement_level", - "required_conversation_resolution_level", - "authorized_actors_only", - "authorized_actor_names" - ] - }, - "simple-check-suite": { - "description": "A suite of checks performed on the code of a given code change", - "type": "object", - "properties": { - "after": { - "type": ["string", "null"], - "examples": ["d6fde92930d4715a2b49857d24b940956b26d2d3"] - }, - "app": { "$ref": "#/components/schemas/integration" }, - "before": { - "type": ["string", "null"], - "examples": ["146e867f55c26428e5f9fade55a9bbf5e95a7912"] - }, - "conclusion": { - "type": ["string", "null"], - "enum": [ - "success", - "failure", - "neutral", - "cancelled", - "skipped", - "timed_out", - "action_required", - "stale", - "startup_failure", - null - ], - "examples": ["neutral"] - }, - "created_at": { "type": "string", "format": "date-time" }, - "head_branch": { "type": ["string", "null"], "examples": ["master"] }, - "head_sha": { - "description": "The SHA of the head commit that is being checked.", - "type": "string", - "examples": ["009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d"] - }, - "id": { "type": "integer", "examples": [5] }, - "node_id": { "type": "string", "examples": ["MDEwOkNoZWNrU3VpdGU1"] }, - "pull_requests": { - "type": "array", - "items": { "$ref": "#/components/schemas/pull-request-minimal" } - }, - "repository": { "$ref": "#/components/schemas/minimal-repository" }, - "status": { - "type": "string", - "enum": [ - "queued", - "in_progress", - "completed", - "pending", - "waiting" - ], - "examples": ["completed"] - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { - "type": "string", - "examples": [ - "https://api.github.com/repos/github/hello-world/check-suites/5" - ] - } - } - }, - "check-run-with-simple-check-suite": { - "title": "CheckRun", - "description": "A check performed on the code of a given code change", - "type": "object", - "properties": { - "app": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/integration" } - ] - }, - "check_suite": { "$ref": "#/components/schemas/simple-check-suite" }, - "completed_at": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2018-05-04T01:14:52Z"] - }, - "conclusion": { - "type": ["string", "null"], - "enum": [ - "waiting", - "pending", - "startup_failure", - "stale", - "success", - "failure", - "neutral", - "cancelled", - "skipped", - "timed_out", - "action_required", - null - ], - "examples": ["neutral"] - }, - "deployment": { "$ref": "#/components/schemas/deployment-simple" }, - "details_url": { - "type": "string", - "examples": ["https://example.com"] - }, - "external_id": { "type": "string", "examples": ["42"] }, - "head_sha": { - "description": "The SHA of the commit that is being checked.", - "type": "string", - "examples": ["009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d"] - }, - "html_url": { - "type": "string", - "examples": ["https://github.com/github/hello-world/runs/4"] - }, - "id": { - "description": "The id of the check.", - "type": "integer", - "examples": [21] - }, - "name": { - "description": "The name of the check.", - "type": "string", - "examples": ["test-coverage"] - }, - "node_id": { "type": "string", "examples": ["MDg6Q2hlY2tSdW40"] }, - "output": { - "type": "object", - "properties": { - "annotations_count": { "type": "integer" }, - "annotations_url": { "type": "string", "format": "uri" }, - "summary": { "type": ["string", "null"] }, - "text": { "type": ["string", "null"] }, - "title": { "type": ["string", "null"] } - }, - "required": [ - "title", - "summary", - "text", - "annotations_count", - "annotations_url" - ] - }, - "pull_requests": { - "type": "array", - "items": { "$ref": "#/components/schemas/pull-request-minimal" } - }, - "started_at": { - "type": "string", - "format": "date-time", - "examples": ["2018-05-04T01:14:52Z"] - }, - "status": { - "description": "The phase of the lifecycle that the check is currently in.", - "type": "string", - "enum": ["queued", "in_progress", "completed", "pending"], - "examples": ["queued"] - }, - "url": { - "type": "string", - "examples": [ - "https://api.github.com/repos/github/hello-world/check-runs/4" - ] - } - }, - "required": [ - "id", - "node_id", - "head_sha", - "name", - "url", - "html_url", - "details_url", - "status", - "conclusion", - "started_at", - "completed_at", - "external_id", - "check_suite", - "output", - "app", - "pull_requests" - ] - }, - "webhooks_code_scanning_commit_oid": { - "description": "The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty.", - "type": "string" - }, - "webhooks_code_scanning_ref": { - "description": "The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty.", - "type": "string" - }, - "webhooks_deploy_pusher_type": { - "description": "The pusher type for the event. Can be either `user` or a deploy key.", - "type": "string" - }, - "webhooks_ref_0": { - "description": "The [`git ref`](https://docs.github.com/enterprise-server@3.13/rest/git/refs#get-a-reference) resource.", - "type": "string" - }, - "webhooks_deploy_key": { - "description": "The [`deploy key`](https://docs.github.com/enterprise-server@3.13/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource.", - "type": "object", - "properties": { - "added_by": { "type": ["string", "null"] }, - "created_at": { "type": "string" }, - "id": { "type": "integer" }, - "key": { "type": "string" }, - "last_used": { "type": ["string", "null"] }, - "read_only": { "type": "boolean" }, - "title": { "type": "string" }, - "url": { "type": "string", "format": "uri" }, - "verified": { "type": "boolean" } - }, - "required": [ - "id", - "key", - "url", - "title", - "verified", - "created_at", - "read_only" - ] - }, - "webhooks_workflow": { - "title": "Workflow", - "type": ["object", "null"], - "properties": { - "badge_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "path": { "type": "string" }, - "state": { "type": "string" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "badge_url", - "created_at", - "html_url", - "id", - "name", - "node_id", - "path", - "state", - "updated_at", - "url" - ] - }, - "webhooks_approver": { - "type": "object", - "properties": { - "avatar_url": { "type": "string" }, - "events_url": { "type": "string" }, - "followers_url": { "type": "string" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string" }, - "received_events_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string" }, - "user_view_type": { "type": "string" } - } - }, - "webhooks_reviewers": { - "type": "array", - "items": { - "type": "object", - "properties": { - "reviewer": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["login", "id"] - }, - "type": { "type": "string", "enum": ["User"] } - } - } - }, - "webhooks_workflow_job_run": { - "type": "object", - "properties": { - "conclusion": { "type": ["null"] }, - "created_at": { "type": "string" }, - "environment": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "name": { "type": ["null"] }, - "status": { "type": "string" }, - "updated_at": { "type": "string" } - }, - "required": [ - "id", - "name", - "status", - "conclusion", - "html_url", - "created_at", - "updated_at", - "environment" - ] - }, - "webhooks_user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { "type": "string", "enum": ["Bot", "User", "Organization"] }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "webhooks_answer": { - "type": "object", - "properties": { - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { "type": "string" }, - "child_comment_count": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "discussion_id": { "type": "integer" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "node_id": { "type": "string" }, - "parent_id": { "type": ["null"] }, - "reactions": { - "title": "Reactions", - "type": "object", - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] - }, - "repository_url": { "type": "string" }, - "updated_at": { "type": "string", "format": "date-time" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "id", - "node_id", - "html_url", - "parent_id", - "child_comment_count", - "repository_url", - "discussion_id", - "author_association", - "user", - "created_at", - "updated_at", - "body" - ] - }, - "discussion": { - "title": "Discussion", - "description": "A Discussion in a repository.", - "type": "object", - "properties": { - "active_lock_reason": { "type": ["string", "null"] }, - "answer_chosen_at": { "type": ["string", "null"] }, - "answer_chosen_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "answer_html_url": { "type": ["string", "null"] }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { "type": "string" }, - "category": { - "type": "object", - "properties": { - "created_at": { "type": "string", "format": "date-time" }, - "description": { "type": "string" }, - "emoji": { "type": "string" }, - "id": { "type": "integer" }, - "is_answerable": { "type": "boolean" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "repository_id": { "type": "integer" }, - "slug": { "type": "string" }, - "updated_at": { "type": "string" } - }, - "required": [ - "id", - "repository_id", - "emoji", - "name", - "description", - "created_at", - "updated_at", - "slug", - "is_answerable" - ] - }, - "comments": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "locked": { "type": "boolean" }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "reactions": { - "title": "Reactions", - "type": "object", - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] - }, - "repository_url": { "type": "string" }, - "state": { - "type": "string", - "description": "The current state of the discussion.\n`converting` means that the discussion is being converted from an issue.\n`transferring` means that the discussion is being transferred from another repository.", - "enum": ["open", "closed", "locked", "converting", "transferring"] - }, - "state_reason": { - "description": "The reason for the current state", - "type": ["string", "null"], - "enum": ["resolved", "outdated", "duplicate", "reopened", null], - "examples": ["resolved"] - }, - "timeline_url": { "type": "string" }, - "title": { "type": "string" }, - "updated_at": { "type": "string", "format": "date-time" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "labels": { - "type": "array", - "items": { "$ref": "#/components/schemas/label" } - } - }, - "required": [ - "repository_url", - "category", - "answer_html_url", - "answer_chosen_at", - "answer_chosen_by", - "html_url", - "id", - "node_id", - "number", - "title", - "user", - "state", - "state_reason", - "locked", - "comments", - "created_at", - "updated_at", - "author_association", - "active_lock_reason", - "body" - ] - }, - "webhooks_comment": { - "type": "object", - "properties": { - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { "type": "string" }, - "child_comment_count": { "type": "integer" }, - "created_at": { "type": "string" }, - "discussion_id": { "type": "integer" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "node_id": { "type": "string" }, - "parent_id": { "type": ["integer", "null"] }, - "reactions": { - "title": "Reactions", - "type": "object", - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] - }, - "repository_url": { "type": "string" }, - "updated_at": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "id", - "node_id", - "html_url", - "parent_id", - "child_comment_count", - "repository_url", - "discussion_id", - "author_association", - "user", - "created_at", - "updated_at", - "body", - "reactions" - ] - }, - "webhooks_label": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { "description": "The name of the label.", "type": "string" }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - }, - "webhooks_repositories": { - "description": "An array of repository objects that the installation can access.", - "type": "array", - "items": { - "type": "object", - "properties": { - "full_name": { "type": "string" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - } - }, - "required": ["id", "node_id", "name", "full_name", "private"] - } - }, - "webhooks_repositories_added": { - "description": "An array of repository objects, which were added to the installation.", - "type": "array", - "items": { - "type": "object", - "properties": { - "full_name": { "type": "string" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - } - }, - "required": ["id", "node_id", "name", "full_name", "private"] - } - }, - "webhooks_repository_selection": { - "description": "Describe whether all repositories have been selected or there's a selection involved", - "type": "string", - "enum": ["all", "selected"] - }, - "webhooks_issue_comment": { - "title": "issue comment", - "description": "The [comment](https://docs.github.com/enterprise-server@3.13/rest/issues/comments#get-an-issue-comment) itself.", - "type": "object", - "properties": { - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { - "description": "Contents of the issue comment", - "type": "string" - }, - "created_at": { "type": "string", "format": "date-time" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the issue comment", - "type": "integer", - "format": "int64" - }, - "issue_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "performed_via_github_app": { - "$ref": "#/components/schemas/integration" - }, - "reactions": { - "title": "Reactions", - "type": "object", - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { - "description": "URL for the issue comment", - "type": "string", - "format": "uri" - }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "html_url", - "issue_url", - "id", - "node_id", - "user", - "created_at", - "updated_at", - "author_association", - "performed_via_github_app", - "body", - "reactions" - ] - }, - "webhooks_changes": { - "description": "The changes to the comment.", - "type": "object", - "properties": { - "body": { - "type": "object", - "properties": { - "from": { - "description": "The previous version of the body.", - "type": "string" - } - }, - "required": ["from"] - } - } - }, - "webhooks_issue": { - "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-server@3.13/rest/issues/issues#get-an-issue) itself.", - "type": "object", - "properties": { - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { - "description": "Contents of the issue", - "type": ["string", "null"] - }, - "closed_at": { "type": ["string", "null"], "format": "date-time" }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "draft": { "type": "boolean" }, - "events_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "labels_url": { "type": "string", "format": "uri-template" }, - "locked": { "type": "boolean" }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { "type": ["string", "null"], "format": "date-time" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "performed_via_github_app": { - "title": "App", - "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", - "type": ["object", "null"], - "properties": { - "created_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "description": { "type": ["string", "null"] }, - "events": { - "description": "The list of events for the GitHub app", - "type": "array", - "items": { - "type": "string", - "enum": [ - "branch_protection_rule", - "check_run", - "check_suite", - "code_scanning_alert", - "commit_comment", - "content_reference", - "create", - "delete", - "deployment", - "deployment_review", - "deployment_status", - "deploy_key", - "discussion", - "discussion_comment", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "org_block", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "registry_package", - "release", - "repository", - "repository_dispatch", - "secret_scanning_alert", - "star", - "status", - "team", - "team_add", - "watch", - "workflow_dispatch", - "workflow_run", - "reminder", - "pull_request_review_thread" - ] - } - }, - "external_url": { "type": ["string", "null"], "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the GitHub app", - "type": ["integer", "null"] - }, - "name": { - "description": "The name of the GitHub app", - "type": "string" - }, - "node_id": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "description": "The set of permissions for the GitHub app", - "type": "object", - "properties": { - "actions": { "type": "string", "enum": ["read", "write"] }, - "administration": { - "type": "string", - "enum": ["read", "write"] - }, - "checks": { "type": "string", "enum": ["read", "write"] }, - "content_references": { - "type": "string", - "enum": ["read", "write"] - }, - "contents": { "type": "string", "enum": ["read", "write"] }, - "deployments": { - "type": "string", - "enum": ["read", "write"] - }, - "discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "emails": { "type": "string", "enum": ["read", "write"] }, - "environments": { - "type": "string", - "enum": ["read", "write"] - }, - "issues": { "type": "string", "enum": ["read", "write"] }, - "keys": { "type": "string", "enum": ["read", "write"] }, - "members": { "type": "string", "enum": ["read", "write"] }, - "metadata": { "type": "string", "enum": ["read", "write"] }, - "organization_administration": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_packages": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_plan": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_projects": { - "type": "string", - "enum": ["read", "write", "admin"] - }, - "organization_secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_self_hosted_runners": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_user_blocking": { - "type": "string", - "enum": ["read", "write"] - }, - "packages": { "type": "string", "enum": ["read", "write"] }, - "pages": { "type": "string", "enum": ["read", "write"] }, - "pull_requests": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "secret_scanning_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "secrets": { "type": "string", "enum": ["read", "write"] }, - "security_events": { - "type": "string", - "enum": ["read", "write"] - }, - "security_scanning_alert": { - "type": "string", - "enum": ["read", "write"] - }, - "single_file": { - "type": "string", - "enum": ["read", "write"] - }, - "statuses": { "type": "string", "enum": ["read", "write"] }, - "team_discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "vulnerability_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "workflows": { "type": "string", "enum": ["read", "write"] } - } - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string" - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time" - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ] - }, - "pull_request": { - "type": "object", - "properties": { - "diff_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "patch_url": { "type": "string", "format": "uri" }, - "url": { "type": "string", "format": "uri" } - } - }, - "reactions": { - "title": "Reactions", - "type": "object", - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] - }, - "repository_url": { "type": "string", "format": "uri" }, - "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] - }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "enum": ["open", "closed"] - }, - "state_reason": { "type": ["string", "null"] }, - "timeline_url": { "type": "string", "format": "uri" }, - "title": { "description": "Title of the issue", "type": "string" }, - "type": { "$ref": "#/components/schemas/issue-type" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { - "description": "URL for the issue", - "type": "string", - "format": "uri" - }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "repository_url", - "labels_url", - "comments_url", - "events_url", - "html_url", - "id", - "node_id", - "number", - "title", - "user", - "assignees", - "milestone", - "comments", - "created_at", - "updated_at", - "closed_at", - "author_association", - "active_lock_reason", - "body", - "reactions" - ] - }, - "webhooks_milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": "object", - "properties": { - "closed_at": { "type": ["string", "null"], "format": "date-time" }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { "type": ["string", "null"], "format": "date-time" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "webhooks_issue_2": { - "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-server@3.13/rest/issues/issues#get-an-issue) itself.", - "type": "object", - "properties": { - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { - "description": "Contents of the issue", - "type": ["string", "null"] - }, - "closed_at": { "type": ["string", "null"], "format": "date-time" }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "draft": { "type": "boolean" }, - "events_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "labels_url": { "type": "string", "format": "uri-template" }, - "locked": { "type": "boolean" }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { "type": ["string", "null"], "format": "date-time" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "performed_via_github_app": { - "title": "App", - "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", - "type": ["object", "null"], - "properties": { - "created_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "description": { "type": ["string", "null"] }, - "events": { - "description": "The list of events for the GitHub app", - "type": "array", - "items": { - "type": "string", - "enum": [ - "branch_protection_rule", - "check_run", - "check_suite", - "code_scanning_alert", - "commit_comment", - "content_reference", - "create", - "delete", - "deployment", - "deployment_review", - "deployment_status", - "deploy_key", - "discussion", - "discussion_comment", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "org_block", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "registry_package", - "release", - "repository", - "repository_dispatch", - "secret_scanning_alert", - "star", - "status", - "team", - "team_add", - "watch", - "workflow_dispatch", - "workflow_run" - ] - } - }, - "external_url": { "type": ["string", "null"], "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the GitHub app", - "type": ["integer", "null"] - }, - "name": { - "description": "The name of the GitHub app", - "type": "string" - }, - "node_id": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "description": "The set of permissions for the GitHub app", - "type": "object", - "properties": { - "actions": { "type": "string", "enum": ["read", "write"] }, - "administration": { - "type": "string", - "enum": ["read", "write"] - }, - "checks": { "type": "string", "enum": ["read", "write"] }, - "content_references": { - "type": "string", - "enum": ["read", "write"] - }, - "contents": { "type": "string", "enum": ["read", "write"] }, - "deployments": { - "type": "string", - "enum": ["read", "write"] - }, - "discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "emails": { "type": "string", "enum": ["read", "write"] }, - "environments": { - "type": "string", - "enum": ["read", "write"] - }, - "issues": { "type": "string", "enum": ["read", "write"] }, - "keys": { "type": "string", "enum": ["read", "write"] }, - "members": { "type": "string", "enum": ["read", "write"] }, - "metadata": { "type": "string", "enum": ["read", "write"] }, - "organization_administration": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_packages": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_plan": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_self_hosted_runners": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_user_blocking": { - "type": "string", - "enum": ["read", "write"] - }, - "packages": { "type": "string", "enum": ["read", "write"] }, - "pages": { "type": "string", "enum": ["read", "write"] }, - "pull_requests": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "secret_scanning_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "secrets": { "type": "string", "enum": ["read", "write"] }, - "security_events": { - "type": "string", - "enum": ["read", "write"] - }, - "security_scanning_alert": { - "type": "string", - "enum": ["read", "write"] - }, - "single_file": { - "type": "string", - "enum": ["read", "write"] - }, - "statuses": { "type": "string", "enum": ["read", "write"] }, - "team_discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "vulnerability_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "workflows": { "type": "string", "enum": ["read", "write"] } - } - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string" - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time" - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ] - }, - "pull_request": { - "type": "object", - "properties": { - "diff_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "patch_url": { "type": "string", "format": "uri" }, - "url": { "type": "string", "format": "uri" } - } - }, - "reactions": { - "title": "Reactions", - "type": "object", - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] - }, - "repository_url": { "type": "string", "format": "uri" }, - "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] - }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "enum": ["open", "closed"] - }, - "state_reason": { "type": ["string", "null"] }, - "timeline_url": { "type": "string", "format": "uri" }, - "title": { "description": "Title of the issue", "type": "string" }, - "type": { "$ref": "#/components/schemas/issue-type" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { - "description": "URL for the issue", - "type": "string", - "format": "uri" - }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "repository_url", - "labels_url", - "comments_url", - "events_url", - "html_url", - "id", - "node_id", - "number", - "title", - "user", - "assignees", - "milestone", - "comments", - "created_at", - "updated_at", - "closed_at", - "author_association", - "active_lock_reason", - "body", - "reactions" - ] - }, - "webhooks_user_mannequin": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "webhooks_team": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { "type": "string", "format": "uri-template" }, - "name": { "description": "Name of the team", "type": "string" }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { "type": "string", "format": "uri-template" }, - "name": { "description": "Name of the team", "type": "string" }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "notification_setting": { - "description": "Whether team members will receive notifications when their team is @mentioned", - "type": "string", - "enum": ["notifications_enabled", "notifications_disabled"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "notification_setting", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { "type": "string", "enum": ["open", "closed", "secret"] }, - "notification_setting": { - "type": "string", - "enum": ["notifications_enabled", "notifications_disabled"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - }, - "webhooks_milestone_3": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": "object", - "properties": { - "closed_at": { "type": ["string", "null"], "format": "date-time" }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { "type": ["string", "null"], "format": "date-time" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "webhooks_membership": { - "title": "Membership", - "description": "The membership between the user and the organization. Not present when the action is `member_invited`.", - "type": "object", - "properties": { - "organization_url": { "type": "string", "format": "uri" }, - "role": { "type": "string" }, - "state": { "type": "string" }, - "url": { "type": "string", "format": "uri" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["url", "state", "role", "organization_url", "user"] - }, - "personal-access-token-request": { - "title": "Personal Access Token Request", - "description": "Details of a Personal Access Token Request.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "Unique identifier of the request for access via fine-grained personal access token. Used as the `pat_request_id` parameter in the list and review API calls." - }, - "owner": { "$ref": "#/components/schemas/simple-user" }, - "permissions_added": { - "type": "object", - "description": "New requested permissions, categorized by type of permission.", - "properties": { - "organization": { - "type": "object", - "additionalProperties": { "type": "string" } - }, - "repository": { - "type": "object", - "additionalProperties": { "type": "string" } - }, - "other": { - "type": "object", - "additionalProperties": { "type": "string" } - } - } - }, - "permissions_upgraded": { - "type": "object", - "description": "Requested permissions that elevate access for a previously approved request for access, categorized by type of permission.", - "properties": { - "organization": { - "type": "object", - "additionalProperties": { "type": "string" } - }, - "repository": { - "type": "object", - "additionalProperties": { "type": "string" } - }, - "other": { - "type": "object", - "additionalProperties": { "type": "string" } - } - } - }, - "permissions_result": { - "type": "object", - "description": "Permissions requested, categorized by type of permission. This field incorporates `permissions_added` and `permissions_upgraded`.", - "properties": { - "organization": { - "type": "object", - "additionalProperties": { "type": "string" } - }, - "repository": { - "type": "object", - "additionalProperties": { "type": "string" } - }, - "other": { - "type": "object", - "additionalProperties": { "type": "string" } - } - } - }, - "repository_selection": { - "type": "string", - "description": "Type of repository selection requested.", - "enum": ["none", "all", "subset"] - }, - "repository_count": { - "description": "The number of repositories the token is requesting access to. This field is only populated when `repository_selection` is `subset`.", - "type": ["integer", "null"] - }, - "repositories": { - "type": ["array", "null"], - "description": "An array of repository objects the token is requesting access to. This field is only populated when `repository_selection` is `subset`.", - "items": { - "type": "object", - "properties": { - "full_name": { "type": "string" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - } - }, - "required": ["id", "node_id", "name", "full_name", "private"] - } - }, - "created_at": { - "type": "string", - "description": "Date and time when the request for access was created." - }, - "token_id": { - "type": "integer", - "description": "Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants." - }, - "token_name": { - "type": "string", - "description": "The name given to the user's token. This field can also be found in an organization's settings page for Active Tokens." - }, - "token_expired": { - "type": "boolean", - "description": "Whether the associated fine-grained personal access token has expired." - }, - "token_expires_at": { - "type": ["string", "null"], - "description": "Date and time when the associated fine-grained personal access token expires." - }, - "token_last_used_at": { - "type": ["string", "null"], - "description": "Date and time when the associated fine-grained personal access token was last used for authentication." - } - }, - "required": [ - "id", - "owner", - "permissions_added", - "permissions_upgraded", - "permissions_result", - "repository_selection", - "repository_count", - "repositories", - "created_at", - "token_id", - "token_name", - "token_expired", - "token_expires_at", - "token_last_used_at" - ] - }, - "webhooks_project_card": { - "title": "Project Card", - "type": "object", - "properties": { - "after_id": { "type": ["integer", "null"] }, - "archived": { - "description": "Whether or not the card is archived", - "type": "boolean" - }, - "column_id": { "type": "integer" }, - "column_url": { "type": "string", "format": "uri" }, - "content_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "id": { "description": "The project card's ID", "type": "integer" }, - "node_id": { "type": "string" }, - "note": { "type": ["string", "null"] }, - "project_url": { "type": "string", "format": "uri" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "project_url", - "column_url", - "column_id", - "id", - "node_id", - "note", - "archived", - "creator", - "created_at", - "updated_at" - ] - }, - "webhooks_project": { - "title": "Project", - "type": "object", - "properties": { - "body": { - "description": "Body of the project", - "type": ["string", "null"] - }, - "columns_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "name": { "description": "Name of the project", "type": "string" }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "owner_url": { "type": "string", "format": "uri" }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "type": "string", - "enum": ["open", "closed"] - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "owner_url", - "url", - "html_url", - "columns_url", - "id", - "node_id", - "name", - "body", - "number", - "state", - "creator", - "created_at", - "updated_at" - ] - }, - "webhooks_project_column": { - "title": "Project Column", - "type": "object", - "properties": { - "after_id": { "type": ["integer", "null"] }, - "cards_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "id": { - "description": "The unique identifier of the project column", - "type": "integer" - }, - "name": { - "description": "Name of the project column", - "type": "string" - }, - "node_id": { "type": "string" }, - "project_url": { "type": "string", "format": "uri" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "project_url", - "cards_url", - "id", - "node_id", - "name", - "created_at", - "updated_at" - ] - }, - "projects-v2": { - "title": "Projects v2 Project", - "description": "A projects v2 project", - "type": "object", - "properties": { - "id": { "type": "number" }, - "node_id": { "type": "string" }, - "owner": { "$ref": "#/components/schemas/simple-user" }, - "creator": { "$ref": "#/components/schemas/simple-user" }, - "title": { "type": "string" }, - "description": { "type": ["string", "null"] }, - "public": { "type": "boolean" }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2022-04-28T12:00:00Z"] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": ["2022-04-28T12:00:00Z"] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": ["2022-04-28T12:00:00Z"] - }, - "number": { "type": "integer" }, - "short_description": { "type": ["string", "null"] }, - "deleted_at": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2022-04-28T12:00:00Z"] - }, - "deleted_by": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - } - }, - "required": [ - "id", - "node_id", - "owner", - "creator", - "title", - "description", - "public", - "closed_at", - "created_at", - "updated_at", - "number", - "short_description", - "deleted_at", - "deleted_by" - ] - }, - "webhooks_project_changes": { - "type": "object", - "properties": { - "archived_at": { - "type": "object", - "properties": { - "from": { "type": ["string", "null"], "format": "date-time" }, - "to": { "type": ["string", "null"], "format": "date-time" } - } - } - } - }, - "projects-v2-item-content-type": { - "title": "Projects v2 Item Content Type", - "description": "The type of content tracked in a project item", - "type": "string", - "enum": ["Issue", "PullRequest", "DraftIssue"] - }, - "projects-v2-item": { - "title": "Projects v2 Item", - "description": "An item belonging to a project", - "type": "object", - "properties": { - "id": { "type": "number" }, - "node_id": { "type": "string" }, - "project_node_id": { "type": "string" }, - "content_node_id": { "type": "string" }, - "content_type": { - "$ref": "#/components/schemas/projects-v2-item-content-type" - }, - "creator": { "$ref": "#/components/schemas/simple-user" }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": ["2022-04-28T12:00:00Z"] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": ["2022-04-28T12:00:00Z"] - }, - "archived_at": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2022-04-28T12:00:00Z"] - } - }, - "required": [ - "id", - "content_node_id", - "content_type", - "created_at", - "updated_at", - "archived_at" - ] - }, - "webhooks_number": { - "description": "The pull request number.", - "type": "integer" - }, - "pull-request-webhook": { - "allOf": [ - { "$ref": "#/components/schemas/pull-request" }, - { - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_update_branch": { - "description": "Whether to allow updating the pull request's branch.", - "type": "boolean" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged.", - "type": "boolean", - "default": false - }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., \"Merge pull request #123 from branch-name\").", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.**", - "type": "boolean", - "default": false - } - } - } - ] - }, - "webhooks_pull_request_5": { - "title": "Pull Request", - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "commits": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "issue": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comment": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "self": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "statuses": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - } - }, - "required": [ - "self", - "html", - "issue", - "comments", - "review_comments", - "review_comment", - "commits", - "statuses" - ] - }, - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "additions": { "type": "integer" }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "auto_merge": { - "title": "PullRequestAutoMerge", - "description": "The status of auto merging a pull request.", - "type": ["object", "null"], - "properties": { - "commit_message": { - "description": "Commit message for the merge commit.", - "type": ["string", "null"] - }, - "commit_title": { - "description": "Title for the merge commit message.", - "type": ["string", "null"] - }, - "enabled_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "merge_method": { - "description": "The merge method to use.", - "type": "string", - "enum": ["merge", "squash", "rebase"] - } - }, - "required": [ - "enabled_by", - "merge_method", - "commit_title", - "commit_message" - ] - }, - "base": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { "type": "string", "format": "uri-template" }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { "type": "string", "format": "uri-template" }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { "type": "string", "format": "uri-template" }, - "compare_url": { "type": "string", "format": "uri-template" }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { "type": "string", "format": "uri-template" }, - "keys_url": { "type": "string", "format": "uri-template" }, - "labels_url": { "type": "string", "format": "uri-template" }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { "type": ["string", "null"], "format": "uri" }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { "type": "string", "format": "uri-template" }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { "type": "array", "items": { "type": "string" } }, - "trees_url": { "type": "string", "format": "uri-template" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "body": { "type": ["string", "null"] }, - "changed_files": { "type": "integer" }, - "closed_at": { "type": ["string", "null"], "format": "date-time" }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "commits": { "type": "integer" }, - "commits_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "deletions": { "type": "integer" }, - "diff_url": { "type": "string", "format": "uri" }, - "draft": { - "description": "Indicates whether or not the pull request is a draft.", - "type": "boolean" - }, - "head": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { "type": "string", "format": "uri-template" }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { "type": "string", "format": "uri-template" }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { "type": "string", "format": "uri-template" }, - "compare_url": { "type": "string", "format": "uri-template" }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { "type": "string", "format": "uri-template" }, - "keys_url": { "type": "string", "format": "uri-template" }, - "labels_url": { "type": "string", "format": "uri-template" }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { "type": ["string", "null"], "format": "uri" }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { "type": "string", "format": "uri-template" }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { "type": "array", "items": { "type": "string" } }, - "trees_url": { "type": "string", "format": "uri-template" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "issue_url": { "type": "string", "format": "uri" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "locked": { "type": "boolean" }, - "maintainer_can_modify": { - "description": "Indicates whether maintainers can modify the pull request.", - "type": "boolean" - }, - "merge_commit_sha": { "type": ["string", "null"] }, - "mergeable": { "type": ["boolean", "null"] }, - "mergeable_state": { "type": "string" }, - "merged": { "type": ["boolean", "null"] }, - "merged_at": { "type": ["string", "null"], "format": "date-time" }, - "merged_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { "type": ["string", "null"], "format": "date-time" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { - "description": "Number uniquely identifying the pull request within its repository.", - "type": "integer" - }, - "patch_url": { "type": "string", "format": "uri" }, - "rebaseable": { "type": ["boolean", "null"] }, - "requested_reviewers": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["login", "id"] - }, - { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - } - ] - } - }, - "requested_teams": { - "type": "array", - "items": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { "type": "string", "format": "uri-template" }, - "name": { "description": "Name of the team", "type": "string" }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - } - }, - "review_comment_url": { "type": "string", "format": "uri-template" }, - "review_comments": { "type": "integer" }, - "review_comments_url": { "type": "string", "format": "uri" }, - "state": { - "description": "State of this Pull Request. Either `open` or `closed`.", - "type": "string", - "enum": ["open", "closed"] - }, - "statuses_url": { "type": "string", "format": "uri" }, - "title": { - "description": "The title of the pull request.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "id", - "node_id", - "html_url", - "diff_url", - "patch_url", - "issue_url", - "number", - "state", - "locked", - "title", - "user", - "body", - "created_at", - "updated_at", - "closed_at", - "merged_at", - "merge_commit_sha", - "assignee", - "assignees", - "requested_reviewers", - "requested_teams", - "labels", - "milestone", - "commits_url", - "review_comments_url", - "review_comment_url", - "comments_url", - "statuses_url", - "head", - "base", - "_links", - "author_association", - "auto_merge", - "active_lock_reason", - "draft" - ] - }, - "webhooks_review_comment": { - "title": "Pull Request Review Comment", - "description": "The [comment](https://docs.github.com/enterprise-server@3.13/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself.", - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "pull_request": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "self": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - } - }, - "required": ["self", "html", "pull_request"] - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { - "description": "The text of the comment.", - "type": "string" - }, - "commit_id": { - "description": "The SHA of the commit to which the comment applies.", - "type": "string" - }, - "created_at": { "type": "string", "format": "date-time" }, - "diff_hunk": { - "description": "The diff of the line that the comment refers to.", - "type": "string" - }, - "html_url": { - "description": "HTML URL for the pull request review comment.", - "type": "string", - "format": "uri" - }, - "id": { - "description": "The ID of the pull request review comment.", - "type": "integer" - }, - "in_reply_to_id": { - "description": "The comment ID to reply to.", - "type": "integer" - }, - "line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "type": ["integer", "null"] - }, - "node_id": { - "description": "The node ID of the pull request review comment.", - "type": "string" - }, - "original_commit_id": { - "description": "The SHA of the original commit to which the comment applies.", - "type": "string" - }, - "original_line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "type": "integer" - }, - "original_position": { - "description": "The index of the original line in the diff to which the comment applies.", - "type": "integer" - }, - "original_start_line": { - "description": "The first line of the range for a multi-line comment.", - "type": ["integer", "null"] - }, - "path": { - "description": "The relative path of the file to which the comment applies.", - "type": "string" - }, - "position": { - "description": "The line index in the diff to which the comment applies.", - "type": ["integer", "null"] - }, - "pull_request_review_id": { - "description": "The ID of the pull request review to which the comment belongs.", - "type": ["integer", "null"] - }, - "pull_request_url": { - "description": "URL for the pull request that the review comment belongs to.", - "type": "string", - "format": "uri" - }, - "reactions": { - "title": "Reactions", - "type": "object", - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] - }, - "side": { - "description": "The side of the first line of the range for a multi-line comment.", - "type": "string", - "enum": ["LEFT", "RIGHT"] - }, - "start_line": { - "description": "The first line of the range for a multi-line comment.", - "type": ["integer", "null"] - }, - "start_side": { - "description": "The side of the first line of the range for a multi-line comment.", - "type": ["string", "null"], - "enum": ["LEFT", "RIGHT", null], - "default": "RIGHT" - }, - "subject_type": { - "description": "The level at which the comment is targeted, can be a diff line or a file.", - "type": "string", - "enum": ["line", "file"] - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { - "description": "URL for the pull request review comment", - "type": "string", - "format": "uri" - }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "pull_request_review_id", - "id", - "node_id", - "diff_hunk", - "path", - "position", - "original_position", - "commit_id", - "original_commit_id", - "user", - "body", - "created_at", - "updated_at", - "html_url", - "pull_request_url", - "author_association", - "_links", - "start_line", - "original_start_line", - "original_line", - "line", - "start_side", - "side", - "reactions" - ] - }, - "webhooks_review": { - "description": "The review that was affected.", - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "pull_request": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - } - }, - "required": ["html", "pull_request"] - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { - "description": "The text of the review.", - "type": ["string", "null"] - }, - "commit_id": { - "description": "A commit SHA for the review.", - "type": "string" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the review", - "type": "integer" - }, - "node_id": { "type": "string" }, - "pull_request_url": { "type": "string", "format": "uri" }, - "state": { "type": "string" }, - "submitted_at": { "type": ["string", "null"], "format": "date-time" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "id", - "node_id", - "user", - "body", - "commit_id", - "submitted_at", - "state", - "html_url", - "pull_request_url", - "author_association", - "_links" - ] - }, - "webhooks_nullable_string": { "type": ["string", "null"] }, - "webhooks_release": { - "title": "Release", - "description": "The [release](https://docs.github.com/enterprise-server@3.13/rest/releases/releases/#get-a-release) object.", - "type": "object", - "properties": { - "assets": { - "type": "array", - "items": { - "title": "Release Asset", - "description": "Data related to a release.", - "type": "object", - "properties": { - "browser_download_url": { "type": "string", "format": "uri" }, - "content_type": { "type": "string" }, - "created_at": { "type": "string", "format": "date-time" }, - "download_count": { "type": "integer" }, - "id": { "type": "integer" }, - "label": { "type": ["string", "null"] }, - "name": { - "description": "The file name of the asset.", - "type": "string" - }, - "node_id": { "type": "string" }, - "size": { "type": "integer" }, - "digest": { "type": ["string", "null"] }, - "state": { - "description": "State of the release asset.", - "type": "string", - "enum": ["uploaded"] - }, - "updated_at": { "type": "string", "format": "date-time" }, - "uploader": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["login", "id"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "browser_download_url", - "id", - "node_id", - "name", - "label", - "state", - "digest", - "content_type", - "size", - "download_count", - "created_at", - "updated_at" - ] - } - }, - "assets_url": { "type": "string", "format": "uri" }, - "author": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "body": { "type": ["string", "null"] }, - "created_at": { "type": ["string", "null"], "format": "date-time" }, - "discussion_url": { "type": "string", "format": "uri" }, - "draft": { - "description": "Whether the release is a draft or published", - "type": "boolean" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "name": { "type": ["string", "null"] }, - "node_id": { "type": "string" }, - "prerelease": { - "description": "Whether the release is identified as a prerelease or a full release.", - "type": "boolean" - }, - "published_at": { "type": ["string", "null"], "format": "date-time" }, - "reactions": { - "title": "Reactions", - "type": "object", - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] - }, - "tag_name": { - "description": "The name of the tag.", - "type": "string" - }, - "tarball_url": { "type": ["string", "null"], "format": "uri" }, - "target_commitish": { - "description": "Specifies the commitish value that determines where the Git tag is created from.", - "type": "string" - }, - "upload_url": { "type": "string", "format": "uri-template" }, - "url": { "type": "string", "format": "uri" }, - "zipball_url": { "type": ["string", "null"], "format": "uri" } - }, - "required": [ - "url", - "assets_url", - "upload_url", - "html_url", - "id", - "node_id", - "tag_name", - "target_commitish", - "name", - "draft", - "author", - "prerelease", - "created_at", - "published_at", - "assets", - "tarball_url", - "zipball_url", - "body" - ] - }, - "webhooks_release_1": { - "title": "Release", - "description": "The [release](https://docs.github.com/enterprise-server@3.13/rest/releases/releases/#get-a-release) object.", - "type": "object", - "required": [ - "assets", - "assets_url", - "author", - "body", - "created_at", - "draft", - "html_url", - "id", - "name", - "node_id", - "prerelease", - "published_at", - "tag_name", - "tarball_url", - "target_commitish", - "upload_url", - "url", - "zipball_url" - ], - "properties": { - "assets": { - "type": "array", - "items": { - "title": "Release Asset", - "description": "Data related to a release.", - "type": ["object", "null"], - "required": [ - "url", - "browser_download_url", - "id", - "node_id", - "name", - "label", - "state", - "content_type", - "size", - "digest", - "download_count", - "created_at", - "updated_at" - ], - "properties": { - "browser_download_url": { "type": "string", "format": "uri" }, - "content_type": { "type": "string" }, - "created_at": { "type": "string", "format": "date-time" }, - "download_count": { "type": "integer" }, - "id": { "type": "integer" }, - "label": { "type": ["string", "null"] }, - "name": { - "description": "The file name of the asset.", - "type": "string" - }, - "node_id": { "type": "string" }, - "size": { "type": "integer" }, - "digest": { "type": ["string", "null"] }, - "state": { - "description": "State of the release asset.", - "type": "string", - "enum": ["uploaded"] - }, - "updated_at": { "type": "string", "format": "date-time" }, - "uploader": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" } - } - }, - "url": { "type": "string", "format": "uri" } - } - } - }, - "assets_url": { "type": "string", "format": "uri" }, - "author": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - } - }, - "body": { "type": ["string", "null"] }, - "created_at": { "type": ["string", "null"], "format": "date-time" }, - "discussion_url": { "type": "string", "format": "uri" }, - "draft": { - "description": "Whether the release is a draft or published", - "type": "boolean" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "name": { "type": ["string", "null"] }, - "node_id": { "type": "string" }, - "prerelease": { - "description": "Whether the release is identified as a prerelease or a full release.", - "type": "boolean" - }, - "published_at": { "type": ["string", "null"], "format": "date-time" }, - "reactions": { - "title": "Reactions", - "type": "object", - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ], - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - } - }, - "tag_name": { - "description": "The name of the tag.", - "type": "string" - }, - "tarball_url": { "type": ["string", "null"], "format": "uri" }, - "target_commitish": { - "description": "Specifies the commitish value that determines where the Git tag is created from.", - "type": "string" - }, - "upload_url": { "type": "string", "format": "uri-template" }, - "url": { "type": "string", "format": "uri" }, - "zipball_url": { "type": ["string", "null"], "format": "uri" } - } - }, - "webhooks_alert": { - "title": "Repository Vulnerability Alert Alert", - "description": "The security alert of the vulnerable dependency.", - "type": "object", - "required": [ - "affected_package_name", - "affected_range", - "created_at", - "external_identifier", - "external_reference", - "ghsa_id", - "id", - "node_id", - "number", - "severity", - "state" - ], - "properties": { - "affected_package_name": { "type": "string" }, - "affected_range": { "type": "string" }, - "created_at": { "type": "string" }, - "dismiss_reason": { "type": "string" }, - "dismissed_at": { "type": "string" }, - "dismisser": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" } - } - }, - "external_identifier": { "type": "string" }, - "external_reference": { "type": ["string", "null"], "format": "uri" }, - "fix_reason": { "type": "string" }, - "fixed_at": { "type": "string", "format": "date-time" }, - "fixed_in": { "type": "string" }, - "ghsa_id": { "type": "string" }, - "id": { "type": "integer" }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "severity": { "type": "string" }, - "state": { "type": "string", "enum": ["open"] } - } - }, - "secret-scanning-alert-resolution-webhook": { - "type": ["string", "null"], - "description": "The reason for resolving the alert.", - "enum": [ - "false_positive", - "wont_fix", - "revoked", - "used_in_tests", - "pattern_deleted", - "pattern_edited", - null - ] - }, - "secret-scanning-alert-webhook": { - "type": "object", - "properties": { - "number": { "$ref": "#/components/schemas/alert-number" }, - "created_at": { "$ref": "#/components/schemas/alert-created-at" }, - "updated_at": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/alert-updated-at" } - ] - }, - "url": { "$ref": "#/components/schemas/alert-url" }, - "html_url": { "$ref": "#/components/schemas/alert-html-url" }, - "locations_url": { - "type": "string", - "format": "uri", - "description": "The REST API URL of the code locations for this alert." - }, - "resolution": { - "$ref": "#/components/schemas/secret-scanning-alert-resolution-webhook" - }, - "resolved_at": { - "type": ["string", "null"], - "format": "date-time", - "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "resolved_by": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "resolution_comment": { - "type": ["string", "null"], - "description": "An optional comment to resolve an alert." - }, - "secret_type": { - "type": "string", - "description": "The type of secret that secret scanning detected." - }, - "validity": { - "type": "string", - "description": "The token status as of the latest validity check.", - "enum": ["active", "inactive", "unknown"] - }, - "push_protection_bypassed": { - "type": ["boolean", "null"], - "description": "Whether push protection was bypassed for the detected secret." - }, - "push_protection_bypassed_by": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "push_protection_bypassed_at": { - "type": ["string", "null"], - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - } - } - }, - "webhooks_security_advisory": { - "description": "The details of the security advisory, including summary, description, and severity.", - "type": "object", - "properties": { - "cvss": { - "type": "object", - "properties": { - "score": { "type": "number" }, - "vector_string": { "type": ["string", "null"] } - }, - "required": ["vector_string", "score"] - }, - "cvss_severities": { "$ref": "#/components/schemas/cvss-severities" }, - "cwes": { - "type": "array", - "items": { - "type": "object", - "properties": { - "cwe_id": { "type": "string" }, - "name": { "type": "string" } - }, - "required": ["cwe_id", "name"] - } - }, - "description": { "type": "string" }, - "ghsa_id": { "type": "string" }, - "identifiers": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { "type": "string" }, - "value": { "type": "string" } - }, - "required": ["value", "type"] - } - }, - "published_at": { "type": "string" }, - "references": { - "type": "array", - "items": { - "type": "object", - "properties": { "url": { "type": "string", "format": "uri" } }, - "required": ["url"] - } - }, - "severity": { "type": "string" }, - "summary": { "type": "string" }, - "updated_at": { "type": "string" }, - "vulnerabilities": { - "type": "array", - "items": { - "type": "object", - "properties": { - "first_patched_version": { - "type": ["object", "null"], - "properties": { "identifier": { "type": "string" } }, - "required": ["identifier"] - }, - "package": { - "type": "object", - "properties": { - "ecosystem": { "type": "string" }, - "name": { "type": "string" } - }, - "required": ["ecosystem", "name"] - }, - "severity": { "type": "string" }, - "vulnerable_version_range": { "type": "string" } - }, - "required": [ - "package", - "severity", - "vulnerable_version_range", - "first_patched_version" - ] - } - }, - "withdrawn_at": { "type": ["string", "null"] } - }, - "required": [ - "cvss", - "cwes", - "ghsa_id", - "summary", - "description", - "severity", - "identifiers", - "references", - "published_at", - "updated_at", - "withdrawn_at", - "vulnerabilities" - ] - }, - "webhooks_sponsorship": { - "type": "object", - "properties": { - "created_at": { "type": "string" }, - "maintainer": { - "type": "object", - "properties": { - "avatar_url": { "type": "string" }, - "events_url": { "type": "string" }, - "followers_url": { "type": "string" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string" }, - "received_events_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string" }, - "user_view_type": { "type": "string" } - } - }, - "node_id": { "type": "string" }, - "privacy_level": { "type": "string" }, - "sponsor": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "sponsorable": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "tier": { - "title": "Sponsorship Tier", - "description": "The `tier_changed` and `pending_tier_change` will include the original tier before the change or pending change. For more information, see the pending tier change payload.", - "type": "object", - "properties": { - "created_at": { "type": "string" }, - "description": { "type": "string" }, - "is_custom_ammount": { "type": "boolean" }, - "is_custom_amount": { "type": "boolean" }, - "is_one_time": { "type": "boolean" }, - "monthly_price_in_cents": { "type": "integer" }, - "monthly_price_in_dollars": { "type": "integer" }, - "name": { "type": "string" }, - "node_id": { "type": "string" } - }, - "required": [ - "node_id", - "created_at", - "description", - "monthly_price_in_cents", - "monthly_price_in_dollars", - "name", - "is_one_time" - ] - } - }, - "required": [ - "node_id", - "created_at", - "sponsorable", - "sponsor", - "privacy_level", - "tier" - ] - }, - "webhooks_effective_date": { - "description": "The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect.", - "type": "string" - }, - "webhooks_changes_8": { - "type": "object", - "properties": { - "tier": { - "type": "object", - "properties": { - "from": { - "title": "Sponsorship Tier", - "description": "The `tier_changed` and `pending_tier_change` will include the original tier before the change or pending change. For more information, see the pending tier change payload.", - "type": "object", - "properties": { - "created_at": { "type": "string" }, - "description": { "type": "string" }, - "is_custom_ammount": { "type": "boolean" }, - "is_custom_amount": { "type": "boolean" }, - "is_one_time": { "type": "boolean" }, - "monthly_price_in_cents": { "type": "integer" }, - "monthly_price_in_dollars": { "type": "integer" }, - "name": { "type": "string" }, - "node_id": { "type": "string" } - }, - "required": [ - "node_id", - "created_at", - "description", - "monthly_price_in_cents", - "monthly_price_in_dollars", - "name", - "is_one_time" - ] - } - }, - "required": ["from"] - } - }, - "required": ["tier"] - }, - "webhooks_team_1": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { "type": "string", "format": "uri-template" }, - "name": { "description": "Name of the team", "type": "string" }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { "type": "string", "format": "uri-template" }, - "name": { "description": "Name of the team", "type": "string" }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "notification_setting": { - "description": "Whether team members will receive notifications when their team is @mentioned", - "type": "string", - "enum": ["notifications_enabled", "notifications_disabled"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "notification_setting", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { "type": "string", "enum": ["open", "closed", "secret"] }, - "notification_setting": { - "description": "Whether team members will receive notifications when their team is @mentioned", - "type": "string", - "enum": ["notifications_enabled", "notifications_disabled"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - }, - "webhook-branch-protection-configuration-disabled": { - "title": "branch protection configuration disabled event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["disabled"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "repository", "sender"] - }, - "webhook-branch-protection-configuration-enabled": { - "title": "branch protection configuration enabled event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["enabled"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "repository", "sender"] - }, - "webhook-branch-protection-rule-created": { - "title": "branch protection rule created event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "rule": { "$ref": "#/components/schemas/webhooks_rule" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "rule", "repository", "sender"] - }, - "webhook-branch-protection-rule-deleted": { - "title": "branch protection rule deleted event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["deleted"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "rule": { "$ref": "#/components/schemas/webhooks_rule" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "rule", "repository", "sender"] - }, - "webhook-branch-protection-rule-edited": { - "title": "branch protection rule edited event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["edited"] }, - "changes": { - "description": "If the action was `edited`, the changes to the rule.", - "type": "object", - "properties": { - "admin_enforced": { - "type": "object", - "properties": { "from": { "type": ["boolean", "null"] } }, - "required": ["from"] - }, - "authorized_actor_names": { - "type": "object", - "properties": { - "from": { "type": "array", "items": { "type": "string" } } - }, - "required": ["from"] - }, - "authorized_actors_only": { - "type": "object", - "properties": { "from": { "type": ["boolean", "null"] } }, - "required": ["from"] - }, - "authorized_dismissal_actors_only": { - "type": "object", - "properties": { "from": { "type": ["boolean", "null"] } }, - "required": ["from"] - }, - "linear_history_requirement_enforcement_level": { - "type": "object", - "properties": { - "from": { - "type": "string", - "enum": ["off", "non_admins", "everyone"] - } - }, - "required": ["from"] - }, - "pull_request_reviews_enforcement_level": { - "type": "object", - "properties": { - "from": { - "type": "string", - "enum": ["off", "non_admins", "everyone"] - } - }, - "required": ["from"] - }, - "require_last_push_approval": { - "type": "object", - "properties": { "from": { "type": ["boolean", "null"] } }, - "required": ["from"] - }, - "required_status_checks": { - "type": "object", - "properties": { - "from": { "type": "array", "items": { "type": "string" } } - }, - "required": ["from"] - }, - "required_status_checks_enforcement_level": { - "type": "object", - "properties": { - "from": { - "type": "string", - "enum": ["off", "non_admins", "everyone"] - } - }, - "required": ["from"] - } - } - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "rule": { "$ref": "#/components/schemas/webhooks_rule" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "rule", "repository", "sender"] - }, - "webhook-cache-sync": { - "type": "object", - "properties": { - "after": { "type": "string" }, - "before": { "type": "string" }, - "cache_location": { "type": "string" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "ref": { "type": "string" }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["cache_location", "ref", "before", "after"] - }, - "webhook-check-run-completed": { - "title": "Check Run Completed Event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["completed"] }, - "check_run": { - "$ref": "#/components/schemas/check-run-with-simple-check-suite" - }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["check_run", "repository", "sender"] - }, - "webhook-check-run-completed-form-encoded": { - "title": "Check Run Completed Event", - "description": "The check_run.completed webhook encoded with URL encoding", - "type": "object", - "properties": { - "payload": { - "description": "A URL-encoded string of the check_run.completed JSON payload. The decoded payload is a JSON object.", - "type": "string" - } - }, - "required": ["payload"] - }, - "webhook-check-run-created": { - "title": "Check Run Created Event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "check_run": { - "$ref": "#/components/schemas/check-run-with-simple-check-suite" - }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["check_run", "repository", "sender"] - }, - "webhook-check-run-created-form-encoded": { - "title": "Check Run Created Event", - "description": "The check_run.created webhook encoded with URL encoding", - "type": "object", - "properties": { - "payload": { - "description": "A URL-encoded string of the check_run.created JSON payload. The decoded payload is a JSON object.", - "type": "string" - } - }, - "required": ["payload"] - }, - "webhook-check-run-requested-action": { - "title": "Check Run Requested Action Event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["requested_action"] }, - "check_run": { - "$ref": "#/components/schemas/check-run-with-simple-check-suite" - }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "requested_action": { - "description": "The action requested by the user.", - "type": "object", - "properties": { - "identifier": { - "description": "The integrator reference of the action requested by the user.", - "type": "string" - } - } - }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "check_run", "repository", "sender"] - }, - "webhook-check-run-requested-action-form-encoded": { - "title": "Check Run Requested Action Event", - "description": "The check_run.requested_action webhook encoded with URL encoding", - "type": "object", - "properties": { - "payload": { - "description": "A URL-encoded string of the check_run.requested_action JSON payload. The decoded payload is a JSON object.", - "type": "string" - } - }, - "required": ["payload"] - }, - "webhook-check-run-rerequested": { - "title": "Check Run Re-Requested Event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["rerequested"] }, - "check_run": { - "$ref": "#/components/schemas/check-run-with-simple-check-suite" - }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["check_run", "repository", "sender"] - }, - "webhook-check-run-rerequested-form-encoded": { - "title": "Check Run Re-Requested Event", - "description": "The check_run.rerequested webhook encoded with URL encoding", - "type": "object", - "properties": { - "payload": { - "description": "A URL-encoded string of the check_run.rerequested JSON payload. The decoded payload is a JSON object.", - "type": "string" - } - }, - "required": ["payload"] - }, - "webhook-check-suite-completed": { - "title": "check_suite completed event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["completed"] }, - "check_suite": { - "description": "The [check_suite](https://docs.github.com/enterprise-server@3.13/rest/checks/suites#get-a-check-suite).", - "type": "object", - "properties": { - "after": { "type": ["string", "null"] }, - "app": { - "title": "App", - "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", - "type": "object", - "properties": { - "created_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "description": { "type": ["string", "null"] }, - "events": { - "description": "The list of events for the GitHub app", - "type": "array", - "items": { - "type": "string", - "enum": [ - "branch_protection_rule", - "check_run", - "check_suite", - "code_scanning_alert", - "commit_comment", - "content_reference", - "create", - "delete", - "deployment", - "deployment_review", - "deployment_status", - "deploy_key", - "discussion", - "discussion_comment", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "org_block", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "registry_package", - "release", - "repository", - "repository_dispatch", - "secret_scanning_alert", - "star", - "status", - "team", - "team_add", - "watch", - "workflow_dispatch", - "workflow_run", - "merge_group", - "pull_request_review_thread", - "workflow_job", - "merge_queue_entry", - "security_and_analysis", - "projects_v2_item", - "secret_scanning_alert_location" - ] - } - }, - "external_url": { - "type": ["string", "null"], - "format": "uri" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the GitHub app", - "type": ["integer", "null"] - }, - "client_id": { - "description": "The client ID of the GitHub app", - "type": ["string", "null"] - }, - "name": { - "description": "The name of the GitHub app", - "type": "string" - }, - "node_id": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "description": "The set of permissions for the GitHub app", - "type": "object", - "properties": { - "actions": { - "type": "string", - "enum": ["read", "write"] - }, - "administration": { - "type": "string", - "enum": ["read", "write"] - }, - "checks": { "type": "string", "enum": ["read", "write"] }, - "content_references": { - "type": "string", - "enum": ["read", "write"] - }, - "contents": { - "type": "string", - "enum": ["read", "write"] - }, - "deployments": { - "type": "string", - "enum": ["read", "write"] - }, - "discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "emails": { "type": "string", "enum": ["read", "write"] }, - "environments": { - "type": "string", - "enum": ["read", "write"] - }, - "issues": { "type": "string", "enum": ["read", "write"] }, - "keys": { "type": "string", "enum": ["read", "write"] }, - "members": { - "type": "string", - "enum": ["read", "write"] - }, - "metadata": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_administration": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_packages": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_plan": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_projects": { - "type": "string", - "enum": ["read", "write", "admin"] - }, - "organization_secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_self_hosted_runners": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_user_blocking": { - "type": "string", - "enum": ["read", "write"] - }, - "packages": { - "type": "string", - "enum": ["read", "write"] - }, - "pages": { "type": "string", "enum": ["read", "write"] }, - "pull_requests": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_projects": { - "type": "string", - "enum": ["read", "write", "admin"] - }, - "secret_scanning_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "security_events": { - "type": "string", - "enum": ["read", "write"] - }, - "security_scanning_alert": { - "type": "string", - "enum": ["read", "write"] - }, - "single_file": { - "type": "string", - "enum": ["read", "write"] - }, - "statuses": { - "type": "string", - "enum": ["read", "write"] - }, - "team_discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "vulnerability_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "workflows": { - "type": "string", - "enum": ["read", "write"] - } - } - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string" - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time" - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ] - }, - "before": { "type": ["string", "null"] }, - "check_runs_url": { "type": "string", "format": "uri" }, - "conclusion": { - "description": "The summary conclusion for all check runs that are part of the check suite. This value will be `null` until the check run has `completed`.", - "type": ["string", "null"], - "enum": [ - "success", - "failure", - "neutral", - "cancelled", - "timed_out", - "action_required", - "stale", - null, - "skipped", - "startup_failure" - ] - }, - "created_at": { "type": "string", "format": "date-time" }, - "head_branch": { - "description": "The head branch name the changes are on.", - "type": ["string", "null"] - }, - "head_commit": { - "title": "SimpleCommit", - "type": "object", - "properties": { - "author": { - "title": "Committer", - "description": "Metaproperties for Git author/committer information.", - "type": "object", - "properties": { - "date": { "type": "string", "format": "date-time" }, - "email": { - "type": ["string", "null"], - "format": "email" - }, - "name": { - "description": "The git author's name.", - "type": "string" - }, - "username": { "type": "string" } - }, - "required": ["email", "name"] - }, - "committer": { - "title": "Committer", - "description": "Metaproperties for Git author/committer information.", - "type": "object", - "properties": { - "date": { "type": "string", "format": "date-time" }, - "email": { - "type": ["string", "null"], - "format": "email" - }, - "name": { - "description": "The git author's name.", - "type": "string" - }, - "username": { "type": "string" } - }, - "required": ["email", "name"] - }, - "id": { "type": "string" }, - "message": { "type": "string" }, - "timestamp": { "type": "string" }, - "tree_id": { "type": "string" } - }, - "required": [ - "id", - "tree_id", - "message", - "timestamp", - "author", - "committer" - ] - }, - "head_sha": { - "description": "The SHA of the head commit that is being checked.", - "type": "string" - }, - "id": { "type": "integer" }, - "latest_check_runs_count": { "type": "integer" }, - "node_id": { "type": "string" }, - "pull_requests": { - "description": "An array of pull requests that match this check suite. A pull request matches a check suite if they have the same `head_sha` and `head_branch`. When the check suite's `head_branch` is in a forked repository it will be `null` and the `pull_requests` array will be empty.", - "type": "array", - "items": { - "title": "Check Run Pull Request", - "type": "object", - "properties": { - "base": { - "type": "object", - "properties": { - "ref": { "type": "string" }, - "repo": { - "title": "Repo Ref", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "name": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["id", "url", "name"] - }, - "sha": { "type": "string" } - }, - "required": ["ref", "sha", "repo"] - }, - "head": { - "type": "object", - "properties": { - "ref": { "type": "string" }, - "repo": { - "title": "Repo Ref", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "name": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["id", "url", "name"] - }, - "sha": { "type": "string" } - }, - "required": ["ref", "sha", "repo"] - }, - "id": { "type": "integer" }, - "number": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["url", "id", "number", "head", "base"] - } - }, - "rerequestable": { "type": "boolean" }, - "runs_rerequestable": { "type": "boolean" }, - "status": { - "description": "The summary status for all check runs that are part of the check suite. Can be `requested`, `in_progress`, or `completed`.", - "type": ["string", "null"], - "enum": [ - "requested", - "in_progress", - "completed", - "queued", - null, - "pending" - ] - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { - "description": "URL that points to the check suite API resource.", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "head_branch", - "head_sha", - "status", - "conclusion", - "url", - "before", - "after", - "pull_requests", - "app", - "created_at", - "updated_at", - "latest_check_runs_count", - "check_runs_url", - "head_commit" - ] - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "check_suite", "repository", "sender"] - }, - "webhook-check-suite-requested": { - "title": "check_suite requested event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["requested"] }, - "check_suite": { - "description": "The [check_suite](https://docs.github.com/enterprise-server@3.13/rest/checks/suites#get-a-check-suite).", - "type": "object", - "properties": { - "after": { "type": ["string", "null"] }, - "app": { - "title": "App", - "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", - "type": "object", - "properties": { - "created_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "description": { "type": ["string", "null"] }, - "events": { - "description": "The list of events for the GitHub app", - "type": "array", - "items": { - "type": "string", - "enum": [ - "branch_protection_rule", - "check_run", - "check_suite", - "code_scanning_alert", - "commit_comment", - "content_reference", - "create", - "delete", - "deployment", - "deployment_review", - "deployment_status", - "deploy_key", - "discussion", - "discussion_comment", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "org_block", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "registry_package", - "release", - "repository", - "repository_dispatch", - "secret_scanning_alert", - "star", - "status", - "team", - "team_add", - "watch", - "workflow_dispatch", - "workflow_run", - "pull_request_review_thread", - "workflow_job", - "merge_queue_entry", - "security_and_analysis", - "secret_scanning_alert_location", - "projects_v2_item", - "merge_group", - "repository_import" - ] - } - }, - "external_url": { - "type": ["string", "null"], - "format": "uri" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the GitHub app", - "type": ["integer", "null"] - }, - "client_id": { - "description": "Client ID of the GitHub app", - "type": ["string", "null"] - }, - "name": { - "description": "The name of the GitHub app", - "type": "string" - }, - "node_id": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "description": "The set of permissions for the GitHub app", - "type": "object", - "properties": { - "actions": { - "type": "string", - "enum": ["read", "write"] - }, - "administration": { - "type": "string", - "enum": ["read", "write"] - }, - "checks": { "type": "string", "enum": ["read", "write"] }, - "content_references": { - "type": "string", - "enum": ["read", "write"] - }, - "contents": { - "type": "string", - "enum": ["read", "write"] - }, - "deployments": { - "type": "string", - "enum": ["read", "write"] - }, - "discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "emails": { "type": "string", "enum": ["read", "write"] }, - "environments": { - "type": "string", - "enum": ["read", "write"] - }, - "issues": { "type": "string", "enum": ["read", "write"] }, - "keys": { "type": "string", "enum": ["read", "write"] }, - "members": { - "type": "string", - "enum": ["read", "write"] - }, - "metadata": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_administration": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_packages": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_plan": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_projects": { - "type": "string", - "enum": ["read", "write", "admin"] - }, - "organization_secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_self_hosted_runners": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_user_blocking": { - "type": "string", - "enum": ["read", "write"] - }, - "packages": { - "type": "string", - "enum": ["read", "write"] - }, - "pages": { "type": "string", "enum": ["read", "write"] }, - "pull_requests": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_projects": { - "type": "string", - "enum": ["read", "write", "admin"] - }, - "secret_scanning_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "security_events": { - "type": "string", - "enum": ["read", "write"] - }, - "security_scanning_alert": { - "type": "string", - "enum": ["read", "write"] - }, - "single_file": { - "type": "string", - "enum": ["read", "write"] - }, - "statuses": { - "type": "string", - "enum": ["read", "write"] - }, - "team_discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "vulnerability_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "workflows": { - "type": "string", - "enum": ["read", "write"] - } - } - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string" - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time" - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ] - }, - "before": { "type": ["string", "null"] }, - "check_runs_url": { "type": "string", "format": "uri" }, - "conclusion": { - "description": "The summary conclusion for all check runs that are part of the check suite. This value will be `null` until the check run has completed.", - "type": ["string", "null"], - "enum": [ - "success", - "failure", - "neutral", - "cancelled", - "timed_out", - "action_required", - "stale", - null, - "skipped" - ] - }, - "created_at": { "type": "string", "format": "date-time" }, - "head_branch": { - "description": "The head branch name the changes are on.", - "type": ["string", "null"] - }, - "head_commit": { - "title": "SimpleCommit", - "type": "object", - "properties": { - "author": { - "title": "Committer", - "description": "Metaproperties for Git author/committer information.", - "type": "object", - "properties": { - "date": { "type": "string", "format": "date-time" }, - "email": { - "type": ["string", "null"], - "format": "email" - }, - "name": { - "description": "The git author's name.", - "type": "string" - }, - "username": { "type": "string" } - }, - "required": ["email", "name"] - }, - "committer": { - "title": "Committer", - "description": "Metaproperties for Git author/committer information.", - "type": "object", - "properties": { - "date": { "type": "string", "format": "date-time" }, - "email": { - "type": ["string", "null"], - "format": "email" - }, - "name": { - "description": "The git author's name.", - "type": "string" - }, - "username": { "type": "string" } - }, - "required": ["email", "name"] - }, - "id": { "type": "string" }, - "message": { "type": "string" }, - "timestamp": { "type": "string" }, - "tree_id": { "type": "string" } - }, - "required": [ - "id", - "tree_id", - "message", - "timestamp", - "author", - "committer" - ] - }, - "head_sha": { - "description": "The SHA of the head commit that is being checked.", - "type": "string" - }, - "id": { "type": "integer" }, - "latest_check_runs_count": { "type": "integer" }, - "node_id": { "type": "string" }, - "pull_requests": { - "description": "An array of pull requests that match this check suite. A pull request matches a check suite if they have the same `head_sha` and `head_branch`. When the check suite's `head_branch` is in a forked repository it will be `null` and the `pull_requests` array will be empty.", - "type": "array", - "items": { - "title": "Check Run Pull Request", - "type": "object", - "properties": { - "base": { - "type": "object", - "properties": { - "ref": { "type": "string" }, - "repo": { - "title": "Repo Ref", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "name": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["id", "url", "name"] - }, - "sha": { "type": "string" } - }, - "required": ["ref", "sha", "repo"] - }, - "head": { - "type": "object", - "properties": { - "ref": { "type": "string" }, - "repo": { - "title": "Repo Ref", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "name": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["id", "url", "name"] - }, - "sha": { "type": "string" } - }, - "required": ["ref", "sha", "repo"] - }, - "id": { "type": "integer" }, - "number": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["url", "id", "number", "head", "base"] - } - }, - "rerequestable": { "type": "boolean" }, - "runs_rerequestable": { "type": "boolean" }, - "status": { - "description": "The summary status for all check runs that are part of the check suite. Can be `requested`, `in_progress`, or `completed`.", - "type": ["string", "null"], - "enum": [ - "requested", - "in_progress", - "completed", - "queued", - null - ] - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { - "description": "URL that points to the check suite API resource.", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "head_branch", - "head_sha", - "status", - "conclusion", - "url", - "before", - "after", - "pull_requests", - "app", - "created_at", - "updated_at", - "latest_check_runs_count", - "check_runs_url", - "head_commit" - ] - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "check_suite", "repository", "sender"] - }, - "webhook-check-suite-rerequested": { - "title": "check_suite rerequested event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["rerequested"] }, - "check_suite": { - "description": "The [check_suite](https://docs.github.com/enterprise-server@3.13/rest/checks/suites#get-a-check-suite).", - "type": "object", - "properties": { - "after": { "type": ["string", "null"] }, - "app": { - "title": "App", - "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", - "type": "object", - "properties": { - "created_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "description": { "type": ["string", "null"] }, - "events": { - "description": "The list of events for the GitHub app", - "type": "array", - "items": { - "type": "string", - "enum": [ - "branch_protection_rule", - "check_run", - "check_suite", - "code_scanning_alert", - "commit_comment", - "content_reference", - "create", - "delete", - "deployment", - "deployment_review", - "deployment_status", - "deploy_key", - "discussion", - "discussion_comment", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "org_block", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "registry_package", - "release", - "repository", - "repository_dispatch", - "secret_scanning_alert", - "star", - "status", - "team", - "team_add", - "watch", - "workflow_dispatch", - "workflow_run", - "pull_request_review_thread", - "merge_queue_entry", - "workflow_job" - ] - } - }, - "external_url": { - "type": ["string", "null"], - "format": "uri" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the GitHub app", - "type": ["integer", "null"] - }, - "client_id": { - "description": "The Client ID for the GitHub app", - "type": ["string", "null"] - }, - "name": { - "description": "The name of the GitHub app", - "type": "string" - }, - "node_id": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "description": "The set of permissions for the GitHub app", - "type": "object", - "properties": { - "actions": { - "type": "string", - "enum": ["read", "write"] - }, - "administration": { - "type": "string", - "enum": ["read", "write"] - }, - "checks": { "type": "string", "enum": ["read", "write"] }, - "content_references": { - "type": "string", - "enum": ["read", "write"] - }, - "contents": { - "type": "string", - "enum": ["read", "write"] - }, - "deployments": { - "type": "string", - "enum": ["read", "write"] - }, - "discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "emails": { "type": "string", "enum": ["read", "write"] }, - "environments": { - "type": "string", - "enum": ["read", "write"] - }, - "issues": { "type": "string", "enum": ["read", "write"] }, - "keys": { "type": "string", "enum": ["read", "write"] }, - "members": { - "type": "string", - "enum": ["read", "write"] - }, - "metadata": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_administration": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_packages": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_plan": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_projects": { - "type": "string", - "enum": ["read", "write", "admin"] - }, - "organization_secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_self_hosted_runners": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_user_blocking": { - "type": "string", - "enum": ["read", "write"] - }, - "packages": { - "type": "string", - "enum": ["read", "write"] - }, - "pages": { "type": "string", "enum": ["read", "write"] }, - "pull_requests": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_projects": { - "type": "string", - "enum": ["read", "write", "admin"] - }, - "secret_scanning_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "security_events": { - "type": "string", - "enum": ["read", "write"] - }, - "security_scanning_alert": { - "type": "string", - "enum": ["read", "write"] - }, - "single_file": { - "type": "string", - "enum": ["read", "write"] - }, - "statuses": { - "type": "string", - "enum": ["read", "write"] - }, - "team_discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "vulnerability_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "workflows": { - "type": "string", - "enum": ["read", "write"] - } - } - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string" - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time" - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ] - }, - "before": { "type": ["string", "null"] }, - "check_runs_url": { "type": "string", "format": "uri" }, - "conclusion": { - "description": "The summary conclusion for all check runs that are part of the check suite. This value will be `null` until the check run has completed.", - "type": ["string", "null"], - "enum": [ - "success", - "failure", - "neutral", - "cancelled", - "timed_out", - "action_required", - "stale", - null - ] - }, - "created_at": { "type": "string", "format": "date-time" }, - "head_branch": { - "description": "The head branch name the changes are on.", - "type": ["string", "null"] - }, - "head_commit": { - "title": "SimpleCommit", - "type": "object", - "properties": { - "author": { - "title": "Committer", - "description": "Metaproperties for Git author/committer information.", - "type": "object", - "properties": { - "date": { "type": "string", "format": "date-time" }, - "email": { - "type": ["string", "null"], - "format": "email" - }, - "name": { - "description": "The git author's name.", - "type": "string" - }, - "username": { "type": "string" } - }, - "required": ["email", "name"] - }, - "committer": { - "title": "Committer", - "description": "Metaproperties for Git author/committer information.", - "type": "object", - "properties": { - "date": { "type": "string", "format": "date-time" }, - "email": { - "type": ["string", "null"], - "format": "email" - }, - "name": { - "description": "The git author's name.", - "type": "string" - }, - "username": { "type": "string" } - }, - "required": ["email", "name"] - }, - "id": { "type": "string" }, - "message": { "type": "string" }, - "timestamp": { "type": "string" }, - "tree_id": { "type": "string" } - }, - "required": [ - "id", - "tree_id", - "message", - "timestamp", - "author", - "committer" - ] - }, - "head_sha": { - "description": "The SHA of the head commit that is being checked.", - "type": "string" - }, - "id": { "type": "integer" }, - "latest_check_runs_count": { "type": "integer" }, - "node_id": { "type": "string" }, - "pull_requests": { - "description": "An array of pull requests that match this check suite. A pull request matches a check suite if they have the same `head_sha` and `head_branch`. When the check suite's `head_branch` is in a forked repository it will be `null` and the `pull_requests` array will be empty.", - "type": "array", - "items": { - "title": "Check Run Pull Request", - "type": "object", - "properties": { - "base": { - "type": "object", - "properties": { - "ref": { "type": "string" }, - "repo": { - "title": "Repo Ref", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "name": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["id", "url", "name"] - }, - "sha": { "type": "string" } - }, - "required": ["ref", "sha", "repo"] - }, - "head": { - "type": "object", - "properties": { - "ref": { "type": "string" }, - "repo": { - "title": "Repo Ref", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "name": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["id", "url", "name"] - }, - "sha": { "type": "string" } - }, - "required": ["ref", "sha", "repo"] - }, - "id": { "type": "integer" }, - "number": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["url", "id", "number", "head", "base"] - } - }, - "rerequestable": { "type": "boolean" }, - "runs_rerequestable": { "type": "boolean" }, - "status": { - "description": "The summary status for all check runs that are part of the check suite. Can be `requested`, `in_progress`, or `completed`.", - "type": ["string", "null"], - "enum": [ - "requested", - "in_progress", - "completed", - "queued", - null - ] - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { - "description": "URL that points to the check suite API resource.", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "head_branch", - "head_sha", - "status", - "conclusion", - "url", - "before", - "after", - "pull_requests", - "app", - "created_at", - "updated_at", - "latest_check_runs_count", - "check_runs_url", - "head_commit" - ] - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "check_suite", "repository", "sender"] - }, - "webhook-code-scanning-alert-appeared-in-branch": { - "title": "code_scanning_alert appeared_in_branch event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["appeared_in_branch"] }, - "alert": { - "description": "The code scanning alert involved in the event.", - "type": "object", - "properties": { - "created_at": { - "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ.`", - "type": "string", - "format": "date-time" - }, - "dismissed_at": { - "description": "The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "type": ["string", "null"], - "format": "date-time" - }, - "dismissed_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "dismissed_comment": { - "$ref": "#/components/schemas/code-scanning-alert-dismissed-comment" - }, - "dismissed_reason": { - "description": "The reason for dismissing or closing the alert.", - "type": ["string", "null"], - "enum": ["false positive", "won't fix", "used in tests", null] - }, - "fixed_at": { - "description": "The time that the alert was fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "type": ["null"] - }, - "html_url": { - "description": "The GitHub URL of the alert resource.", - "type": "string", - "format": "uri" - }, - "most_recent_instance": { - "title": "Alert Instance", - "type": ["object", "null"], - "properties": { - "analysis_key": { - "description": "Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name.", - "type": "string" - }, - "category": { - "description": "Identifies the configuration under which the analysis was executed.", - "type": "string" - }, - "classifications": { - "type": "array", - "items": { "type": "string" } - }, - "commit_sha": { "type": "string" }, - "environment": { - "description": "Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed.", - "type": "string" - }, - "location": { - "type": "object", - "properties": { - "end_column": { "type": "integer" }, - "end_line": { "type": "integer" }, - "path": { "type": "string" }, - "start_column": { "type": "integer" }, - "start_line": { "type": "integer" } - } - }, - "message": { - "type": "object", - "properties": { "text": { "type": "string" } } - }, - "ref": { - "description": "The full Git reference, formatted as `refs/heads/`.", - "type": "string" - }, - "state": { - "description": "State of a code scanning alert.", - "type": "string", - "enum": ["open", "dismissed", "fixed"] - } - }, - "required": ["ref", "analysis_key", "environment", "state"] - }, - "number": { - "description": "The code scanning alert number.", - "type": "integer" - }, - "rule": { - "type": "object", - "properties": { - "description": { - "description": "A short description of the rule used to detect the alert.", - "type": "string" - }, - "id": { - "description": "A unique identifier for the rule used to detect the alert.", - "type": "string" - }, - "severity": { - "description": "The severity of the alert.", - "type": ["string", "null"], - "enum": ["none", "note", "warning", "error", null] - } - }, - "required": ["id", "severity", "description"] - }, - "state": { - "description": "State of a code scanning alert. Events for alerts found outside the default branch will return a `null` value until they are dismissed or fixed.", - "type": ["string", "null"], - "enum": ["open", "dismissed", "fixed", null] - }, - "tool": { - "type": "object", - "properties": { - "name": { - "description": "The name of the tool used to generate the code scanning analysis alert.", - "type": "string" - }, - "version": { - "description": "The version of the tool used to detect the alert.", - "type": ["string", "null"] - } - }, - "required": ["name", "version"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "number", - "created_at", - "url", - "html_url", - "state", - "dismissed_by", - "dismissed_at", - "dismissed_reason", - "rule", - "tool" - ] - }, - "commit_oid": { - "$ref": "#/components/schemas/webhooks_code_scanning_commit_oid" - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "ref": { "$ref": "#/components/schemas/webhooks_code_scanning_ref" }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "action", - "alert", - "ref", - "commit_oid", - "repository", - "sender" - ] - }, - "webhook-code-scanning-alert-closed-by-user": { - "title": "code_scanning_alert closed_by_user event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["closed_by_user"] }, - "alert": { - "description": "The code scanning alert involved in the event.", - "type": "object", - "properties": { - "created_at": { - "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ.`", - "type": "string", - "format": "date-time" - }, - "dismissed_at": { - "description": "The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "type": "string", - "format": "date-time" - }, - "dismissed_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "dismissed_comment": { - "$ref": "#/components/schemas/code-scanning-alert-dismissed-comment" - }, - "dismissed_reason": { - "description": "The reason for dismissing or closing the alert.", - "type": ["string", "null"], - "enum": ["false positive", "won't fix", "used in tests", null] - }, - "fixed_at": { - "description": "The time that the alert was fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "type": ["null"] - }, - "html_url": { - "description": "The GitHub URL of the alert resource.", - "type": "string", - "format": "uri" - }, - "most_recent_instance": { - "title": "Alert Instance", - "type": ["object", "null"], - "properties": { - "analysis_key": { - "description": "Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name.", - "type": "string" - }, - "category": { - "description": "Identifies the configuration under which the analysis was executed.", - "type": "string" - }, - "classifications": { - "type": "array", - "items": { "type": "string" } - }, - "commit_sha": { "type": "string" }, - "environment": { - "description": "Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed.", - "type": "string" - }, - "location": { - "type": "object", - "properties": { - "end_column": { "type": "integer" }, - "end_line": { "type": "integer" }, - "path": { "type": "string" }, - "start_column": { "type": "integer" }, - "start_line": { "type": "integer" } - } - }, - "message": { - "type": "object", - "properties": { "text": { "type": "string" } } - }, - "ref": { - "description": "The full Git reference, formatted as `refs/heads/`.", - "type": "string" - }, - "state": { - "description": "State of a code scanning alert.", - "type": "string", - "enum": ["open", "dismissed", "fixed"] - } - }, - "required": ["ref", "analysis_key", "environment", "state"] - }, - "number": { - "description": "The code scanning alert number.", - "type": "integer" - }, - "rule": { - "type": "object", - "properties": { - "description": { - "description": "A short description of the rule used to detect the alert.", - "type": "string" - }, - "full_description": { "type": "string" }, - "help": { "type": ["string", "null"] }, - "help_uri": { - "description": "A link to the documentation for the rule used to detect the alert.", - "type": ["string", "null"] - }, - "id": { - "description": "A unique identifier for the rule used to detect the alert.", - "type": "string" - }, - "name": { "type": "string" }, - "severity": { - "description": "The severity of the alert.", - "type": ["string", "null"], - "enum": ["none", "note", "warning", "error", null] - }, - "tags": { - "type": ["array", "null"], - "items": { "type": "string" } - } - }, - "required": ["id", "severity", "description"] - }, - "state": { - "description": "State of a code scanning alert.", - "type": "string", - "enum": ["dismissed", "fixed"] - }, - "tool": { - "type": "object", - "properties": { - "guid": { "type": ["string", "null"] }, - "name": { - "description": "The name of the tool used to generate the code scanning analysis alert.", - "type": "string" - }, - "version": { - "description": "The version of the tool used to detect the alert.", - "type": ["string", "null"] - } - }, - "required": ["name", "version"] - }, - "url": { "type": "string", "format": "uri" }, - "dismissal_approved_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "number", - "created_at", - "url", - "html_url", - "state", - "dismissed_by", - "dismissed_at", - "dismissed_reason", - "rule", - "tool" - ] - }, - "commit_oid": { - "$ref": "#/components/schemas/webhooks_code_scanning_commit_oid" - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "ref": { "$ref": "#/components/schemas/webhooks_code_scanning_ref" }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "action", - "alert", - "ref", - "commit_oid", - "repository", - "sender" - ] - }, - "webhook-code-scanning-alert-created": { - "title": "code_scanning_alert created event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "alert": { - "description": "The code scanning alert involved in the event.", - "type": "object", - "properties": { - "created_at": { - "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ.`", - "type": ["string", "null"], - "format": "date-time" - }, - "dismissed_at": { - "description": "The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "type": ["null"] - }, - "dismissed_by": { "type": ["null"] }, - "dismissed_comment": { - "$ref": "#/components/schemas/code-scanning-alert-dismissed-comment" - }, - "dismissed_reason": { - "description": "The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`.", - "type": ["null"] - }, - "fixed_at": { - "description": "The time that the alert was fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "type": ["null"] - }, - "html_url": { - "description": "The GitHub URL of the alert resource.", - "type": "string", - "format": "uri" - }, - "instances_url": { "type": "string" }, - "most_recent_instance": { - "title": "Alert Instance", - "type": ["object", "null"], - "properties": { - "analysis_key": { - "description": "Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name.", - "type": "string" - }, - "category": { - "description": "Identifies the configuration under which the analysis was executed.", - "type": "string" - }, - "classifications": { - "type": "array", - "items": { "type": "string" } - }, - "commit_sha": { "type": "string" }, - "environment": { - "description": "Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed.", - "type": "string" - }, - "location": { - "type": "object", - "properties": { - "end_column": { "type": "integer" }, - "end_line": { "type": "integer" }, - "path": { "type": "string" }, - "start_column": { "type": "integer" }, - "start_line": { "type": "integer" } - } - }, - "message": { - "type": "object", - "properties": { "text": { "type": "string" } } - }, - "ref": { - "description": "The full Git reference, formatted as `refs/heads/`.", - "type": "string" - }, - "state": { - "description": "State of a code scanning alert.", - "type": "string", - "enum": ["open", "dismissed", "fixed"] - } - }, - "required": ["ref", "analysis_key", "environment", "state"] - }, - "number": { - "description": "The code scanning alert number.", - "type": "integer" - }, - "rule": { - "type": "object", - "properties": { - "description": { - "description": "A short description of the rule used to detect the alert.", - "type": "string" - }, - "full_description": { "type": "string" }, - "help": { "type": ["string", "null"] }, - "help_uri": { - "description": "A link to the documentation for the rule used to detect the alert.", - "type": ["string", "null"] - }, - "id": { - "description": "A unique identifier for the rule used to detect the alert.", - "type": "string" - }, - "name": { "type": "string" }, - "severity": { - "description": "The severity of the alert.", - "type": ["string", "null"], - "enum": ["none", "note", "warning", "error", null] - }, - "tags": { - "type": ["array", "null"], - "items": { "type": "string" } - } - }, - "required": ["id", "severity", "description"] - }, - "state": { - "description": "State of a code scanning alert. Events for alerts found outside the default branch will return a `null` value until they are dismissed or fixed.", - "type": ["string", "null"], - "enum": ["open", "dismissed", null] - }, - "tool": { - "type": ["object", "null"], - "properties": { - "guid": { "type": ["string", "null"] }, - "name": { - "description": "The name of the tool used to generate the code scanning analysis alert.", - "type": "string" - }, - "version": { - "description": "The version of the tool used to detect the alert.", - "type": ["string", "null"] - } - }, - "required": ["name", "version"] - }, - "updated_at": { "type": ["string", "null"] }, - "url": { "type": "string", "format": "uri" }, - "dismissal_approved_by": { "type": ["null"] } - }, - "required": [ - "number", - "created_at", - "url", - "html_url", - "state", - "dismissed_by", - "dismissed_at", - "dismissed_reason", - "rule", - "tool" - ] - }, - "commit_oid": { - "$ref": "#/components/schemas/webhooks_code_scanning_commit_oid" - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "ref": { "$ref": "#/components/schemas/webhooks_code_scanning_ref" }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "action", - "alert", - "ref", - "commit_oid", - "repository", - "sender" - ] - }, - "webhook-code-scanning-alert-fixed": { - "title": "code_scanning_alert fixed event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["fixed"] }, - "alert": { - "description": "The code scanning alert involved in the event.", - "type": "object", - "properties": { - "created_at": { - "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ.`", - "type": "string", - "format": "date-time" - }, - "dismissed_at": { - "description": "The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "type": ["string", "null"], - "format": "date-time" - }, - "dismissed_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "dismissed_comment": { - "$ref": "#/components/schemas/code-scanning-alert-dismissed-comment" - }, - "dismissed_reason": { - "description": "The reason for dismissing or closing the alert.", - "type": ["string", "null"], - "enum": ["false positive", "won't fix", "used in tests", null] - }, - "fixed_at": { - "description": "The time that the alert was fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "type": ["null"] - }, - "html_url": { - "description": "The GitHub URL of the alert resource.", - "type": "string", - "format": "uri" - }, - "instances_url": { "type": "string", "format": "uri" }, - "most_recent_instance": { - "title": "Alert Instance", - "type": ["object", "null"], - "properties": { - "analysis_key": { - "description": "Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name.", - "type": "string" - }, - "category": { - "description": "Identifies the configuration under which the analysis was executed.", - "type": "string" - }, - "classifications": { - "type": "array", - "items": { "type": "string" } - }, - "commit_sha": { "type": "string" }, - "environment": { - "description": "Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed.", - "type": "string" - }, - "location": { - "type": "object", - "properties": { - "end_column": { "type": "integer" }, - "end_line": { "type": "integer" }, - "path": { "type": "string" }, - "start_column": { "type": "integer" }, - "start_line": { "type": "integer" } - } - }, - "message": { - "type": "object", - "properties": { "text": { "type": "string" } } - }, - "ref": { - "description": "The full Git reference, formatted as `refs/heads/`.", - "type": "string" - }, - "state": { - "description": "State of a code scanning alert.", - "type": "string", - "enum": ["open", "dismissed", "fixed"] - } - }, - "required": ["ref", "analysis_key", "environment", "state"] - }, - "number": { - "description": "The code scanning alert number.", - "type": "integer" - }, - "rule": { - "type": "object", - "properties": { - "description": { - "description": "A short description of the rule used to detect the alert.", - "type": "string" - }, - "full_description": { "type": "string" }, - "help": { "type": ["string", "null"] }, - "help_uri": { - "description": "A link to the documentation for the rule used to detect the alert.", - "type": ["string", "null"] - }, - "id": { - "description": "A unique identifier for the rule used to detect the alert.", - "type": "string" - }, - "name": { "type": "string" }, - "severity": { - "description": "The severity of the alert.", - "type": ["string", "null"], - "enum": ["none", "note", "warning", "error", null] - }, - "tags": { - "type": ["array", "null"], - "items": { "type": "string" } - } - }, - "required": ["id", "severity", "description"] - }, - "state": { - "description": "State of a code scanning alert. Events for alerts found outside the default branch will return a `null` value until they are dismissed or fixed.", - "type": ["string", "null"], - "enum": ["fixed", null] - }, - "tool": { - "type": "object", - "properties": { - "guid": { "type": ["string", "null"] }, - "name": { - "description": "The name of the tool used to generate the code scanning analysis alert.", - "type": "string" - }, - "version": { - "description": "The version of the tool used to detect the alert.", - "type": ["string", "null"] - } - }, - "required": ["name", "version"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "number", - "created_at", - "url", - "html_url", - "state", - "dismissed_by", - "dismissed_at", - "dismissed_reason", - "rule", - "tool" - ] - }, - "commit_oid": { - "$ref": "#/components/schemas/webhooks_code_scanning_commit_oid" - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "ref": { "$ref": "#/components/schemas/webhooks_code_scanning_ref" }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "action", - "alert", - "ref", - "commit_oid", - "repository", - "sender" - ] - }, - "webhook-code-scanning-alert-reopened": { - "title": "code_scanning_alert reopened event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["reopened"] }, - "alert": { - "description": "The code scanning alert involved in the event.", - "type": ["object", "null"], - "properties": { - "created_at": { - "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ.`", - "type": "string", - "format": "date-time" - }, - "dismissed_at": { - "description": "The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "type": ["string", "null"] - }, - "dismissed_by": { "type": ["object", "null"] }, - "dismissed_comment": { - "$ref": "#/components/schemas/code-scanning-alert-dismissed-comment" - }, - "dismissed_reason": { - "description": "The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`.", - "type": ["string", "null"] - }, - "fixed_at": { - "description": "The time that the alert was fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "type": ["null"] - }, - "html_url": { - "description": "The GitHub URL of the alert resource.", - "type": "string", - "format": "uri" - }, - "most_recent_instance": { - "title": "Alert Instance", - "type": ["object", "null"], - "properties": { - "analysis_key": { - "description": "Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name.", - "type": "string" - }, - "category": { - "description": "Identifies the configuration under which the analysis was executed.", - "type": "string" - }, - "classifications": { - "type": "array", - "items": { "type": "string" } - }, - "commit_sha": { "type": "string" }, - "environment": { - "description": "Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed.", - "type": "string" - }, - "location": { - "type": "object", - "properties": { - "end_column": { "type": "integer" }, - "end_line": { "type": "integer" }, - "path": { "type": "string" }, - "start_column": { "type": "integer" }, - "start_line": { "type": "integer" } - } - }, - "message": { - "type": "object", - "properties": { "text": { "type": "string" } } - }, - "ref": { - "description": "The full Git reference, formatted as `refs/heads/`.", - "type": "string" - }, - "state": { - "description": "State of a code scanning alert.", - "type": "string", - "enum": ["open", "dismissed", "fixed"] - } - }, - "required": ["ref", "analysis_key", "environment", "state"] - }, - "number": { - "description": "The code scanning alert number.", - "type": "integer" - }, - "rule": { - "type": "object", - "properties": { - "description": { - "description": "A short description of the rule used to detect the alert.", - "type": "string" - }, - "full_description": { "type": "string" }, - "help": { "type": ["string", "null"] }, - "help_uri": { - "description": "A link to the documentation for the rule used to detect the alert.", - "type": ["string", "null"] - }, - "id": { - "description": "A unique identifier for the rule used to detect the alert.", - "type": "string" - }, - "name": { "type": "string" }, - "severity": { - "description": "The severity of the alert.", - "type": ["string", "null"], - "enum": ["none", "note", "warning", "error", null] - }, - "tags": { - "type": ["array", "null"], - "items": { "type": "string" } - } - }, - "required": ["id", "severity", "description"] - }, - "state": { - "description": "State of a code scanning alert. Events for alerts found outside the default branch will return a `null` value until they are dismissed or fixed.", - "type": ["string", "null"], - "enum": ["open", "dismissed", "fixed", null] - }, - "tool": { - "type": "object", - "properties": { - "guid": { "type": ["string", "null"] }, - "name": { - "description": "The name of the tool used to generate the code scanning analysis alert.", - "type": "string" - }, - "version": { - "description": "The version of the tool used to detect the alert.", - "type": ["string", "null"] - } - }, - "required": ["name", "version"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "number", - "created_at", - "url", - "html_url", - "state", - "dismissed_by", - "dismissed_at", - "dismissed_reason", - "rule", - "tool" - ] - }, - "commit_oid": { - "description": "The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty.", - "type": ["string", "null"] - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "ref": { - "description": "The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty.", - "type": ["string", "null"] - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "action", - "alert", - "ref", - "commit_oid", - "repository", - "sender" - ] - }, - "webhook-code-scanning-alert-reopened-by-user": { - "title": "code_scanning_alert reopened_by_user event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["reopened_by_user"] }, - "alert": { - "description": "The code scanning alert involved in the event.", - "type": "object", - "properties": { - "created_at": { - "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ.`", - "type": "string", - "format": "date-time" - }, - "dismissed_at": { - "description": "The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "type": ["null"] - }, - "dismissed_by": { "type": ["null"] }, - "dismissed_comment": { - "$ref": "#/components/schemas/code-scanning-alert-dismissed-comment" - }, - "dismissed_reason": { - "description": "The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`.", - "type": ["null"] - }, - "fixed_at": { - "description": "The time that the alert was fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "type": ["null"] - }, - "html_url": { - "description": "The GitHub URL of the alert resource.", - "type": "string", - "format": "uri" - }, - "most_recent_instance": { - "title": "Alert Instance", - "type": ["object", "null"], - "properties": { - "analysis_key": { - "description": "Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name.", - "type": "string" - }, - "category": { - "description": "Identifies the configuration under which the analysis was executed.", - "type": "string" - }, - "classifications": { - "type": "array", - "items": { "type": "string" } - }, - "commit_sha": { "type": "string" }, - "environment": { - "description": "Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed.", - "type": "string" - }, - "location": { - "type": "object", - "properties": { - "end_column": { "type": "integer" }, - "end_line": { "type": "integer" }, - "path": { "type": "string" }, - "start_column": { "type": "integer" }, - "start_line": { "type": "integer" } - } - }, - "message": { - "type": "object", - "properties": { "text": { "type": "string" } } - }, - "ref": { - "description": "The full Git reference, formatted as `refs/heads/`.", - "type": "string" - }, - "state": { - "description": "State of a code scanning alert.", - "type": "string", - "enum": ["open", "dismissed", "fixed"] - } - }, - "required": ["ref", "analysis_key", "environment", "state"] - }, - "number": { - "description": "The code scanning alert number.", - "type": "integer" - }, - "rule": { - "type": "object", - "properties": { - "description": { - "description": "A short description of the rule used to detect the alert.", - "type": "string" - }, - "id": { - "description": "A unique identifier for the rule used to detect the alert.", - "type": "string" - }, - "severity": { - "description": "The severity of the alert.", - "type": ["string", "null"], - "enum": ["none", "note", "warning", "error", null] - } - }, - "required": ["id", "severity", "description"] - }, - "state": { - "description": "State of a code scanning alert. Events for alerts found outside the default branch will return a `null` value until they are dismissed or fixed.", - "type": ["string", "null"], - "enum": ["open", "fixed", null] - }, - "tool": { - "type": "object", - "properties": { - "name": { - "description": "The name of the tool used to generate the code scanning analysis alert.", - "type": "string" - }, - "version": { - "description": "The version of the tool used to detect the alert.", - "type": ["string", "null"] - } - }, - "required": ["name", "version"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "number", - "created_at", - "url", - "html_url", - "state", - "dismissed_by", - "dismissed_at", - "dismissed_reason", - "rule", - "tool" - ] - }, - "commit_oid": { - "$ref": "#/components/schemas/webhooks_code_scanning_commit_oid" - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "ref": { "$ref": "#/components/schemas/webhooks_code_scanning_ref" }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "action", - "alert", - "ref", - "commit_oid", - "repository", - "sender" - ] - }, - "webhook-commit-comment-created": { - "title": "commit_comment created event", - "type": "object", - "properties": { - "action": { - "description": "The action performed. Can be `created`.", - "type": "string", - "enum": ["created"] - }, - "comment": { - "description": "The [commit comment](${externalDocsUpapp/api/description/components/schemas/webhooks/issue-comment-created.yamlrl}/rest/commits/comments#get-a-commit-comment) resource.", - "type": "object", - "properties": { - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { - "description": "The text of the comment.", - "type": "string" - }, - "commit_id": { - "description": "The SHA of the commit to which the comment applies.", - "type": "string" - }, - "created_at": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "The ID of the commit comment.", - "type": "integer" - }, - "line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "type": ["integer", "null"] - }, - "node_id": { - "description": "The node ID of the commit comment.", - "type": "string" - }, - "path": { - "description": "The relative path of the file to which the comment applies.", - "type": ["string", "null"] - }, - "position": { - "description": "The line index in the diff to which the comment applies.", - "type": ["integer", "null"] - }, - "reactions": { - "title": "Reactions", - "type": "object", - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] - }, - "updated_at": { "type": "string" }, - "url": { "type": "string", "format": "uri" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "html_url", - "id", - "node_id", - "user", - "position", - "line", - "path", - "commit_id", - "created_at", - "updated_at", - "author_association", - "body" - ] - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "comment", "repository", "sender"] - }, - "webhook-create": { - "title": "create event", - "type": "object", - "properties": { - "description": { - "description": "The repository's current description.", - "type": ["string", "null"] - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "master_branch": { - "description": "The name of the repository's default branch (usually `main`).", - "type": "string" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pusher_type": { - "$ref": "#/components/schemas/webhooks_deploy_pusher_type" - }, - "ref": { "$ref": "#/components/schemas/webhooks_ref_0" }, - "ref_type": { - "description": "The type of Git ref object created in the repository.", - "type": "string", - "enum": ["tag", "branch"] - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "ref", - "ref_type", - "master_branch", - "description", - "pusher_type", - "repository", - "sender" - ] - }, - "webhook-delete": { - "title": "delete event", - "type": "object", - "properties": { - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pusher_type": { - "$ref": "#/components/schemas/webhooks_deploy_pusher_type" - }, - "ref": { "$ref": "#/components/schemas/webhooks_ref_0" }, - "ref_type": { - "description": "The type of Git ref object deleted in the repository.", - "type": "string", - "enum": ["tag", "branch"] - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["ref", "ref_type", "pusher_type", "repository", "sender"] - }, - "webhook-dependabot-alert-auto-dismissed": { - "title": "Dependabot alert auto-dismissed event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["auto_dismissed"] }, - "alert": { "$ref": "#/components/schemas/dependabot-alert" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "alert", "repository", "sender"] - }, - "webhook-dependabot-alert-auto-reopened": { - "title": "Dependabot alert auto-reopened event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["auto_reopened"] }, - "alert": { "$ref": "#/components/schemas/dependabot-alert" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "alert", "repository", "sender"] - }, - "webhook-dependabot-alert-created": { - "title": "Dependabot alert created event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "alert": { "$ref": "#/components/schemas/dependabot-alert" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "alert", "repository", "sender"] - }, - "webhook-dependabot-alert-dismissed": { - "title": "Dependabot alert dismissed event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["dismissed"] }, - "alert": { "$ref": "#/components/schemas/dependabot-alert" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "alert", "repository", "sender"] - }, - "webhook-dependabot-alert-fixed": { - "title": "Dependabot alert fixed event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["fixed"] }, - "alert": { "$ref": "#/components/schemas/dependabot-alert" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "alert", "repository", "sender"] - }, - "webhook-dependabot-alert-reintroduced": { - "title": "Dependabot alert reintroduced event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["reintroduced"] }, - "alert": { "$ref": "#/components/schemas/dependabot-alert" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "alert", "repository", "sender"] - }, - "webhook-dependabot-alert-reopened": { - "title": "Dependabot alert reopened event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["reopened"] }, - "alert": { "$ref": "#/components/schemas/dependabot-alert" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "alert", "repository", "sender"] - }, - "webhook-deploy-key-created": { - "title": "deploy_key created event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "key": { "$ref": "#/components/schemas/webhooks_deploy_key" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "key", "repository", "sender"] - }, - "webhook-deploy-key-deleted": { - "title": "deploy_key deleted event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["deleted"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "key": { "$ref": "#/components/schemas/webhooks_deploy_key" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "key", "repository", "sender"] - }, - "webhook-deployment-created": { - "title": "deployment created event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "deployment": { - "title": "Deployment", - "description": "The [deployment](https://docs.github.com/enterprise-server@3.13/rest/deployments/deployments#list-deployments).", - "type": "object", - "properties": { - "created_at": { "type": "string" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "environment": { "type": "string" }, - "id": { "type": "integer" }, - "node_id": { "type": "string" }, - "original_environment": { "type": "string" }, - "payload": { - "oneOf": [{ "type": "object" }, { "type": "string" }] - }, - "performed_via_github_app": { - "title": "App", - "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", - "type": ["object", "null"], - "properties": { - "created_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "description": { "type": ["string", "null"] }, - "events": { - "description": "The list of events for the GitHub app", - "type": "array", - "items": { - "type": "string", - "enum": [ - "branch_protection_rule", - "check_run", - "check_suite", - "code_scanning_alert", - "commit_comment", - "content_reference", - "create", - "delete", - "deployment", - "deployment_review", - "deployment_status", - "deploy_key", - "discussion", - "discussion_comment", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "org_block", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "registry_package", - "release", - "repository", - "repository_dispatch", - "secret_scanning_alert", - "star", - "status", - "team", - "team_add", - "watch", - "workflow_dispatch", - "workflow_run", - "workflow_job", - "pull_request_review_thread", - "merge_queue_entry", - "secret_scanning_alert_location", - "merge_group" - ] - } - }, - "external_url": { - "type": ["string", "null"], - "format": "uri" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the GitHub app", - "type": ["integer", "null"] - }, - "name": { - "description": "The name of the GitHub app", - "type": "string" - }, - "node_id": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "description": "The set of permissions for the GitHub app", - "type": "object", - "properties": { - "actions": { - "type": "string", - "enum": ["read", "write"] - }, - "administration": { - "type": "string", - "enum": ["read", "write"] - }, - "checks": { "type": "string", "enum": ["read", "write"] }, - "content_references": { - "type": "string", - "enum": ["read", "write"] - }, - "contents": { - "type": "string", - "enum": ["read", "write"] - }, - "deployments": { - "type": "string", - "enum": ["read", "write"] - }, - "discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "emails": { "type": "string", "enum": ["read", "write"] }, - "environments": { - "type": "string", - "enum": ["read", "write"] - }, - "issues": { "type": "string", "enum": ["read", "write"] }, - "keys": { "type": "string", "enum": ["read", "write"] }, - "members": { - "type": "string", - "enum": ["read", "write"] - }, - "metadata": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_administration": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_packages": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_plan": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_self_hosted_runners": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_user_blocking": { - "type": "string", - "enum": ["read", "write"] - }, - "packages": { - "type": "string", - "enum": ["read", "write"] - }, - "pages": { "type": "string", "enum": ["read", "write"] }, - "pull_requests": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "secret_scanning_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "security_events": { - "type": "string", - "enum": ["read", "write"] - }, - "security_scanning_alert": { - "type": "string", - "enum": ["read", "write"] - }, - "single_file": { - "type": "string", - "enum": ["read", "write"] - }, - "statuses": { - "type": "string", - "enum": ["read", "write"] - }, - "team_discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "vulnerability_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "workflows": { - "type": "string", - "enum": ["read", "write"] - } - } - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string" - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time" - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ] - }, - "production_environment": { "type": "boolean" }, - "ref": { "type": "string" }, - "repository_url": { "type": "string", "format": "uri" }, - "sha": { "type": "string" }, - "statuses_url": { "type": "string", "format": "uri" }, - "task": { "type": "string" }, - "transient_environment": { "type": "boolean" }, - "updated_at": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "id", - "node_id", - "sha", - "ref", - "task", - "payload", - "original_environment", - "environment", - "description", - "creator", - "created_at", - "updated_at", - "statuses_url", - "repository_url" - ] - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "workflow": { "$ref": "#/components/schemas/webhooks_workflow" }, - "workflow_run": { - "title": "Deployment Workflow Run", - "type": ["object", "null"], - "properties": { - "actor": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "artifacts_url": { "type": "string" }, - "cancel_url": { "type": "string" }, - "check_suite_id": { "type": "integer" }, - "check_suite_node_id": { "type": "string" }, - "check_suite_url": { "type": "string" }, - "conclusion": { - "type": ["string", "null"], - "enum": [ - "success", - "failure", - "neutral", - "cancelled", - "timed_out", - "action_required", - "stale", - null - ] - }, - "created_at": { "type": "string", "format": "date-time" }, - "display_title": { "type": "string" }, - "event": { "type": "string" }, - "head_branch": { "type": "string" }, - "head_commit": { "type": ["null"] }, - "head_repository": { - "type": "object", - "properties": { - "archive_url": { "type": "string" }, - "assignees_url": { "type": "string" }, - "blobs_url": { "type": "string" }, - "branches_url": { "type": "string" }, - "collaborators_url": { "type": "string" }, - "comments_url": { "type": "string" }, - "commits_url": { "type": "string" }, - "compare_url": { "type": "string" }, - "contents_url": { "type": "string" }, - "contributors_url": { "type": "string" }, - "deployments_url": { "type": "string" }, - "description": { "type": ["null"] }, - "downloads_url": { "type": "string" }, - "events_url": { "type": "string" }, - "fork": { "type": "boolean" }, - "forks_url": { "type": "string" }, - "full_name": { "type": "string" }, - "git_commits_url": { "type": "string" }, - "git_refs_url": { "type": "string" }, - "git_tags_url": { "type": "string" }, - "hooks_url": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "issue_comment_url": { "type": "string" }, - "issue_events_url": { "type": "string" }, - "issues_url": { "type": "string" }, - "keys_url": { "type": "string" }, - "labels_url": { "type": "string" }, - "languages_url": { "type": "string" }, - "merges_url": { "type": "string" }, - "milestones_url": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "notifications_url": { "type": "string" }, - "owner": { - "type": "object", - "properties": { - "avatar_url": { "type": "string" }, - "events_url": { "type": "string" }, - "followers_url": { "type": "string" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string" }, - "received_events_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string" } - } - }, - "private": { "type": "boolean" }, - "pulls_url": { "type": "string" }, - "releases_url": { "type": "string" }, - "stargazers_url": { "type": "string" }, - "statuses_url": { "type": "string" }, - "subscribers_url": { "type": "string" }, - "subscription_url": { "type": "string" }, - "tags_url": { "type": "string" }, - "teams_url": { "type": "string" }, - "trees_url": { "type": "string" }, - "url": { "type": "string" } - } - }, - "head_sha": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "jobs_url": { "type": "string" }, - "logs_url": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "path": { "type": "string" }, - "previous_attempt_url": { "type": ["null"] }, - "pull_requests": { - "type": "array", - "items": { - "title": "Check Run Pull Request", - "type": "object", - "properties": { - "base": { - "type": "object", - "properties": { - "ref": { "type": "string" }, - "repo": { - "title": "Repo Ref", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "name": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["id", "url", "name"] - }, - "sha": { "type": "string" } - }, - "required": ["ref", "sha", "repo"] - }, - "head": { - "type": "object", - "properties": { - "ref": { "type": "string" }, - "repo": { - "title": "Repo Ref", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "name": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["id", "url", "name"] - }, - "sha": { "type": "string" } - }, - "required": ["ref", "sha", "repo"] - }, - "id": { "type": "integer" }, - "number": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["url", "id", "number", "head", "base"] - } - }, - "referenced_workflows": { - "type": ["array", "null"], - "items": { - "type": "object", - "properties": { - "path": { "type": "string" }, - "ref": { "type": "string" }, - "sha": { "type": "string" } - }, - "required": ["path", "sha"] - } - }, - "repository": { - "type": "object", - "properties": { - "archive_url": { "type": "string" }, - "assignees_url": { "type": "string" }, - "blobs_url": { "type": "string" }, - "branches_url": { "type": "string" }, - "collaborators_url": { "type": "string" }, - "comments_url": { "type": "string" }, - "commits_url": { "type": "string" }, - "compare_url": { "type": "string" }, - "contents_url": { "type": "string" }, - "contributors_url": { "type": "string" }, - "deployments_url": { "type": "string" }, - "description": { "type": ["null"] }, - "downloads_url": { "type": "string" }, - "events_url": { "type": "string" }, - "fork": { "type": "boolean" }, - "forks_url": { "type": "string" }, - "full_name": { "type": "string" }, - "git_commits_url": { "type": "string" }, - "git_refs_url": { "type": "string" }, - "git_tags_url": { "type": "string" }, - "hooks_url": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "issue_comment_url": { "type": "string" }, - "issue_events_url": { "type": "string" }, - "issues_url": { "type": "string" }, - "keys_url": { "type": "string" }, - "labels_url": { "type": "string" }, - "languages_url": { "type": "string" }, - "merges_url": { "type": "string" }, - "milestones_url": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "notifications_url": { "type": "string" }, - "owner": { - "type": "object", - "properties": { - "avatar_url": { "type": "string" }, - "events_url": { "type": "string" }, - "followers_url": { "type": "string" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string" }, - "received_events_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string" } - } - }, - "private": { "type": "boolean" }, - "pulls_url": { "type": "string" }, - "releases_url": { "type": "string" }, - "stargazers_url": { "type": "string" }, - "statuses_url": { "type": "string" }, - "subscribers_url": { "type": "string" }, - "subscription_url": { "type": "string" }, - "tags_url": { "type": "string" }, - "teams_url": { "type": "string" }, - "trees_url": { "type": "string" }, - "url": { "type": "string" } - } - }, - "rerun_url": { "type": "string" }, - "run_attempt": { "type": "integer" }, - "run_number": { "type": "integer" }, - "run_started_at": { "type": "string", "format": "date-time" }, - "status": { - "type": "string", - "enum": [ - "requested", - "in_progress", - "completed", - "queued", - "waiting", - "pending" - ] - }, - "triggering_actor": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "workflow_id": { "type": "integer" }, - "workflow_url": { "type": "string" } - }, - "required": [ - "id", - "name", - "node_id", - "head_branch", - "head_sha", - "run_number", - "event", - "status", - "conclusion", - "workflow_id", - "check_suite_id", - "check_suite_node_id", - "url", - "html_url", - "path", - "pull_requests", - "created_at", - "updated_at", - "actor", - "run_attempt", - "run_started_at", - "display_title" - ] - } - }, - "required": [ - "action", - "deployment", - "workflow", - "workflow_run", - "repository", - "sender" - ] - }, - "webhook-deployment-protection-rule-requested": { - "title": "deployment protection rule requested event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["requested"] }, - "environment": { - "description": "The name of the environment that has the deployment protection rule.", - "type": "string" - }, - "event": { - "description": "The event that triggered the deployment protection rule.", - "type": "string" - }, - "deployment_callback_url": { - "description": "The URL to review the deployment protection rule.", - "type": "string", - "format": "uri" - }, - "deployment": { "$ref": "#/components/schemas/deployment" }, - "pull_requests": { - "type": "array", - "items": { "$ref": "#/components/schemas/pull-request" } - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "sender": { "$ref": "#/components/schemas/simple-user" } - } - }, - "webhook-deployment-review-approved": { - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["approved"] }, - "approver": { "$ref": "#/components/schemas/webhooks_approver" }, - "comment": { "type": "string" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "reviewers": { "$ref": "#/components/schemas/webhooks_reviewers" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "since": { "type": "string" }, - "workflow_job_run": { - "$ref": "#/components/schemas/webhooks_workflow_job_run" - }, - "workflow_job_runs": { - "type": "array", - "items": { - "type": "object", - "properties": { - "conclusion": { "type": ["null"] }, - "created_at": { "type": "string" }, - "environment": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "name": { "type": ["string", "null"] }, - "status": { "type": "string" }, - "updated_at": { "type": "string" } - } - } - }, - "workflow_run": { - "title": "Deployment Workflow Run", - "type": ["object", "null"], - "properties": { - "actor": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "artifacts_url": { "type": "string" }, - "cancel_url": { "type": "string" }, - "check_suite_id": { "type": "integer" }, - "check_suite_node_id": { "type": "string" }, - "check_suite_url": { "type": "string" }, - "conclusion": { - "type": ["string", "null"], - "enum": [ - "success", - "failure", - "neutral", - "cancelled", - "timed_out", - "action_required", - "stale", - null - ] - }, - "created_at": { "type": "string", "format": "date-time" }, - "display_title": { "type": "string" }, - "event": { "type": "string" }, - "head_branch": { "type": "string" }, - "head_commit": { "type": ["object", "null"] }, - "head_repository": { - "type": "object", - "properties": { - "archive_url": { "type": "string" }, - "assignees_url": { "type": "string" }, - "blobs_url": { "type": "string" }, - "branches_url": { "type": "string" }, - "collaborators_url": { "type": "string" }, - "comments_url": { "type": "string" }, - "commits_url": { "type": "string" }, - "compare_url": { "type": "string" }, - "contents_url": { "type": "string" }, - "contributors_url": { "type": "string" }, - "deployments_url": { "type": "string" }, - "description": { "type": ["string", "null"] }, - "downloads_url": { "type": "string" }, - "events_url": { "type": "string" }, - "fork": { "type": "boolean" }, - "forks_url": { "type": "string" }, - "full_name": { "type": "string" }, - "git_commits_url": { "type": "string" }, - "git_refs_url": { "type": "string" }, - "git_tags_url": { "type": "string" }, - "hooks_url": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "issue_comment_url": { "type": "string" }, - "issue_events_url": { "type": "string" }, - "issues_url": { "type": "string" }, - "keys_url": { "type": "string" }, - "labels_url": { "type": "string" }, - "languages_url": { "type": "string" }, - "merges_url": { "type": "string" }, - "milestones_url": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "notifications_url": { "type": "string" }, - "owner": { - "type": "object", - "properties": { - "avatar_url": { "type": "string" }, - "events_url": { "type": "string" }, - "followers_url": { "type": "string" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string" }, - "received_events_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string" }, - "user_view_type": { "type": "string" } - } - }, - "private": { "type": "boolean" }, - "pulls_url": { "type": "string" }, - "releases_url": { "type": "string" }, - "stargazers_url": { "type": "string" }, - "statuses_url": { "type": "string" }, - "subscribers_url": { "type": "string" }, - "subscription_url": { "type": "string" }, - "tags_url": { "type": "string" }, - "teams_url": { "type": "string" }, - "trees_url": { "type": "string" }, - "url": { "type": "string" } - } - }, - "head_sha": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "jobs_url": { "type": "string" }, - "logs_url": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "path": { "type": "string" }, - "previous_attempt_url": { "type": ["string", "null"] }, - "pull_requests": { - "type": "array", - "items": { - "title": "Check Run Pull Request", - "type": "object", - "properties": { - "base": { - "type": "object", - "properties": { - "ref": { "type": "string" }, - "repo": { - "title": "Repo Ref", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "name": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["id", "url", "name"] - }, - "sha": { "type": "string" } - }, - "required": ["ref", "sha", "repo"] - }, - "head": { - "type": "object", - "properties": { - "ref": { "type": "string" }, - "repo": { - "title": "Repo Ref", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "name": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["id", "url", "name"] - }, - "sha": { "type": "string" } - }, - "required": ["ref", "sha", "repo"] - }, - "id": { "type": "integer" }, - "number": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["url", "id", "number", "head", "base"] - } - }, - "referenced_workflows": { - "type": ["array", "null"], - "items": { - "type": "object", - "properties": { - "path": { "type": "string" }, - "ref": { "type": "string" }, - "sha": { "type": "string" } - }, - "required": ["path", "sha"] - } - }, - "repository": { - "type": "object", - "properties": { - "archive_url": { "type": "string" }, - "assignees_url": { "type": "string" }, - "blobs_url": { "type": "string" }, - "branches_url": { "type": "string" }, - "collaborators_url": { "type": "string" }, - "comments_url": { "type": "string" }, - "commits_url": { "type": "string" }, - "compare_url": { "type": "string" }, - "contents_url": { "type": "string" }, - "contributors_url": { "type": "string" }, - "deployments_url": { "type": "string" }, - "description": { "type": ["string", "null"] }, - "downloads_url": { "type": "string" }, - "events_url": { "type": "string" }, - "fork": { "type": "boolean" }, - "forks_url": { "type": "string" }, - "full_name": { "type": "string" }, - "git_commits_url": { "type": "string" }, - "git_refs_url": { "type": "string" }, - "git_tags_url": { "type": "string" }, - "hooks_url": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "issue_comment_url": { "type": "string" }, - "issue_events_url": { "type": "string" }, - "issues_url": { "type": "string" }, - "keys_url": { "type": "string" }, - "labels_url": { "type": "string" }, - "languages_url": { "type": "string" }, - "merges_url": { "type": "string" }, - "milestones_url": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "notifications_url": { "type": "string" }, - "owner": { - "type": "object", - "properties": { - "avatar_url": { "type": "string" }, - "events_url": { "type": "string" }, - "followers_url": { "type": "string" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string" }, - "received_events_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string" }, - "user_view_type": { "type": "string" } - } - }, - "private": { "type": "boolean" }, - "pulls_url": { "type": "string" }, - "releases_url": { "type": "string" }, - "stargazers_url": { "type": "string" }, - "statuses_url": { "type": "string" }, - "subscribers_url": { "type": "string" }, - "subscription_url": { "type": "string" }, - "tags_url": { "type": "string" }, - "teams_url": { "type": "string" }, - "trees_url": { "type": "string" }, - "url": { "type": "string" } - } - }, - "rerun_url": { "type": "string" }, - "run_attempt": { "type": "integer" }, - "run_number": { "type": "integer" }, - "run_started_at": { "type": "string", "format": "date-time" }, - "status": { - "type": "string", - "enum": [ - "requested", - "in_progress", - "completed", - "queued", - "waiting", - "pending" - ] - }, - "triggering_actor": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "workflow_id": { "type": "integer" }, - "workflow_url": { "type": "string" } - }, - "required": [ - "id", - "name", - "node_id", - "head_branch", - "head_sha", - "run_number", - "event", - "status", - "conclusion", - "workflow_id", - "check_suite_id", - "check_suite_node_id", - "url", - "html_url", - "path", - "pull_requests", - "created_at", - "updated_at", - "actor", - "triggering_actor", - "run_attempt", - "run_started_at", - "display_title" - ] - } - }, - "required": [ - "action", - "workflow_run", - "since", - "repository", - "organization", - "sender" - ] - }, - "webhook-deployment-review-rejected": { - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["rejected"] }, - "approver": { "$ref": "#/components/schemas/webhooks_approver" }, - "comment": { "type": "string" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "reviewers": { "$ref": "#/components/schemas/webhooks_reviewers" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "since": { "type": "string" }, - "workflow_job_run": { - "$ref": "#/components/schemas/webhooks_workflow_job_run" - }, - "workflow_job_runs": { - "type": "array", - "items": { - "type": "object", - "properties": { - "conclusion": { "type": ["string", "null"] }, - "created_at": { "type": "string" }, - "environment": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "name": { "type": ["string", "null"] }, - "status": { "type": "string" }, - "updated_at": { "type": "string" } - } - } - }, - "workflow_run": { - "title": "Deployment Workflow Run", - "type": ["object", "null"], - "properties": { - "actor": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "artifacts_url": { "type": "string" }, - "cancel_url": { "type": "string" }, - "check_suite_id": { "type": "integer" }, - "check_suite_node_id": { "type": "string" }, - "check_suite_url": { "type": "string" }, - "conclusion": { - "type": ["string", "null"], - "enum": [ - "success", - "failure", - "neutral", - "cancelled", - "timed_out", - "action_required", - "stale", - null - ] - }, - "created_at": { "type": "string", "format": "date-time" }, - "event": { "type": "string" }, - "head_branch": { "type": "string" }, - "head_commit": { "type": ["object", "null"] }, - "head_repository": { - "type": "object", - "properties": { - "archive_url": { "type": "string" }, - "assignees_url": { "type": "string" }, - "blobs_url": { "type": "string" }, - "branches_url": { "type": "string" }, - "collaborators_url": { "type": "string" }, - "comments_url": { "type": "string" }, - "commits_url": { "type": "string" }, - "compare_url": { "type": "string" }, - "contents_url": { "type": "string" }, - "contributors_url": { "type": "string" }, - "deployments_url": { "type": "string" }, - "description": { "type": ["string", "null"] }, - "downloads_url": { "type": "string" }, - "events_url": { "type": "string" }, - "fork": { "type": "boolean" }, - "forks_url": { "type": "string" }, - "full_name": { "type": "string" }, - "git_commits_url": { "type": "string" }, - "git_refs_url": { "type": "string" }, - "git_tags_url": { "type": "string" }, - "hooks_url": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "issue_comment_url": { "type": "string" }, - "issue_events_url": { "type": "string" }, - "issues_url": { "type": "string" }, - "keys_url": { "type": "string" }, - "labels_url": { "type": "string" }, - "languages_url": { "type": "string" }, - "merges_url": { "type": "string" }, - "milestones_url": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "notifications_url": { "type": "string" }, - "owner": { - "type": "object", - "properties": { - "avatar_url": { "type": "string" }, - "events_url": { "type": "string" }, - "followers_url": { "type": "string" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string" }, - "received_events_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string" }, - "user_view_type": { "type": "string" } - } - }, - "private": { "type": "boolean" }, - "pulls_url": { "type": "string" }, - "releases_url": { "type": "string" }, - "stargazers_url": { "type": "string" }, - "statuses_url": { "type": "string" }, - "subscribers_url": { "type": "string" }, - "subscription_url": { "type": "string" }, - "tags_url": { "type": "string" }, - "teams_url": { "type": "string" }, - "trees_url": { "type": "string" }, - "url": { "type": "string" } - } - }, - "head_sha": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "jobs_url": { "type": "string" }, - "logs_url": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "path": { "type": "string" }, - "previous_attempt_url": { "type": ["string", "null"] }, - "pull_requests": { - "type": "array", - "items": { - "title": "Check Run Pull Request", - "type": "object", - "properties": { - "base": { - "type": "object", - "properties": { - "ref": { "type": "string" }, - "repo": { - "title": "Repo Ref", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "name": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["id", "url", "name"] - }, - "sha": { "type": "string" } - }, - "required": ["ref", "sha", "repo"] - }, - "head": { - "type": "object", - "properties": { - "ref": { "type": "string" }, - "repo": { - "title": "Repo Ref", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "name": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["id", "url", "name"] - }, - "sha": { "type": "string" } - }, - "required": ["ref", "sha", "repo"] - }, - "id": { "type": "integer" }, - "number": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["url", "id", "number", "head", "base"] - } - }, - "referenced_workflows": { - "type": ["array", "null"], - "items": { - "type": "object", - "properties": { - "path": { "type": "string" }, - "ref": { "type": "string" }, - "sha": { "type": "string" } - }, - "required": ["path", "sha"] - } - }, - "repository": { - "type": "object", - "properties": { - "archive_url": { "type": "string" }, - "assignees_url": { "type": "string" }, - "blobs_url": { "type": "string" }, - "branches_url": { "type": "string" }, - "collaborators_url": { "type": "string" }, - "comments_url": { "type": "string" }, - "commits_url": { "type": "string" }, - "compare_url": { "type": "string" }, - "contents_url": { "type": "string" }, - "contributors_url": { "type": "string" }, - "deployments_url": { "type": "string" }, - "description": { "type": ["string", "null"] }, - "downloads_url": { "type": "string" }, - "events_url": { "type": "string" }, - "fork": { "type": "boolean" }, - "forks_url": { "type": "string" }, - "full_name": { "type": "string" }, - "git_commits_url": { "type": "string" }, - "git_refs_url": { "type": "string" }, - "git_tags_url": { "type": "string" }, - "hooks_url": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "issue_comment_url": { "type": "string" }, - "issue_events_url": { "type": "string" }, - "issues_url": { "type": "string" }, - "keys_url": { "type": "string" }, - "labels_url": { "type": "string" }, - "languages_url": { "type": "string" }, - "merges_url": { "type": "string" }, - "milestones_url": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "notifications_url": { "type": "string" }, - "owner": { - "type": "object", - "properties": { - "avatar_url": { "type": "string" }, - "events_url": { "type": "string" }, - "followers_url": { "type": "string" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string" }, - "received_events_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string" }, - "user_view_type": { "type": "string" } - } - }, - "private": { "type": "boolean" }, - "pulls_url": { "type": "string" }, - "releases_url": { "type": "string" }, - "stargazers_url": { "type": "string" }, - "statuses_url": { "type": "string" }, - "subscribers_url": { "type": "string" }, - "subscription_url": { "type": "string" }, - "tags_url": { "type": "string" }, - "teams_url": { "type": "string" }, - "trees_url": { "type": "string" }, - "url": { "type": "string" } - } - }, - "rerun_url": { "type": "string" }, - "run_attempt": { "type": "integer" }, - "run_number": { "type": "integer" }, - "run_started_at": { "type": "string", "format": "date-time" }, - "status": { - "type": "string", - "enum": [ - "requested", - "in_progress", - "completed", - "queued", - "waiting" - ] - }, - "triggering_actor": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "workflow_id": { "type": "integer" }, - "workflow_url": { "type": "string" }, - "display_title": { "type": "string" } - }, - "required": [ - "id", - "name", - "node_id", - "head_branch", - "head_sha", - "run_number", - "event", - "status", - "conclusion", - "workflow_id", - "check_suite_id", - "check_suite_node_id", - "url", - "html_url", - "path", - "pull_requests", - "created_at", - "updated_at", - "actor", - "triggering_actor", - "run_attempt", - "run_started_at", - "display_title" - ] - } - }, - "required": [ - "action", - "workflow_run", - "since", - "repository", - "organization", - "sender" - ] - }, - "webhook-deployment-review-requested": { - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["requested"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "environment": { "type": "string" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "requestor": { "$ref": "#/components/schemas/webhooks_user" }, - "reviewers": { - "type": "array", - "items": { - "type": "object", - "properties": { - "reviewer": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["id"] - }, - "type": { "type": "string", "enum": ["User", "Team"] } - } - } - }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "since": { "type": "string" }, - "workflow_job_run": { - "type": "object", - "properties": { - "conclusion": { "type": ["null"] }, - "created_at": { "type": "string" }, - "environment": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "name": { "type": ["string", "null"] }, - "status": { "type": "string" }, - "updated_at": { "type": "string" } - }, - "required": [ - "id", - "name", - "status", - "conclusion", - "html_url", - "created_at", - "updated_at", - "environment" - ] - }, - "workflow_run": { - "title": "Deployment Workflow Run", - "type": ["object", "null"], - "properties": { - "actor": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "artifacts_url": { "type": "string" }, - "cancel_url": { "type": "string" }, - "check_suite_id": { "type": "integer" }, - "check_suite_node_id": { "type": "string" }, - "check_suite_url": { "type": "string" }, - "conclusion": { - "type": ["string", "null"], - "enum": [ - "success", - "failure", - "neutral", - "cancelled", - "timed_out", - "action_required", - "stale", - null - ] - }, - "created_at": { "type": "string", "format": "date-time" }, - "event": { "type": "string" }, - "head_branch": { "type": "string" }, - "head_commit": { "type": ["object", "null"] }, - "head_repository": { - "type": "object", - "properties": { - "archive_url": { "type": "string" }, - "assignees_url": { "type": "string" }, - "blobs_url": { "type": "string" }, - "branches_url": { "type": "string" }, - "collaborators_url": { "type": "string" }, - "comments_url": { "type": "string" }, - "commits_url": { "type": "string" }, - "compare_url": { "type": "string" }, - "contents_url": { "type": "string" }, - "contributors_url": { "type": "string" }, - "deployments_url": { "type": "string" }, - "description": { "type": ["string", "null"] }, - "downloads_url": { "type": "string" }, - "events_url": { "type": "string" }, - "fork": { "type": "boolean" }, - "forks_url": { "type": "string" }, - "full_name": { "type": "string" }, - "git_commits_url": { "type": "string" }, - "git_refs_url": { "type": "string" }, - "git_tags_url": { "type": "string" }, - "hooks_url": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "issue_comment_url": { "type": "string" }, - "issue_events_url": { "type": "string" }, - "issues_url": { "type": "string" }, - "keys_url": { "type": "string" }, - "labels_url": { "type": "string" }, - "languages_url": { "type": "string" }, - "merges_url": { "type": "string" }, - "milestones_url": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "notifications_url": { "type": "string" }, - "owner": { - "type": "object", - "properties": { - "avatar_url": { "type": "string" }, - "events_url": { "type": "string" }, - "followers_url": { "type": "string" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string" }, - "received_events_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string" }, - "user_view_type": { "type": "string" } - } - }, - "private": { "type": "boolean" }, - "pulls_url": { "type": "string" }, - "releases_url": { "type": "string" }, - "stargazers_url": { "type": "string" }, - "statuses_url": { "type": "string" }, - "subscribers_url": { "type": "string" }, - "subscription_url": { "type": "string" }, - "tags_url": { "type": "string" }, - "teams_url": { "type": "string" }, - "trees_url": { "type": "string" }, - "url": { "type": "string" } - } - }, - "head_sha": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "jobs_url": { "type": "string" }, - "logs_url": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "path": { "type": "string" }, - "previous_attempt_url": { "type": ["string", "null"] }, - "pull_requests": { - "type": "array", - "items": { - "title": "Check Run Pull Request", - "type": "object", - "properties": { - "base": { - "type": "object", - "properties": { - "ref": { "type": "string" }, - "repo": { - "title": "Repo Ref", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "name": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["id", "url", "name"] - }, - "sha": { "type": "string" } - }, - "required": ["ref", "sha", "repo"] - }, - "head": { - "type": "object", - "properties": { - "ref": { "type": "string" }, - "repo": { - "title": "Repo Ref", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "name": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["id", "url", "name"] - }, - "sha": { "type": "string" } - }, - "required": ["ref", "sha", "repo"] - }, - "id": { "type": "integer" }, - "number": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["url", "id", "number", "head", "base"] - } - }, - "referenced_workflows": { - "type": ["array", "null"], - "items": { - "type": "object", - "properties": { - "path": { "type": "string" }, - "ref": { "type": "string" }, - "sha": { "type": "string" } - }, - "required": ["path", "sha"] - } - }, - "repository": { - "type": "object", - "properties": { - "archive_url": { "type": "string" }, - "assignees_url": { "type": "string" }, - "blobs_url": { "type": "string" }, - "branches_url": { "type": "string" }, - "collaborators_url": { "type": "string" }, - "comments_url": { "type": "string" }, - "commits_url": { "type": "string" }, - "compare_url": { "type": "string" }, - "contents_url": { "type": "string" }, - "contributors_url": { "type": "string" }, - "deployments_url": { "type": "string" }, - "description": { "type": ["string", "null"] }, - "downloads_url": { "type": "string" }, - "events_url": { "type": "string" }, - "fork": { "type": "boolean" }, - "forks_url": { "type": "string" }, - "full_name": { "type": "string" }, - "git_commits_url": { "type": "string" }, - "git_refs_url": { "type": "string" }, - "git_tags_url": { "type": "string" }, - "hooks_url": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "issue_comment_url": { "type": "string" }, - "issue_events_url": { "type": "string" }, - "issues_url": { "type": "string" }, - "keys_url": { "type": "string" }, - "labels_url": { "type": "string" }, - "languages_url": { "type": "string" }, - "merges_url": { "type": "string" }, - "milestones_url": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "notifications_url": { "type": "string" }, - "owner": { - "type": "object", - "properties": { - "avatar_url": { "type": "string" }, - "events_url": { "type": "string" }, - "followers_url": { "type": "string" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string" }, - "received_events_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string" }, - "user_view_type": { "type": "string" } - } - }, - "private": { "type": "boolean" }, - "pulls_url": { "type": "string" }, - "releases_url": { "type": "string" }, - "stargazers_url": { "type": "string" }, - "statuses_url": { "type": "string" }, - "subscribers_url": { "type": "string" }, - "subscription_url": { "type": "string" }, - "tags_url": { "type": "string" }, - "teams_url": { "type": "string" }, - "trees_url": { "type": "string" }, - "url": { "type": "string" } - } - }, - "rerun_url": { "type": "string" }, - "run_attempt": { "type": "integer" }, - "run_number": { "type": "integer" }, - "run_started_at": { "type": "string", "format": "date-time" }, - "status": { - "type": "string", - "enum": [ - "requested", - "in_progress", - "completed", - "queued", - "waiting", - "pending" - ] - }, - "triggering_actor": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "workflow_id": { "type": "integer" }, - "workflow_url": { "type": "string" }, - "display_title": { "type": "string" } - }, - "required": [ - "id", - "name", - "node_id", - "head_branch", - "head_sha", - "run_number", - "event", - "status", - "conclusion", - "workflow_id", - "check_suite_id", - "check_suite_node_id", - "url", - "html_url", - "path", - "pull_requests", - "created_at", - "updated_at", - "actor", - "triggering_actor", - "run_attempt", - "run_started_at", - "display_title" - ] - } - }, - "required": [ - "action", - "workflow_run", - "since", - "workflow_job_run", - "environment", - "reviewers", - "requestor", - "repository", - "organization", - "sender" - ] - }, - "webhook-deployment-status-created": { - "title": "deployment_status created event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "check_run": { - "type": ["object", "null"], - "properties": { - "completed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "conclusion": { - "description": "The result of the completed check run. This value will be `null` until the check run has completed.", - "type": ["string", "null"], - "enum": [ - "success", - "failure", - "neutral", - "cancelled", - "timed_out", - "action_required", - "stale", - "skipped", - null - ] - }, - "details_url": { "type": "string", "format": "uri" }, - "external_id": { "type": "string" }, - "head_sha": { - "description": "The SHA of the commit that is being checked.", - "type": "string" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "The id of the check.", - "type": "integer" - }, - "name": { - "description": "The name of the check run.", - "type": "string" - }, - "node_id": { "type": "string" }, - "started_at": { "type": "string", "format": "date-time" }, - "status": { - "description": "The current status of the check run. Can be `queued`, `in_progress`, or `completed`.", - "type": "string", - "enum": [ - "queued", - "in_progress", - "completed", - "waiting", - "pending" - ] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "id", - "name", - "node_id", - "head_sha", - "external_id", - "url", - "html_url", - "details_url", - "status", - "conclusion", - "started_at", - "completed_at" - ] - }, - "deployment": { - "title": "Deployment", - "description": "The [deployment](https://docs.github.com/enterprise-server@3.13/rest/deployments/deployments#list-deployments).", - "type": "object", - "properties": { - "created_at": { "type": "string" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "environment": { "type": "string" }, - "id": { "type": "integer" }, - "node_id": { "type": "string" }, - "original_environment": { "type": "string" }, - "payload": { - "oneOf": [{ "type": "string" }, { "type": "object" }], - "type": ["null", "string", "object"] - }, - "performed_via_github_app": { - "title": "App", - "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", - "type": ["object", "null"], - "properties": { - "created_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "description": { "type": ["string", "null"] }, - "events": { - "description": "The list of events for the GitHub app", - "type": "array", - "items": { - "type": "string", - "enum": [ - "branch_protection_rule", - "check_run", - "check_suite", - "code_scanning_alert", - "commit_comment", - "content_reference", - "create", - "delete", - "deployment", - "deployment_review", - "deployment_status", - "deploy_key", - "discussion", - "discussion_comment", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "org_block", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "registry_package", - "release", - "repository", - "repository_dispatch", - "secret_scanning_alert", - "star", - "status", - "team", - "team_add", - "watch", - "workflow_dispatch", - "workflow_run", - "merge_queue_entry", - "workflow_job", - "pull_request_review_thread", - "secret_scanning_alert_location", - "merge_group" - ] - } - }, - "external_url": { - "type": ["string", "null"], - "format": "uri" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the GitHub app", - "type": ["integer", "null"] - }, - "name": { - "description": "The name of the GitHub app", - "type": "string" - }, - "node_id": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "description": "The set of permissions for the GitHub app", - "type": "object", - "properties": { - "actions": { - "type": "string", - "enum": ["read", "write"] - }, - "administration": { - "type": "string", - "enum": ["read", "write"] - }, - "checks": { "type": "string", "enum": ["read", "write"] }, - "content_references": { - "type": "string", - "enum": ["read", "write"] - }, - "contents": { - "type": "string", - "enum": ["read", "write"] - }, - "deployments": { - "type": "string", - "enum": ["read", "write"] - }, - "discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "emails": { "type": "string", "enum": ["read", "write"] }, - "environments": { - "type": "string", - "enum": ["read", "write"] - }, - "issues": { "type": "string", "enum": ["read", "write"] }, - "keys": { "type": "string", "enum": ["read", "write"] }, - "members": { - "type": "string", - "enum": ["read", "write"] - }, - "metadata": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_administration": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_packages": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_plan": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_self_hosted_runners": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_user_blocking": { - "type": "string", - "enum": ["read", "write"] - }, - "packages": { - "type": "string", - "enum": ["read", "write"] - }, - "pages": { "type": "string", "enum": ["read", "write"] }, - "pull_requests": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "secret_scanning_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "security_events": { - "type": "string", - "enum": ["read", "write"] - }, - "security_scanning_alert": { - "type": "string", - "enum": ["read", "write"] - }, - "single_file": { - "type": "string", - "enum": ["read", "write"] - }, - "statuses": { - "type": "string", - "enum": ["read", "write"] - }, - "team_discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "vulnerability_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "workflows": { - "type": "string", - "enum": ["read", "write"] - } - } - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string" - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time" - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ] - }, - "production_environment": { "type": "boolean" }, - "ref": { "type": "string" }, - "repository_url": { "type": "string", "format": "uri" }, - "sha": { "type": "string" }, - "statuses_url": { "type": "string", "format": "uri" }, - "task": { "type": "string" }, - "transient_environment": { "type": "boolean" }, - "updated_at": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "id", - "node_id", - "sha", - "ref", - "task", - "payload", - "original_environment", - "environment", - "description", - "creator", - "created_at", - "updated_at", - "statuses_url", - "repository_url" - ] - }, - "deployment_status": { - "description": "The [deployment status](https://docs.github.com/enterprise-server@3.13/rest/deployments/statuses#list-deployment-statuses).", - "type": "object", - "properties": { - "created_at": { "type": "string" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "deployment_url": { "type": "string", "format": "uri" }, - "description": { - "description": "The optional human-readable description added to the status.", - "type": "string" - }, - "environment": { "type": "string" }, - "environment_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "log_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "performed_via_github_app": { - "title": "App", - "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", - "type": ["object", "null"], - "properties": { - "created_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "description": { "type": ["string", "null"] }, - "events": { - "description": "The list of events for the GitHub app", - "type": "array", - "items": { - "type": "string", - "enum": [ - "branch_protection_rule", - "check_run", - "check_suite", - "code_scanning_alert", - "commit_comment", - "content_reference", - "create", - "delete", - "deployment", - "deployment_review", - "deployment_status", - "deploy_key", - "discussion", - "discussion_comment", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "org_block", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "registry_package", - "release", - "repository", - "repository_dispatch", - "secret_scanning_alert", - "star", - "status", - "team", - "team_add", - "watch", - "workflow_dispatch", - "workflow_run", - "pull_request_review_thread", - "merge_queue_entry", - "workflow_job", - "merge_group", - "secret_scanning_alert_location" - ] - } - }, - "external_url": { - "type": ["string", "null"], - "format": "uri" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the GitHub app", - "type": ["integer", "null"] - }, - "name": { - "description": "The name of the GitHub app", - "type": "string" - }, - "node_id": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "description": "The set of permissions for the GitHub app", - "type": "object", - "properties": { - "actions": { - "type": "string", - "enum": ["read", "write"] - }, - "administration": { - "type": "string", - "enum": ["read", "write"] - }, - "checks": { "type": "string", "enum": ["read", "write"] }, - "content_references": { - "type": "string", - "enum": ["read", "write"] - }, - "contents": { - "type": "string", - "enum": ["read", "write"] - }, - "deployments": { - "type": "string", - "enum": ["read", "write"] - }, - "discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "emails": { "type": "string", "enum": ["read", "write"] }, - "environments": { - "type": "string", - "enum": ["read", "write"] - }, - "issues": { "type": "string", "enum": ["read", "write"] }, - "keys": { "type": "string", "enum": ["read", "write"] }, - "members": { - "type": "string", - "enum": ["read", "write"] - }, - "metadata": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_administration": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_packages": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_plan": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_self_hosted_runners": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_user_blocking": { - "type": "string", - "enum": ["read", "write"] - }, - "packages": { - "type": "string", - "enum": ["read", "write"] - }, - "pages": { "type": "string", "enum": ["read", "write"] }, - "pull_requests": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "secret_scanning_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "security_events": { - "type": "string", - "enum": ["read", "write"] - }, - "security_scanning_alert": { - "type": "string", - "enum": ["read", "write"] - }, - "single_file": { - "type": "string", - "enum": ["read", "write"] - }, - "statuses": { - "type": "string", - "enum": ["read", "write"] - }, - "team_discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "vulnerability_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "workflows": { - "type": "string", - "enum": ["read", "write"] - } - } - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string" - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time" - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ] - }, - "repository_url": { "type": "string", "format": "uri" }, - "state": { - "description": "The new state. Can be `pending`, `success`, `failure`, or `error`.", - "type": "string" - }, - "target_url": { - "description": "The optional link added to the status.", - "type": "string" - }, - "updated_at": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "id", - "node_id", - "state", - "creator", - "description", - "environment", - "target_url", - "created_at", - "updated_at", - "deployment_url", - "repository_url" - ] - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "workflow": { "$ref": "#/components/schemas/webhooks_workflow" }, - "workflow_run": { - "title": "Deployment Workflow Run", - "type": ["object", "null"], - "properties": { - "actor": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "artifacts_url": { "type": "string" }, - "cancel_url": { "type": "string" }, - "check_suite_id": { "type": "integer" }, - "check_suite_node_id": { "type": "string" }, - "check_suite_url": { "type": "string" }, - "conclusion": { - "type": ["string", "null"], - "enum": [ - "success", - "failure", - "neutral", - "cancelled", - "timed_out", - "action_required", - "stale", - null, - "startup_failure" - ] - }, - "created_at": { "type": "string", "format": "date-time" }, - "display_title": { "type": "string" }, - "event": { "type": "string" }, - "head_branch": { "type": "string" }, - "head_commit": { "type": ["null"] }, - "head_repository": { - "type": "object", - "properties": { - "archive_url": { "type": "string" }, - "assignees_url": { "type": "string" }, - "blobs_url": { "type": "string" }, - "branches_url": { "type": "string" }, - "collaborators_url": { "type": "string" }, - "comments_url": { "type": "string" }, - "commits_url": { "type": "string" }, - "compare_url": { "type": "string" }, - "contents_url": { "type": "string" }, - "contributors_url": { "type": "string" }, - "deployments_url": { "type": "string" }, - "description": { "type": ["null"] }, - "downloads_url": { "type": "string" }, - "events_url": { "type": "string" }, - "fork": { "type": "boolean" }, - "forks_url": { "type": "string" }, - "full_name": { "type": "string" }, - "git_commits_url": { "type": "string" }, - "git_refs_url": { "type": "string" }, - "git_tags_url": { "type": "string" }, - "hooks_url": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "issue_comment_url": { "type": "string" }, - "issue_events_url": { "type": "string" }, - "issues_url": { "type": "string" }, - "keys_url": { "type": "string" }, - "labels_url": { "type": "string" }, - "languages_url": { "type": "string" }, - "merges_url": { "type": "string" }, - "milestones_url": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "notifications_url": { "type": "string" }, - "owner": { - "type": "object", - "properties": { - "avatar_url": { "type": "string" }, - "events_url": { "type": "string" }, - "followers_url": { "type": "string" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string" }, - "received_events_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string" } - } - }, - "private": { "type": "boolean" }, - "pulls_url": { "type": "string" }, - "releases_url": { "type": "string" }, - "stargazers_url": { "type": "string" }, - "statuses_url": { "type": "string" }, - "subscribers_url": { "type": "string" }, - "subscription_url": { "type": "string" }, - "tags_url": { "type": "string" }, - "teams_url": { "type": "string" }, - "trees_url": { "type": "string" }, - "url": { "type": "string" } - } - }, - "head_sha": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "jobs_url": { "type": "string" }, - "logs_url": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "path": { "type": "string" }, - "previous_attempt_url": { "type": ["null"] }, - "pull_requests": { - "type": "array", - "items": { - "title": "Check Run Pull Request", - "type": "object", - "properties": { - "base": { - "type": "object", - "properties": { - "ref": { "type": "string" }, - "repo": { - "title": "Repo Ref", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "name": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["id", "url", "name"] - }, - "sha": { "type": "string" } - }, - "required": ["ref", "sha", "repo"] - }, - "head": { - "type": "object", - "properties": { - "ref": { "type": "string" }, - "repo": { - "title": "Repo Ref", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "name": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["id", "url", "name"] - }, - "sha": { "type": "string" } - }, - "required": ["ref", "sha", "repo"] - }, - "id": { "type": "integer" }, - "number": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["url", "id", "number", "head", "base"] - } - }, - "referenced_workflows": { - "type": ["array", "null"], - "items": { - "type": "object", - "properties": { - "path": { "type": "string" }, - "ref": { "type": "string" }, - "sha": { "type": "string" } - }, - "required": ["path", "sha"] - } - }, - "repository": { - "type": "object", - "properties": { - "archive_url": { "type": "string" }, - "assignees_url": { "type": "string" }, - "blobs_url": { "type": "string" }, - "branches_url": { "type": "string" }, - "collaborators_url": { "type": "string" }, - "comments_url": { "type": "string" }, - "commits_url": { "type": "string" }, - "compare_url": { "type": "string" }, - "contents_url": { "type": "string" }, - "contributors_url": { "type": "string" }, - "deployments_url": { "type": "string" }, - "description": { "type": ["null"] }, - "downloads_url": { "type": "string" }, - "events_url": { "type": "string" }, - "fork": { "type": "boolean" }, - "forks_url": { "type": "string" }, - "full_name": { "type": "string" }, - "git_commits_url": { "type": "string" }, - "git_refs_url": { "type": "string" }, - "git_tags_url": { "type": "string" }, - "hooks_url": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "issue_comment_url": { "type": "string" }, - "issue_events_url": { "type": "string" }, - "issues_url": { "type": "string" }, - "keys_url": { "type": "string" }, - "labels_url": { "type": "string" }, - "languages_url": { "type": "string" }, - "merges_url": { "type": "string" }, - "milestones_url": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "notifications_url": { "type": "string" }, - "owner": { - "type": "object", - "properties": { - "avatar_url": { "type": "string" }, - "events_url": { "type": "string" }, - "followers_url": { "type": "string" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string" }, - "received_events_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string" } - } - }, - "private": { "type": "boolean" }, - "pulls_url": { "type": "string" }, - "releases_url": { "type": "string" }, - "stargazers_url": { "type": "string" }, - "statuses_url": { "type": "string" }, - "subscribers_url": { "type": "string" }, - "subscription_url": { "type": "string" }, - "tags_url": { "type": "string" }, - "teams_url": { "type": "string" }, - "trees_url": { "type": "string" }, - "url": { "type": "string" } - } - }, - "rerun_url": { "type": "string" }, - "run_attempt": { "type": "integer" }, - "run_number": { "type": "integer" }, - "run_started_at": { "type": "string", "format": "date-time" }, - "status": { - "type": "string", - "enum": [ - "requested", - "in_progress", - "completed", - "queued", - "waiting", - "pending" - ] - }, - "triggering_actor": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "workflow_id": { "type": "integer" }, - "workflow_url": { "type": "string" } - }, - "required": [ - "id", - "name", - "node_id", - "head_branch", - "head_sha", - "run_number", - "event", - "status", - "conclusion", - "workflow_id", - "check_suite_id", - "check_suite_node_id", - "url", - "html_url", - "path", - "pull_requests", - "created_at", - "updated_at", - "actor", - "triggering_actor", - "run_attempt", - "run_started_at", - "display_title" - ] - } - }, - "required": [ - "action", - "deployment_status", - "deployment", - "repository", - "sender" - ] - }, - "webhook-discussion-answered": { - "title": "discussion answered event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["answered"] }, - "answer": { "$ref": "#/components/schemas/webhooks_answer" }, - "discussion": { "$ref": "#/components/schemas/discussion" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "discussion", "answer", "repository", "sender"] - }, - "webhook-discussion-category-changed": { - "title": "discussion category changed event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["category_changed"] }, - "changes": { - "type": "object", - "properties": { - "category": { - "type": "object", - "properties": { - "from": { - "type": "object", - "properties": { - "created_at": { "type": "string", "format": "date-time" }, - "description": { "type": "string" }, - "emoji": { "type": "string" }, - "id": { "type": "integer" }, - "is_answerable": { "type": "boolean" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "repository_id": { "type": "integer" }, - "slug": { "type": "string" }, - "updated_at": { "type": "string" } - }, - "required": [ - "id", - "repository_id", - "emoji", - "name", - "description", - "created_at", - "updated_at", - "slug", - "is_answerable" - ] - } - }, - "required": ["from"] - } - }, - "required": ["category"] - }, - "discussion": { "$ref": "#/components/schemas/discussion" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "changes", "discussion", "repository", "sender"] - }, - "webhook-discussion-closed": { - "title": "discussion closed event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["closed"] }, - "discussion": { "$ref": "#/components/schemas/discussion" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "discussion", "repository", "sender"] - }, - "webhook-discussion-comment-created": { - "title": "discussion_comment created event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "comment": { "$ref": "#/components/schemas/webhooks_comment" }, - "discussion": { "$ref": "#/components/schemas/discussion" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "comment", "discussion", "repository", "sender"] - }, - "webhook-discussion-comment-deleted": { - "title": "discussion_comment deleted event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["deleted"] }, - "comment": { "$ref": "#/components/schemas/webhooks_comment" }, - "discussion": { "$ref": "#/components/schemas/discussion" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "comment", "discussion", "repository", "sender"] - }, - "webhook-discussion-comment-edited": { - "title": "discussion_comment edited event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["edited"] }, - "changes": { - "type": "object", - "properties": { - "body": { - "type": "object", - "properties": { "from": { "type": "string" } }, - "required": ["from"] - } - }, - "required": ["body"] - }, - "comment": { "$ref": "#/components/schemas/webhooks_comment" }, - "discussion": { "$ref": "#/components/schemas/discussion" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "action", - "changes", - "comment", - "discussion", - "repository", - "sender" - ] - }, - "webhook-discussion-created": { - "title": "discussion created event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "discussion": { "$ref": "#/components/schemas/discussion" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "discussion", "repository", "sender"] - }, - "webhook-discussion-deleted": { - "title": "discussion deleted event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["deleted"] }, - "discussion": { "$ref": "#/components/schemas/discussion" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "discussion", "repository", "sender"] - }, - "webhook-discussion-edited": { - "title": "discussion edited event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["edited"] }, - "changes": { - "type": "object", - "properties": { - "body": { - "type": "object", - "properties": { "from": { "type": "string" } }, - "required": ["from"] - }, - "title": { - "type": "object", - "properties": { "from": { "type": "string" } }, - "required": ["from"] - } - } - }, - "discussion": { "$ref": "#/components/schemas/discussion" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "discussion", "repository", "sender"] - }, - "webhook-discussion-labeled": { - "title": "discussion labeled event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["labeled"] }, - "discussion": { "$ref": "#/components/schemas/discussion" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "label": { "$ref": "#/components/schemas/webhooks_label" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "discussion", "label", "repository", "sender"] - }, - "webhook-discussion-locked": { - "title": "discussion locked event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["locked"] }, - "discussion": { "$ref": "#/components/schemas/discussion" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "discussion", "repository", "sender"] - }, - "webhook-discussion-pinned": { - "title": "discussion pinned event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["pinned"] }, - "discussion": { "$ref": "#/components/schemas/discussion" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "discussion", "repository", "sender"] - }, - "webhook-discussion-reopened": { - "title": "discussion reopened event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["reopened"] }, - "discussion": { "$ref": "#/components/schemas/discussion" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "discussion", "repository", "sender"] - }, - "webhook-discussion-transferred": { - "title": "discussion transferred event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["transferred"] }, - "changes": { - "type": "object", - "properties": { - "new_discussion": { "$ref": "#/components/schemas/discussion" }, - "new_repository": { - "$ref": "#/components/schemas/repository-webhooks" - } - }, - "required": ["new_discussion", "new_repository"] - }, - "discussion": { "$ref": "#/components/schemas/discussion" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "changes", "discussion", "repository", "sender"] - }, - "webhook-discussion-unanswered": { - "title": "discussion unanswered event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["unanswered"] }, - "discussion": { "$ref": "#/components/schemas/discussion" }, - "old_answer": { "$ref": "#/components/schemas/webhooks_answer" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "discussion", "old_answer", "repository"] - }, - "webhook-discussion-unlabeled": { - "title": "discussion unlabeled event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["unlabeled"] }, - "discussion": { "$ref": "#/components/schemas/discussion" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "label": { "$ref": "#/components/schemas/webhooks_label" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "discussion", "label", "repository", "sender"] - }, - "webhook-discussion-unlocked": { - "title": "discussion unlocked event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["unlocked"] }, - "discussion": { "$ref": "#/components/schemas/discussion" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "discussion", "repository", "sender"] - }, - "webhook-discussion-unpinned": { - "title": "discussion unpinned event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["unpinned"] }, - "discussion": { "$ref": "#/components/schemas/discussion" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "discussion", "repository", "sender"] - }, - "webhook-enterprise-anonymous-access-disabled": { - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["anonymous_access_disabled"] }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action"] - }, - "webhook-enterprise-anonymous-access-enabled": { - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["anonymous_access_enabled"] }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action"] - }, - "webhook-fork": { - "title": "fork event", - "description": "A user forks a repository.", - "type": "object", - "properties": { - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "forkee": { - "description": "The created [`repository`](https://docs.github.com/enterprise-server@3.13/rest/repos/repos#get-a-repository) resource.", - "allOf": [ - { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { "type": "string", "format": "uri-template" }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { "type": "string", "format": "uri-template" }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { "type": "string", "format": "uri-template" }, - "compare_url": { "type": "string", "format": "uri-template" }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { "type": "string", "format": "uri-template" }, - "keys_url": { "type": "string", "format": "uri-template" }, - "labels_url": { "type": "string", "format": "uri-template" }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { "type": ["string", "null"], "format": "uri" }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { "type": "string", "format": "uri-template" }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { "type": "array", "items": { "type": "string" } }, - "trees_url": { "type": "string", "format": "uri-template" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - { - "type": "object", - "properties": { - "allow_forking": { "type": "boolean" }, - "archive_url": { "type": "string" }, - "archived": { "type": "boolean" }, - "assignees_url": { "type": "string" }, - "blobs_url": { "type": "string" }, - "branches_url": { "type": "string" }, - "clone_url": { "type": "string" }, - "collaborators_url": { "type": "string" }, - "comments_url": { "type": "string" }, - "commits_url": { "type": "string" }, - "compare_url": { "type": "string" }, - "contents_url": { "type": "string" }, - "contributors_url": { "type": "string" }, - "created_at": { "type": "string" }, - "default_branch": { "type": "string" }, - "deployments_url": { "type": "string" }, - "description": { "type": ["string", "null"] }, - "disabled": { "type": "boolean" }, - "downloads_url": { "type": "string" }, - "events_url": { "type": "string" }, - "fork": { "type": "boolean", "enum": [true] }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string" }, - "full_name": { "type": "string" }, - "git_commits_url": { "type": "string" }, - "git_refs_url": { "type": "string" }, - "git_tags_url": { "type": "string" }, - "git_url": { "type": "string" }, - "has_downloads": { "type": "boolean" }, - "has_issues": { "type": "boolean" }, - "has_pages": { "type": "boolean" }, - "has_projects": { "type": "boolean" }, - "has_wiki": { "type": "boolean" }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { "type": "string" }, - "issue_events_url": { "type": "string" }, - "issues_url": { "type": "string" }, - "keys_url": { "type": "string" }, - "labels_url": { "type": "string" }, - "language": { "type": ["null"] }, - "languages_url": { "type": "string" }, - "license": { "type": ["object", "null"] }, - "merges_url": { "type": "string" }, - "milestones_url": { "type": "string" }, - "mirror_url": { "type": ["null"] }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "notifications_url": { "type": "string" }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "owner": { - "type": "object", - "properties": { - "avatar_url": { "type": "string" }, - "events_url": { "type": "string" }, - "followers_url": { "type": "string" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string" }, - "received_events_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string" } - } - }, - "private": { "type": "boolean" }, - "public": { "type": "boolean" }, - "pulls_url": { "type": "string" }, - "pushed_at": { "type": "string" }, - "releases_url": { "type": "string" }, - "size": { "type": "integer" }, - "ssh_url": { "type": "string" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string" }, - "statuses_url": { "type": "string" }, - "subscribers_url": { "type": "string" }, - "subscription_url": { "type": "string" }, - "svn_url": { "type": "string" }, - "tags_url": { "type": "string" }, - "teams_url": { "type": "string" }, - "topics": { "type": "array", "items": { "type": ["null"] } }, - "trees_url": { "type": "string" }, - "updated_at": { "type": "string" }, - "url": { "type": "string" }, - "visibility": { "type": "string" }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" } - } - } - ] - }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["forkee", "repository", "sender"] - }, - "webhook-github-app-authorization-revoked": { - "title": "github_app_authorization revoked event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["revoked"] }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "sender"] - }, - "webhook-gollum": { - "title": "gollum event", - "type": "object", - "properties": { - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pages": { - "description": "The pages that were updated.", - "type": "array", - "items": { - "type": "object", - "properties": { - "action": { - "description": "The action that was performed on the page. Can be `created` or `edited`.", - "type": "string", - "enum": ["created", "edited"] - }, - "html_url": { - "description": "Points to the HTML wiki page.", - "type": "string", - "format": "uri" - }, - "page_name": { - "description": "The name of the page.", - "type": "string" - }, - "sha": { - "description": "The latest commit SHA of the page.", - "type": "string" - }, - "summary": { "type": ["string", "null"] }, - "title": { - "description": "The current page title.", - "type": "string" - } - }, - "required": [ - "page_name", - "title", - "summary", - "action", - "sha", - "html_url" - ] - } - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["pages", "repository", "sender"] - }, - "webhook-installation-created": { - "title": "installation created event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { "$ref": "#/components/schemas/installation" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repositories": { - "$ref": "#/components/schemas/webhooks_repositories" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "requester": { "$ref": "#/components/schemas/webhooks_user" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "installation", "sender"] - }, - "webhook-installation-deleted": { - "title": "installation deleted event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["deleted"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { "$ref": "#/components/schemas/installation" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repositories": { - "$ref": "#/components/schemas/webhooks_repositories" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "requester": { "type": ["null"] }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "installation", "sender"] - }, - "webhook-installation-new-permissions-accepted": { - "title": "installation new_permissions_accepted event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["new_permissions_accepted"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { "$ref": "#/components/schemas/installation" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repositories": { - "$ref": "#/components/schemas/webhooks_repositories" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "requester": { "type": ["null"] }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "installation", "sender"] - }, - "webhook-installation-repositories-added": { - "title": "installation_repositories added event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["added"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { "$ref": "#/components/schemas/installation" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repositories_added": { - "$ref": "#/components/schemas/webhooks_repositories_added" - }, - "repositories_removed": { - "description": "An array of repository objects, which were removed from the installation.", - "type": "array", - "items": { - "type": "object", - "properties": { - "full_name": { "type": "string" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - } - } - } - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "repository_selection": { - "$ref": "#/components/schemas/webhooks_repository_selection" - }, - "requester": { "$ref": "#/components/schemas/webhooks_user" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "action", - "installation", - "repository_selection", - "repositories_added", - "repositories_removed", - "requester", - "sender" - ] - }, - "webhook-installation-repositories-removed": { - "title": "installation_repositories removed event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["removed"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { "$ref": "#/components/schemas/installation" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repositories_added": { - "$ref": "#/components/schemas/webhooks_repositories_added" - }, - "repositories_removed": { - "description": "An array of repository objects, which were removed from the installation.", - "type": "array", - "items": { - "type": "object", - "properties": { - "full_name": { "type": "string" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - } - }, - "required": ["id", "node_id", "name", "full_name", "private"] - } - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "repository_selection": { - "$ref": "#/components/schemas/webhooks_repository_selection" - }, - "requester": { "$ref": "#/components/schemas/webhooks_user" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "action", - "installation", - "repository_selection", - "repositories_added", - "repositories_removed", - "requester", - "sender" - ] - }, - "webhook-installation-suspend": { - "title": "installation suspend event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["suspend"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { "$ref": "#/components/schemas/installation" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repositories": { - "$ref": "#/components/schemas/webhooks_repositories" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "requester": { "type": ["null"] }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "installation", "sender"] - }, - "webhook-installation-target-renamed": { - "type": "object", - "properties": { - "account": { - "type": "object", - "properties": { - "archived_at": { "type": ["string", "null"] }, - "avatar_url": { "type": "string" }, - "created_at": { "type": "string" }, - "description": { "type": ["null"] }, - "events_url": { "type": "string" }, - "followers": { "type": "integer" }, - "followers_url": { "type": "string" }, - "following": { "type": "integer" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "gravatar_id": { "type": "string" }, - "has_organization_projects": { "type": "boolean" }, - "has_repository_projects": { "type": "boolean" }, - "hooks_url": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "is_verified": { "type": "boolean" }, - "issues_url": { "type": "string" }, - "login": { "type": "string" }, - "members_url": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string" }, - "public_gists": { "type": "integer" }, - "public_members_url": { "type": "string" }, - "public_repos": { "type": "integer" }, - "received_events_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "slug": { "type": "string" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "type": { "type": "string" }, - "updated_at": { "type": "string" }, - "url": { "type": "string" }, - "website_url": { "type": ["null"] }, - "user_view_type": { "type": "string" } - }, - "required": ["id", "node_id", "avatar_url", "html_url"] - }, - "action": { "type": "string", "enum": ["renamed"] }, - "changes": { - "type": "object", - "properties": { - "login": { - "type": "object", - "properties": { "from": { "type": "string" } }, - "required": ["from"] - }, - "slug": { - "type": "object", - "properties": { "from": { "type": "string" } }, - "required": ["from"] - } - } - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "target_type": { "type": "string" } - }, - "required": [ - "action", - "target_type", - "account", - "changes", - "installation" - ] - }, - "webhook-installation-unsuspend": { - "title": "installation unsuspend event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["unsuspend"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { "$ref": "#/components/schemas/installation" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repositories": { - "$ref": "#/components/schemas/webhooks_repositories" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "requester": { "type": ["null"] }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "installation", "sender"] - }, - "webhook-issue-comment-created": { - "title": "issue_comment created event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "comment": { - "title": "issue comment", - "description": "The [comment](https://docs.github.com/enterprise-server@3.13/rest/issues/comments#get-an-issue-comment) itself.", - "type": "object", - "properties": { - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { - "description": "Contents of the issue comment", - "type": "string" - }, - "created_at": { "type": "string", "format": "date-time" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the issue comment", - "type": "integer", - "format": "int64" - }, - "issue_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "performed_via_github_app": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/integration" } - ] - }, - "reactions": { - "title": "Reactions", - "type": "object", - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { - "description": "URL for the issue comment", - "type": "string", - "format": "uri" - }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "html_url", - "issue_url", - "id", - "node_id", - "user", - "created_at", - "updated_at", - "author_association", - "performed_via_github_app", - "body", - "reactions" - ] - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "issue": { - "description": "The [issue](https://docs.github.com/enterprise-server@3.13/rest/issues/issues#get-an-issue) the comment belongs to.", - "allOf": [ - { - "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-server@3.13/rest/issues/issues#get-an-issue) itself.", - "type": "object", - "properties": { - "active_lock_reason": { - "type": ["string", "null"], - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { - "description": "Contents of the issue", - "type": ["string", "null"] - }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "draft": { "type": "boolean" }, - "events_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "labels_url": { "type": "string", "format": "uri-template" }, - "locked": { "type": "boolean" }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "performed_via_github_app": { - "title": "App", - "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", - "type": ["object", "null"], - "properties": { - "created_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "description": { "type": ["string", "null"] }, - "events": { - "description": "The list of events for the GitHub app", - "type": "array", - "items": { - "type": "string", - "enum": [ - "branch_protection_rule", - "check_run", - "check_suite", - "code_scanning_alert", - "commit_comment", - "content_reference", - "create", - "delete", - "deployment", - "deployment_review", - "deployment_status", - "deploy_key", - "discussion", - "discussion_comment", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "org_block", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "registry_package", - "release", - "repository", - "repository_dispatch", - "secret_scanning_alert", - "star", - "status", - "team", - "team_add", - "watch", - "workflow_dispatch", - "workflow_run", - "reminder", - "pull_request_review_thread" - ] - } - }, - "external_url": { - "type": ["string", "null"], - "format": "uri" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the GitHub app", - "type": ["integer", "null"] - }, - "name": { - "description": "The name of the GitHub app", - "type": "string" - }, - "node_id": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "description": "The set of permissions for the GitHub app", - "type": "object", - "properties": { - "actions": { - "type": "string", - "enum": ["read", "write"] - }, - "administration": { - "type": "string", - "enum": ["read", "write"] - }, - "checks": { - "type": "string", - "enum": ["read", "write"] - }, - "content_references": { - "type": "string", - "enum": ["read", "write"] - }, - "contents": { - "type": "string", - "enum": ["read", "write"] - }, - "deployments": { - "type": "string", - "enum": ["read", "write"] - }, - "discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "emails": { - "type": "string", - "enum": ["read", "write"] - }, - "environments": { - "type": "string", - "enum": ["read", "write"] - }, - "issues": { - "type": "string", - "enum": ["read", "write"] - }, - "keys": { - "type": "string", - "enum": ["read", "write"] - }, - "members": { - "type": "string", - "enum": ["read", "write"] - }, - "metadata": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_administration": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_packages": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_plan": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_projects": { - "type": "string", - "enum": ["read", "write", "admin"] - }, - "organization_secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_self_hosted_runners": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_user_blocking": { - "type": "string", - "enum": ["read", "write"] - }, - "packages": { - "type": "string", - "enum": ["read", "write"] - }, - "pages": { - "type": "string", - "enum": ["read", "write"] - }, - "pull_requests": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_projects": { - "type": "string", - "enum": ["read", "write", "admin"] - }, - "secret_scanning_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "security_events": { - "type": "string", - "enum": ["read", "write"] - }, - "security_scanning_alert": { - "type": "string", - "enum": ["read", "write"] - }, - "single_file": { - "type": "string", - "enum": ["read", "write"] - }, - "statuses": { - "type": "string", - "enum": ["read", "write"] - }, - "team_discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "vulnerability_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "workflows": { - "type": "string", - "enum": ["read", "write"] - } - } - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string" - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time" - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ] - }, - "pull_request": { - "type": "object", - "properties": { - "diff_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "patch_url": { "type": "string", "format": "uri" }, - "url": { "type": "string", "format": "uri" } - } - }, - "reactions": { - "title": "Reactions", - "type": "object", - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] - }, - "repository_url": { "type": "string", "format": "uri" }, - "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] - }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "enum": ["open", "closed"] - }, - "state_reason": { "type": ["string", "null"] }, - "timeline_url": { "type": "string", "format": "uri" }, - "title": { - "description": "Title of the issue", - "type": "string" - }, - "type": { "$ref": "#/components/schemas/issue-type" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { - "description": "URL for the issue", - "type": "string", - "format": "uri" - }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "repository_url", - "labels_url", - "comments_url", - "events_url", - "html_url", - "id", - "node_id", - "number", - "title", - "user", - "assignees", - "milestone", - "comments", - "created_at", - "updated_at", - "closed_at", - "author_association", - "active_lock_reason", - "body", - "reactions" - ] - }, - { - "type": "object", - "properties": { - "active_lock_reason": { "type": ["string", "null"] }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { "type": ["object", "null"] } - }, - "author_association": { "type": "string" }, - "body": { "type": ["string", "null"] }, - "closed_at": { "type": ["string", "null"] }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string" }, - "created_at": { "type": "string" }, - "events_url": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "labels_url": { "type": "string" }, - "locked": { "type": "boolean" }, - "milestone": { "type": ["object", "null"] }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "performed_via_github_app": { "type": ["object", "null"] }, - "reactions": { - "type": "object", - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string" } - } - }, - "repository_url": { "type": "string" }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "enum": ["open", "closed"] - }, - "timeline_url": { "type": "string" }, - "title": { "type": "string" }, - "updated_at": { "type": "string" }, - "url": { "type": "string" }, - "user": { - "type": "object", - "properties": { - "avatar_url": { "type": "string" }, - "events_url": { "type": "string" }, - "followers_url": { "type": "string" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string" }, - "received_events_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string" } - } - } - }, - "required": ["labels", "state", "locked", "assignee"] - } - ] - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "issue", "comment", "repository", "sender"] - }, - "webhook-issue-comment-deleted": { - "title": "issue_comment deleted event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["deleted"] }, - "comment": { "$ref": "#/components/schemas/webhooks_issue_comment" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "issue": { - "description": "The [issue](https://docs.github.com/enterprise-server@3.13/rest/issues/issues#get-an-issue) the comment belongs to.", - "allOf": [ - { - "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-server@3.13/rest/issues/issues#get-an-issue) itself.", - "type": "object", - "properties": { - "active_lock_reason": { - "type": ["string", "null"], - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { - "description": "Contents of the issue", - "type": ["string", "null"] - }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "draft": { "type": "boolean" }, - "events_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "labels_url": { "type": "string", "format": "uri-template" }, - "locked": { "type": "boolean" }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "performed_via_github_app": { - "title": "App", - "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", - "type": ["object", "null"], - "properties": { - "created_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "description": { "type": ["string", "null"] }, - "events": { - "description": "The list of events for the GitHub app", - "type": "array", - "items": { - "type": "string", - "enum": [ - "branch_protection_rule", - "check_run", - "check_suite", - "code_scanning_alert", - "commit_comment", - "content_reference", - "create", - "delete", - "deployment", - "deployment_review", - "deployment_status", - "deploy_key", - "discussion", - "discussion_comment", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "org_block", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "registry_package", - "release", - "repository", - "repository_dispatch", - "secret_scanning_alert", - "star", - "status", - "team", - "team_add", - "watch", - "workflow_dispatch", - "workflow_run" - ] - } - }, - "external_url": { - "type": ["string", "null"], - "format": "uri" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the GitHub app", - "type": ["integer", "null"] - }, - "name": { - "description": "The name of the GitHub app", - "type": "string" - }, - "node_id": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "description": "The set of permissions for the GitHub app", - "type": "object", - "properties": { - "actions": { - "type": "string", - "enum": ["read", "write"] - }, - "administration": { - "type": "string", - "enum": ["read", "write"] - }, - "checks": { - "type": "string", - "enum": ["read", "write"] - }, - "content_references": { - "type": "string", - "enum": ["read", "write"] - }, - "contents": { - "type": "string", - "enum": ["read", "write"] - }, - "deployments": { - "type": "string", - "enum": ["read", "write"] - }, - "discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "emails": { - "type": "string", - "enum": ["read", "write"] - }, - "environments": { - "type": "string", - "enum": ["read", "write"] - }, - "issues": { - "type": "string", - "enum": ["read", "write"] - }, - "keys": { - "type": "string", - "enum": ["read", "write"] - }, - "members": { - "type": "string", - "enum": ["read", "write"] - }, - "metadata": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_administration": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_packages": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_plan": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_self_hosted_runners": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_user_blocking": { - "type": "string", - "enum": ["read", "write"] - }, - "packages": { - "type": "string", - "enum": ["read", "write"] - }, - "pages": { - "type": "string", - "enum": ["read", "write"] - }, - "pull_requests": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "secret_scanning_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "security_events": { - "type": "string", - "enum": ["read", "write"] - }, - "security_scanning_alert": { - "type": "string", - "enum": ["read", "write"] - }, - "single_file": { - "type": "string", - "enum": ["read", "write"] - }, - "statuses": { - "type": "string", - "enum": ["read", "write"] - }, - "team_discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "vulnerability_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "workflows": { - "type": "string", - "enum": ["read", "write"] - } - } - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string" - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time" - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ] - }, - "pull_request": { - "type": "object", - "properties": { - "diff_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "patch_url": { "type": "string", "format": "uri" }, - "url": { "type": "string", "format": "uri" } - } - }, - "reactions": { - "title": "Reactions", - "type": "object", - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] - }, - "repository_url": { "type": "string", "format": "uri" }, - "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] - }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "enum": ["open", "closed"] - }, - "state_reason": { "type": ["string", "null"] }, - "timeline_url": { "type": "string", "format": "uri" }, - "title": { - "description": "Title of the issue", - "type": "string" - }, - "type": { "$ref": "#/components/schemas/issue-type" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { - "description": "URL for the issue", - "type": "string", - "format": "uri" - }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "repository_url", - "labels_url", - "comments_url", - "events_url", - "html_url", - "id", - "node_id", - "number", - "title", - "user", - "assignees", - "milestone", - "comments", - "created_at", - "updated_at", - "closed_at", - "author_association", - "active_lock_reason", - "body", - "reactions" - ] - }, - { - "type": "object", - "properties": { - "active_lock_reason": { "type": ["string", "null"] }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { "type": ["object", "null"] } - }, - "author_association": { "type": "string" }, - "body": { "type": ["string", "null"] }, - "closed_at": { "type": ["string", "null"] }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string" }, - "created_at": { "type": "string" }, - "events_url": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "labels_url": { "type": "string" }, - "locked": { "type": "boolean" }, - "milestone": { "type": ["object", "null"] }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "performed_via_github_app": { "type": ["object", "null"] }, - "reactions": { - "type": "object", - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string" } - } - }, - "repository_url": { "type": "string" }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "enum": ["open", "closed"] - }, - "timeline_url": { "type": "string" }, - "title": { "type": "string" }, - "updated_at": { "type": "string" }, - "url": { "type": "string" }, - "user": { - "type": "object", - "properties": { - "avatar_url": { "type": "string" }, - "events_url": { "type": "string" }, - "followers_url": { "type": "string" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string" }, - "received_events_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string" }, - "user_view_type": { "type": "string" } - } - } - }, - "required": ["labels", "state", "locked", "assignee"] - } - ] - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "issue", "comment", "repository", "sender"] - }, - "webhook-issue-comment-edited": { - "title": "issue_comment edited event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["edited"] }, - "changes": { "$ref": "#/components/schemas/webhooks_changes" }, - "comment": { "$ref": "#/components/schemas/webhooks_issue_comment" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "issue": { - "description": "The [issue](https://docs.github.com/enterprise-server@3.13/rest/issues/issues#get-an-issue) the comment belongs to.", - "allOf": [ - { - "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-server@3.13/rest/issues/issues#get-an-issue) itself.", - "type": "object", - "properties": { - "active_lock_reason": { - "type": ["string", "null"], - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { - "description": "Contents of the issue", - "type": ["string", "null"] - }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "draft": { "type": "boolean" }, - "events_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "labels_url": { "type": "string", "format": "uri-template" }, - "locked": { "type": "boolean" }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "performed_via_github_app": { - "title": "App", - "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", - "type": ["object", "null"], - "properties": { - "created_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "description": { "type": ["string", "null"] }, - "events": { - "description": "The list of events for the GitHub app", - "type": "array", - "items": { - "type": "string", - "enum": [ - "branch_protection_rule", - "check_run", - "check_suite", - "code_scanning_alert", - "commit_comment", - "content_reference", - "create", - "delete", - "deployment", - "deployment_review", - "deployment_status", - "deploy_key", - "discussion", - "discussion_comment", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "org_block", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "registry_package", - "release", - "repository", - "repository_dispatch", - "secret_scanning_alert", - "star", - "status", - "team", - "team_add", - "watch", - "workflow_dispatch", - "workflow_run", - "reminder", - "pull_request_review_thread" - ] - } - }, - "external_url": { - "type": ["string", "null"], - "format": "uri" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the GitHub app", - "type": ["integer", "null"] - }, - "name": { - "description": "The name of the GitHub app", - "type": "string" - }, - "node_id": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "description": "The set of permissions for the GitHub app", - "type": "object", - "properties": { - "actions": { - "type": "string", - "enum": ["read", "write"] - }, - "administration": { - "type": "string", - "enum": ["read", "write"] - }, - "checks": { - "type": "string", - "enum": ["read", "write"] - }, - "content_references": { - "type": "string", - "enum": ["read", "write"] - }, - "contents": { - "type": "string", - "enum": ["read", "write"] - }, - "deployments": { - "type": "string", - "enum": ["read", "write"] - }, - "discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "emails": { - "type": "string", - "enum": ["read", "write"] - }, - "environments": { - "type": "string", - "enum": ["read", "write"] - }, - "issues": { - "type": "string", - "enum": ["read", "write"] - }, - "keys": { - "type": "string", - "enum": ["read", "write"] - }, - "members": { - "type": "string", - "enum": ["read", "write"] - }, - "metadata": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_administration": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_packages": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_plan": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_projects": { - "type": "string", - "enum": ["read", "write", "admin"] - }, - "organization_secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_self_hosted_runners": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_user_blocking": { - "type": "string", - "enum": ["read", "write"] - }, - "packages": { - "type": "string", - "enum": ["read", "write"] - }, - "pages": { - "type": "string", - "enum": ["read", "write"] - }, - "pull_requests": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "secret_scanning_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "security_events": { - "type": "string", - "enum": ["read", "write"] - }, - "security_scanning_alert": { - "type": "string", - "enum": ["read", "write"] - }, - "single_file": { - "type": "string", - "enum": ["read", "write"] - }, - "statuses": { - "type": "string", - "enum": ["read", "write"] - }, - "team_discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "vulnerability_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "workflows": { - "type": "string", - "enum": ["read", "write"] - } - } - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string" - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time" - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ] - }, - "pull_request": { - "type": "object", - "properties": { - "diff_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "patch_url": { "type": "string", "format": "uri" }, - "url": { "type": "string", "format": "uri" } - } - }, - "reactions": { - "title": "Reactions", - "type": "object", - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] - }, - "repository_url": { "type": "string", "format": "uri" }, - "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] - }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "enum": ["open", "closed"] - }, - "state_reason": { "type": ["string", "null"] }, - "timeline_url": { "type": "string", "format": "uri" }, - "title": { - "description": "Title of the issue", - "type": "string" - }, - "type": { "$ref": "#/components/schemas/issue-type" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { - "description": "URL for the issue", - "type": "string", - "format": "uri" - }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "repository_url", - "labels_url", - "comments_url", - "events_url", - "html_url", - "id", - "node_id", - "number", - "title", - "user", - "assignees", - "milestone", - "comments", - "created_at", - "updated_at", - "closed_at", - "author_association", - "active_lock_reason", - "body", - "reactions" - ] - }, - { - "type": "object", - "properties": { - "active_lock_reason": { "type": ["string", "null"] }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { "type": ["object", "null"] } - }, - "author_association": { "type": "string" }, - "body": { "type": ["string", "null"] }, - "closed_at": { "type": ["string", "null"] }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string" }, - "created_at": { "type": "string" }, - "events_url": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "labels_url": { "type": "string" }, - "locked": { "type": "boolean" }, - "milestone": { "type": ["object", "null"] }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "performed_via_github_app": { "type": ["object", "null"] }, - "reactions": { - "type": "object", - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string" } - } - }, - "repository_url": { "type": "string" }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "enum": ["open", "closed"] - }, - "timeline_url": { "type": "string" }, - "title": { "type": "string" }, - "updated_at": { "type": "string" }, - "url": { "type": "string" }, - "user": { - "type": "object", - "properties": { - "avatar_url": { "type": "string" }, - "events_url": { "type": "string" }, - "followers_url": { "type": "string" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string" }, - "received_events_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string" } - } - } - }, - "required": ["labels", "state", "locked", "assignee"] - } - ] - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "action", - "changes", - "issue", - "comment", - "repository", - "sender" - ] - }, - "webhook-issues-assigned": { - "title": "issues assigned event", - "type": "object", - "properties": { - "action": { - "description": "The action that was performed.", - "type": "string", - "enum": ["assigned"] - }, - "assignee": { "$ref": "#/components/schemas/webhooks_user" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "issue": { "$ref": "#/components/schemas/webhooks_issue" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "issue", "repository", "sender"] - }, - "webhook-issues-closed": { - "title": "issues closed event", - "type": "object", - "properties": { - "action": { - "description": "The action that was performed.", - "type": "string", - "enum": ["closed"] - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "issue": { - "description": "The [issue](https://docs.github.com/enterprise-server@3.13/rest/issues/issues#get-an-issue) itself.", - "allOf": [ - { - "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-server@3.13/rest/issues/issues#get-an-issue) itself.", - "type": "object", - "properties": { - "active_lock_reason": { - "type": ["string", "null"], - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { - "description": "Contents of the issue", - "type": ["string", "null"] - }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "draft": { "type": "boolean" }, - "events_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "labels_url": { "type": "string", "format": "uri-template" }, - "locked": { "type": "boolean" }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "performed_via_github_app": { - "title": "App", - "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", - "type": ["object", "null"], - "properties": { - "created_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "description": { "type": ["string", "null"] }, - "events": { - "description": "The list of events for the GitHub app", - "type": "array", - "items": { - "type": "string", - "enum": [ - "branch_protection_rule", - "check_run", - "check_suite", - "code_scanning_alert", - "commit_comment", - "content_reference", - "create", - "delete", - "deployment", - "deployment_review", - "deployment_status", - "deploy_key", - "discussion", - "discussion_comment", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "org_block", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "registry_package", - "release", - "repository", - "repository_dispatch", - "secret_scanning_alert", - "star", - "status", - "team", - "team_add", - "watch", - "workflow_dispatch", - "workflow_run", - "security_and_analysis", - "reminder", - "pull_request_review_thread" - ] - } - }, - "external_url": { - "type": ["string", "null"], - "format": "uri" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the GitHub app", - "type": ["integer", "null"] - }, - "name": { - "description": "The name of the GitHub app", - "type": "string" - }, - "node_id": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "description": "The set of permissions for the GitHub app", - "type": "object", - "properties": { - "actions": { - "type": "string", - "enum": ["read", "write"] - }, - "administration": { - "type": "string", - "enum": ["read", "write"] - }, - "checks": { - "type": "string", - "enum": ["read", "write"] - }, - "content_references": { - "type": "string", - "enum": ["read", "write"] - }, - "contents": { - "type": "string", - "enum": ["read", "write"] - }, - "deployments": { - "type": "string", - "enum": ["read", "write"] - }, - "discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "emails": { - "type": "string", - "enum": ["read", "write"] - }, - "environments": { - "type": "string", - "enum": ["read", "write"] - }, - "issues": { - "type": "string", - "enum": ["read", "write"] - }, - "keys": { - "type": "string", - "enum": ["read", "write"] - }, - "members": { - "type": "string", - "enum": ["read", "write"] - }, - "metadata": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_administration": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_packages": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_plan": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_projects": { - "type": "string", - "enum": ["read", "write", "admin"] - }, - "organization_secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_self_hosted_runners": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_user_blocking": { - "type": "string", - "enum": ["read", "write"] - }, - "packages": { - "type": "string", - "enum": ["read", "write"] - }, - "pages": { - "type": "string", - "enum": ["read", "write"] - }, - "pull_requests": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "secret_scanning_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "security_events": { - "type": "string", - "enum": ["read", "write"] - }, - "security_scanning_alert": { - "type": "string", - "enum": ["read", "write"] - }, - "single_file": { - "type": "string", - "enum": ["read", "write"] - }, - "statuses": { - "type": "string", - "enum": ["read", "write"] - }, - "team_discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "vulnerability_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "workflows": { - "type": "string", - "enum": ["read", "write"] - } - } - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string" - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time" - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ] - }, - "pull_request": { - "type": "object", - "properties": { - "diff_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "patch_url": { "type": "string", "format": "uri" }, - "url": { "type": "string", "format": "uri" } - } - }, - "reactions": { - "title": "Reactions", - "type": "object", - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] - }, - "repository_url": { "type": "string", "format": "uri" }, - "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] - }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "enum": ["open", "closed"] - }, - "state_reason": { "type": ["string", "null"] }, - "timeline_url": { "type": "string", "format": "uri" }, - "title": { - "description": "Title of the issue", - "type": "string" - }, - "type": { "$ref": "#/components/schemas/issue-type" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { - "description": "URL for the issue", - "type": "string", - "format": "uri" - }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "repository_url", - "labels_url", - "comments_url", - "events_url", - "html_url", - "id", - "node_id", - "number", - "title", - "user", - "assignees", - "milestone", - "comments", - "created_at", - "updated_at", - "closed_at", - "author_association", - "active_lock_reason", - "body", - "reactions" - ] - }, - { - "type": "object", - "properties": { - "active_lock_reason": { "type": ["string", "null"] }, - "assignee": { "type": ["object", "null"] }, - "assignees": { - "type": "array", - "items": { "type": ["object", "null"] } - }, - "author_association": { "type": "string" }, - "body": { "type": ["string", "null"] }, - "closed_at": { "type": ["string", "null"] }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string" }, - "created_at": { "type": "string" }, - "events_url": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "labels": { - "type": "array", - "items": { "type": ["object", "null"] } - }, - "labels_url": { "type": "string" }, - "locked": { "type": "boolean" }, - "milestone": { "type": ["object", "null"] }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "performed_via_github_app": { "type": ["object", "null"] }, - "reactions": { - "type": "object", - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string" } - } - }, - "repository_url": { "type": "string" }, - "state": { "type": "string", "enum": ["closed", "open"] }, - "timeline_url": { "type": "string" }, - "title": { "type": "string" }, - "updated_at": { "type": "string" }, - "url": { "type": "string" }, - "user": { - "type": "object", - "properties": { - "avatar_url": { "type": "string" }, - "events_url": { "type": "string" }, - "followers_url": { "type": "string" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string" }, - "received_events_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string" }, - "user_view_type": { "type": "string" } - } - } - }, - "required": ["state", "closed_at"] - } - ] - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "issue", "repository", "sender"] - }, - "webhook-issues-deleted": { - "title": "issues deleted event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["deleted"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "issue": { - "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-server@3.13/rest/issues/issues#get-an-issue) itself.", - "type": "object", - "properties": { - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { - "description": "Contents of the issue", - "type": ["string", "null"] - }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "draft": { "type": "boolean" }, - "events_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "labels_url": { "type": "string", "format": "uri-template" }, - "locked": { "type": "boolean" }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "performed_via_github_app": { - "title": "App", - "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", - "type": ["object", "null"], - "properties": { - "created_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "description": { "type": ["string", "null"] }, - "events": { - "description": "The list of events for the GitHub app", - "type": "array", - "items": { - "type": "string", - "enum": [ - "branch_protection_rule", - "check_run", - "check_suite", - "code_scanning_alert", - "commit_comment", - "content_reference", - "create", - "delete", - "deployment", - "deployment_review", - "deployment_status", - "deploy_key", - "discussion", - "discussion_comment", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "org_block", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "registry_package", - "release", - "repository", - "repository_dispatch", - "secret_scanning_alert", - "star", - "status", - "team", - "team_add", - "watch", - "workflow_dispatch", - "workflow_run", - "reminder" - ] - } - }, - "external_url": { - "type": ["string", "null"], - "format": "uri" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the GitHub app", - "type": ["integer", "null"] - }, - "name": { - "description": "The name of the GitHub app", - "type": "string" - }, - "node_id": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "description": "The set of permissions for the GitHub app", - "type": "object", - "properties": { - "actions": { - "type": "string", - "enum": ["read", "write"] - }, - "administration": { - "type": "string", - "enum": ["read", "write"] - }, - "checks": { "type": "string", "enum": ["read", "write"] }, - "content_references": { - "type": "string", - "enum": ["read", "write"] - }, - "contents": { - "type": "string", - "enum": ["read", "write"] - }, - "deployments": { - "type": "string", - "enum": ["read", "write"] - }, - "discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "emails": { "type": "string", "enum": ["read", "write"] }, - "environments": { - "type": "string", - "enum": ["read", "write"] - }, - "issues": { "type": "string", "enum": ["read", "write"] }, - "keys": { "type": "string", "enum": ["read", "write"] }, - "members": { - "type": "string", - "enum": ["read", "write"] - }, - "metadata": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_administration": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_packages": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_plan": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_self_hosted_runners": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_user_blocking": { - "type": "string", - "enum": ["read", "write"] - }, - "packages": { - "type": "string", - "enum": ["read", "write"] - }, - "pages": { "type": "string", "enum": ["read", "write"] }, - "pull_requests": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "secret_scanning_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "security_events": { - "type": "string", - "enum": ["read", "write"] - }, - "security_scanning_alert": { - "type": "string", - "enum": ["read", "write"] - }, - "single_file": { - "type": "string", - "enum": ["read", "write"] - }, - "statuses": { - "type": "string", - "enum": ["read", "write"] - }, - "team_discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "vulnerability_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "workflows": { - "type": "string", - "enum": ["read", "write"] - } - } - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string" - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time" - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ] - }, - "pull_request": { - "type": "object", - "properties": { - "diff_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "patch_url": { "type": "string", "format": "uri" }, - "url": { "type": "string", "format": "uri" } - } - }, - "reactions": { - "title": "Reactions", - "type": "object", - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] - }, - "repository_url": { "type": "string", "format": "uri" }, - "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] - }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "enum": ["open", "closed"] - }, - "state_reason": { "type": ["string", "null"] }, - "timeline_url": { "type": "string", "format": "uri" }, - "title": { - "description": "Title of the issue", - "type": "string" - }, - "type": { "$ref": "#/components/schemas/issue-type" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { - "description": "URL for the issue", - "type": "string", - "format": "uri" - }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "repository_url", - "labels_url", - "comments_url", - "events_url", - "html_url", - "id", - "node_id", - "number", - "title", - "user", - "assignees", - "milestone", - "comments", - "created_at", - "updated_at", - "closed_at", - "author_association", - "active_lock_reason", - "body", - "reactions" - ] - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "issue", "repository", "sender"] - }, - "webhook-issues-demilestoned": { - "title": "issues demilestoned event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["demilestoned"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "issue": { - "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-server@3.13/rest/issues/issues#get-an-issue) itself.", - "type": "object", - "required": [ - "active_lock_reason", - "assignees", - "author_association", - "body", - "closed_at", - "comments", - "comments_url", - "created_at", - "events_url", - "html_url", - "id", - "labels_url", - "milestone", - "node_id", - "number", - "reactions", - "repository_url", - "title", - "updated_at", - "url", - "user" - ], - "properties": { - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" } - } - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" } - } - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { - "description": "Contents of the issue", - "type": ["string", "null"] - }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "draft": { "type": "boolean" }, - "events_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": ["object", "null"], - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ], - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - } - } - }, - "labels_url": { "type": "string", "format": "uri-template" }, - "locked": { "type": "boolean" }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - } - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - } - }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "performed_via_github_app": { - "title": "App", - "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", - "type": ["object", "null"], - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ], - "properties": { - "created_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "description": { "type": ["string", "null"] }, - "events": { - "description": "The list of events for the GitHub app", - "type": "array", - "items": { - "type": "string", - "enum": [ - "branch_protection_rule", - "check_run", - "check_suite", - "code_scanning_alert", - "commit_comment", - "content_reference", - "create", - "delete", - "deployment", - "deployment_review", - "deployment_status", - "deploy_key", - "discussion", - "discussion_comment", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "org_block", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "registry_package", - "release", - "repository", - "repository_dispatch", - "secret_scanning_alert", - "star", - "status", - "team", - "team_add", - "watch", - "workflow_dispatch", - "workflow_run" - ] - } - }, - "external_url": { - "type": ["string", "null"], - "format": "uri" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the GitHub app", - "type": ["integer", "null"] - }, - "name": { - "description": "The name of the GitHub app", - "type": "string" - }, - "node_id": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - } - }, - "permissions": { - "description": "The set of permissions for the GitHub app", - "type": "object", - "properties": { - "actions": { - "type": "string", - "enum": ["read", "write"] - }, - "administration": { - "type": "string", - "enum": ["read", "write"] - }, - "checks": { "type": "string", "enum": ["read", "write"] }, - "content_references": { - "type": "string", - "enum": ["read", "write"] - }, - "contents": { - "type": "string", - "enum": ["read", "write"] - }, - "deployments": { - "type": "string", - "enum": ["read", "write"] - }, - "discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "emails": { "type": "string", "enum": ["read", "write"] }, - "environments": { - "type": "string", - "enum": ["read", "write"] - }, - "issues": { "type": "string", "enum": ["read", "write"] }, - "keys": { "type": "string", "enum": ["read", "write"] }, - "members": { - "type": "string", - "enum": ["read", "write"] - }, - "metadata": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_administration": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_packages": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_plan": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_projects": { - "type": "string", - "enum": ["read", "write", "admin"] - }, - "organization_secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_self_hosted_runners": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_user_blocking": { - "type": "string", - "enum": ["read", "write"] - }, - "packages": { - "type": "string", - "enum": ["read", "write"] - }, - "pages": { "type": "string", "enum": ["read", "write"] }, - "pull_requests": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "secret_scanning_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "security_events": { - "type": "string", - "enum": ["read", "write"] - }, - "security_scanning_alert": { - "type": "string", - "enum": ["read", "write"] - }, - "single_file": { - "type": "string", - "enum": ["read", "write"] - }, - "statuses": { - "type": "string", - "enum": ["read", "write"] - }, - "team_discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "vulnerability_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "workflows": { - "type": "string", - "enum": ["read", "write"] - } - } - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string" - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time" - } - } - }, - "pull_request": { - "type": "object", - "properties": { - "diff_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "patch_url": { "type": "string", "format": "uri" }, - "url": { "type": "string", "format": "uri" } - } - }, - "reactions": { - "title": "Reactions", - "type": "object", - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ], - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - } - }, - "repository_url": { "type": "string", "format": "uri" }, - "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] - }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "enum": ["open", "closed"] - }, - "state_reason": { "type": ["string", "null"] }, - "timeline_url": { "type": "string", "format": "uri" }, - "title": { - "description": "Title of the issue", - "type": "string" - }, - "type": { "$ref": "#/components/schemas/issue-type" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { - "description": "URL for the issue", - "type": "string", - "format": "uri" - }, - "user": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - } - } - } - }, - "milestone": { "$ref": "#/components/schemas/webhooks_milestone" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "issue", "repository", "sender"] - }, - "webhook-issues-edited": { - "title": "issues edited event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["edited"] }, - "changes": { - "description": "The changes to the issue.", - "type": "object", - "properties": { - "body": { - "type": "object", - "properties": { - "from": { - "description": "The previous version of the body.", - "type": "string" - } - }, - "required": ["from"] - }, - "title": { - "type": "object", - "properties": { - "from": { - "description": "The previous version of the title.", - "type": "string" - } - }, - "required": ["from"] - } - } - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "issue": { - "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-server@3.13/rest/issues/issues#get-an-issue) itself.", - "type": "object", - "properties": { - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { - "description": "Contents of the issue", - "type": ["string", "null"] - }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "draft": { "type": "boolean" }, - "events_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "labels_url": { "type": "string", "format": "uri-template" }, - "locked": { "type": "boolean" }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "performed_via_github_app": { - "title": "App", - "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", - "type": ["object", "null"], - "properties": { - "created_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "description": { "type": ["string", "null"] }, - "events": { - "description": "The list of events for the GitHub app", - "type": "array", - "items": { - "type": "string", - "enum": [ - "branch_protection_rule", - "check_run", - "check_suite", - "code_scanning_alert", - "commit_comment", - "content_reference", - "create", - "delete", - "deployment", - "deployment_review", - "deployment_status", - "deploy_key", - "discussion", - "discussion_comment", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "org_block", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "registry_package", - "release", - "repository", - "repository_dispatch", - "secret_scanning_alert", - "star", - "status", - "team", - "team_add", - "watch", - "workflow_dispatch", - "workflow_run", - "security_and_analysis", - "pull_request_review_thread", - "reminder" - ] - } - }, - "external_url": { - "type": ["string", "null"], - "format": "uri" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the GitHub app", - "type": ["integer", "null"] - }, - "name": { - "description": "The name of the GitHub app", - "type": "string" - }, - "node_id": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "description": "The set of permissions for the GitHub app", - "type": "object", - "properties": { - "actions": { - "type": "string", - "enum": ["read", "write"] - }, - "administration": { - "type": "string", - "enum": ["read", "write"] - }, - "checks": { "type": "string", "enum": ["read", "write"] }, - "content_references": { - "type": "string", - "enum": ["read", "write"] - }, - "contents": { - "type": "string", - "enum": ["read", "write"] - }, - "deployments": { - "type": "string", - "enum": ["read", "write"] - }, - "discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "emails": { "type": "string", "enum": ["read", "write"] }, - "environments": { - "type": "string", - "enum": ["read", "write"] - }, - "issues": { "type": "string", "enum": ["read", "write"] }, - "keys": { "type": "string", "enum": ["read", "write"] }, - "members": { - "type": "string", - "enum": ["read", "write"] - }, - "metadata": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_administration": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_packages": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_plan": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_projects": { - "type": "string", - "enum": ["read", "write", "admin"] - }, - "organization_secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_self_hosted_runners": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_user_blocking": { - "type": "string", - "enum": ["read", "write"] - }, - "packages": { - "type": "string", - "enum": ["read", "write"] - }, - "pages": { "type": "string", "enum": ["read", "write"] }, - "pull_requests": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "secret_scanning_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "security_events": { - "type": "string", - "enum": ["read", "write"] - }, - "security_scanning_alert": { - "type": "string", - "enum": ["read", "write"] - }, - "single_file": { - "type": "string", - "enum": ["read", "write"] - }, - "statuses": { - "type": "string", - "enum": ["read", "write"] - }, - "team_discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "vulnerability_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "workflows": { - "type": "string", - "enum": ["read", "write"] - } - } - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string" - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time" - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ] - }, - "pull_request": { - "type": "object", - "properties": { - "diff_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "patch_url": { "type": "string", "format": "uri" }, - "url": { "type": "string", "format": "uri" } - } - }, - "reactions": { - "title": "Reactions", - "type": "object", - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] - }, - "repository_url": { "type": "string", "format": "uri" }, - "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] - }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "enum": ["open", "closed"] - }, - "state_reason": { "type": ["string", "null"] }, - "timeline_url": { "type": "string", "format": "uri" }, - "type": { "$ref": "#/components/schemas/issue-type" }, - "title": { - "description": "Title of the issue", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { - "description": "URL for the issue", - "type": "string", - "format": "uri" - }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "repository_url", - "labels_url", - "comments_url", - "events_url", - "html_url", - "id", - "node_id", - "number", - "title", - "user", - "assignees", - "milestone", - "comments", - "created_at", - "updated_at", - "closed_at", - "author_association", - "active_lock_reason", - "body", - "reactions" - ] - }, - "label": { "$ref": "#/components/schemas/webhooks_label" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "changes", "issue", "repository", "sender"] - }, - "webhook-issues-labeled": { - "title": "issues labeled event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["labeled"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "issue": { - "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-server@3.13/rest/issues/issues#get-an-issue) itself.", - "type": "object", - "properties": { - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { - "description": "Contents of the issue", - "type": ["string", "null"] - }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "draft": { "type": "boolean" }, - "events_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "labels_url": { "type": "string", "format": "uri-template" }, - "locked": { "type": "boolean" }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "performed_via_github_app": { - "title": "App", - "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", - "type": ["object", "null"], - "properties": { - "created_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "description": { "type": ["string", "null"] }, - "events": { - "description": "The list of events for the GitHub app", - "type": "array", - "items": { - "type": "string", - "enum": [ - "branch_protection_rule", - "check_run", - "check_suite", - "code_scanning_alert", - "commit_comment", - "content_reference", - "create", - "delete", - "deployment", - "deployment_review", - "deployment_status", - "deploy_key", - "discussion", - "discussion_comment", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "org_block", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "registry_package", - "release", - "repository", - "repository_dispatch", - "secret_scanning_alert", - "star", - "status", - "team", - "team_add", - "watch", - "workflow_dispatch", - "workflow_run", - "pull_request_review_thread", - "reminder" - ] - } - }, - "external_url": { - "type": ["string", "null"], - "format": "uri" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the GitHub app", - "type": ["integer", "null"] - }, - "name": { - "description": "The name of the GitHub app", - "type": "string" - }, - "node_id": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "description": "The set of permissions for the GitHub app", - "type": "object", - "properties": { - "actions": { - "type": "string", - "enum": ["read", "write"] - }, - "administration": { - "type": "string", - "enum": ["read", "write"] - }, - "checks": { "type": "string", "enum": ["read", "write"] }, - "content_references": { - "type": "string", - "enum": ["read", "write"] - }, - "contents": { - "type": "string", - "enum": ["read", "write"] - }, - "deployments": { - "type": "string", - "enum": ["read", "write"] - }, - "discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "emails": { "type": "string", "enum": ["read", "write"] }, - "environments": { - "type": "string", - "enum": ["read", "write"] - }, - "issues": { "type": "string", "enum": ["read", "write"] }, - "keys": { "type": "string", "enum": ["read", "write"] }, - "members": { - "type": "string", - "enum": ["read", "write"] - }, - "metadata": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_administration": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_packages": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_plan": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_projects": { - "type": "string", - "enum": ["read", "write", "admin"] - }, - "organization_secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_self_hosted_runners": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_user_blocking": { - "type": "string", - "enum": ["read", "write"] - }, - "packages": { - "type": "string", - "enum": ["read", "write"] - }, - "pages": { "type": "string", "enum": ["read", "write"] }, - "pull_requests": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "secret_scanning_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "security_events": { - "type": "string", - "enum": ["read", "write"] - }, - "security_scanning_alert": { - "type": "string", - "enum": ["read", "write"] - }, - "single_file": { - "type": "string", - "enum": ["read", "write"] - }, - "statuses": { - "type": "string", - "enum": ["read", "write"] - }, - "team_discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "vulnerability_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "workflows": { - "type": "string", - "enum": ["read", "write"] - } - } - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string" - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time" - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ] - }, - "pull_request": { - "type": "object", - "properties": { - "diff_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "patch_url": { "type": "string", "format": "uri" }, - "url": { "type": "string", "format": "uri" } - } - }, - "reactions": { - "title": "Reactions", - "type": "object", - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] - }, - "repository_url": { "type": "string", "format": "uri" }, - "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] - }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "enum": ["open", "closed"] - }, - "state_reason": { "type": ["string", "null"] }, - "timeline_url": { "type": "string", "format": "uri" }, - "type": { "$ref": "#/components/schemas/issue-type" }, - "title": { - "description": "Title of the issue", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { - "description": "URL for the issue", - "type": "string", - "format": "uri" - }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "repository_url", - "labels_url", - "comments_url", - "events_url", - "html_url", - "id", - "node_id", - "number", - "title", - "user", - "assignees", - "milestone", - "comments", - "created_at", - "updated_at", - "closed_at", - "author_association", - "active_lock_reason", - "body", - "reactions" - ] - }, - "label": { "$ref": "#/components/schemas/webhooks_label" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "issue", "repository", "sender"] - }, - "webhook-issues-locked": { - "title": "issues locked event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["locked"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "issue": { - "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-server@3.13/rest/issues/issues#get-an-issue) itself.", - "type": "object", - "required": [ - "active_lock_reason", - "assignees", - "author_association", - "body", - "closed_at", - "comments", - "comments_url", - "created_at", - "events_url", - "html_url", - "id", - "labels_url", - "locked", - "milestone", - "node_id", - "number", - "reactions", - "repository_url", - "title", - "updated_at", - "url", - "user" - ], - "properties": { - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - } - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - } - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { - "description": "Contents of the issue", - "type": ["string", "null"] - }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "draft": { "type": "boolean" }, - "events_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": ["object", "null"], - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ], - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - } - } - }, - "labels_url": { "type": "string", "format": "uri-template" }, - "locked": { "type": "boolean", "enum": [true] }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - } - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - } - }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "performed_via_github_app": { - "title": "App", - "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", - "type": ["object", "null"], - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ], - "properties": { - "created_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "description": { "type": ["string", "null"] }, - "events": { - "description": "The list of events for the GitHub app", - "type": "array", - "items": { - "type": "string", - "enum": [ - "branch_protection_rule", - "check_run", - "check_suite", - "code_scanning_alert", - "commit_comment", - "content_reference", - "create", - "delete", - "deployment", - "deployment_review", - "deployment_status", - "deploy_key", - "discussion", - "discussion_comment", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "org_block", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "registry_package", - "release", - "repository", - "repository_dispatch", - "secret_scanning_alert", - "star", - "status", - "team", - "team_add", - "watch", - "workflow_dispatch", - "workflow_run", - "reminder", - "security_and_analysis" - ] - } - }, - "external_url": { - "type": ["string", "null"], - "format": "uri" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the GitHub app", - "type": ["integer", "null"] - }, - "name": { - "description": "The name of the GitHub app", - "type": "string" - }, - "node_id": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - } - }, - "permissions": { - "description": "The set of permissions for the GitHub app", - "type": "object", - "properties": { - "actions": { - "type": "string", - "enum": ["read", "write"] - }, - "administration": { - "type": "string", - "enum": ["read", "write"] - }, - "checks": { "type": "string", "enum": ["read", "write"] }, - "content_references": { - "type": "string", - "enum": ["read", "write"] - }, - "contents": { - "type": "string", - "enum": ["read", "write"] - }, - "deployments": { - "type": "string", - "enum": ["read", "write"] - }, - "discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "emails": { "type": "string", "enum": ["read", "write"] }, - "environments": { - "type": "string", - "enum": ["read", "write"] - }, - "issues": { "type": "string", "enum": ["read", "write"] }, - "keys": { "type": "string", "enum": ["read", "write"] }, - "members": { - "type": "string", - "enum": ["read", "write"] - }, - "metadata": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_administration": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_packages": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_plan": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_self_hosted_runners": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_user_blocking": { - "type": "string", - "enum": ["read", "write"] - }, - "packages": { - "type": "string", - "enum": ["read", "write"] - }, - "pages": { "type": "string", "enum": ["read", "write"] }, - "pull_requests": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "secret_scanning_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "security_events": { - "type": "string", - "enum": ["read", "write"] - }, - "security_scanning_alert": { - "type": "string", - "enum": ["read", "write"] - }, - "single_file": { - "type": "string", - "enum": ["read", "write"] - }, - "statuses": { - "type": "string", - "enum": ["read", "write"] - }, - "team_discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "vulnerability_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "workflows": { - "type": "string", - "enum": ["read", "write"] - } - } - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string" - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time" - } - } - }, - "pull_request": { - "type": "object", - "properties": { - "diff_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "patch_url": { "type": "string", "format": "uri" }, - "url": { "type": "string", "format": "uri" } - } - }, - "reactions": { - "title": "Reactions", - "type": "object", - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ], - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - } - }, - "repository_url": { "type": "string", "format": "uri" }, - "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] - }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "enum": ["open", "closed"] - }, - "state_reason": { "type": ["string", "null"] }, - "timeline_url": { "type": "string", "format": "uri" }, - "type": { "$ref": "#/components/schemas/issue-type" }, - "title": { - "description": "Title of the issue", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { - "description": "URL for the issue", - "type": "string", - "format": "uri" - }, - "user": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - } - } - } - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "issue", "repository", "sender"] - }, - "webhook-issues-milestoned": { - "title": "issues milestoned event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["milestoned"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "issue": { - "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-server@3.13/rest/issues/issues#get-an-issue) itself.", - "type": "object", - "required": [ - "active_lock_reason", - "assignees", - "author_association", - "body", - "closed_at", - "comments", - "comments_url", - "created_at", - "events_url", - "html_url", - "id", - "labels_url", - "milestone", - "node_id", - "number", - "reactions", - "repository_url", - "title", - "updated_at", - "url", - "user" - ], - "properties": { - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" } - } - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" } - } - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { - "description": "Contents of the issue", - "type": ["string", "null"] - }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "draft": { "type": "boolean" }, - "events_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": ["object", "null"], - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ], - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - } - } - }, - "labels_url": { "type": "string", "format": "uri-template" }, - "locked": { "type": "boolean" }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - } - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - } - }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "performed_via_github_app": { - "title": "App", - "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", - "type": ["object", "null"], - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ], - "properties": { - "created_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "description": { "type": ["string", "null"] }, - "events": { - "description": "The list of events for the GitHub app", - "type": "array", - "items": { - "type": "string", - "enum": [ - "branch_protection_rule", - "check_run", - "check_suite", - "code_scanning_alert", - "commit_comment", - "content_reference", - "create", - "delete", - "deployment", - "deployment_review", - "deployment_status", - "deploy_key", - "discussion", - "discussion_comment", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "org_block", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "registry_package", - "release", - "repository", - "repository_dispatch", - "secret_scanning_alert", - "star", - "status", - "team", - "team_add", - "watch", - "workflow_dispatch", - "workflow_run", - "reminder" - ] - } - }, - "external_url": { - "type": ["string", "null"], - "format": "uri" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the GitHub app", - "type": ["integer", "null"] - }, - "name": { - "description": "The name of the GitHub app", - "type": "string" - }, - "node_id": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - } - }, - "permissions": { - "description": "The set of permissions for the GitHub app", - "type": "object", - "properties": { - "actions": { - "type": "string", - "enum": ["read", "write"] - }, - "administration": { - "type": "string", - "enum": ["read", "write"] - }, - "checks": { "type": "string", "enum": ["read", "write"] }, - "content_references": { - "type": "string", - "enum": ["read", "write"] - }, - "contents": { - "type": "string", - "enum": ["read", "write"] - }, - "deployments": { - "type": "string", - "enum": ["read", "write"] - }, - "discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "emails": { "type": "string", "enum": ["read", "write"] }, - "environments": { - "type": "string", - "enum": ["read", "write"] - }, - "issues": { "type": "string", "enum": ["read", "write"] }, - "keys": { "type": "string", "enum": ["read", "write"] }, - "members": { - "type": "string", - "enum": ["read", "write"] - }, - "metadata": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_administration": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_packages": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_plan": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_projects": { - "type": "string", - "enum": ["read", "write", "admin"] - }, - "organization_secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_self_hosted_runners": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_user_blocking": { - "type": "string", - "enum": ["read", "write"] - }, - "packages": { - "type": "string", - "enum": ["read", "write"] - }, - "pages": { "type": "string", "enum": ["read", "write"] }, - "pull_requests": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "secret_scanning_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "security_events": { - "type": "string", - "enum": ["read", "write"] - }, - "security_scanning_alert": { - "type": "string", - "enum": ["read", "write"] - }, - "single_file": { - "type": "string", - "enum": ["read", "write"] - }, - "statuses": { - "type": "string", - "enum": ["read", "write"] - }, - "team_discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "vulnerability_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "workflows": { - "type": "string", - "enum": ["read", "write"] - } - } - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string" - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time" - } - } - }, - "pull_request": { - "type": "object", - "properties": { - "diff_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "patch_url": { "type": "string", "format": "uri" }, - "url": { "type": "string", "format": "uri" } - } - }, - "reactions": { - "title": "Reactions", - "type": "object", - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ], - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - } - }, - "repository_url": { "type": "string", "format": "uri" }, - "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] - }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "enum": ["open", "closed"] - }, - "state_reason": { "type": ["string", "null"] }, - "timeline_url": { "type": "string", "format": "uri" }, - "title": { - "description": "Title of the issue", - "type": "string" - }, - "type": { "$ref": "#/components/schemas/issue-type" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { - "description": "URL for the issue", - "type": "string", - "format": "uri" - }, - "user": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - } - } - } - }, - "milestone": { "$ref": "#/components/schemas/webhooks_milestone" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "issue", "milestone", "repository", "sender"] - }, - "webhook-issues-opened": { - "title": "issues opened event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["opened"] }, - "changes": { - "type": "object", - "properties": { - "old_issue": { - "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-server@3.13/rest/issues/issues#get-an-issue) itself.", - "type": ["object", "null"], - "properties": { - "active_lock_reason": { - "type": ["string", "null"], - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { - "description": "Contents of the issue", - "type": ["string", "null"] - }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "draft": { "type": "boolean" }, - "events_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "labels_url": { "type": "string", "format": "uri-template" }, - "locked": { "type": "boolean" }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "performed_via_github_app": { - "title": "App", - "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", - "type": ["object", "null"], - "properties": { - "created_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "description": { "type": ["string", "null"] }, - "events": { - "description": "The list of events for the GitHub app", - "type": "array", - "items": { - "type": "string", - "enum": [ - "branch_protection_rule", - "check_run", - "check_suite", - "code_scanning_alert", - "commit_comment", - "content_reference", - "create", - "delete", - "deployment", - "deployment_review", - "deployment_status", - "deploy_key", - "discussion", - "discussion_comment", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "org_block", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "registry_package", - "release", - "repository", - "repository_dispatch", - "secret_scanning_alert", - "star", - "status", - "team", - "team_add", - "watch", - "workflow_dispatch", - "workflow_run" - ] - } - }, - "external_url": { - "type": ["string", "null"], - "format": "uri" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the GitHub app", - "type": ["integer", "null"] - }, - "name": { - "description": "The name of the GitHub app", - "type": "string" - }, - "node_id": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "description": "The set of permissions for the GitHub app", - "type": "object", - "properties": { - "actions": { - "type": "string", - "enum": ["read", "write"] - }, - "administration": { - "type": "string", - "enum": ["read", "write"] - }, - "checks": { - "type": "string", - "enum": ["read", "write"] - }, - "content_references": { - "type": "string", - "enum": ["read", "write"] - }, - "contents": { - "type": "string", - "enum": ["read", "write"] - }, - "deployments": { - "type": "string", - "enum": ["read", "write"] - }, - "discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "emails": { - "type": "string", - "enum": ["read", "write"] - }, - "environments": { - "type": "string", - "enum": ["read", "write"] - }, - "issues": { - "type": "string", - "enum": ["read", "write"] - }, - "keys": { - "type": "string", - "enum": ["read", "write"] - }, - "members": { - "type": "string", - "enum": ["read", "write"] - }, - "metadata": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_administration": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_packages": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_plan": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_self_hosted_runners": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_user_blocking": { - "type": "string", - "enum": ["read", "write"] - }, - "packages": { - "type": "string", - "enum": ["read", "write"] - }, - "pages": { - "type": "string", - "enum": ["read", "write"] - }, - "pull_requests": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "secret_scanning_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "security_events": { - "type": "string", - "enum": ["read", "write"] - }, - "security_scanning_alert": { - "type": "string", - "enum": ["read", "write"] - }, - "single_file": { - "type": "string", - "enum": ["read", "write"] - }, - "statuses": { - "type": "string", - "enum": ["read", "write"] - }, - "team_discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "vulnerability_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "workflows": { - "type": "string", - "enum": ["read", "write"] - } - } - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string" - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time" - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ] - }, - "pull_request": { - "type": "object", - "properties": { - "diff_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "patch_url": { "type": "string", "format": "uri" }, - "url": { "type": "string", "format": "uri" } - } - }, - "reactions": { - "title": "Reactions", - "type": "object", - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] - }, - "repository_url": { "type": "string", "format": "uri" }, - "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] - }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "enum": ["open", "closed"] - }, - "state_reason": { "type": ["string", "null"] }, - "timeline_url": { "type": "string", "format": "uri" }, - "title": { - "description": "Title of the issue", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { - "description": "URL for the issue", - "type": "string", - "format": "uri" - }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "type": { "$ref": "#/components/schemas/issue-type" } - }, - "required": ["id", "number"] - }, - "old_repository": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { "type": "string", "format": "uri-template" }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { "type": "string", "format": "uri-template" }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { "type": "string", "format": "uri-template" }, - "compare_url": { "type": "string", "format": "uri-template" }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "custom_properties": { - "type": "object", - "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", - "additionalProperties": true - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_discussions": { - "description": "Whether the repository has discussions enabled.", - "type": "boolean" - }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { "type": "string", "format": "uri-template" }, - "keys_url": { "type": "string", "format": "uri-template" }, - "labels_url": { "type": "string", "format": "uri-template" }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { "type": ["string", "null"], "format": "uri" }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { "type": "string", "format": "uri-template" }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { "type": "array", "items": { "type": "string" } }, - "trees_url": { "type": "string", "format": "uri-template" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require commit signoff.", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - } - }, - "required": ["old_issue", "old_repository"] - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "issue": { - "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-server@3.13/rest/issues/issues#get-an-issue) itself.", - "type": "object", - "properties": { - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { - "description": "Contents of the issue", - "type": ["string", "null"] - }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "draft": { "type": "boolean" }, - "events_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "labels_url": { "type": "string", "format": "uri-template" }, - "locked": { "type": "boolean" }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "performed_via_github_app": { - "title": "App", - "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", - "type": ["object", "null"], - "properties": { - "created_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "description": { "type": ["string", "null"] }, - "events": { - "description": "The list of events for the GitHub app", - "type": "array", - "items": { - "type": "string", - "enum": [ - "branch_protection_rule", - "check_run", - "check_suite", - "code_scanning_alert", - "commit_comment", - "content_reference", - "create", - "delete", - "deployment", - "deployment_review", - "deployment_status", - "deploy_key", - "discussion", - "discussion_comment", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "org_block", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "registry_package", - "release", - "repository", - "repository_dispatch", - "secret_scanning_alert", - "star", - "status", - "team", - "team_add", - "watch", - "workflow_dispatch", - "workflow_run", - "security_and_analysis", - "pull_request_review_thread", - "reminder" - ] - } - }, - "external_url": { - "type": ["string", "null"], - "format": "uri" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the GitHub app", - "type": ["integer", "null"] - }, - "name": { - "description": "The name of the GitHub app", - "type": "string" - }, - "node_id": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "description": "The set of permissions for the GitHub app", - "type": "object", - "properties": { - "actions": { - "type": "string", - "enum": ["read", "write"] - }, - "administration": { - "type": "string", - "enum": ["read", "write"] - }, - "checks": { "type": "string", "enum": ["read", "write"] }, - "content_references": { - "type": "string", - "enum": ["read", "write"] - }, - "contents": { - "type": "string", - "enum": ["read", "write"] - }, - "deployments": { - "type": "string", - "enum": ["read", "write"] - }, - "discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "emails": { "type": "string", "enum": ["read", "write"] }, - "environments": { - "type": "string", - "enum": ["read", "write"] - }, - "issues": { "type": "string", "enum": ["read", "write"] }, - "keys": { "type": "string", "enum": ["read", "write"] }, - "members": { - "type": "string", - "enum": ["read", "write"] - }, - "metadata": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_administration": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_packages": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_plan": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_projects": { - "type": "string", - "enum": ["read", "write", "admin"] - }, - "organization_secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_self_hosted_runners": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_user_blocking": { - "type": "string", - "enum": ["read", "write"] - }, - "packages": { - "type": "string", - "enum": ["read", "write"] - }, - "pages": { "type": "string", "enum": ["read", "write"] }, - "pull_requests": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "secret_scanning_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "security_events": { - "type": "string", - "enum": ["read", "write"] - }, - "security_scanning_alert": { - "type": "string", - "enum": ["read", "write"] - }, - "single_file": { - "type": "string", - "enum": ["read", "write"] - }, - "statuses": { - "type": "string", - "enum": ["read", "write"] - }, - "team_discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "vulnerability_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "workflows": { - "type": "string", - "enum": ["read", "write"] - } - } - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string" - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time" - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ] - }, - "pull_request": { - "type": "object", - "properties": { - "diff_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "patch_url": { "type": "string", "format": "uri" }, - "url": { "type": "string", "format": "uri" } - } - }, - "reactions": { - "title": "Reactions", - "type": "object", - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] - }, - "repository_url": { "type": "string", "format": "uri" }, - "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] - }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "enum": ["open", "closed"] - }, - "state_reason": { "type": ["string", "null"] }, - "timeline_url": { "type": "string", "format": "uri" }, - "title": { - "description": "Title of the issue", - "type": "string" - }, - "type": { "$ref": "#/components/schemas/issue-type" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { - "description": "URL for the issue", - "type": "string", - "format": "uri" - }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "repository_url", - "labels_url", - "comments_url", - "events_url", - "html_url", - "id", - "node_id", - "number", - "title", - "user", - "assignees", - "milestone", - "comments", - "created_at", - "updated_at", - "closed_at", - "author_association", - "active_lock_reason", - "body", - "reactions" - ] - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "issue", "repository", "sender"] - }, - "webhook-issues-pinned": { - "title": "issues pinned event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["pinned"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "issue": { "$ref": "#/components/schemas/webhooks_issue_2" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "issue", "repository", "sender"] - }, - "webhook-issues-reopened": { - "title": "issues reopened event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["reopened"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "issue": { - "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-server@3.13/rest/issues/issues#get-an-issue) itself.", - "type": "object", - "required": [ - "active_lock_reason", - "assignees", - "author_association", - "body", - "closed_at", - "comments", - "comments_url", - "created_at", - "events_url", - "html_url", - "id", - "labels_url", - "milestone", - "node_id", - "number", - "reactions", - "repository_url", - "state", - "title", - "updated_at", - "url", - "user" - ], - "properties": { - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" } - } - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" } - } - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { - "description": "Contents of the issue", - "type": ["string", "null"] - }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "draft": { "type": "boolean" }, - "events_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": ["object", "null"], - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ], - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - } - } - }, - "labels_url": { "type": "string", "format": "uri-template" }, - "locked": { "type": "boolean" }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - } - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - } - }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "performed_via_github_app": { - "title": "App", - "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", - "type": ["object", "null"], - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ], - "properties": { - "created_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "description": { "type": ["string", "null"] }, - "events": { - "description": "The list of events for the GitHub app", - "type": "array", - "items": { - "type": "string", - "enum": [ - "branch_protection_rule", - "check_run", - "check_suite", - "code_scanning_alert", - "commit_comment", - "content_reference", - "create", - "delete", - "deployment", - "deployment_review", - "deployment_status", - "deploy_key", - "discussion", - "discussion_comment", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "org_block", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "registry_package", - "release", - "repository", - "repository_dispatch", - "secret_scanning_alert", - "star", - "status", - "team", - "team_add", - "watch", - "workflow_dispatch", - "workflow_run", - "pull_request_review_thread", - "reminder" - ] - } - }, - "external_url": { - "type": ["string", "null"], - "format": "uri" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the GitHub app", - "type": ["integer", "null"] - }, - "name": { - "description": "The name of the GitHub app", - "type": "string" - }, - "node_id": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - } - }, - "permissions": { - "description": "The set of permissions for the GitHub app", - "type": "object", - "properties": { - "actions": { - "type": "string", - "enum": ["read", "write"] - }, - "administration": { - "type": "string", - "enum": ["read", "write"] - }, - "checks": { "type": "string", "enum": ["read", "write"] }, - "content_references": { - "type": "string", - "enum": ["read", "write"] - }, - "contents": { - "type": "string", - "enum": ["read", "write"] - }, - "deployments": { - "type": "string", - "enum": ["read", "write"] - }, - "discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "emails": { "type": "string", "enum": ["read", "write"] }, - "environments": { - "type": "string", - "enum": ["read", "write"] - }, - "issues": { "type": "string", "enum": ["read", "write"] }, - "keys": { "type": "string", "enum": ["read", "write"] }, - "members": { - "type": "string", - "enum": ["read", "write"] - }, - "metadata": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_administration": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_packages": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_plan": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_projects": { - "type": "string", - "enum": ["read", "write", "admin"] - }, - "organization_secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_self_hosted_runners": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_user_blocking": { - "type": "string", - "enum": ["read", "write"] - }, - "packages": { - "type": "string", - "enum": ["read", "write"] - }, - "pages": { "type": "string", "enum": ["read", "write"] }, - "pull_requests": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_projects": { - "type": "string", - "enum": ["read", "write", "admin"] - }, - "secret_scanning_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "security_events": { - "type": "string", - "enum": ["read", "write"] - }, - "security_scanning_alert": { - "type": "string", - "enum": ["read", "write"] - }, - "single_file": { - "type": "string", - "enum": ["read", "write"] - }, - "statuses": { - "type": "string", - "enum": ["read", "write"] - }, - "team_discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "vulnerability_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "workflows": { - "type": "string", - "enum": ["read", "write"] - } - } - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string" - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time" - } - } - }, - "pull_request": { - "type": "object", - "properties": { - "diff_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "patch_url": { "type": "string", "format": "uri" }, - "url": { "type": "string", "format": "uri" } - } - }, - "reactions": { - "title": "Reactions", - "type": "object", - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ], - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - } - }, - "repository_url": { "type": "string", "format": "uri" }, - "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] - }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "enum": ["open", "closed"] - }, - "state_reason": { "type": ["string", "null"] }, - "timeline_url": { "type": "string", "format": "uri" }, - "title": { - "description": "Title of the issue", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { - "description": "URL for the issue", - "type": "string", - "format": "uri" - }, - "user": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - } - }, - "type": { "$ref": "#/components/schemas/issue-type" } - } - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "issue", "repository", "sender"] - }, - "webhook-issues-transferred": { - "title": "issues transferred event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["transferred"] }, - "changes": { - "type": "object", - "properties": { - "new_issue": { - "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-server@3.13/rest/issues/issues#get-an-issue) itself.", - "type": "object", - "properties": { - "active_lock_reason": { - "type": ["string", "null"], - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { - "description": "Contents of the issue", - "type": ["string", "null"] - }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "draft": { "type": "boolean" }, - "events_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "labels_url": { "type": "string", "format": "uri-template" }, - "locked": { "type": "boolean" }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "performed_via_github_app": { - "title": "App", - "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", - "type": ["object", "null"], - "properties": { - "created_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "description": { "type": ["string", "null"] }, - "events": { - "description": "The list of events for the GitHub app", - "type": "array", - "items": { - "type": "string", - "enum": [ - "branch_protection_rule", - "check_run", - "check_suite", - "code_scanning_alert", - "commit_comment", - "content_reference", - "create", - "delete", - "deployment", - "deployment_review", - "deployment_status", - "deploy_key", - "discussion", - "discussion_comment", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "org_block", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "registry_package", - "release", - "repository", - "repository_dispatch", - "secret_scanning_alert", - "star", - "status", - "team", - "team_add", - "watch", - "workflow_dispatch", - "workflow_run" - ] - } - }, - "external_url": { - "type": ["string", "null"], - "format": "uri" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the GitHub app", - "type": ["integer", "null"] - }, - "name": { - "description": "The name of the GitHub app", - "type": "string" - }, - "node_id": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "description": "The set of permissions for the GitHub app", - "type": "object", - "properties": { - "actions": { - "type": "string", - "enum": ["read", "write"] - }, - "administration": { - "type": "string", - "enum": ["read", "write"] - }, - "checks": { - "type": "string", - "enum": ["read", "write"] - }, - "content_references": { - "type": "string", - "enum": ["read", "write"] - }, - "contents": { - "type": "string", - "enum": ["read", "write"] - }, - "deployments": { - "type": "string", - "enum": ["read", "write"] - }, - "discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "emails": { - "type": "string", - "enum": ["read", "write"] - }, - "environments": { - "type": "string", - "enum": ["read", "write"] - }, - "issues": { - "type": "string", - "enum": ["read", "write"] - }, - "keys": { - "type": "string", - "enum": ["read", "write"] - }, - "members": { - "type": "string", - "enum": ["read", "write"] - }, - "metadata": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_administration": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_packages": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_plan": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_self_hosted_runners": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_user_blocking": { - "type": "string", - "enum": ["read", "write"] - }, - "packages": { - "type": "string", - "enum": ["read", "write"] - }, - "pages": { - "type": "string", - "enum": ["read", "write"] - }, - "pull_requests": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "secret_scanning_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "security_events": { - "type": "string", - "enum": ["read", "write"] - }, - "security_scanning_alert": { - "type": "string", - "enum": ["read", "write"] - }, - "single_file": { - "type": "string", - "enum": ["read", "write"] - }, - "statuses": { - "type": "string", - "enum": ["read", "write"] - }, - "team_discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "vulnerability_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "workflows": { - "type": "string", - "enum": ["read", "write"] - } - } - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string" - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time" - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ] - }, - "pull_request": { - "type": "object", - "properties": { - "diff_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "patch_url": { "type": "string", "format": "uri" }, - "url": { "type": "string", "format": "uri" } - } - }, - "reactions": { - "title": "Reactions", - "type": "object", - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] - }, - "repository_url": { "type": "string", "format": "uri" }, - "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] - }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "enum": ["open", "closed"] - }, - "state_reason": { "type": ["string", "null"] }, - "timeline_url": { "type": "string", "format": "uri" }, - "title": { - "description": "Title of the issue", - "type": "string" - }, - "type": { "$ref": "#/components/schemas/issue-type" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { - "description": "URL for the issue", - "type": "string", - "format": "uri" - }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "repository_url", - "labels_url", - "comments_url", - "events_url", - "html_url", - "id", - "node_id", - "number", - "title", - "user", - "assignees", - "milestone", - "comments", - "created_at", - "updated_at", - "closed_at", - "author_association", - "active_lock_reason", - "body", - "reactions" - ] - }, - "new_repository": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { "type": "string", "format": "uri-template" }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { "type": "string", "format": "uri-template" }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { "type": "string", "format": "uri-template" }, - "compare_url": { "type": "string", "format": "uri-template" }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "custom_properties": { - "type": "object", - "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", - "additionalProperties": true - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { "type": "string", "format": "uri-template" }, - "keys_url": { "type": "string", "format": "uri-template" }, - "labels_url": { "type": "string", "format": "uri-template" }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { "type": ["string", "null"], "format": "uri" }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { "type": "string", "format": "uri-template" }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { "type": "array", "items": { "type": "string" } }, - "trees_url": { "type": "string", "format": "uri-template" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - } - }, - "required": ["new_issue", "new_repository"] - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "issue": { "$ref": "#/components/schemas/webhooks_issue_2" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "changes", "issue", "repository", "sender"] - }, - "webhook-issues-unassigned": { - "title": "issues unassigned event", - "type": "object", - "properties": { - "action": { - "description": "The action that was performed.", - "type": "string", - "enum": ["unassigned"] - }, - "assignee": { - "$ref": "#/components/schemas/webhooks_user_mannequin" - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "issue": { "$ref": "#/components/schemas/webhooks_issue" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "issue", "repository", "sender"] - }, - "webhook-issues-unlabeled": { - "title": "issues unlabeled event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["unlabeled"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "issue": { "$ref": "#/components/schemas/webhooks_issue" }, - "label": { "$ref": "#/components/schemas/webhooks_label" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "issue", "repository", "sender"] - }, - "webhook-issues-unlocked": { - "title": "issues unlocked event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["unlocked"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "issue": { - "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-server@3.13/rest/issues/issues#get-an-issue) itself.", - "type": "object", - "required": [ - "active_lock_reason", - "assignees", - "author_association", - "body", - "closed_at", - "comments", - "comments_url", - "created_at", - "events_url", - "html_url", - "id", - "labels_url", - "locked", - "milestone", - "node_id", - "number", - "reactions", - "repository_url", - "title", - "updated_at", - "url", - "user" - ], - "properties": { - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - } - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - } - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { - "description": "Contents of the issue", - "type": ["string", "null"] - }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "draft": { "type": "boolean" }, - "events_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": ["object", "null"], - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ], - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - } - } - }, - "labels_url": { "type": "string", "format": "uri-template" }, - "locked": { "type": "boolean", "enum": [false] }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - } - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - } - }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "performed_via_github_app": { - "title": "App", - "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", - "type": ["object", "null"], - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ], - "properties": { - "created_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "description": { "type": ["string", "null"] }, - "events": { - "description": "The list of events for the GitHub app", - "type": "array", - "items": { - "type": "string", - "enum": [ - "branch_protection_rule", - "check_run", - "check_suite", - "code_scanning_alert", - "commit_comment", - "content_reference", - "create", - "delete", - "deployment", - "deployment_review", - "deployment_status", - "deploy_key", - "discussion", - "discussion_comment", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "org_block", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "registry_package", - "release", - "repository", - "repository_dispatch", - "secret_scanning_alert", - "star", - "status", - "team", - "team_add", - "watch", - "workflow_dispatch", - "workflow_run" - ] - } - }, - "external_url": { - "type": ["string", "null"], - "format": "uri" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the GitHub app", - "type": ["integer", "null"] - }, - "name": { - "description": "The name of the GitHub app", - "type": "string" - }, - "node_id": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - } - }, - "permissions": { - "description": "The set of permissions for the GitHub app", - "type": "object", - "properties": { - "actions": { - "type": "string", - "enum": ["read", "write"] - }, - "administration": { - "type": "string", - "enum": ["read", "write"] - }, - "checks": { "type": "string", "enum": ["read", "write"] }, - "content_references": { - "type": "string", - "enum": ["read", "write"] - }, - "contents": { - "type": "string", - "enum": ["read", "write"] - }, - "deployments": { - "type": "string", - "enum": ["read", "write"] - }, - "discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "emails": { "type": "string", "enum": ["read", "write"] }, - "environments": { - "type": "string", - "enum": ["read", "write"] - }, - "issues": { "type": "string", "enum": ["read", "write"] }, - "keys": { "type": "string", "enum": ["read", "write"] }, - "members": { - "type": "string", - "enum": ["read", "write"] - }, - "metadata": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_administration": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_packages": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_plan": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_self_hosted_runners": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_user_blocking": { - "type": "string", - "enum": ["read", "write"] - }, - "packages": { - "type": "string", - "enum": ["read", "write"] - }, - "pages": { "type": "string", "enum": ["read", "write"] }, - "pull_requests": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "secret_scanning_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "security_events": { - "type": "string", - "enum": ["read", "write"] - }, - "security_scanning_alert": { - "type": "string", - "enum": ["read", "write"] - }, - "single_file": { - "type": "string", - "enum": ["read", "write"] - }, - "statuses": { - "type": "string", - "enum": ["read", "write"] - }, - "team_discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "vulnerability_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "workflows": { - "type": "string", - "enum": ["read", "write"] - } - } - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string" - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time" - } - } - }, - "pull_request": { - "type": "object", - "properties": { - "diff_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "patch_url": { "type": "string", "format": "uri" }, - "url": { "type": "string", "format": "uri" } - } - }, - "reactions": { - "title": "Reactions", - "type": "object", - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ], - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - } - }, - "repository_url": { "type": "string", "format": "uri" }, - "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] - }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "enum": ["open", "closed"] - }, - "state_reason": { "type": ["string", "null"] }, - "timeline_url": { "type": "string", "format": "uri" }, - "title": { - "description": "Title of the issue", - "type": "string" - }, - "type": { "$ref": "#/components/schemas/issue-type" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { - "description": "URL for the issue", - "type": "string", - "format": "uri" - }, - "user": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - } - } - } - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "issue", "repository", "sender"] - }, - "webhook-issues-unpinned": { - "title": "issues unpinned event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["unpinned"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "issue": { "$ref": "#/components/schemas/webhooks_issue_2" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "issue", "repository", "sender"] - }, - "webhook-label-created": { - "title": "label created event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "label": { "$ref": "#/components/schemas/webhooks_label" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "label", "repository"] - }, - "webhook-label-deleted": { - "title": "label deleted event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["deleted"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "label": { "$ref": "#/components/schemas/webhooks_label" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "label", "repository", "sender"] - }, - "webhook-label-edited": { - "title": "label edited event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["edited"] }, - "changes": { - "description": "The changes to the label if the action was `edited`.", - "type": "object", - "properties": { - "color": { - "type": "object", - "properties": { - "from": { - "description": "The previous version of the color if the action was `edited`.", - "type": "string" - } - }, - "required": ["from"] - }, - "description": { - "type": "object", - "properties": { - "from": { - "description": "The previous version of the description if the action was `edited`.", - "type": "string" - } - }, - "required": ["from"] - }, - "name": { - "type": "object", - "properties": { - "from": { - "description": "The previous version of the name if the action was `edited`.", - "type": "string" - } - }, - "required": ["from"] - } - } - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "label": { "$ref": "#/components/schemas/webhooks_label" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "label", "repository", "sender"] - }, - "webhook-member-added": { - "title": "member added event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["added"] }, - "changes": { - "type": "object", - "properties": { - "permission": { - "type": "object", - "properties": { - "to": { "type": "string", "enum": ["write", "admin", "read"] } - }, - "required": ["to"] - } - } - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "member": { "$ref": "#/components/schemas/webhooks_user" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "member", "repository", "sender"] - }, - "webhook-member-edited": { - "title": "member edited event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["edited"] }, - "changes": { - "description": "The changes to the collaborator permissions", - "type": "object", - "properties": { - "old_permission": { - "type": "object", - "properties": { - "from": { - "description": "The previous permissions of the collaborator if the action was edited.", - "type": "string" - } - }, - "required": ["from"] - }, - "permission": { - "type": "object", - "properties": { - "from": { "type": ["string", "null"] }, - "to": { "type": ["string", "null"] } - } - } - } - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "member": { "$ref": "#/components/schemas/webhooks_user" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "changes", "member", "repository", "sender"] - }, - "webhook-member-removed": { - "title": "member removed event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["removed"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "member": { "$ref": "#/components/schemas/webhooks_user" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "member", "repository", "sender"] - }, - "webhook-membership-added": { - "title": "membership added event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["added"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "member": { "$ref": "#/components/schemas/webhooks_user" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "scope": { - "description": "The scope of the membership. Currently, can only be `team`.", - "type": "string", - "enum": ["team"] - }, - "sender": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "team": { "$ref": "#/components/schemas/webhooks_team" } - }, - "required": [ - "action", - "scope", - "member", - "sender", - "team", - "organization" - ] - }, - "webhook-membership-removed": { - "title": "membership removed event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["removed"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "member": { "$ref": "#/components/schemas/webhooks_user" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "scope": { - "description": "The scope of the membership. Currently, can only be `team`.", - "type": "string", - "enum": ["team", "organization"] - }, - "sender": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "team": { "$ref": "#/components/schemas/webhooks_team" } - }, - "required": [ - "action", - "scope", - "member", - "sender", - "team", - "organization" - ] - }, - "webhook-meta-deleted": { - "title": "meta deleted event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["deleted"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "hook": { - "description": "The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, business, app, or GitHub Marketplace.", - "type": "object", - "properties": { - "active": { "type": "boolean" }, - "config": { - "type": "object", - "properties": { - "content_type": { - "type": "string", - "enum": ["json", "form"] - }, - "insecure_ssl": { "type": "string" }, - "secret": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["content_type", "insecure_ssl", "url"] - }, - "created_at": { "type": "string" }, - "events": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "*", - "branch_protection_rule", - "check_run", - "check_suite", - "code_scanning_alert", - "commit_comment", - "create", - "delete", - "deployment", - "deployment_status", - "deploy_key", - "discussion", - "discussion_comment", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "meta", - "milestone", - "organization", - "org_block", - "package", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "pull_request_review_thread", - "push", - "registry_package", - "release", - "repository", - "repository_import", - "repository_vulnerability_alert", - "secret_scanning_alert", - "secret_scanning_alert_location", - "security_and_analysis", - "star", - "status", - "team", - "team_add", - "watch", - "workflow_job", - "workflow_run", - "repository_dispatch", - "projects_v2_item" - ], - "minItems": 1 - } - }, - "id": { "type": "integer" }, - "name": { "type": "string" }, - "type": { "type": "string" }, - "updated_at": { "type": "string" } - }, - "required": [ - "type", - "id", - "name", - "active", - "events", - "config", - "updated_at", - "created_at" - ] - }, - "hook_id": { - "description": "The id of the modified webhook.", - "type": "integer" - }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/repository-webhooks" } - ] - }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "hook_id", "hook"] - }, - "webhook-milestone-closed": { - "title": "milestone closed event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["closed"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "milestone": { "$ref": "#/components/schemas/webhooks_milestone" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "milestone", "repository", "sender"] - }, - "webhook-milestone-created": { - "title": "milestone created event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "milestone": { "$ref": "#/components/schemas/webhooks_milestone_3" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "milestone", "repository", "sender"] - }, - "webhook-milestone-deleted": { - "title": "milestone deleted event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["deleted"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "milestone": { "$ref": "#/components/schemas/webhooks_milestone" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "milestone", "repository", "sender"] - }, - "webhook-milestone-edited": { - "title": "milestone edited event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["edited"] }, - "changes": { - "description": "The changes to the milestone if the action was `edited`.", - "type": "object", - "properties": { - "description": { - "type": "object", - "properties": { - "from": { - "description": "The previous version of the description if the action was `edited`.", - "type": "string" - } - }, - "required": ["from"] - }, - "due_on": { - "type": "object", - "properties": { - "from": { - "description": "The previous version of the due date if the action was `edited`.", - "type": "string" - } - }, - "required": ["from"] - }, - "title": { - "type": "object", - "properties": { - "from": { - "description": "The previous version of the title if the action was `edited`.", - "type": "string" - } - }, - "required": ["from"] - } - } - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "milestone": { "$ref": "#/components/schemas/webhooks_milestone" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "changes", "milestone", "repository", "sender"] - }, - "webhook-milestone-opened": { - "title": "milestone opened event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["opened"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "milestone": { "$ref": "#/components/schemas/webhooks_milestone_3" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "milestone", "repository", "sender"] - }, - "webhook-organization-deleted": { - "title": "organization deleted event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["deleted"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "membership": { "$ref": "#/components/schemas/webhooks_membership" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "organization", "sender"] - }, - "webhook-organization-member-added": { - "title": "organization member_added event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["member_added"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "membership": { "$ref": "#/components/schemas/webhooks_membership" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "membership", "organization", "sender"] - }, - "webhook-organization-member-invited": { - "title": "organization member_invited event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["member_invited"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "invitation": { - "description": "The invitation for the user or email if the action is `member_invited`.", - "type": "object", - "properties": { - "created_at": { "type": "string", "format": "date-time" }, - "email": { "type": ["string", "null"] }, - "failed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "failed_reason": { "type": ["string", "null"] }, - "id": { "type": "number" }, - "invitation_teams_url": { "type": "string", "format": "uri" }, - "inviter": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "login": { "type": ["string", "null"] }, - "node_id": { "type": "string" }, - "role": { "type": "string" }, - "team_count": { "type": "number" }, - "invitation_source": { "type": "string" } - }, - "required": [ - "id", - "node_id", - "login", - "email", - "role", - "created_at", - "failed_at", - "failed_reason", - "inviter", - "team_count", - "invitation_teams_url" - ] - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "user": { "$ref": "#/components/schemas/webhooks_user" } - }, - "required": ["action", "invitation", "organization", "sender"] - }, - "webhook-organization-member-removed": { - "title": "organization member_removed event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["member_removed"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "membership": { "$ref": "#/components/schemas/webhooks_membership" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "membership", "organization", "sender"] - }, - "webhook-organization-renamed": { - "title": "organization renamed event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["renamed"] }, - "changes": { - "type": "object", - "properties": { - "login": { - "type": "object", - "properties": { "from": { "type": "string" } } - } - } - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "membership": { "$ref": "#/components/schemas/webhooks_membership" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "organization", "sender"] - }, - "webhook-rubygems-metadata": { - "title": "Ruby Gems metadata", - "type": "object", - "properties": { - "name": { "type": "string" }, - "description": { "type": "string" }, - "readme": { "type": "string" }, - "homepage": { "type": "string" }, - "version_info": { - "type": "object", - "properties": { "version": { "type": "string" } } - }, - "platform": { "type": "string" }, - "metadata": { - "type": "object", - "additionalProperties": { "type": "string" } - }, - "repo": { "type": "string" }, - "dependencies": { - "type": "array", - "items": { - "type": "object", - "additionalProperties": { "type": "string" } - } - }, - "commit_oid": { "type": "string" } - } - }, - "webhook-package-published": { - "title": "package published event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["published"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "package": { - "description": "Information about the package.", - "type": "object", - "properties": { - "created_at": { "type": ["string", "null"] }, - "description": { "type": ["string", "null"] }, - "ecosystem": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "name": { "type": "string" }, - "namespace": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "package_type": { "type": "string" }, - "package_version": { - "type": ["object", "null"], - "properties": { - "author": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "body": { - "oneOf": [{ "type": "string" }, { "type": "object" }] - }, - "body_html": { "type": "string" }, - "container_metadata": { - "type": ["object", "null"], - "properties": { - "labels": { "type": ["object", "null"] }, - "manifest": { "type": ["object", "null"] }, - "tag": { - "type": "object", - "properties": { - "digest": { "type": "string" }, - "name": { "type": "string" } - } - } - } - }, - "created_at": { "type": "string" }, - "description": { "type": "string" }, - "docker_metadata": { - "type": "array", - "items": { - "type": "object", - "properties": { - "tags": { - "type": "array", - "items": { "type": "string" } - } - } - } - }, - "draft": { "type": "boolean" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "installation_command": { "type": "string" }, - "manifest": { "type": "string" }, - "metadata": { - "type": "array", - "items": { "type": "object", "additionalProperties": true } - }, - "name": { "type": "string" }, - "npm_metadata": { - "type": ["object", "null"], - "properties": { - "name": { "type": "string" }, - "version": { "type": "string" }, - "npm_user": { "type": "string" }, - "author": { "type": ["object", "null"] }, - "bugs": { "type": ["object", "null"] }, - "dependencies": { "type": "object" }, - "dev_dependencies": { "type": "object" }, - "peer_dependencies": { "type": "object" }, - "optional_dependencies": { "type": "object" }, - "description": { "type": "string" }, - "dist": { "type": ["object", "null"] }, - "git_head": { "type": "string" }, - "homepage": { "type": "string" }, - "license": { "type": "string" }, - "main": { "type": "string" }, - "repository": { "type": ["object", "null"] }, - "scripts": { "type": "object" }, - "id": { "type": "string" }, - "node_version": { "type": "string" }, - "npm_version": { "type": "string" }, - "has_shrinkwrap": { "type": "boolean" }, - "maintainers": { - "type": "array", - "items": { "type": "object" } - }, - "contributors": { - "type": "array", - "items": { "type": "object" } - }, - "engines": { "type": "object" }, - "keywords": { - "type": "array", - "items": { "type": "string" } - }, - "files": { - "type": "array", - "items": { "type": "string" } - }, - "bin": { "type": "object" }, - "man": { "type": "object" }, - "directories": { "type": ["object", "null"] }, - "os": { "type": "array", "items": { "type": "string" } }, - "cpu": { "type": "array", "items": { "type": "string" } }, - "readme": { "type": "string" }, - "installation_command": { "type": "string" }, - "release_id": { "type": "integer" }, - "commit_oid": { "type": "string" }, - "published_via_actions": { "type": "boolean" }, - "deleted_by_id": { "type": "integer" } - } - }, - "nuget_metadata": { - "type": ["array", "null"], - "items": { - "type": "object", - "properties": { - "id": { - "oneOf": [{ "type": "integer" }, { "type": "string" }] - }, - "name": { "type": "string" }, - "value": { - "oneOf": [ - { "type": "boolean" }, - { "type": "string" }, - { "type": "integer" }, - { - "type": "object", - "properties": { - "url": { "type": "string" }, - "branch": { "type": "string" }, - "commit": { "type": "string" }, - "type": { "type": "string" } - } - } - ] - } - } - } - }, - "package_files": { - "type": "array", - "items": { - "type": "object", - "properties": { - "content_type": { "type": "string" }, - "created_at": { "type": "string" }, - "download_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "md5": { "type": ["string", "null"] }, - "name": { "type": "string" }, - "sha1": { "type": ["string", "null"] }, - "sha256": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "state": { "type": ["string", "null"] }, - "updated_at": { "type": "string" } - }, - "required": [ - "download_url", - "id", - "name", - "sha256", - "sha1", - "md5", - "content_type", - "state", - "size", - "created_at", - "updated_at" - ] - } - }, - "package_url": { "type": "string" }, - "prerelease": { "type": "boolean" }, - "release": { - "type": "object", - "properties": { - "author": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "created_at": { "type": "string" }, - "draft": { "type": "boolean" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "name": { "type": ["string", "null"] }, - "prerelease": { "type": "boolean" }, - "published_at": { "type": "string" }, - "tag_name": { "type": "string" }, - "target_commitish": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "id", - "tag_name", - "target_commitish", - "name", - "draft", - "author", - "prerelease", - "created_at", - "published_at" - ] - }, - "rubygems_metadata": { - "type": "array", - "items": { - "$ref": "#/components/schemas/webhook-rubygems-metadata" - } - }, - "source_url": { "type": "string" }, - "summary": { "type": "string" }, - "tag_name": { "type": "string" }, - "target_commitish": { "type": "string" }, - "target_oid": { "type": "string" }, - "updated_at": { "type": "string" }, - "version": { "type": "string" } - }, - "required": [ - "id", - "version", - "summary", - "name", - "description", - "html_url", - "metadata", - "package_files", - "installation_command" - ] - }, - "registry": { - "type": ["object", "null"], - "properties": { - "about_url": { "type": "string", "format": "uri" }, - "name": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string", "format": "uri" }, - "vendor": { "type": "string" } - }, - "required": ["about_url", "name", "type", "url", "vendor"] - }, - "updated_at": { "type": ["string", "null"] } - }, - "required": [ - "id", - "name", - "namespace", - "description", - "ecosystem", - "package_type", - "html_url", - "created_at", - "updated_at", - "owner", - "package_version", - "registry" - ] - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "package", "sender"] - }, - "webhook-package-updated": { - "title": "package updated event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["updated"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "package": { - "description": "Information about the package.", - "type": "object", - "properties": { - "created_at": { "type": "string" }, - "description": { "type": ["string", "null"] }, - "ecosystem": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "name": { "type": "string" }, - "namespace": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "package_type": { "type": "string" }, - "package_version": { - "type": "object", - "properties": { - "author": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "body": { "type": "string" }, - "body_html": { "type": "string" }, - "created_at": { "type": "string" }, - "description": { "type": "string" }, - "docker_metadata": { - "type": "array", - "items": { - "type": "object", - "properties": { - "tags": { - "type": "array", - "items": { "type": "string" } - } - } - } - }, - "draft": { "type": "boolean" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "installation_command": { "type": "string" }, - "manifest": { "type": "string" }, - "metadata": { - "type": "array", - "items": { "type": "object", "additionalProperties": true } - }, - "name": { "type": "string" }, - "package_files": { - "type": "array", - "items": { - "type": "object", - "properties": { - "content_type": { "type": "string" }, - "created_at": { "type": "string" }, - "download_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "md5": { "type": ["string", "null"] }, - "name": { "type": "string" }, - "sha1": { "type": ["string", "null"] }, - "sha256": { "type": "string" }, - "size": { "type": "integer" }, - "state": { "type": "string" }, - "updated_at": { "type": "string" } - }, - "required": [ - "download_url", - "id", - "name", - "sha256", - "sha1", - "md5", - "content_type", - "state", - "size", - "created_at", - "updated_at" - ] - } - }, - "package_url": { "type": "string" }, - "prerelease": { "type": "boolean" }, - "release": { - "type": "object", - "properties": { - "author": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "created_at": { "type": "string" }, - "draft": { "type": "boolean" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "name": { "type": "string" }, - "prerelease": { "type": "boolean" }, - "published_at": { "type": "string" }, - "tag_name": { "type": "string" }, - "target_commitish": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "id", - "tag_name", - "target_commitish", - "name", - "draft", - "author", - "prerelease", - "created_at", - "published_at" - ] - }, - "rubygems_metadata": { - "type": "array", - "items": { - "$ref": "#/components/schemas/webhook-rubygems-metadata" - } - }, - "source_url": { "type": "string", "format": "uri" }, - "summary": { "type": "string" }, - "tag_name": { "type": "string" }, - "target_commitish": { "type": "string" }, - "target_oid": { "type": "string" }, - "updated_at": { "type": "string" }, - "version": { "type": "string" } - }, - "required": [ - "id", - "version", - "summary", - "name", - "description", - "body", - "body_html", - "html_url", - "target_commitish", - "target_oid", - "created_at", - "updated_at", - "metadata", - "package_files", - "author", - "installation_command" - ] - }, - "registry": { - "type": ["object", "null"], - "properties": { - "about_url": { "type": "string", "format": "uri" }, - "name": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string", "format": "uri" }, - "vendor": { "type": "string" } - }, - "required": ["about_url", "name", "type", "url", "vendor"] - }, - "updated_at": { "type": "string" } - }, - "required": [ - "id", - "name", - "namespace", - "description", - "ecosystem", - "package_type", - "html_url", - "created_at", - "updated_at", - "owner", - "package_version", - "registry" - ] - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "package", "repository", "sender"] - }, - "webhook-page-build": { - "title": "page_build event", - "type": "object", - "properties": { - "build": { - "description": "The [List GitHub Pages builds](https://docs.github.com/enterprise-server@3.13/rest/pages/pages#list-github-pages-builds) itself.", - "type": "object", - "properties": { - "commit": { "type": ["string", "null"] }, - "created_at": { "type": "string" }, - "duration": { "type": "integer" }, - "error": { - "type": "object", - "properties": { "message": { "type": ["string", "null"] } }, - "required": ["message"] - }, - "pusher": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "status": { "type": "string" }, - "updated_at": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "status", - "error", - "pusher", - "commit", - "duration", - "created_at", - "updated_at" - ] - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "id": { "type": "integer" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["id", "build", "repository", "sender"] - }, - "webhook-personal-access-token-request-approved": { - "title": "personal_access_token_request approved event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["approved"] }, - "personal_access_token_request": { - "$ref": "#/components/schemas/personal-access-token-request" - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "installation": { "$ref": "#/components/schemas/simple-installation" } - }, - "required": [ - "action", - "personal_access_token_request", - "organization", - "sender", - "installation" - ] - }, - "webhook-personal-access-token-request-cancelled": { - "title": "personal_access_token_request cancelled event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["cancelled"] }, - "personal_access_token_request": { - "$ref": "#/components/schemas/personal-access-token-request" - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "installation": { "$ref": "#/components/schemas/simple-installation" } - }, - "required": [ - "action", - "personal_access_token_request", - "organization", - "sender", - "installation" - ] - }, - "webhook-personal-access-token-request-created": { - "title": "personal_access_token_request created event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "personal_access_token_request": { - "$ref": "#/components/schemas/personal-access-token-request" - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "installation": { "$ref": "#/components/schemas/simple-installation" } - }, - "required": [ - "action", - "personal_access_token_request", - "organization", - "sender" - ] - }, - "webhook-personal-access-token-request-denied": { - "title": "personal_access_token_request denied event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["denied"] }, - "personal_access_token_request": { - "$ref": "#/components/schemas/personal-access-token-request" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "installation": { "$ref": "#/components/schemas/simple-installation" } - }, - "required": [ - "action", - "personal_access_token_request", - "organization", - "sender", - "installation" - ] - }, - "webhook-ping": { - "type": "object", - "properties": { - "hook": { - "title": "Webhook", - "description": "The webhook that is being pinged", - "type": "object", - "properties": { - "active": { - "description": "Determines whether the hook is actually triggered for the events it subscribes to.", - "type": "boolean" - }, - "app_id": { - "description": "Only included for GitHub Apps. When you register a new GitHub App, GitHub sends a ping event to the webhook URL you specified during registration. The GitHub App ID sent in this field is required for authenticating an app.", - "type": "integer" - }, - "config": { - "type": "object", - "properties": { - "content_type": { - "$ref": "#/components/schemas/webhook-config-content-type" - }, - "insecure_ssl": { - "$ref": "#/components/schemas/webhook-config-insecure-ssl" - }, - "secret": { - "$ref": "#/components/schemas/webhook-config-secret" - }, - "url": { "$ref": "#/components/schemas/webhook-config-url" } - } - }, - "created_at": { "type": "string", "format": "date-time" }, - "deliveries_url": { "type": "string", "format": "uri" }, - "events": { - "description": "Determines what events the hook is triggered for. Default: ['push'].", - "type": "array", - "items": { "type": "string" } - }, - "id": { - "description": "Unique identifier of the webhook.", - "type": "integer" - }, - "last_response": { "$ref": "#/components/schemas/hook-response" }, - "name": { - "description": "The type of webhook. The only valid value is 'web'.", - "type": "string", - "enum": ["web"] - }, - "ping_url": { "type": "string", "format": "uri" }, - "test_url": { "type": "string", "format": "uri" }, - "type": { "type": "string" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "id", - "type", - "name", - "active", - "events", - "config", - "created_at", - "updated_at" - ] - }, - "hook_id": { - "description": "The ID of the webhook that triggered the ping.", - "type": "integer" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "zen": { - "description": "Random string of GitHub zen.", - "type": "string" - } - } - }, - "webhook-ping-form-encoded": { - "description": "The webhooks ping payload encoded with URL encoding.", - "type": "object", - "properties": { - "payload": { - "description": "A URL-encoded string of the ping JSON payload. The decoded payload is a JSON object.", - "type": "string" - } - }, - "required": ["payload"] - }, - "webhook-project-card-converted": { - "title": "project_card converted event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["converted"] }, - "changes": { - "type": "object", - "properties": { - "note": { - "type": "object", - "properties": { "from": { "type": "string" } }, - "required": ["from"] - } - }, - "required": ["note"] - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "project_card": { - "$ref": "#/components/schemas/webhooks_project_card" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "changes", "project_card", "sender"] - }, - "webhook-project-card-created": { - "title": "project_card created event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "project_card": { - "$ref": "#/components/schemas/webhooks_project_card" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "project_card", "sender"] - }, - "webhook-project-card-deleted": { - "title": "project_card deleted event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["deleted"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "project_card": { - "title": "Project Card", - "type": "object", - "properties": { - "after_id": { "type": ["integer", "null"] }, - "archived": { - "description": "Whether or not the card is archived", - "type": "boolean" - }, - "column_id": { "type": ["integer", "null"] }, - "column_url": { "type": "string", "format": "uri" }, - "content_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "id": { - "description": "The project card's ID", - "type": "integer" - }, - "node_id": { "type": "string" }, - "note": { "type": ["string", "null"] }, - "project_url": { "type": "string", "format": "uri" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "project_url", - "column_url", - "column_id", - "id", - "node_id", - "note", - "archived", - "creator", - "created_at", - "updated_at" - ] - }, - "repository": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/repository-webhooks" } - ] - }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "project_card", "sender"] - }, - "webhook-project-card-edited": { - "title": "project_card edited event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["edited"] }, - "changes": { - "type": "object", - "properties": { - "note": { - "type": "object", - "properties": { "from": { "type": ["string", "null"] } }, - "required": ["from"] - } - }, - "required": ["note"] - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "project_card": { - "$ref": "#/components/schemas/webhooks_project_card" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "changes", "project_card", "sender"] - }, - "webhook-project-card-moved": { - "title": "project_card moved event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["moved"] }, - "changes": { - "type": "object", - "properties": { - "column_id": { - "type": "object", - "properties": { "from": { "type": "integer" } }, - "required": ["from"] - } - }, - "required": ["column_id"] - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "project_card": { - "allOf": [ - { - "title": "Project Card", - "type": "object", - "properties": { - "after_id": { "type": ["integer", "null"] }, - "archived": { - "description": "Whether or not the card is archived", - "type": "boolean" - }, - "column_id": { "type": "integer" }, - "column_url": { "type": "string", "format": "uri" }, - "content_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "id": { - "description": "The project card's ID", - "type": "integer" - }, - "node_id": { "type": "string" }, - "note": { "type": ["string", "null"] }, - "project_url": { "type": "string", "format": "uri" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "project_url", - "column_url", - "column_id", - "id", - "node_id", - "note", - "archived", - "creator", - "created_at", - "updated_at" - ] - }, - { - "type": "object", - "properties": { - "after_id": { "type": ["number", "null"] }, - "archived": { "type": "boolean" }, - "column_id": { "type": "integer" }, - "column_url": { "type": "string" }, - "created_at": { "type": "string" }, - "creator": { - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string" }, - "events_url": { "type": "string" }, - "followers_url": { "type": "string" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string" }, - "received_events_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string" } - } - }, - "id": { "type": "integer" }, - "node_id": { "type": "string" }, - "note": { "type": ["string", "null"] }, - "project_url": { "type": "string" }, - "updated_at": { "type": "string" }, - "url": { "type": "string" } - }, - "required": ["after_id"] - } - ] - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "project_card", "sender"] - }, - "webhook-project-closed": { - "title": "project closed event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["closed"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "project": { "$ref": "#/components/schemas/webhooks_project" }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "project", "sender"] - }, - "webhook-project-column-created": { - "title": "project_column created event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "project_column": { - "$ref": "#/components/schemas/webhooks_project_column" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "project_column"] - }, - "webhook-project-column-deleted": { - "title": "project_column deleted event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["deleted"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "project_column": { - "$ref": "#/components/schemas/webhooks_project_column" - }, - "repository": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/repository-webhooks" } - ] - }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "project_column"] - }, - "webhook-project-column-edited": { - "title": "project_column edited event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["edited"] }, - "changes": { - "type": "object", - "properties": { - "name": { - "type": "object", - "properties": { "from": { "type": "string" } }, - "required": ["from"] - } - } - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "project_column": { - "$ref": "#/components/schemas/webhooks_project_column" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "changes", "project_column"] - }, - "webhook-project-column-moved": { - "title": "project_column moved event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["moved"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "project_column": { - "$ref": "#/components/schemas/webhooks_project_column" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "project_column", "sender"] - }, - "webhook-project-created": { - "title": "project created event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "project": { "$ref": "#/components/schemas/webhooks_project" }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "project", "sender"] - }, - "webhook-project-deleted": { - "title": "project deleted event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["deleted"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "project": { "$ref": "#/components/schemas/webhooks_project" }, - "repository": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/repository-webhooks" } - ] - }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "project"] - }, - "webhook-project-edited": { - "title": "project edited event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["edited"] }, - "changes": { - "description": "The changes to the project if the action was `edited`.", - "type": "object", - "properties": { - "body": { - "type": "object", - "properties": { - "from": { - "description": "The previous version of the body if the action was `edited`.", - "type": "string" - } - }, - "required": ["from"] - }, - "name": { - "type": "object", - "properties": { - "from": { - "description": "The changes to the project if the action was `edited`.", - "type": "string" - } - }, - "required": ["from"] - } - } - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "project": { "$ref": "#/components/schemas/webhooks_project" }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "project"] - }, - "webhook-project-reopened": { - "title": "project reopened event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["reopened"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "project": { "$ref": "#/components/schemas/webhooks_project" }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "project", "sender"] - }, - "webhook-projects-v2-project-closed": { - "title": "Projects v2 Project Closed Event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["closed"] }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "projects_v2": { "$ref": "#/components/schemas/projects-v2" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "projects_v2", "organization", "sender"] - }, - "webhook-projects-v2-project-created": { - "description": "A project was created", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "projects_v2": { "$ref": "#/components/schemas/projects-v2" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "projects_v2", "organization", "sender"] - }, - "webhook-projects-v2-project-deleted": { - "title": "Projects v2 Project Deleted Event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["deleted"] }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "projects_v2": { "$ref": "#/components/schemas/projects-v2" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "projects_v2", "organization", "sender"] - }, - "webhook-projects-v2-project-edited": { - "title": "Projects v2 Project Edited Event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["edited"] }, - "changes": { - "type": "object", - "properties": { - "description": { - "type": "object", - "properties": { - "from": { "type": ["string", "null"] }, - "to": { "type": ["string", "null"] } - } - }, - "public": { - "type": "object", - "properties": { - "from": { "type": "boolean" }, - "to": { "type": "boolean" } - } - }, - "short_description": { - "type": "object", - "properties": { - "from": { "type": ["string", "null"] }, - "to": { "type": ["string", "null"] } - } - }, - "title": { - "type": "object", - "properties": { - "from": { "type": "string" }, - "to": { "type": "string" } - } - } - } - }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "projects_v2": { "$ref": "#/components/schemas/projects-v2" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "action", - "projects_v2", - "organization", - "sender", - "changes" - ] - }, - "webhook-projects-v2-item-archived": { - "title": "Projects v2 Item Archived Event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["archived"] }, - "changes": { - "$ref": "#/components/schemas/webhooks_project_changes" - }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "projects_v2_item": { - "$ref": "#/components/schemas/projects-v2-item" - }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "action", - "projects_v2_item", - "organization", - "sender", - "changes" - ] - }, - "webhook-projects-v2-item-converted": { - "title": "Projects v2 Item Converted Event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["converted"] }, - "changes": { - "type": "object", - "properties": { - "content_type": { - "type": "object", - "properties": { - "from": { "type": ["string", "null"] }, - "to": { "type": "string" } - } - } - } - }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "projects_v2_item": { - "$ref": "#/components/schemas/projects-v2-item" - }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "action", - "projects_v2_item", - "organization", - "sender", - "changes" - ] - }, - "webhook-projects-v2-item-created": { - "title": "Projects v2 Item Created Event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "projects_v2_item": { - "$ref": "#/components/schemas/projects-v2-item" - }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "projects_v2_item", "organization", "sender"] - }, - "webhook-projects-v2-item-deleted": { - "title": "Projects v2 Item Deleted Event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["deleted"] }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "projects_v2_item": { - "$ref": "#/components/schemas/projects-v2-item" - }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "projects_v2_item", "organization", "sender"] - }, - "webhook-projects-v2-item-edited": { - "title": "Projects v2 Item Edited Event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["edited"] }, - "changes": { - "description": "The changes made to the item may involve modifications in the item's fields and draft issue body.\nIt includes the GraphQL node ID of the changed field.", - "oneOf": [ - { - "type": "object", - "properties": { - "field_value": { - "type": "object", - "properties": { - "field_node_id": { "type": "string" }, - "field_type": { "type": "string" } - } - } - }, - "required": ["field_value"] - }, - { - "type": "object", - "properties": { - "body": { - "type": "object", - "properties": { - "from": { "type": ["string", "null"] }, - "to": { "type": ["string", "null"] } - } - } - }, - "required": ["body"] - } - ] - }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "projects_v2_item": { - "$ref": "#/components/schemas/projects-v2-item" - }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "projects_v2_item", "organization", "sender"] - }, - "webhook-projects-v2-item-reordered": { - "title": "Projects v2 Item Reordered Event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["reordered"] }, - "changes": { - "type": "object", - "properties": { - "previous_projects_v2_item_node_id": { - "type": "object", - "properties": { - "from": { "type": ["string", "null"] }, - "to": { "type": ["string", "null"] } - } - } - } - }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "projects_v2_item": { - "$ref": "#/components/schemas/projects-v2-item" - }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "action", - "projects_v2_item", - "organization", - "sender", - "changes" - ] - }, - "webhook-projects-v2-item-restored": { - "title": "Projects v2 Item Restored Event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["restored"] }, - "changes": { - "$ref": "#/components/schemas/webhooks_project_changes" - }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "projects_v2_item": { - "$ref": "#/components/schemas/projects-v2-item" - }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "action", - "projects_v2_item", - "organization", - "sender", - "changes" - ] - }, - "webhook-projects-v2-project-reopened": { - "title": "Projects v2 Project Reopened Event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["reopened"] }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "projects_v2": { "$ref": "#/components/schemas/projects-v2" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "projects_v2", "organization", "sender"] - }, - "webhook-public": { - "title": "public event", - "type": "object", - "properties": { - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["repository", "sender"] - }, - "webhook-pull-request-assigned": { - "title": "pull_request assigned event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["assigned"] }, - "assignee": { "$ref": "#/components/schemas/webhooks_user" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "number": { "$ref": "#/components/schemas/webhooks_number" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "title": "Pull Request", - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "commits": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "issue": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comment": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "self": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "statuses": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - } - }, - "required": [ - "self", - "html", - "issue", - "comments", - "review_comments", - "review_comment", - "commits", - "statuses" - ] - }, - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "additions": { "type": "integer" }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "auto_merge": { - "title": "PullRequestAutoMerge", - "description": "The status of auto merging a pull request.", - "type": ["object", "null"], - "properties": { - "commit_message": { - "description": "Commit message for the merge commit.", - "type": ["string", "null"] - }, - "commit_title": { - "description": "Title for the merge commit message.", - "type": ["string", "null"] - }, - "enabled_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "merge_method": { - "description": "The merge method to use.", - "type": "string", - "enum": ["merge", "squash", "rebase"] - } - }, - "required": [ - "enabled_by", - "merge_method", - "commit_title", - "commit_message" - ] - }, - "base": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "body": { "type": ["string", "null"] }, - "changed_files": { "type": "integer" }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "commits": { "type": "integer" }, - "commits_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "deletions": { "type": "integer" }, - "diff_url": { "type": "string", "format": "uri" }, - "draft": { - "description": "Indicates whether or not the pull request is a draft.", - "type": "boolean" - }, - "head": { - "type": "object", - "properties": { - "label": { "type": ["string", "null"] }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": ["object", "null"], - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "issue_url": { "type": "string", "format": "uri" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "locked": { "type": "boolean" }, - "maintainer_can_modify": { - "description": "Indicates whether maintainers can modify the pull request.", - "type": "boolean" - }, - "merge_commit_sha": { "type": ["string", "null"] }, - "mergeable": { "type": ["boolean", "null"] }, - "mergeable_state": { "type": "string" }, - "merged": { "type": ["boolean", "null"] }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "merged_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { - "description": "Number uniquely identifying the pull request within its repository.", - "type": "integer" - }, - "patch_url": { "type": "string", "format": "uri" }, - "rebaseable": { "type": ["boolean", "null"] }, - "requested_reviewers": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - } - ] - } - }, - "requested_teams": { - "type": "array", - "items": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - } - }, - "review_comment_url": { - "type": "string", - "format": "uri-template" - }, - "review_comments": { "type": "integer" }, - "review_comments_url": { "type": "string", "format": "uri" }, - "state": { - "description": "State of this Pull Request. Either `open` or `closed`.", - "type": "string", - "enum": ["open", "closed"] - }, - "statuses_url": { "type": "string", "format": "uri" }, - "title": { - "description": "The title of the pull request.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "id", - "node_id", - "html_url", - "diff_url", - "patch_url", - "issue_url", - "number", - "state", - "locked", - "title", - "user", - "body", - "created_at", - "updated_at", - "closed_at", - "merged_at", - "merge_commit_sha", - "assignee", - "assignees", - "requested_reviewers", - "requested_teams", - "labels", - "milestone", - "commits_url", - "review_comments_url", - "review_comment_url", - "comments_url", - "statuses_url", - "head", - "base", - "_links", - "author_association", - "auto_merge", - "active_lock_reason", - "draft" - ] - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "action", - "number", - "pull_request", - "assignee", - "repository", - "sender" - ] - }, - "webhook-pull-request-auto-merge-disabled": { - "title": "pull_request auto_merge_disabled event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["auto_merge_disabled"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "number": { "type": "integer" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "title": "Pull Request", - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "commits": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "issue": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comment": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "self": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "statuses": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - } - }, - "required": [ - "self", - "html", - "issue", - "comments", - "review_comments", - "review_comment", - "commits", - "statuses" - ] - }, - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "additions": { "type": "integer" }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "auto_merge": { - "title": "PullRequestAutoMerge", - "description": "The status of auto merging a pull request.", - "type": ["object", "null"], - "properties": { - "commit_message": { - "description": "Commit message for the merge commit.", - "type": ["string", "null"] - }, - "commit_title": { - "description": "Title for the merge commit message.", - "type": ["string", "null"] - }, - "enabled_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "merge_method": { - "description": "The merge method to use.", - "type": "string", - "enum": ["merge", "squash", "rebase"] - } - }, - "required": [ - "enabled_by", - "merge_method", - "commit_title", - "commit_message" - ] - }, - "base": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "body": { "type": ["string", "null"] }, - "changed_files": { "type": "integer" }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "commits": { "type": "integer" }, - "commits_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "deletions": { "type": "integer" }, - "diff_url": { "type": "string", "format": "uri" }, - "draft": { - "description": "Indicates whether or not the pull request is a draft.", - "type": "boolean" - }, - "head": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "issue_url": { "type": "string", "format": "uri" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "locked": { "type": "boolean" }, - "maintainer_can_modify": { - "description": "Indicates whether maintainers can modify the pull request.", - "type": "boolean" - }, - "merge_commit_sha": { "type": ["string", "null"] }, - "mergeable": { "type": ["boolean", "null"] }, - "mergeable_state": { "type": "string" }, - "merged": { "type": ["boolean", "null"] }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "merged_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { - "description": "Number uniquely identifying the pull request within its repository.", - "type": "integer" - }, - "patch_url": { "type": "string", "format": "uri" }, - "rebaseable": { "type": ["boolean", "null"] }, - "requested_reviewers": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - } - ] - } - }, - "requested_teams": { - "type": "array", - "items": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - } - }, - "review_comment_url": { - "type": "string", - "format": "uri-template" - }, - "review_comments": { "type": "integer" }, - "review_comments_url": { "type": "string", "format": "uri" }, - "state": { - "description": "State of this Pull Request. Either `open` or `closed`.", - "type": "string", - "enum": ["open", "closed"] - }, - "statuses_url": { "type": "string", "format": "uri" }, - "title": { - "description": "The title of the pull request.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "id", - "node_id", - "html_url", - "diff_url", - "patch_url", - "issue_url", - "number", - "state", - "locked", - "title", - "user", - "body", - "created_at", - "updated_at", - "closed_at", - "merged_at", - "merge_commit_sha", - "assignee", - "assignees", - "requested_reviewers", - "requested_teams", - "labels", - "milestone", - "commits_url", - "review_comments_url", - "review_comment_url", - "comments_url", - "statuses_url", - "head", - "base", - "_links", - "author_association", - "auto_merge", - "active_lock_reason", - "draft" - ] - }, - "reason": { "type": "string" }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "action", - "number", - "pull_request", - "reason", - "repository", - "sender" - ] - }, - "webhook-pull-request-auto-merge-enabled": { - "title": "pull_request auto_merge_enabled event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["auto_merge_enabled"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "number": { "type": "integer" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "title": "Pull Request", - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "commits": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "issue": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comment": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "self": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "statuses": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - } - }, - "required": [ - "self", - "html", - "issue", - "comments", - "review_comments", - "review_comment", - "commits", - "statuses" - ] - }, - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "additions": { "type": "integer" }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "auto_merge": { - "title": "PullRequestAutoMerge", - "description": "The status of auto merging a pull request.", - "type": ["object", "null"], - "properties": { - "commit_message": { - "description": "Commit message for the merge commit.", - "type": ["string", "null"] - }, - "commit_title": { - "description": "Title for the merge commit message.", - "type": ["string", "null"] - }, - "enabled_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "merge_method": { - "description": "The merge method to use.", - "type": "string", - "enum": ["merge", "squash", "rebase"] - } - }, - "required": [ - "enabled_by", - "merge_method", - "commit_title", - "commit_message" - ] - }, - "base": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "body": { "type": ["string", "null"] }, - "changed_files": { "type": "integer" }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "commits": { "type": "integer" }, - "commits_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "deletions": { "type": "integer" }, - "diff_url": { "type": "string", "format": "uri" }, - "draft": { - "description": "Indicates whether or not the pull request is a draft.", - "type": "boolean" - }, - "head": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "issue_url": { "type": "string", "format": "uri" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "locked": { "type": "boolean" }, - "maintainer_can_modify": { - "description": "Indicates whether maintainers can modify the pull request.", - "type": "boolean" - }, - "merge_commit_sha": { "type": ["string", "null"] }, - "mergeable": { "type": ["boolean", "null"] }, - "mergeable_state": { "type": "string" }, - "merged": { "type": ["boolean", "null"] }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "merged_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { - "description": "Number uniquely identifying the pull request within its repository.", - "type": "integer" - }, - "patch_url": { "type": "string", "format": "uri" }, - "rebaseable": { "type": ["boolean", "null"] }, - "requested_reviewers": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - } - ] - } - }, - "requested_teams": { - "type": "array", - "items": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - } - }, - "review_comment_url": { - "type": "string", - "format": "uri-template" - }, - "review_comments": { "type": "integer" }, - "review_comments_url": { "type": "string", "format": "uri" }, - "state": { - "description": "State of this Pull Request. Either `open` or `closed`.", - "type": "string", - "enum": ["open", "closed"] - }, - "statuses_url": { "type": "string", "format": "uri" }, - "title": { - "description": "The title of the pull request.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "id", - "node_id", - "html_url", - "diff_url", - "patch_url", - "issue_url", - "number", - "state", - "locked", - "title", - "user", - "body", - "created_at", - "updated_at", - "closed_at", - "merged_at", - "merge_commit_sha", - "assignee", - "assignees", - "requested_reviewers", - "requested_teams", - "labels", - "milestone", - "commits_url", - "review_comments_url", - "review_comment_url", - "comments_url", - "statuses_url", - "head", - "base", - "_links", - "author_association", - "auto_merge", - "active_lock_reason", - "draft" - ] - }, - "reason": { "type": "string" }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "number", "pull_request", "repository", "sender"] - }, - "webhook-pull-request-closed": { - "title": "pull_request closed event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["closed"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "number": { "$ref": "#/components/schemas/webhooks_number" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "$ref": "#/components/schemas/pull-request-webhook" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "number", "pull_request", "repository", "sender"] - }, - "webhook-pull-request-converted-to-draft": { - "title": "pull_request converted_to_draft event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["converted_to_draft"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "number": { "$ref": "#/components/schemas/webhooks_number" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "$ref": "#/components/schemas/pull-request-webhook" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "number", "pull_request", "repository", "sender"] - }, - "webhook-pull-request-demilestoned": { - "title": "pull_request demilestoned event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["demilestoned"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "milestone": { "$ref": "#/components/schemas/milestone" }, - "number": { "$ref": "#/components/schemas/webhooks_number" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "$ref": "#/components/schemas/webhooks_pull_request_5" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "number", "pull_request", "repository"] - }, - "webhook-pull-request-edited": { - "title": "pull_request edited event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["edited"] }, - "changes": { - "description": "The changes to the comment if the action was `edited`.", - "type": "object", - "properties": { - "base": { - "type": "object", - "properties": { - "ref": { - "type": "object", - "properties": { "from": { "type": "string" } }, - "required": ["from"] - }, - "sha": { - "type": "object", - "properties": { "from": { "type": "string" } }, - "required": ["from"] - } - }, - "required": ["ref", "sha"] - }, - "body": { - "type": "object", - "properties": { - "from": { - "description": "The previous version of the body if the action was `edited`.", - "type": "string" - } - }, - "required": ["from"] - }, - "title": { - "type": "object", - "properties": { - "from": { - "description": "The previous version of the title if the action was `edited`.", - "type": "string" - } - }, - "required": ["from"] - } - } - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "number": { "$ref": "#/components/schemas/webhooks_number" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "$ref": "#/components/schemas/pull-request-webhook" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "action", - "changes", - "number", - "pull_request", - "repository" - ] - }, - "webhook-pull-request-labeled": { - "title": "pull_request labeled event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["labeled"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "label": { "$ref": "#/components/schemas/webhooks_label" }, - "number": { "$ref": "#/components/schemas/webhooks_number" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "title": "Pull Request", - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "commits": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "issue": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comment": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "self": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "statuses": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - } - }, - "required": [ - "self", - "html", - "issue", - "comments", - "review_comments", - "review_comment", - "commits", - "statuses" - ] - }, - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "additions": { "type": "integer" }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "auto_merge": { - "title": "PullRequestAutoMerge", - "description": "The status of auto merging a pull request.", - "type": ["object", "null"], - "properties": { - "commit_message": { - "description": "Commit message for the merge commit.", - "type": ["string", "null"] - }, - "commit_title": { - "description": "Title for the merge commit message.", - "type": ["string", "null"] - }, - "enabled_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "merge_method": { - "description": "The merge method to use.", - "type": "string", - "enum": ["merge", "squash", "rebase"] - } - }, - "required": [ - "enabled_by", - "merge_method", - "commit_title", - "commit_message" - ] - }, - "base": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "body": { "type": ["string", "null"] }, - "changed_files": { "type": "integer" }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "commits": { "type": "integer" }, - "commits_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "deletions": { "type": "integer" }, - "diff_url": { "type": "string", "format": "uri" }, - "draft": { - "description": "Indicates whether or not the pull request is a draft.", - "type": "boolean" - }, - "head": { - "type": "object", - "properties": { - "label": { "type": ["string", "null"] }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": ["object", "null"], - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "issue_url": { "type": "string", "format": "uri" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "locked": { "type": "boolean" }, - "maintainer_can_modify": { - "description": "Indicates whether maintainers can modify the pull request.", - "type": "boolean" - }, - "merge_commit_sha": { "type": ["string", "null"] }, - "mergeable": { "type": ["boolean", "null"] }, - "mergeable_state": { "type": "string" }, - "merged": { "type": ["boolean", "null"] }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "merged_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { - "description": "Number uniquely identifying the pull request within its repository.", - "type": "integer" - }, - "patch_url": { "type": "string", "format": "uri" }, - "rebaseable": { "type": ["boolean", "null"] }, - "requested_reviewers": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - } - ] - } - }, - "requested_teams": { - "type": "array", - "items": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - } - }, - "review_comment_url": { - "type": "string", - "format": "uri-template" - }, - "review_comments": { "type": "integer" }, - "review_comments_url": { "type": "string", "format": "uri" }, - "state": { - "description": "State of this Pull Request. Either `open` or `closed`.", - "type": "string", - "enum": ["open", "closed"] - }, - "statuses_url": { "type": "string", "format": "uri" }, - "title": { - "description": "The title of the pull request.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "id", - "node_id", - "html_url", - "diff_url", - "patch_url", - "issue_url", - "number", - "state", - "locked", - "title", - "user", - "body", - "created_at", - "updated_at", - "closed_at", - "merged_at", - "merge_commit_sha", - "assignee", - "assignees", - "requested_reviewers", - "requested_teams", - "labels", - "milestone", - "commits_url", - "review_comments_url", - "review_comment_url", - "comments_url", - "statuses_url", - "head", - "base", - "_links", - "author_association", - "auto_merge", - "active_lock_reason", - "draft" - ] - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "number", "pull_request", "repository", "sender"] - }, - "webhook-pull-request-locked": { - "title": "pull_request locked event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["locked"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "number": { "$ref": "#/components/schemas/webhooks_number" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "title": "Pull Request", - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "commits": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "issue": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comment": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "self": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "statuses": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - } - }, - "required": [ - "self", - "html", - "issue", - "comments", - "review_comments", - "review_comment", - "commits", - "statuses" - ] - }, - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "additions": { "type": "integer" }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "auto_merge": { - "title": "PullRequestAutoMerge", - "description": "The status of auto merging a pull request.", - "type": ["object", "null"], - "properties": { - "commit_message": { - "description": "Commit message for the merge commit.", - "type": ["string", "null"] - }, - "commit_title": { - "description": "Title for the merge commit message.", - "type": ["string", "null"] - }, - "enabled_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "merge_method": { - "description": "The merge method to use.", - "type": "string", - "enum": ["merge", "squash", "rebase"] - } - }, - "required": [ - "enabled_by", - "merge_method", - "commit_title", - "commit_message" - ] - }, - "base": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "body": { "type": ["string", "null"] }, - "changed_files": { "type": "integer" }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "commits": { "type": "integer" }, - "commits_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "deletions": { "type": "integer" }, - "diff_url": { "type": "string", "format": "uri" }, - "draft": { - "description": "Indicates whether or not the pull request is a draft.", - "type": "boolean" - }, - "head": { - "type": "object", - "properties": { - "label": { "type": ["string", "null"] }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": ["object", "null"], - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "issue_url": { "type": "string", "format": "uri" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "locked": { "type": "boolean" }, - "maintainer_can_modify": { - "description": "Indicates whether maintainers can modify the pull request.", - "type": "boolean" - }, - "merge_commit_sha": { "type": ["string", "null"] }, - "mergeable": { "type": ["boolean", "null"] }, - "mergeable_state": { "type": "string" }, - "merged": { "type": ["boolean", "null"] }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "merged_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { - "description": "Number uniquely identifying the pull request within its repository.", - "type": "integer" - }, - "patch_url": { "type": "string", "format": "uri" }, - "rebaseable": { "type": ["boolean", "null"] }, - "requested_reviewers": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - } - ] - } - }, - "requested_teams": { - "type": "array", - "items": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - } - }, - "review_comment_url": { - "type": "string", - "format": "uri-template" - }, - "review_comments": { "type": "integer" }, - "review_comments_url": { "type": "string", "format": "uri" }, - "state": { - "description": "State of this Pull Request. Either `open` or `closed`.", - "type": "string", - "enum": ["open", "closed"] - }, - "statuses_url": { "type": "string", "format": "uri" }, - "title": { - "description": "The title of the pull request.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "id", - "node_id", - "html_url", - "diff_url", - "patch_url", - "issue_url", - "number", - "state", - "locked", - "title", - "user", - "body", - "created_at", - "updated_at", - "closed_at", - "merged_at", - "merge_commit_sha", - "assignee", - "assignees", - "requested_reviewers", - "requested_teams", - "labels", - "milestone", - "commits_url", - "review_comments_url", - "review_comment_url", - "comments_url", - "statuses_url", - "head", - "base", - "_links", - "author_association", - "auto_merge", - "active_lock_reason", - "draft" - ] - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "number", "pull_request", "repository", "sender"] - }, - "webhook-pull-request-milestoned": { - "title": "pull_request milestoned event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["milestoned"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "milestone": { "$ref": "#/components/schemas/milestone" }, - "number": { "$ref": "#/components/schemas/webhooks_number" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "$ref": "#/components/schemas/webhooks_pull_request_5" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "number", "pull_request", "repository"] - }, - "webhook-pull-request-opened": { - "title": "pull_request opened event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["opened"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "number": { "$ref": "#/components/schemas/webhooks_number" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "$ref": "#/components/schemas/pull-request-webhook" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "number", "pull_request", "repository", "sender"] - }, - "webhook-pull-request-ready-for-review": { - "title": "pull_request ready_for_review event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["ready_for_review"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "number": { "$ref": "#/components/schemas/webhooks_number" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "$ref": "#/components/schemas/pull-request-webhook" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "number", "pull_request", "repository", "sender"] - }, - "webhook-pull-request-reopened": { - "title": "pull_request reopened event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["reopened"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "number": { "$ref": "#/components/schemas/webhooks_number" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "$ref": "#/components/schemas/pull-request-webhook" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "number", "pull_request", "repository", "sender"] - }, - "webhook-pull-request-review-comment-created": { - "title": "pull_request_review_comment created event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "comment": { - "title": "Pull Request Review Comment", - "description": "The [comment](https://docs.github.com/enterprise-server@3.13/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself.", - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "pull_request": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "self": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - } - }, - "required": ["self", "html", "pull_request"] - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { - "description": "The text of the comment.", - "type": "string" - }, - "commit_id": { - "description": "The SHA of the commit to which the comment applies.", - "type": "string" - }, - "created_at": { "type": "string", "format": "date-time" }, - "diff_hunk": { - "description": "The diff of the line that the comment refers to.", - "type": "string" - }, - "html_url": { - "description": "HTML URL for the pull request review comment.", - "type": "string", - "format": "uri" - }, - "id": { - "description": "The ID of the pull request review comment.", - "type": "integer" - }, - "in_reply_to_id": { - "description": "The comment ID to reply to.", - "type": "integer" - }, - "line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "type": ["integer", "null"] - }, - "node_id": { - "description": "The node ID of the pull request review comment.", - "type": "string" - }, - "original_commit_id": { - "description": "The SHA of the original commit to which the comment applies.", - "type": "string" - }, - "original_line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "type": ["integer", "null"] - }, - "original_position": { - "description": "The index of the original line in the diff to which the comment applies.", - "type": "integer" - }, - "original_start_line": { - "description": "The first line of the range for a multi-line comment.", - "type": ["integer", "null"] - }, - "path": { - "description": "The relative path of the file to which the comment applies.", - "type": "string" - }, - "position": { - "description": "The line index in the diff to which the comment applies.", - "type": ["integer", "null"] - }, - "pull_request_review_id": { - "description": "The ID of the pull request review to which the comment belongs.", - "type": ["integer", "null"] - }, - "pull_request_url": { - "description": "URL for the pull request that the review comment belongs to.", - "type": "string", - "format": "uri" - }, - "reactions": { - "title": "Reactions", - "type": "object", - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] - }, - "side": { - "description": "The side of the first line of the range for a multi-line comment.", - "type": "string", - "enum": ["LEFT", "RIGHT"] - }, - "start_line": { - "description": "The first line of the range for a multi-line comment.", - "type": ["integer", "null"] - }, - "start_side": { - "description": "The side of the first line of the range for a multi-line comment.", - "type": ["string", "null"], - "enum": ["LEFT", "RIGHT", null], - "default": "RIGHT" - }, - "subject_type": { - "description": "The level at which the comment is targeted, can be a diff line or a file.", - "type": "string", - "enum": ["line", "file"] - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { - "description": "URL for the pull request review comment", - "type": "string", - "format": "uri" - }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "pull_request_review_id", - "id", - "node_id", - "diff_hunk", - "path", - "position", - "original_position", - "commit_id", - "original_commit_id", - "user", - "body", - "created_at", - "updated_at", - "html_url", - "pull_request_url", - "author_association", - "_links", - "start_line", - "original_start_line", - "original_line", - "line", - "start_side", - "side", - "reactions" - ] - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "commits": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "issue": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comment": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "self": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "statuses": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - } - }, - "required": [ - "self", - "html", - "issue", - "comments", - "review_comments", - "review_comment", - "commits", - "statuses" - ] - }, - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "auto_merge": { - "title": "PullRequestAutoMerge", - "description": "The status of auto merging a pull request.", - "type": ["object", "null"], - "properties": { - "commit_message": { - "description": "Commit message for the merge commit.", - "type": ["string", "null"] - }, - "commit_title": { - "description": "Title for the merge commit message.", - "type": ["string", "null"] - }, - "enabled_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "merge_method": { - "description": "The merge method to use.", - "type": "string", - "enum": ["merge", "squash", "rebase"] - } - }, - "required": [ - "enabled_by", - "merge_method", - "commit_title", - "commit_message" - ] - }, - "base": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "body": { "type": ["string", "null"] }, - "closed_at": { "type": ["string", "null"] }, - "comments_url": { "type": "string", "format": "uri" }, - "commits_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string" }, - "diff_url": { "type": "string", "format": "uri" }, - "draft": { "type": "boolean" }, - "head": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": ["object", "null"], - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "issue_url": { "type": "string", "format": "uri" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "locked": { "type": "boolean" }, - "merge_commit_sha": { "type": ["string", "null"] }, - "merged_at": { "type": ["string", "null"] }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "patch_url": { "type": "string", "format": "uri" }, - "requested_reviewers": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - } - ] - } - }, - "requested_teams": { - "type": "array", - "items": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - } - }, - "review_comment_url": { - "type": "string", - "format": "uri-template" - }, - "review_comments_url": { "type": "string", "format": "uri" }, - "state": { "type": "string", "enum": ["open", "closed"] }, - "statuses_url": { "type": "string", "format": "uri" }, - "title": { "type": "string" }, - "updated_at": { "type": "string" }, - "url": { "type": "string", "format": "uri" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "id", - "node_id", - "html_url", - "diff_url", - "patch_url", - "issue_url", - "number", - "state", - "locked", - "title", - "user", - "body", - "created_at", - "updated_at", - "closed_at", - "merged_at", - "merge_commit_sha", - "assignee", - "assignees", - "requested_reviewers", - "requested_teams", - "labels", - "milestone", - "commits_url", - "review_comments_url", - "review_comment_url", - "comments_url", - "statuses_url", - "head", - "base", - "_links", - "author_association", - "active_lock_reason" - ] - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "action", - "comment", - "pull_request", - "repository", - "sender" - ] - }, - "webhook-pull-request-review-comment-deleted": { - "title": "pull_request_review_comment deleted event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["deleted"] }, - "comment": { "$ref": "#/components/schemas/webhooks_review_comment" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "commits": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "issue": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comment": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "self": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "statuses": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - } - }, - "required": [ - "self", - "html", - "issue", - "comments", - "review_comments", - "review_comment", - "commits", - "statuses" - ] - }, - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "auto_merge": { - "title": "PullRequestAutoMerge", - "description": "The status of auto merging a pull request.", - "type": ["object", "null"], - "properties": { - "commit_message": { - "description": "Commit message for the merge commit.", - "type": ["string", "null"] - }, - "commit_title": { - "description": "Title for the merge commit message.", - "type": ["string", "null"] - }, - "enabled_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "merge_method": { - "description": "The merge method to use.", - "type": "string", - "enum": ["merge", "squash", "rebase"] - } - }, - "required": [ - "enabled_by", - "merge_method", - "commit_title", - "commit_message" - ] - }, - "base": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "body": { "type": ["string", "null"] }, - "closed_at": { "type": ["string", "null"] }, - "comments_url": { "type": "string", "format": "uri" }, - "commits_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string" }, - "diff_url": { "type": "string", "format": "uri" }, - "draft": { "type": "boolean" }, - "head": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": ["object", "null"], - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "issue_url": { "type": "string", "format": "uri" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "locked": { "type": "boolean" }, - "merge_commit_sha": { "type": ["string", "null"] }, - "merged_at": { "type": ["string", "null"] }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "patch_url": { "type": "string", "format": "uri" }, - "requested_reviewers": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - } - ] - } - }, - "requested_teams": { - "type": "array", - "items": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - } - }, - "review_comment_url": { - "type": "string", - "format": "uri-template" - }, - "review_comments_url": { "type": "string", "format": "uri" }, - "state": { "type": "string", "enum": ["open", "closed"] }, - "statuses_url": { "type": "string", "format": "uri" }, - "title": { "type": "string" }, - "updated_at": { "type": "string" }, - "url": { "type": "string", "format": "uri" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "id", - "node_id", - "html_url", - "diff_url", - "patch_url", - "issue_url", - "number", - "state", - "locked", - "title", - "user", - "body", - "created_at", - "updated_at", - "closed_at", - "merged_at", - "merge_commit_sha", - "assignee", - "assignees", - "requested_reviewers", - "requested_teams", - "labels", - "milestone", - "commits_url", - "review_comments_url", - "review_comment_url", - "comments_url", - "statuses_url", - "head", - "base", - "_links", - "author_association", - "active_lock_reason" - ] - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "action", - "comment", - "pull_request", - "repository", - "sender" - ] - }, - "webhook-pull-request-review-comment-edited": { - "title": "pull_request_review_comment edited event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["edited"] }, - "changes": { "$ref": "#/components/schemas/webhooks_changes" }, - "comment": { "$ref": "#/components/schemas/webhooks_review_comment" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "commits": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "issue": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comment": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "self": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "statuses": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - } - }, - "required": [ - "self", - "html", - "issue", - "comments", - "review_comments", - "review_comment", - "commits", - "statuses" - ] - }, - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "auto_merge": { - "title": "PullRequestAutoMerge", - "description": "The status of auto merging a pull request.", - "type": ["object", "null"], - "properties": { - "commit_message": { - "description": "Commit message for the merge commit.", - "type": ["string", "null"] - }, - "commit_title": { - "description": "Title for the merge commit message.", - "type": ["string", "null"] - }, - "enabled_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "merge_method": { - "description": "The merge method to use.", - "type": "string", - "enum": ["merge", "squash", "rebase"] - } - }, - "required": [ - "enabled_by", - "merge_method", - "commit_title", - "commit_message" - ] - }, - "base": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "body": { "type": ["string", "null"] }, - "closed_at": { "type": ["string", "null"] }, - "comments_url": { "type": "string", "format": "uri" }, - "commits_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string" }, - "diff_url": { "type": "string", "format": "uri" }, - "draft": { "type": "boolean" }, - "head": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": ["object", "null"], - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "issue_url": { "type": "string", "format": "uri" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "locked": { "type": "boolean" }, - "merge_commit_sha": { "type": ["string", "null"] }, - "merged_at": { "type": ["string", "null"] }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "patch_url": { "type": "string", "format": "uri" }, - "requested_reviewers": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - } - ] - } - }, - "requested_teams": { - "type": "array", - "items": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - } - }, - "review_comment_url": { - "type": "string", - "format": "uri-template" - }, - "review_comments_url": { "type": "string", "format": "uri" }, - "state": { "type": "string", "enum": ["open", "closed"] }, - "statuses_url": { "type": "string", "format": "uri" }, - "title": { "type": "string" }, - "updated_at": { "type": "string" }, - "url": { "type": "string", "format": "uri" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "user_view_type": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "id", - "node_id", - "html_url", - "diff_url", - "patch_url", - "issue_url", - "number", - "state", - "locked", - "title", - "user", - "body", - "created_at", - "updated_at", - "closed_at", - "merged_at", - "merge_commit_sha", - "assignee", - "assignees", - "requested_reviewers", - "requested_teams", - "labels", - "milestone", - "commits_url", - "review_comments_url", - "review_comment_url", - "comments_url", - "statuses_url", - "head", - "base", - "_links", - "author_association", - "active_lock_reason" - ] - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "action", - "changes", - "comment", - "pull_request", - "repository", - "sender" - ] - }, - "webhook-pull-request-review-dismissed": { - "title": "pull_request_review dismissed event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["dismissed"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "title": "Simple Pull Request", - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "commits": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "issue": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comment": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "self": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "statuses": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - } - }, - "required": [ - "self", - "html", - "issue", - "comments", - "review_comments", - "review_comment", - "commits", - "statuses" - ] - }, - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "auto_merge": { - "title": "PullRequestAutoMerge", - "description": "The status of auto merging a pull request.", - "type": ["object", "null"], - "properties": { - "commit_message": { - "description": "Commit message for the merge commit.", - "type": ["string", "null"] - }, - "commit_title": { - "description": "Title for the merge commit message.", - "type": ["string", "null"] - }, - "enabled_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "merge_method": { - "description": "The merge method to use.", - "type": "string", - "enum": ["merge", "squash", "rebase"] - } - }, - "required": [ - "enabled_by", - "merge_method", - "commit_title", - "commit_message" - ] - }, - "base": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "body": { "type": ["string", "null"] }, - "closed_at": { "type": ["string", "null"] }, - "comments_url": { "type": "string", "format": "uri" }, - "commits_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string" }, - "diff_url": { "type": "string", "format": "uri" }, - "draft": { "type": "boolean" }, - "head": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": ["object", "null"], - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "issue_url": { "type": "string", "format": "uri" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "locked": { "type": "boolean" }, - "merge_commit_sha": { "type": ["string", "null"] }, - "merged_at": { "type": ["string", "null"] }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "patch_url": { "type": "string", "format": "uri" }, - "requested_reviewers": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - } - ] - } - }, - "requested_teams": { - "type": "array", - "items": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - } - }, - "review_comment_url": { - "type": "string", - "format": "uri-template" - }, - "review_comments_url": { "type": "string", "format": "uri" }, - "state": { "type": "string", "enum": ["open", "closed"] }, - "statuses_url": { "type": "string", "format": "uri" }, - "title": { "type": "string" }, - "updated_at": { "type": "string" }, - "url": { "type": "string", "format": "uri" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "id", - "node_id", - "html_url", - "diff_url", - "patch_url", - "issue_url", - "number", - "state", - "locked", - "title", - "user", - "body", - "created_at", - "updated_at", - "closed_at", - "merged_at", - "merge_commit_sha", - "assignee", - "assignees", - "requested_reviewers", - "requested_teams", - "labels", - "milestone", - "draft", - "commits_url", - "review_comments_url", - "review_comment_url", - "comments_url", - "statuses_url", - "head", - "base", - "_links", - "author_association", - "auto_merge", - "active_lock_reason" - ] - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "review": { - "description": "The review that was affected.", - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "pull_request": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - } - }, - "required": ["html", "pull_request"] - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { - "description": "The text of the review.", - "type": ["string", "null"] - }, - "commit_id": { - "description": "A commit SHA for the review.", - "type": "string" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the review", - "type": "integer" - }, - "node_id": { "type": "string" }, - "pull_request_url": { "type": "string", "format": "uri" }, - "state": { - "type": "string", - "enum": ["dismissed", "approved", "changes_requested"] - }, - "submitted_at": { "type": "string", "format": "date-time" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "id", - "node_id", - "user", - "body", - "commit_id", - "submitted_at", - "state", - "html_url", - "pull_request_url", - "author_association", - "_links" - ] - }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "review", "pull_request", "repository", "sender"] - }, - "webhook-pull-request-review-edited": { - "title": "pull_request_review edited event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["edited"] }, - "changes": { - "type": "object", - "properties": { - "body": { - "type": "object", - "properties": { - "from": { - "description": "The previous version of the body if the action was `edited`.", - "type": "string" - } - }, - "required": ["from"] - } - } - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "title": "Simple Pull Request", - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "commits": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "issue": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comment": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "self": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "statuses": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - } - }, - "required": [ - "self", - "html", - "issue", - "comments", - "review_comments", - "review_comment", - "commits", - "statuses" - ] - }, - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "auto_merge": { - "title": "PullRequestAutoMerge", - "description": "The status of auto merging a pull request.", - "type": ["object", "null"], - "properties": { - "commit_message": { - "description": "Commit message for the merge commit.", - "type": ["string", "null"] - }, - "commit_title": { - "description": "Title for the merge commit message.", - "type": ["string", "null"] - }, - "enabled_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "merge_method": { - "description": "The merge method to use.", - "type": "string", - "enum": ["merge", "squash", "rebase"] - } - }, - "required": [ - "enabled_by", - "merge_method", - "commit_title", - "commit_message" - ] - }, - "base": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "body": { "type": ["string", "null"] }, - "closed_at": { "type": ["string", "null"] }, - "comments_url": { "type": "string", "format": "uri" }, - "commits_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string" }, - "diff_url": { "type": "string", "format": "uri" }, - "draft": { "type": "boolean" }, - "head": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": ["object", "null"], - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "issue_url": { "type": "string", "format": "uri" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "locked": { "type": "boolean" }, - "merge_commit_sha": { "type": ["string", "null"] }, - "merged_at": { "type": ["string", "null"] }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "patch_url": { "type": "string", "format": "uri" }, - "requested_reviewers": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - } - ] - } - }, - "requested_teams": { - "type": "array", - "items": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - } - }, - "review_comment_url": { - "type": "string", - "format": "uri-template" - }, - "review_comments_url": { "type": "string", "format": "uri" }, - "state": { "type": "string", "enum": ["open", "closed"] }, - "statuses_url": { "type": "string", "format": "uri" }, - "title": { "type": "string" }, - "updated_at": { "type": "string" }, - "url": { "type": "string", "format": "uri" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "id", - "node_id", - "html_url", - "diff_url", - "patch_url", - "issue_url", - "number", - "state", - "locked", - "title", - "user", - "body", - "created_at", - "updated_at", - "closed_at", - "merged_at", - "merge_commit_sha", - "assignee", - "assignees", - "requested_reviewers", - "requested_teams", - "labels", - "milestone", - "draft", - "commits_url", - "review_comments_url", - "review_comment_url", - "comments_url", - "statuses_url", - "head", - "base", - "_links", - "author_association", - "auto_merge", - "active_lock_reason" - ] - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "review": { "$ref": "#/components/schemas/webhooks_review" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "action", - "changes", - "review", - "pull_request", - "repository", - "sender" - ] - }, - "webhook-pull-request-review-request-removed": { - "title": "pull_request review_request_removed event", - "oneOf": [ - { - "type": "object", - "properties": { - "action": { - "type": "string", - "enum": ["review_request_removed"] - }, - "enterprise": { - "$ref": "#/components/schemas/enterprise-webhooks" - }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "number": { - "description": "The pull request number.", - "type": "integer" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "title": "Pull Request", - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "commits": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "issue": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comment": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "self": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "statuses": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - } - }, - "required": [ - "self", - "html", - "issue", - "comments", - "review_comments", - "review_comment", - "commits", - "statuses" - ] - }, - "active_lock_reason": { - "type": ["string", "null"], - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - "additions": { "type": "integer" }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "auto_merge": { - "title": "PullRequestAutoMerge", - "description": "The status of auto merging a pull request.", - "type": ["object", "null"], - "properties": { - "commit_message": { - "description": "Commit message for the merge commit.", - "type": ["string", "null"] - }, - "commit_title": { - "description": "Title for the merge commit message.", - "type": ["string", "null"] - }, - "enabled_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "merge_method": { - "description": "The merge method to use.", - "type": "string", - "enum": ["merge", "squash", "rebase"] - } - }, - "required": [ - "enabled_by", - "merge_method", - "commit_title", - "commit_message" - ] - }, - "base": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { - "type": "string", - "format": "uri" - }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { - "type": "string", - "format": "uri" - }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { - "type": "string", - "format": "uri" - }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { - "type": "string", - "format": "uri" - }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { - "type": ["string", "null"], - "format": "uri" - } - }, - "required": [ - "key", - "name", - "spdx_id", - "url", - "node_id" - ] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { - "type": "string", - "format": "uri" - }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { - "type": "string", - "format": "uri" - }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title.", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { - "type": "string", - "format": "uri" - }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { - "type": "string", - "format": "uri" - }, - "subscription_url": { - "type": "string", - "format": "uri" - }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "body": { "type": ["string", "null"] }, - "changed_files": { "type": "integer" }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "commits": { "type": "integer" }, - "commits_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "deletions": { "type": "integer" }, - "diff_url": { "type": "string", "format": "uri" }, - "draft": { - "description": "Indicates whether or not the pull request is a draft.", - "type": "boolean" - }, - "head": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { - "type": "string", - "format": "uri" - }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { - "type": "string", - "format": "uri" - }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { - "type": "string", - "format": "uri" - }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { - "type": "string", - "format": "uri" - }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { - "type": ["string", "null"], - "format": "uri" - } - }, - "required": [ - "key", - "name", - "spdx_id", - "url", - "node_id" - ] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { - "type": "string", - "format": "uri" - }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { - "type": "string", - "format": "uri" - }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { - "type": "string", - "format": "uri" - }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { - "type": "string", - "format": "uri" - }, - "subscription_url": { - "type": "string", - "format": "uri" - }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "issue_url": { "type": "string", "format": "uri" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "locked": { "type": "boolean" }, - "maintainer_can_modify": { - "description": "Indicates whether maintainers can modify the pull request.", - "type": "boolean" - }, - "merge_commit_sha": { "type": ["string", "null"] }, - "mergeable": { "type": ["boolean", "null"] }, - "mergeable_state": { "type": "string" }, - "merged": { "type": ["boolean", "null"] }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "merged_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { - "description": "Number uniquely identifying the pull request within its repository.", - "type": "integer" - }, - "patch_url": { "type": "string", "format": "uri" }, - "rebaseable": { "type": ["boolean", "null"] }, - "requested_reviewers": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { - "type": "string", - "format": "uri" - }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - } - ] - } - }, - "requested_teams": { - "type": "array", - "items": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - } - }, - "review_comment_url": { - "type": "string", - "format": "uri-template" - }, - "review_comments": { "type": "integer" }, - "review_comments_url": { "type": "string", "format": "uri" }, - "state": { - "description": "State of this Pull Request. Either `open` or `closed`.", - "type": "string", - "enum": ["open", "closed"] - }, - "statuses_url": { "type": "string", "format": "uri" }, - "title": { - "description": "The title of the pull request.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "id", - "node_id", - "html_url", - "diff_url", - "patch_url", - "issue_url", - "number", - "state", - "locked", - "title", - "user", - "body", - "created_at", - "updated_at", - "closed_at", - "merged_at", - "merge_commit_sha", - "assignee", - "assignees", - "requested_reviewers", - "requested_teams", - "labels", - "milestone", - "commits_url", - "review_comments_url", - "review_comment_url", - "comments_url", - "statuses_url", - "head", - "base", - "_links", - "author_association", - "auto_merge", - "active_lock_reason", - "draft" - ] - }, - "repository": { - "$ref": "#/components/schemas/repository-webhooks" - }, - "requested_reviewer": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "requested_reviewer", - "action", - "number", - "pull_request", - "repository", - "sender" - ] - }, - { - "type": "object", - "properties": { - "action": { - "type": "string", - "enum": ["review_request_removed"] - }, - "enterprise": { - "$ref": "#/components/schemas/enterprise-webhooks" - }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "number": { - "description": "The pull request number.", - "type": "integer" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "title": "Pull Request", - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "commits": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "issue": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comment": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "self": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "statuses": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - } - }, - "required": [ - "self", - "html", - "issue", - "comments", - "review_comments", - "review_comment", - "commits", - "statuses" - ] - }, - "active_lock_reason": { - "type": ["string", "null"], - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - "additions": { "type": "integer" }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "auto_merge": { - "title": "PullRequestAutoMerge", - "description": "The status of auto merging a pull request.", - "type": ["object", "null"], - "properties": { - "commit_message": { - "description": "Commit message for the merge commit.", - "type": ["string", "null"] - }, - "commit_title": { - "description": "Title for the merge commit message.", - "type": ["string", "null"] - }, - "enabled_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "merge_method": { - "description": "The merge method to use.", - "type": "string", - "enum": ["merge", "squash", "rebase"] - } - }, - "required": [ - "enabled_by", - "merge_method", - "commit_title", - "commit_message" - ] - }, - "base": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { - "type": "string", - "format": "uri" - }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { - "type": "string", - "format": "uri" - }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { - "type": "string", - "format": "uri" - }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { - "type": "string", - "format": "uri" - }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { - "type": ["string", "null"], - "format": "uri" - } - }, - "required": [ - "key", - "name", - "spdx_id", - "url", - "node_id" - ] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { - "type": "string", - "format": "uri" - }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { - "type": "string", - "format": "uri" - }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { - "type": "string", - "format": "uri" - }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { - "type": "string", - "format": "uri" - }, - "subscription_url": { - "type": "string", - "format": "uri" - }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "body": { "type": ["string", "null"] }, - "changed_files": { "type": "integer" }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "commits": { "type": "integer" }, - "commits_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "deletions": { "type": "integer" }, - "diff_url": { "type": "string", "format": "uri" }, - "draft": { - "description": "Indicates whether or not the pull request is a draft.", - "type": "boolean" - }, - "head": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { - "type": "string", - "format": "uri" - }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { - "type": "string", - "format": "uri" - }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { - "type": "string", - "format": "uri" - }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { - "type": "string", - "format": "uri" - }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { - "type": ["string", "null"], - "format": "uri" - } - }, - "required": [ - "key", - "name", - "spdx_id", - "url", - "node_id" - ] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { - "type": "string", - "format": "uri" - }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { - "type": "string", - "format": "uri" - }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { - "type": "string", - "format": "uri" - }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { - "type": "string", - "format": "uri" - }, - "subscription_url": { - "type": "string", - "format": "uri" - }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "issue_url": { "type": "string", "format": "uri" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "locked": { "type": "boolean" }, - "maintainer_can_modify": { - "description": "Indicates whether maintainers can modify the pull request.", - "type": "boolean" - }, - "merge_commit_sha": { "type": ["string", "null"] }, - "mergeable": { "type": ["boolean", "null"] }, - "mergeable_state": { "type": "string" }, - "merged": { "type": ["boolean", "null"] }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "merged_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { - "description": "Number uniquely identifying the pull request within its repository.", - "type": "integer" - }, - "patch_url": { "type": "string", "format": "uri" }, - "rebaseable": { "type": ["boolean", "null"] }, - "requested_reviewers": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { - "type": "string", - "format": "uri" - }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - } - ] - } - }, - "requested_teams": { - "type": "array", - "items": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - } - }, - "review_comment_url": { - "type": "string", - "format": "uri-template" - }, - "review_comments": { "type": "integer" }, - "review_comments_url": { "type": "string", "format": "uri" }, - "state": { - "description": "State of this Pull Request. Either `open` or `closed`.", - "type": "string", - "enum": ["open", "closed"] - }, - "statuses_url": { "type": "string", "format": "uri" }, - "title": { - "description": "The title of the pull request.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "id", - "node_id", - "html_url", - "diff_url", - "patch_url", - "issue_url", - "number", - "state", - "locked", - "title", - "user", - "body", - "created_at", - "updated_at", - "closed_at", - "merged_at", - "merge_commit_sha", - "assignee", - "assignees", - "requested_reviewers", - "requested_teams", - "labels", - "milestone", - "commits_url", - "review_comments_url", - "review_comment_url", - "comments_url", - "statuses_url", - "head", - "base", - "_links", - "author_association", - "auto_merge", - "active_lock_reason", - "draft" - ] - }, - "repository": { - "$ref": "#/components/schemas/repository-webhooks" - }, - "requested_team": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { "type": "string", "format": "uri-template" }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "requested_team", - "action", - "number", - "pull_request", - "repository", - "sender" - ] - } - ] - }, - "webhook-pull-request-review-requested": { - "title": "pull_request review_requested event", - "oneOf": [ - { - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["review_requested"] }, - "enterprise": { - "$ref": "#/components/schemas/enterprise-webhooks" - }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "number": { - "description": "The pull request number.", - "type": "integer" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "title": "Pull Request", - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "commits": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "issue": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comment": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "self": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "statuses": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - } - }, - "required": [ - "self", - "html", - "issue", - "comments", - "review_comments", - "review_comment", - "commits", - "statuses" - ] - }, - "active_lock_reason": { - "type": ["string", "null"], - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - "additions": { "type": "integer" }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "auto_merge": { - "title": "PullRequestAutoMerge", - "description": "The status of auto merging a pull request.", - "type": ["object", "null"], - "properties": { - "commit_message": { - "description": "Commit message for the merge commit.", - "type": ["string", "null"] - }, - "commit_title": { - "description": "Title for the merge commit message.", - "type": ["string", "null"] - }, - "enabled_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "merge_method": { - "description": "The merge method to use.", - "type": "string", - "enum": ["merge", "squash", "rebase"] - } - }, - "required": [ - "enabled_by", - "merge_method", - "commit_title", - "commit_message" - ] - }, - "base": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { - "type": "string", - "format": "uri" - }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { - "type": "string", - "format": "uri" - }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { - "type": "string", - "format": "uri" - }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { - "type": "string", - "format": "uri" - }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { - "type": ["string", "null"], - "format": "uri" - } - }, - "required": [ - "key", - "name", - "spdx_id", - "url", - "node_id" - ] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { - "type": "string", - "format": "uri" - }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { - "type": "string", - "format": "uri" - }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { - "type": "string", - "format": "uri" - }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { - "type": "string", - "format": "uri" - }, - "subscription_url": { - "type": "string", - "format": "uri" - }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "body": { "type": ["string", "null"] }, - "changed_files": { "type": "integer" }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "commits": { "type": "integer" }, - "commits_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "deletions": { "type": "integer" }, - "diff_url": { "type": "string", "format": "uri" }, - "draft": { - "description": "Indicates whether or not the pull request is a draft.", - "type": "boolean" - }, - "head": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { - "type": "string", - "format": "uri" - }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { - "type": "string", - "format": "uri" - }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { - "type": "string", - "format": "uri" - }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { - "type": "string", - "format": "uri" - }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { - "type": ["string", "null"], - "format": "uri" - } - }, - "required": [ - "key", - "name", - "spdx_id", - "url", - "node_id" - ] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { - "type": "string", - "format": "uri" - }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { - "type": "string", - "format": "uri" - }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { - "type": "string", - "format": "uri" - }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { - "type": "string", - "format": "uri" - }, - "subscription_url": { - "type": "string", - "format": "uri" - }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "issue_url": { "type": "string", "format": "uri" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "locked": { "type": "boolean" }, - "maintainer_can_modify": { - "description": "Indicates whether maintainers can modify the pull request.", - "type": "boolean" - }, - "merge_commit_sha": { "type": ["string", "null"] }, - "mergeable": { "type": ["boolean", "null"] }, - "mergeable_state": { "type": "string" }, - "merged": { "type": ["boolean", "null"] }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "merged_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { - "description": "Number uniquely identifying the pull request within its repository.", - "type": "integer" - }, - "patch_url": { "type": "string", "format": "uri" }, - "rebaseable": { "type": ["boolean", "null"] }, - "requested_reviewers": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { - "type": "string", - "format": "uri" - }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - } - ] - } - }, - "requested_teams": { - "type": "array", - "items": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - } - }, - "review_comment_url": { - "type": "string", - "format": "uri-template" - }, - "review_comments": { "type": "integer" }, - "review_comments_url": { "type": "string", "format": "uri" }, - "state": { - "description": "State of this Pull Request. Either `open` or `closed`.", - "type": "string", - "enum": ["open", "closed"] - }, - "statuses_url": { "type": "string", "format": "uri" }, - "title": { - "description": "The title of the pull request.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "id", - "node_id", - "html_url", - "diff_url", - "patch_url", - "issue_url", - "number", - "state", - "locked", - "title", - "user", - "body", - "created_at", - "updated_at", - "closed_at", - "merged_at", - "merge_commit_sha", - "assignee", - "assignees", - "requested_reviewers", - "requested_teams", - "labels", - "milestone", - "commits_url", - "review_comments_url", - "review_comment_url", - "comments_url", - "statuses_url", - "head", - "base", - "_links", - "author_association", - "auto_merge", - "active_lock_reason", - "draft" - ] - }, - "repository": { - "$ref": "#/components/schemas/repository-webhooks" - }, - "requested_reviewer": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "requested_reviewer", - "action", - "number", - "pull_request", - "repository", - "sender" - ] - }, - { - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["review_requested"] }, - "enterprise": { - "$ref": "#/components/schemas/enterprise-webhooks" - }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "number": { - "description": "The pull request number.", - "type": "integer" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "title": "Pull Request", - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "commits": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "issue": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comment": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "self": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "statuses": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - } - }, - "required": [ - "self", - "html", - "issue", - "comments", - "review_comments", - "review_comment", - "commits", - "statuses" - ] - }, - "active_lock_reason": { - "type": ["string", "null"], - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - "additions": { "type": "integer" }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "auto_merge": { - "title": "PullRequestAutoMerge", - "description": "The status of auto merging a pull request.", - "type": ["object", "null"], - "properties": { - "commit_message": { - "description": "Commit message for the merge commit.", - "type": ["string", "null"] - }, - "commit_title": { - "description": "Title for the merge commit message.", - "type": ["string", "null"] - }, - "enabled_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "merge_method": { - "description": "The merge method to use.", - "type": "string", - "enum": ["merge", "squash", "rebase"] - } - }, - "required": [ - "enabled_by", - "merge_method", - "commit_title", - "commit_message" - ] - }, - "base": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { - "type": "string", - "format": "uri" - }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { - "type": "string", - "format": "uri" - }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { - "type": "string", - "format": "uri" - }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { - "type": "string", - "format": "uri" - }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { - "type": ["string", "null"], - "format": "uri" - } - }, - "required": [ - "key", - "name", - "spdx_id", - "url", - "node_id" - ] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { - "type": "string", - "format": "uri" - }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { - "type": "string", - "format": "uri" - }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { - "type": "string", - "format": "uri" - }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { - "type": "string", - "format": "uri" - }, - "subscription_url": { - "type": "string", - "format": "uri" - }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "body": { "type": ["string", "null"] }, - "changed_files": { "type": "integer" }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "commits": { "type": "integer" }, - "commits_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "deletions": { "type": "integer" }, - "diff_url": { "type": "string", "format": "uri" }, - "draft": { - "description": "Indicates whether or not the pull request is a draft.", - "type": "boolean" - }, - "head": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { - "type": "string", - "format": "uri" - }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { - "type": "string", - "format": "uri" - }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { - "type": "string", - "format": "uri" - }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { - "type": "string", - "format": "uri" - }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { - "type": ["string", "null"], - "format": "uri" - } - }, - "required": [ - "key", - "name", - "spdx_id", - "url", - "node_id" - ] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { - "type": "string", - "format": "uri" - }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { - "type": "string", - "format": "uri" - }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { - "type": "string", - "format": "uri" - }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { - "type": "string", - "format": "uri" - }, - "subscription_url": { - "type": "string", - "format": "uri" - }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "issue_url": { "type": "string", "format": "uri" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "locked": { "type": "boolean" }, - "maintainer_can_modify": { - "description": "Indicates whether maintainers can modify the pull request.", - "type": "boolean" - }, - "merge_commit_sha": { "type": ["string", "null"] }, - "mergeable": { "type": ["boolean", "null"] }, - "mergeable_state": { "type": "string" }, - "merged": { "type": ["boolean", "null"] }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "merged_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { - "description": "Number uniquely identifying the pull request within its repository.", - "type": "integer" - }, - "patch_url": { "type": "string", "format": "uri" }, - "rebaseable": { "type": ["boolean", "null"] }, - "requested_reviewers": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { - "type": "string", - "format": "uri" - }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - } - ] - } - }, - "requested_teams": { - "type": "array", - "items": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - } - }, - "review_comment_url": { - "type": "string", - "format": "uri-template" - }, - "review_comments": { "type": "integer" }, - "review_comments_url": { "type": "string", "format": "uri" }, - "state": { - "description": "State of this Pull Request. Either `open` or `closed`.", - "type": "string", - "enum": ["open", "closed"] - }, - "statuses_url": { "type": "string", "format": "uri" }, - "title": { - "description": "The title of the pull request.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "id", - "node_id", - "html_url", - "diff_url", - "patch_url", - "issue_url", - "number", - "state", - "locked", - "title", - "user", - "body", - "created_at", - "updated_at", - "closed_at", - "merged_at", - "merge_commit_sha", - "assignee", - "assignees", - "requested_reviewers", - "requested_teams", - "labels", - "milestone", - "commits_url", - "review_comments_url", - "review_comment_url", - "comments_url", - "statuses_url", - "head", - "base", - "_links", - "author_association", - "auto_merge", - "active_lock_reason", - "draft" - ] - }, - "repository": { - "$ref": "#/components/schemas/repository-webhooks" - }, - "requested_team": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { "type": "string", "format": "uri-template" }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "requested_team", - "action", - "number", - "pull_request", - "repository", - "sender" - ] - } - ] - }, - "webhook-pull-request-review-submitted": { - "title": "pull_request_review submitted event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["submitted"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "title": "Simple Pull Request", - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "commits": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "issue": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comment": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "self": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "statuses": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - } - }, - "required": [ - "self", - "html", - "issue", - "comments", - "review_comments", - "review_comment", - "commits", - "statuses" - ] - }, - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "auto_merge": { - "title": "PullRequestAutoMerge", - "description": "The status of auto merging a pull request.", - "type": ["object", "null"], - "properties": { - "commit_message": { - "description": "Commit message for the merge commit.", - "type": ["string", "null"] - }, - "commit_title": { - "description": "Title for the merge commit message.", - "type": ["string", "null"] - }, - "enabled_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "merge_method": { - "description": "The merge method to use.", - "type": "string", - "enum": ["merge", "squash", "rebase"] - } - }, - "required": [ - "enabled_by", - "merge_method", - "commit_title", - "commit_message" - ] - }, - "base": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "body": { "type": ["string", "null"] }, - "closed_at": { "type": ["string", "null"] }, - "comments_url": { "type": "string", "format": "uri" }, - "commits_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string" }, - "diff_url": { "type": "string", "format": "uri" }, - "draft": { "type": "boolean" }, - "head": { - "type": "object", - "properties": { - "label": { "type": ["string", "null"] }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": ["object", "null"], - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "issue_url": { "type": "string", "format": "uri" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "locked": { "type": "boolean" }, - "merge_commit_sha": { "type": ["string", "null"] }, - "merged_at": { "type": ["string", "null"] }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "patch_url": { "type": "string", "format": "uri" }, - "requested_reviewers": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - } - ] - } - }, - "requested_teams": { - "type": "array", - "items": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - } - }, - "review_comment_url": { - "type": "string", - "format": "uri-template" - }, - "review_comments_url": { "type": "string", "format": "uri" }, - "state": { "type": "string", "enum": ["open", "closed"] }, - "statuses_url": { "type": "string", "format": "uri" }, - "title": { "type": "string" }, - "updated_at": { "type": "string" }, - "url": { "type": "string", "format": "uri" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "id", - "node_id", - "html_url", - "diff_url", - "patch_url", - "issue_url", - "number", - "state", - "locked", - "title", - "user", - "body", - "created_at", - "updated_at", - "closed_at", - "merged_at", - "merge_commit_sha", - "assignee", - "assignees", - "requested_reviewers", - "requested_teams", - "labels", - "milestone", - "draft", - "commits_url", - "review_comments_url", - "review_comment_url", - "comments_url", - "statuses_url", - "head", - "base", - "_links", - "author_association", - "auto_merge", - "active_lock_reason" - ] - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "review": { "$ref": "#/components/schemas/webhooks_review" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "review", "pull_request", "repository", "sender"] - }, - "webhook-pull-request-review-thread-resolved": { - "title": "pull_request_review_thread resolved event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["resolved"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "title": "Simple Pull Request", - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "commits": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "issue": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comment": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "self": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "statuses": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - } - }, - "required": [ - "self", - "html", - "issue", - "comments", - "review_comments", - "review_comment", - "commits", - "statuses" - ] - }, - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "auto_merge": { - "title": "PullRequestAutoMerge", - "description": "The status of auto merging a pull request.", - "type": ["object", "null"], - "properties": { - "commit_message": { - "description": "Commit message for the merge commit.", - "type": ["string", "null"] - }, - "commit_title": { - "description": "Title for the merge commit message.", - "type": ["string", "null"] - }, - "enabled_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "merge_method": { - "description": "The merge method to use.", - "type": "string", - "enum": ["merge", "squash", "rebase"] - } - }, - "required": [ - "enabled_by", - "merge_method", - "commit_title", - "commit_message" - ] - }, - "base": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "body": { "type": ["string", "null"] }, - "closed_at": { "type": ["string", "null"] }, - "comments_url": { "type": "string", "format": "uri" }, - "commits_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string" }, - "diff_url": { "type": "string", "format": "uri" }, - "draft": { "type": "boolean" }, - "head": { - "type": "object", - "properties": { - "label": { "type": ["string", "null"] }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": ["object", "null"], - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "issue_url": { "type": "string", "format": "uri" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "locked": { "type": "boolean" }, - "merge_commit_sha": { "type": ["string", "null"] }, - "merged_at": { "type": ["string", "null"] }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "patch_url": { "type": "string", "format": "uri" }, - "requested_reviewers": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - } - ] - } - }, - "requested_teams": { - "type": "array", - "items": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - } - }, - "review_comment_url": { - "type": "string", - "format": "uri-template" - }, - "review_comments_url": { "type": "string", "format": "uri" }, - "state": { "type": "string", "enum": ["open", "closed"] }, - "statuses_url": { "type": "string", "format": "uri" }, - "title": { "type": "string" }, - "updated_at": { "type": "string" }, - "url": { "type": "string", "format": "uri" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "id", - "node_id", - "html_url", - "diff_url", - "patch_url", - "issue_url", - "number", - "state", - "locked", - "title", - "user", - "body", - "created_at", - "updated_at", - "closed_at", - "merged_at", - "merge_commit_sha", - "assignee", - "assignees", - "requested_reviewers", - "requested_teams", - "labels", - "milestone", - "draft", - "commits_url", - "review_comments_url", - "review_comment_url", - "comments_url", - "statuses_url", - "head", - "base", - "_links", - "author_association", - "auto_merge", - "active_lock_reason" - ] - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "thread": { - "type": "object", - "properties": { - "comments": { - "type": "array", - "items": { - "title": "Pull Request Review Comment", - "description": "The [comment](https://docs.github.com/enterprise-server@3.13/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself.", - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri-template" - } - }, - "required": ["href"] - }, - "pull_request": { - "title": "Link", - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri-template" - } - }, - "required": ["href"] - }, - "self": { - "title": "Link", - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri-template" - } - }, - "required": ["href"] - } - }, - "required": ["self", "html", "pull_request"] - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { - "description": "The text of the comment.", - "type": "string" - }, - "commit_id": { - "description": "The SHA of the commit to which the comment applies.", - "type": "string" - }, - "created_at": { "type": "string", "format": "date-time" }, - "diff_hunk": { - "description": "The diff of the line that the comment refers to.", - "type": "string" - }, - "html_url": { - "description": "HTML URL for the pull request review comment.", - "type": "string", - "format": "uri" - }, - "id": { - "description": "The ID of the pull request review comment.", - "type": "integer" - }, - "in_reply_to_id": { - "description": "The comment ID to reply to.", - "type": "integer" - }, - "line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "type": ["integer", "null"] - }, - "node_id": { - "description": "The node ID of the pull request review comment.", - "type": "string" - }, - "original_commit_id": { - "description": "The SHA of the original commit to which the comment applies.", - "type": "string" - }, - "original_line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "type": ["integer", "null"] - }, - "original_position": { - "description": "The index of the original line in the diff to which the comment applies.", - "type": "integer" - }, - "original_start_line": { - "description": "The first line of the range for a multi-line comment.", - "type": ["integer", "null"] - }, - "path": { - "description": "The relative path of the file to which the comment applies.", - "type": "string" - }, - "position": { - "description": "The line index in the diff to which the comment applies.", - "type": ["integer", "null"] - }, - "pull_request_review_id": { - "description": "The ID of the pull request review to which the comment belongs.", - "type": ["integer", "null"] - }, - "pull_request_url": { - "description": "URL for the pull request that the review comment belongs to.", - "type": "string", - "format": "uri" - }, - "reactions": { - "title": "Reactions", - "type": "object", - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] - }, - "side": { - "description": "The side of the first line of the range for a multi-line comment.", - "type": "string", - "enum": ["LEFT", "RIGHT"] - }, - "start_line": { - "description": "The first line of the range for a multi-line comment.", - "type": ["integer", "null"] - }, - "start_side": { - "description": "The side of the first line of the range for a multi-line comment.", - "type": ["string", "null"], - "enum": ["LEFT", "RIGHT", null], - "default": "RIGHT" - }, - "subject_type": { - "description": "The level at which the comment is targeted, can be a diff line or a file.", - "type": "string", - "enum": ["line", "file"] - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { - "description": "URL for the pull request review comment", - "type": "string", - "format": "uri" - }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "pull_request_review_id", - "id", - "node_id", - "diff_hunk", - "path", - "position", - "original_position", - "commit_id", - "original_commit_id", - "user", - "body", - "created_at", - "updated_at", - "html_url", - "pull_request_url", - "author_association", - "_links", - "start_line", - "original_start_line", - "original_line", - "line", - "start_side", - "side", - "reactions" - ] - } - }, - "node_id": { "type": "string" } - }, - "required": ["node_id", "comments"] - } - }, - "required": ["action", "thread", "pull_request", "repository"] - }, - "webhook-pull-request-review-thread-unresolved": { - "title": "pull_request_review_thread unresolved event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["unresolved"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "title": "Simple Pull Request", - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "commits": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "issue": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comment": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "self": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "statuses": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - } - }, - "required": [ - "self", - "html", - "issue", - "comments", - "review_comments", - "review_comment", - "commits", - "statuses" - ] - }, - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "auto_merge": { - "title": "PullRequestAutoMerge", - "description": "The status of auto merging a pull request.", - "type": ["object", "null"], - "properties": { - "commit_message": { - "description": "Commit message for the merge commit.", - "type": ["string", "null"] - }, - "commit_title": { - "description": "Title for the merge commit message.", - "type": "string" - }, - "enabled_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "merge_method": { - "description": "The merge method to use.", - "type": "string", - "enum": ["merge", "squash", "rebase"] - } - }, - "required": [ - "enabled_by", - "merge_method", - "commit_title", - "commit_message" - ] - }, - "base": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "body": { "type": ["string", "null"] }, - "closed_at": { "type": ["string", "null"] }, - "comments_url": { "type": "string", "format": "uri" }, - "commits_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string" }, - "diff_url": { "type": "string", "format": "uri" }, - "draft": { "type": "boolean" }, - "head": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "issue_url": { "type": "string", "format": "uri" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "locked": { "type": "boolean" }, - "merge_commit_sha": { "type": ["string", "null"] }, - "merged_at": { "type": ["string", "null"] }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "patch_url": { "type": "string", "format": "uri" }, - "requested_reviewers": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - } - ] - } - }, - "requested_teams": { - "type": "array", - "items": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - } - }, - "review_comment_url": { - "type": "string", - "format": "uri-template" - }, - "review_comments_url": { "type": "string", "format": "uri" }, - "state": { "type": "string", "enum": ["open", "closed"] }, - "statuses_url": { "type": "string", "format": "uri" }, - "title": { "type": "string" }, - "updated_at": { "type": "string" }, - "url": { "type": "string", "format": "uri" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "id", - "node_id", - "html_url", - "diff_url", - "patch_url", - "issue_url", - "number", - "state", - "locked", - "title", - "user", - "body", - "created_at", - "updated_at", - "closed_at", - "merged_at", - "merge_commit_sha", - "assignee", - "assignees", - "requested_reviewers", - "requested_teams", - "labels", - "milestone", - "draft", - "commits_url", - "review_comments_url", - "review_comment_url", - "comments_url", - "statuses_url", - "head", - "base", - "_links", - "author_association", - "auto_merge", - "active_lock_reason" - ] - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "thread": { - "type": "object", - "properties": { - "comments": { - "type": "array", - "items": { - "title": "Pull Request Review Comment", - "description": "The [comment](https://docs.github.com/enterprise-server@3.13/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself.", - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri-template" - } - }, - "required": ["href"] - }, - "pull_request": { - "title": "Link", - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri-template" - } - }, - "required": ["href"] - }, - "self": { - "title": "Link", - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri-template" - } - }, - "required": ["href"] - } - }, - "required": ["self", "html", "pull_request"] - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { - "description": "The text of the comment.", - "type": "string" - }, - "commit_id": { - "description": "The SHA of the commit to which the comment applies.", - "type": "string" - }, - "created_at": { "type": "string", "format": "date-time" }, - "diff_hunk": { - "description": "The diff of the line that the comment refers to.", - "type": "string" - }, - "html_url": { - "description": "HTML URL for the pull request review comment.", - "type": "string", - "format": "uri" - }, - "id": { - "description": "The ID of the pull request review comment.", - "type": "integer" - }, - "in_reply_to_id": { - "description": "The comment ID to reply to.", - "type": "integer" - }, - "line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "type": ["integer", "null"] - }, - "node_id": { - "description": "The node ID of the pull request review comment.", - "type": "string" - }, - "original_commit_id": { - "description": "The SHA of the original commit to which the comment applies.", - "type": "string" - }, - "original_line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "type": "integer" - }, - "original_position": { - "description": "The index of the original line in the diff to which the comment applies.", - "type": "integer" - }, - "original_start_line": { - "description": "The first line of the range for a multi-line comment.", - "type": ["integer", "null"] - }, - "path": { - "description": "The relative path of the file to which the comment applies.", - "type": "string" - }, - "position": { - "description": "The line index in the diff to which the comment applies.", - "type": ["integer", "null"] - }, - "pull_request_review_id": { - "description": "The ID of the pull request review to which the comment belongs.", - "type": ["integer", "null"] - }, - "pull_request_url": { - "description": "URL for the pull request that the review comment belongs to.", - "type": "string", - "format": "uri" - }, - "reactions": { - "title": "Reactions", - "type": "object", - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] - }, - "side": { - "description": "The side of the first line of the range for a multi-line comment.", - "type": "string", - "enum": ["LEFT", "RIGHT"] - }, - "start_line": { - "description": "The first line of the range for a multi-line comment.", - "type": ["integer", "null"] - }, - "start_side": { - "description": "The side of the first line of the range for a multi-line comment.", - "type": ["string", "null"], - "enum": ["LEFT", "RIGHT", null], - "default": "RIGHT" - }, - "subject_type": { - "description": "The level at which the comment is targeted, can be a diff line or a file.", - "type": "string", - "enum": ["line", "file"] - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { - "description": "URL for the pull request review comment", - "type": "string", - "format": "uri" - }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "pull_request_review_id", - "id", - "node_id", - "diff_hunk", - "path", - "position", - "original_position", - "commit_id", - "original_commit_id", - "user", - "body", - "created_at", - "updated_at", - "html_url", - "pull_request_url", - "author_association", - "_links", - "start_line", - "original_start_line", - "original_line", - "line", - "start_side", - "side", - "reactions" - ] - } - }, - "node_id": { "type": "string" } - }, - "required": ["node_id", "comments"] - } - }, - "required": ["action", "thread", "pull_request", "repository"] - }, - "webhook-pull-request-synchronize": { - "title": "pull_request synchronize event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["synchronize"] }, - "after": { "type": "string" }, - "before": { "type": "string" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "number": { "$ref": "#/components/schemas/webhooks_number" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "title": "Pull Request", - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "commits": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "issue": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comment": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "self": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "statuses": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - } - }, - "required": [ - "self", - "html", - "issue", - "comments", - "review_comments", - "review_comment", - "commits", - "statuses" - ] - }, - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "additions": { "type": "integer" }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "auto_merge": { - "title": "PullRequestAutoMerge", - "description": "The status of auto merging a pull request.", - "type": ["object", "null"], - "properties": { - "commit_message": { - "description": "Commit message for the merge commit.", - "type": ["string", "null"] - }, - "commit_title": { - "description": "Title for the merge commit message.", - "type": ["string", "null"] - }, - "enabled_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "merge_method": { - "description": "The merge method to use.", - "type": "string", - "enum": ["merge", "squash", "rebase"] - } - }, - "required": [ - "enabled_by", - "merge_method", - "commit_title", - "commit_message" - ] - }, - "base": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "body": { "type": ["string", "null"] }, - "changed_files": { "type": "integer" }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "commits": { "type": "integer" }, - "commits_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "deletions": { "type": "integer" }, - "diff_url": { "type": "string", "format": "uri" }, - "draft": { - "description": "Indicates whether or not the pull request is a draft.", - "type": "boolean" - }, - "head": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit message title.", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "issue_url": { "type": "string", "format": "uri" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "locked": { "type": "boolean" }, - "maintainer_can_modify": { - "description": "Indicates whether maintainers can modify the pull request.", - "type": "boolean" - }, - "merge_commit_sha": { "type": ["string", "null"] }, - "mergeable": { "type": ["boolean", "null"] }, - "mergeable_state": { "type": "string" }, - "merged": { "type": ["boolean", "null"] }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "merged_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { - "description": "Number uniquely identifying the pull request within its repository.", - "type": "integer" - }, - "patch_url": { "type": "string", "format": "uri" }, - "rebaseable": { "type": ["boolean", "null"] }, - "requested_reviewers": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - } - ] - } - }, - "requested_teams": { - "type": "array", - "items": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - } - }, - "review_comment_url": { - "type": "string", - "format": "uri-template" - }, - "review_comments": { "type": "integer" }, - "review_comments_url": { "type": "string", "format": "uri" }, - "state": { - "description": "State of this Pull Request. Either `open` or `closed`.", - "type": "string", - "enum": ["open", "closed"] - }, - "statuses_url": { "type": "string", "format": "uri" }, - "title": { - "description": "The title of the pull request.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "id", - "node_id", - "html_url", - "diff_url", - "patch_url", - "issue_url", - "number", - "state", - "locked", - "title", - "user", - "body", - "created_at", - "updated_at", - "closed_at", - "merged_at", - "merge_commit_sha", - "assignee", - "assignees", - "requested_reviewers", - "requested_teams", - "labels", - "milestone", - "commits_url", - "review_comments_url", - "review_comment_url", - "comments_url", - "statuses_url", - "head", - "base", - "_links", - "author_association", - "auto_merge", - "active_lock_reason", - "draft" - ] - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "action", - "number", - "before", - "after", - "pull_request", - "repository", - "sender" - ] - }, - "webhook-pull-request-unassigned": { - "title": "pull_request unassigned event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["unassigned"] }, - "assignee": { - "$ref": "#/components/schemas/webhooks_user_mannequin" - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "number": { "$ref": "#/components/schemas/webhooks_number" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "title": "Pull Request", - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "commits": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "issue": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comment": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "self": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "statuses": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - } - }, - "required": [ - "self", - "html", - "issue", - "comments", - "review_comments", - "review_comment", - "commits", - "statuses" - ] - }, - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "additions": { "type": "integer" }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "auto_merge": { - "title": "PullRequestAutoMerge", - "description": "The status of auto merging a pull request.", - "type": ["object", "null"], - "properties": { - "commit_message": { - "description": "Commit message for the merge commit.", - "type": ["string", "null"] - }, - "commit_title": { - "description": "Title for the merge commit message.", - "type": ["string", "null"] - }, - "enabled_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "merge_method": { - "description": "The merge method to use.", - "type": "string", - "enum": ["merge", "squash", "rebase"] - } - }, - "required": [ - "enabled_by", - "merge_method", - "commit_title", - "commit_message" - ] - }, - "base": { - "type": "object", - "properties": { - "label": { "type": ["string", "null"] }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "body": { "type": ["string", "null"] }, - "changed_files": { "type": "integer" }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "commits": { "type": "integer" }, - "commits_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "deletions": { "type": "integer" }, - "diff_url": { "type": "string", "format": "uri" }, - "draft": { - "description": "Indicates whether or not the pull request is a draft.", - "type": "boolean" - }, - "head": { - "type": "object", - "properties": { - "label": { "type": ["string", "null"] }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": ["object", "null"], - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "issue_url": { "type": "string", "format": "uri" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "locked": { "type": "boolean" }, - "maintainer_can_modify": { - "description": "Indicates whether maintainers can modify the pull request.", - "type": "boolean" - }, - "merge_commit_sha": { "type": ["string", "null"] }, - "mergeable": { "type": ["boolean", "null"] }, - "mergeable_state": { "type": "string" }, - "merged": { "type": ["boolean", "null"] }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "merged_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { - "description": "Number uniquely identifying the pull request within its repository.", - "type": "integer" - }, - "patch_url": { "type": "string", "format": "uri" }, - "rebaseable": { "type": ["boolean", "null"] }, - "requested_reviewers": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - } - ] - } - }, - "requested_teams": { - "type": "array", - "items": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - } - }, - "review_comment_url": { - "type": "string", - "format": "uri-template" - }, - "review_comments": { "type": "integer" }, - "review_comments_url": { "type": "string", "format": "uri" }, - "state": { - "description": "State of this Pull Request. Either `open` or `closed`.", - "type": "string", - "enum": ["open", "closed"] - }, - "statuses_url": { "type": "string", "format": "uri" }, - "title": { - "description": "The title of the pull request.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "id", - "node_id", - "html_url", - "diff_url", - "patch_url", - "issue_url", - "number", - "state", - "locked", - "title", - "user", - "body", - "created_at", - "updated_at", - "closed_at", - "merged_at", - "merge_commit_sha", - "assignee", - "assignees", - "requested_reviewers", - "requested_teams", - "labels", - "milestone", - "commits_url", - "review_comments_url", - "review_comment_url", - "comments_url", - "statuses_url", - "head", - "base", - "_links", - "author_association", - "auto_merge", - "active_lock_reason", - "draft" - ] - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "number", "pull_request", "repository"] - }, - "webhook-pull-request-unlabeled": { - "title": "pull_request unlabeled event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["unlabeled"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "label": { "$ref": "#/components/schemas/webhooks_label" }, - "number": { "$ref": "#/components/schemas/webhooks_number" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "title": "Pull Request", - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "commits": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "issue": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comment": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "self": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "statuses": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - } - }, - "required": [ - "self", - "html", - "issue", - "comments", - "review_comments", - "review_comment", - "commits", - "statuses" - ] - }, - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "additions": { "type": "integer" }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "auto_merge": { - "title": "PullRequestAutoMerge", - "description": "The status of auto merging a pull request.", - "type": ["object", "null"], - "properties": { - "commit_message": { - "description": "Commit message for the merge commit.", - "type": ["string", "null"] - }, - "commit_title": { - "description": "Title for the merge commit message.", - "type": ["string", "null"] - }, - "enabled_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "merge_method": { - "description": "The merge method to use.", - "type": "string", - "enum": ["merge", "squash", "rebase"] - } - }, - "required": [ - "enabled_by", - "merge_method", - "commit_title", - "commit_message" - ] - }, - "base": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "body": { "type": ["string", "null"] }, - "changed_files": { "type": "integer" }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "commits": { "type": "integer" }, - "commits_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "deletions": { "type": "integer" }, - "diff_url": { "type": "string", "format": "uri" }, - "draft": { - "description": "Indicates whether or not the pull request is a draft.", - "type": "boolean" - }, - "head": { - "type": "object", - "properties": { - "label": { "type": ["string", "null"] }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": ["object", "null"], - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit message title.", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "issue_url": { "type": "string", "format": "uri" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "locked": { "type": "boolean" }, - "maintainer_can_modify": { - "description": "Indicates whether maintainers can modify the pull request.", - "type": "boolean" - }, - "merge_commit_sha": { "type": ["string", "null"] }, - "mergeable": { "type": ["boolean", "null"] }, - "mergeable_state": { "type": "string" }, - "merged": { "type": ["boolean", "null"] }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "merged_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { - "description": "Number uniquely identifying the pull request within its repository.", - "type": "integer" - }, - "patch_url": { "type": "string", "format": "uri" }, - "rebaseable": { "type": ["boolean", "null"] }, - "requested_reviewers": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - } - ] - } - }, - "requested_teams": { - "type": "array", - "items": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - } - }, - "review_comment_url": { - "type": "string", - "format": "uri-template" - }, - "review_comments": { "type": "integer" }, - "review_comments_url": { "type": "string", "format": "uri" }, - "state": { - "description": "State of this Pull Request. Either `open` or `closed`.", - "type": "string", - "enum": ["open", "closed"] - }, - "statuses_url": { "type": "string", "format": "uri" }, - "title": { - "description": "The title of the pull request.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "id", - "node_id", - "html_url", - "diff_url", - "patch_url", - "issue_url", - "number", - "state", - "locked", - "title", - "user", - "body", - "created_at", - "updated_at", - "closed_at", - "merged_at", - "merge_commit_sha", - "assignee", - "assignees", - "requested_reviewers", - "requested_teams", - "labels", - "milestone", - "commits_url", - "review_comments_url", - "review_comment_url", - "comments_url", - "statuses_url", - "head", - "base", - "_links", - "author_association", - "auto_merge", - "active_lock_reason", - "draft" - ] - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "number", "pull_request", "repository", "sender"] - }, - "webhook-pull-request-unlocked": { - "title": "pull_request unlocked event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["unlocked"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "number": { "$ref": "#/components/schemas/webhooks_number" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "title": "Pull Request", - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "commits": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "issue": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comment": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "self": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "statuses": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - } - }, - "required": [ - "self", - "html", - "issue", - "comments", - "review_comments", - "review_comment", - "commits", - "statuses" - ] - }, - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "additions": { "type": "integer" }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "auto_merge": { - "title": "PullRequestAutoMerge", - "description": "The status of auto merging a pull request.", - "type": ["object", "null"], - "properties": { - "commit_message": { - "description": "Commit message for the merge commit.", - "type": ["string", "null"] - }, - "commit_title": { - "description": "Title for the merge commit message.", - "type": "string" - }, - "enabled_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "merge_method": { - "description": "The merge method to use.", - "type": "string", - "enum": ["merge", "squash", "rebase"] - } - }, - "required": [ - "enabled_by", - "merge_method", - "commit_title", - "commit_message" - ] - }, - "base": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "body": { "type": ["string", "null"] }, - "changed_files": { "type": "integer" }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "commits": { "type": "integer" }, - "commits_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "deletions": { "type": "integer" }, - "diff_url": { "type": "string", "format": "uri" }, - "draft": { - "description": "Indicates whether or not the pull request is a draft.", - "type": "boolean" - }, - "head": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": ["object", "null"], - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "issue_url": { "type": "string", "format": "uri" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "locked": { "type": "boolean" }, - "maintainer_can_modify": { - "description": "Indicates whether maintainers can modify the pull request.", - "type": "boolean" - }, - "merge_commit_sha": { "type": ["string", "null"] }, - "mergeable": { "type": ["boolean", "null"] }, - "mergeable_state": { "type": "string" }, - "merged": { "type": ["boolean", "null"] }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "merged_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { - "description": "Number uniquely identifying the pull request within its repository.", - "type": "integer" - }, - "patch_url": { "type": "string", "format": "uri" }, - "rebaseable": { "type": ["boolean", "null"] }, - "requested_reviewers": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - } - ] - } - }, - "requested_teams": { - "type": "array", - "items": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - } - }, - "review_comment_url": { - "type": "string", - "format": "uri-template" - }, - "review_comments": { "type": "integer" }, - "review_comments_url": { "type": "string", "format": "uri" }, - "state": { - "description": "State of this Pull Request. Either `open` or `closed`.", - "type": "string", - "enum": ["open", "closed"] - }, - "statuses_url": { "type": "string", "format": "uri" }, - "title": { - "description": "The title of the pull request.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "id", - "node_id", - "html_url", - "diff_url", - "patch_url", - "issue_url", - "number", - "state", - "locked", - "title", - "user", - "body", - "created_at", - "updated_at", - "closed_at", - "merged_at", - "merge_commit_sha", - "assignee", - "assignees", - "requested_reviewers", - "requested_teams", - "labels", - "milestone", - "commits_url", - "review_comments_url", - "review_comment_url", - "comments_url", - "statuses_url", - "head", - "base", - "_links", - "author_association", - "auto_merge", - "active_lock_reason", - "draft" - ] - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "number", "pull_request", "repository", "sender"] - }, - "webhook-push": { - "title": "push event", - "type": "object", - "properties": { - "after": { - "description": "The SHA of the most recent commit on `ref` after the push.", - "type": "string" - }, - "base_ref": { - "$ref": "#/components/schemas/webhooks_nullable_string" - }, - "before": { - "description": "The SHA of the most recent commit on `ref` before the push.", - "type": "string" - }, - "commits": { - "description": "An array of commit objects describing the pushed commits. (Pushed commits are all commits that are included in the `compare` between the `before` commit and the `after` commit.) The array includes a maximum of 2048 commits. If necessary, you can use the [Commits API](https://docs.github.com/enterprise-server@3.13/rest/commits) to fetch additional commits.", - "type": "array", - "items": { - "title": "Commit", - "type": "object", - "properties": { - "added": { - "description": "An array of files added in the commit. A maximum of 3000 changed files will be reported per commit.", - "type": "array", - "items": { "type": "string" } - }, - "author": { - "title": "Committer", - "description": "Metaproperties for Git author/committer information.", - "type": "object", - "properties": { - "date": { "type": "string", "format": "date-time" }, - "email": { "type": ["string", "null"], "format": "email" }, - "name": { - "description": "The git author's name.", - "type": "string" - }, - "username": { "type": "string" } - }, - "required": ["email", "name"] - }, - "committer": { - "title": "Committer", - "description": "Metaproperties for Git author/committer information.", - "type": "object", - "properties": { - "date": { "type": "string", "format": "date-time" }, - "email": { "type": ["string", "null"], "format": "email" }, - "name": { - "description": "The git author's name.", - "type": "string" - }, - "username": { "type": "string" } - }, - "required": ["email", "name"] - }, - "distinct": { - "description": "Whether this commit is distinct from any that have been pushed before.", - "type": "boolean" - }, - "id": { "type": "string" }, - "message": { - "description": "The commit message.", - "type": "string" - }, - "modified": { - "description": "An array of files modified by the commit. A maximum of 3000 changed files will be reported per commit.", - "type": "array", - "items": { "type": "string" } - }, - "removed": { - "description": "An array of files removed in the commit. A maximum of 3000 changed files will be reported per commit.", - "type": "array", - "items": { "type": "string" } - }, - "timestamp": { - "description": "The ISO 8601 timestamp of the commit.", - "type": "string", - "format": "date-time" - }, - "tree_id": { "type": "string" }, - "url": { - "description": "URL that points to the commit API resource.", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "tree_id", - "distinct", - "message", - "timestamp", - "url", - "author", - "committer" - ] - } - }, - "compare": { - "description": "URL that shows the changes in this `ref` update, from the `before` commit to the `after` commit. For a newly created `ref` that is directly based on the default branch, this is the comparison between the head of the default branch and the `after` commit. Otherwise, this shows all commits until the `after` commit.", - "type": "string" - }, - "created": { - "description": "Whether this push created the `ref`.", - "type": "boolean" - }, - "deleted": { - "description": "Whether this push deleted the `ref`.", - "type": "boolean" - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "forced": { - "description": "Whether this push was a force push of the `ref`.", - "type": "boolean" - }, - "head_commit": { - "title": "Commit", - "type": ["object", "null"], - "properties": { - "added": { - "description": "An array of files added in the commit.", - "type": "array", - "items": { "type": "string" } - }, - "author": { - "title": "Committer", - "description": "Metaproperties for Git author/committer information.", - "type": "object", - "properties": { - "date": { "type": "string", "format": "date-time" }, - "email": { "type": ["string", "null"], "format": "email" }, - "name": { - "description": "The git author's name.", - "type": "string" - }, - "username": { "type": "string" } - }, - "required": ["email", "name"] - }, - "committer": { - "title": "Committer", - "description": "Metaproperties for Git author/committer information.", - "type": "object", - "properties": { - "date": { "type": "string", "format": "date-time" }, - "email": { "type": ["string", "null"], "format": "email" }, - "name": { - "description": "The git author's name.", - "type": "string" - }, - "username": { "type": "string" } - }, - "required": ["email", "name"] - }, - "distinct": { - "description": "Whether this commit is distinct from any that have been pushed before.", - "type": "boolean" - }, - "id": { "type": "string" }, - "message": { - "description": "The commit message.", - "type": "string" - }, - "modified": { - "description": "An array of files modified by the commit.", - "type": "array", - "items": { "type": "string" } - }, - "removed": { - "description": "An array of files removed in the commit.", - "type": "array", - "items": { "type": "string" } - }, - "timestamp": { - "description": "The ISO 8601 timestamp of the commit.", - "type": "string", - "format": "date-time" - }, - "tree_id": { "type": "string" }, - "url": { - "description": "URL that points to the commit API resource.", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "tree_id", - "distinct", - "message", - "timestamp", - "url", - "author", - "committer" - ] - }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pusher": { - "title": "Committer", - "description": "Metaproperties for Git author/committer information.", - "type": "object", - "properties": { - "date": { "type": "string", "format": "date-time" }, - "email": { "type": ["string", "null"], "format": "email" }, - "name": { - "description": "The git author's name.", - "type": "string" - }, - "username": { "type": "string" } - }, - "required": ["name"] - }, - "ref": { - "description": "The full git ref that was pushed. Example: `refs/heads/main` or `refs/tags/v3.14.1`.", - "type": "string" - }, - "repository": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { "type": "string", "format": "uri-template" }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { "type": "string", "format": "uri-template" }, - "blobs_url": { "type": "string", "format": "uri-template" }, - "branches_url": { "type": "string", "format": "uri-template" }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { "type": "string", "format": "uri-template" }, - "commits_url": { "type": "string", "format": "uri-template" }, - "compare_url": { "type": "string", "format": "uri-template" }, - "contents_url": { "type": "string", "format": "uri-template" }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "custom_properties": { - "type": "object", - "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", - "additionalProperties": true - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { "type": "string", "format": "uri-template" }, - "git_refs_url": { "type": "string", "format": "uri-template" }, - "git_tags_url": { "type": "string", "format": "uri-template" }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { "type": "string", "format": "uri-template" }, - "keys_url": { "type": "string", "format": "uri-template" }, - "labels_url": { "type": "string", "format": "uri-template" }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { "type": "string", "format": "uri-template" }, - "mirror_url": { "type": ["string", "null"], "format": "uri" }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { "type": "string", "format": "uri-template" }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { "type": "string", "format": "uri-template" }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { "type": "string", "format": "uri-template" }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { "type": "array", "items": { "type": "string" } }, - "trees_url": { "type": "string", "format": "uri-template" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "ref", - "before", - "after", - "created", - "deleted", - "forced", - "base_ref", - "compare", - "commits", - "head_commit", - "repository", - "pusher" - ] - }, - "webhook-registry-package-published": { - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["published"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "registry_package": { - "type": "object", - "properties": { - "created_at": { "type": ["string", "null"] }, - "description": { "type": ["string", "null"] }, - "ecosystem": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "name": { "type": "string" }, - "namespace": { "type": "string" }, - "owner": { - "type": "object", - "properties": { - "avatar_url": { "type": "string" }, - "events_url": { "type": "string" }, - "followers_url": { "type": "string" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string" }, - "received_events_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string" }, - "user_view_type": { "type": "string" } - }, - "required": [ - "login", - "id", - "node_id", - "avatar_url", - "gravatar_id", - "url", - "html_url", - "followers_url", - "following_url", - "gists_url", - "starred_url", - "subscriptions_url", - "organizations_url", - "repos_url", - "events_url", - "received_events_url", - "type", - "site_admin" - ] - }, - "package_type": { "type": "string" }, - "package_version": { - "type": ["object", "null"], - "properties": { - "author": { - "type": "object", - "properties": { - "avatar_url": { "type": "string" }, - "events_url": { "type": "string" }, - "followers_url": { "type": "string" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string" }, - "received_events_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string" }, - "user_view_type": { "type": "string" } - }, - "required": [ - "login", - "id", - "node_id", - "avatar_url", - "gravatar_id", - "url", - "html_url", - "followers_url", - "following_url", - "gists_url", - "starred_url", - "subscriptions_url", - "organizations_url", - "repos_url", - "events_url", - "received_events_url", - "type", - "site_admin" - ] - }, - "body": { - "oneOf": [{ "type": "string" }, { "type": "object" }] - }, - "body_html": { "type": "string" }, - "container_metadata": { - "type": "object", - "properties": { - "labels": { "type": ["object", "null"] }, - "manifest": { "type": ["object", "null"] }, - "tag": { - "type": "object", - "properties": { - "digest": { "type": "string" }, - "name": { "type": "string" } - } - } - } - }, - "created_at": { "type": "string" }, - "description": { "type": "string" }, - "docker_metadata": { - "type": "array", - "items": { - "type": "object", - "properties": { - "tags": { - "type": "array", - "items": { "type": "string" } - } - } - } - }, - "draft": { "type": "boolean" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "installation_command": { "type": "string" }, - "manifest": { "type": "string" }, - "metadata": { - "type": "array", - "items": { "type": "object", "additionalProperties": true } - }, - "name": { "type": "string" }, - "npm_metadata": { - "type": ["object", "null"], - "properties": { - "name": { "type": "string" }, - "version": { "type": "string" }, - "npm_user": { "type": "string" }, - "author": { - "oneOf": [{ "type": "string" }, { "type": "object" }], - "type": ["null", "string", "object"] - }, - "bugs": { - "oneOf": [{ "type": "string" }, { "type": "object" }], - "type": ["null", "string", "object"] - }, - "dependencies": { "type": "object" }, - "dev_dependencies": { "type": "object" }, - "peer_dependencies": { "type": "object" }, - "optional_dependencies": { "type": "object" }, - "description": { "type": "string" }, - "dist": { - "oneOf": [{ "type": "string" }, { "type": "object" }], - "type": ["null", "string", "object"] - }, - "git_head": { "type": "string" }, - "homepage": { "type": "string" }, - "license": { "type": "string" }, - "main": { "type": "string" }, - "repository": { - "oneOf": [{ "type": "string" }, { "type": "object" }], - "type": ["null", "string", "object"] - }, - "scripts": { "type": "object" }, - "id": { "type": "string" }, - "node_version": { "type": "string" }, - "npm_version": { "type": "string" }, - "has_shrinkwrap": { "type": "boolean" }, - "maintainers": { - "type": "array", - "items": { "type": "string" } - }, - "contributors": { - "type": "array", - "items": { "type": "string" } - }, - "engines": { "type": "object" }, - "keywords": { - "type": "array", - "items": { "type": "string" } - }, - "files": { - "type": "array", - "items": { "type": "string" } - }, - "bin": { "type": "object" }, - "man": { "type": "object" }, - "directories": { - "oneOf": [{ "type": "string" }, { "type": "object" }], - "type": ["null", "string", "object"] - }, - "os": { "type": "array", "items": { "type": "string" } }, - "cpu": { "type": "array", "items": { "type": "string" } }, - "readme": { "type": "string" }, - "installation_command": { "type": "string" }, - "release_id": { "type": "integer" }, - "commit_oid": { "type": "string" }, - "published_via_actions": { "type": "boolean" }, - "deleted_by_id": { "type": "integer" } - } - }, - "nuget_metadata": { - "type": ["array", "null"], - "items": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { "type": "string" }, - { "type": "object" }, - { "type": "integer" } - ], - "type": ["null", "string", "object", "integer"] - }, - "name": { "type": "string" }, - "value": { - "oneOf": [ - { "type": "boolean" }, - { "type": "string" }, - { "type": "integer" }, - { - "type": "object", - "properties": { - "url": { "type": "string" }, - "branch": { "type": "string" }, - "commit": { "type": "string" }, - "type": { "type": "string" } - } - } - ] - } - } - } - }, - "package_files": { - "type": "array", - "items": { - "type": "object", - "properties": { - "content_type": { "type": "string" }, - "created_at": { "type": "string" }, - "download_url": { "type": "string" }, - "id": { "type": "integer" }, - "md5": { "type": ["string", "null"] }, - "name": { "type": "string" }, - "sha1": { "type": ["string", "null"] }, - "sha256": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "state": { "type": ["string", "null"] }, - "updated_at": { "type": "string" } - }, - "required": [ - "download_url", - "id", - "name", - "sha256", - "sha1", - "md5", - "content_type", - "state", - "size", - "created_at", - "updated_at" - ] - } - }, - "package_url": { "type": "string" }, - "prerelease": { "type": "boolean" }, - "release": { - "type": "object", - "properties": { - "author": { - "type": "object", - "properties": { - "avatar_url": { "type": "string" }, - "events_url": { "type": "string" }, - "followers_url": { "type": "string" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string" }, - "received_events_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string" }, - "user_view_type": { "type": "string" } - } - }, - "created_at": { "type": "string" }, - "draft": { "type": "boolean" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "name": { "type": ["string", "null"] }, - "prerelease": { "type": "boolean" }, - "published_at": { "type": "string" }, - "tag_name": { "type": "string" }, - "target_commitish": { "type": "string" }, - "url": { "type": "string" } - } - }, - "rubygems_metadata": { - "type": "array", - "items": { - "$ref": "#/components/schemas/webhook-rubygems-metadata" - } - }, - "summary": { "type": "string" }, - "tag_name": { "type": "string" }, - "target_commitish": { "type": "string" }, - "target_oid": { "type": "string" }, - "updated_at": { "type": "string" }, - "version": { "type": "string" } - }, - "required": [ - "id", - "version", - "name", - "description", - "summary", - "html_url", - "metadata", - "package_files", - "installation_command", - "package_url" - ] - }, - "registry": { - "type": ["object", "null"], - "properties": { - "about_url": { "type": "string" }, - "name": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string" }, - "vendor": { "type": "string" } - } - }, - "updated_at": { "type": ["string", "null"] } - }, - "required": [ - "id", - "name", - "namespace", - "description", - "ecosystem", - "package_type", - "html_url", - "created_at", - "updated_at", - "owner", - "package_version", - "registry" - ] - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "registry_package", "sender"] - }, - "webhook-registry-package-updated": { - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["updated"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "registry_package": { - "type": "object", - "properties": { - "created_at": { "type": "string" }, - "description": { "type": ["null"] }, - "ecosystem": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "name": { "type": "string" }, - "namespace": { "type": "string" }, - "owner": { - "type": "object", - "properties": { - "avatar_url": { "type": "string" }, - "events_url": { "type": "string" }, - "followers_url": { "type": "string" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string" }, - "received_events_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string" }, - "user_view_type": { "type": "string" } - }, - "required": [ - "login", - "id", - "node_id", - "avatar_url", - "gravatar_id", - "url", - "html_url", - "followers_url", - "following_url", - "gists_url", - "starred_url", - "subscriptions_url", - "organizations_url", - "repos_url", - "events_url", - "received_events_url", - "type", - "site_admin" - ] - }, - "package_type": { "type": "string" }, - "package_version": { - "type": "object", - "properties": { - "author": { - "type": "object", - "properties": { - "avatar_url": { "type": "string" }, - "events_url": { "type": "string" }, - "followers_url": { "type": "string" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string" }, - "received_events_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string" }, - "user_view_type": { "type": "string" } - }, - "required": [ - "login", - "id", - "node_id", - "avatar_url", - "gravatar_id", - "url", - "html_url", - "followers_url", - "following_url", - "gists_url", - "starred_url", - "subscriptions_url", - "organizations_url", - "repos_url", - "events_url", - "received_events_url", - "type", - "site_admin" - ] - }, - "body": { "type": "string" }, - "body_html": { "type": "string" }, - "created_at": { "type": "string" }, - "description": { "type": "string" }, - "docker_metadata": { - "type": "array", - "items": { - "type": ["object", "null"], - "properties": { - "tags": { - "type": "array", - "items": { "type": "string" } - } - } - } - }, - "draft": { "type": "boolean" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "installation_command": { "type": "string" }, - "manifest": { "type": "string" }, - "metadata": { - "type": "array", - "items": { "type": "object", "additionalProperties": true } - }, - "name": { "type": "string" }, - "package_files": { - "type": "array", - "items": { - "type": "object", - "properties": { - "content_type": { "type": "string" }, - "created_at": { "type": "string" }, - "download_url": { "type": "string" }, - "id": { "type": "integer" }, - "md5": { "type": ["string", "null"] }, - "name": { "type": "string" }, - "sha1": { "type": ["string", "null"] }, - "sha256": { "type": "string" }, - "size": { "type": "integer" }, - "state": { "type": "string" }, - "updated_at": { "type": "string" } - } - } - }, - "package_url": { "type": "string" }, - "prerelease": { "type": "boolean" }, - "release": { - "type": "object", - "properties": { - "author": { - "type": "object", - "properties": { - "avatar_url": { "type": "string" }, - "events_url": { "type": "string" }, - "followers_url": { "type": "string" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string" }, - "received_events_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string" }, - "user_view_type": { "type": "string" } - }, - "required": [ - "login", - "id", - "node_id", - "avatar_url", - "gravatar_id", - "url", - "html_url", - "followers_url", - "following_url", - "gists_url", - "starred_url", - "subscriptions_url", - "organizations_url", - "repos_url", - "events_url", - "received_events_url", - "type", - "site_admin" - ] - }, - "created_at": { "type": "string" }, - "draft": { "type": "boolean" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "name": { "type": "string" }, - "prerelease": { "type": "boolean" }, - "published_at": { "type": "string" }, - "tag_name": { "type": "string" }, - "target_commitish": { "type": "string" }, - "url": { "type": "string" } - }, - "required": [ - "url", - "html_url", - "id", - "tag_name", - "target_commitish", - "name", - "draft", - "author", - "prerelease", - "created_at", - "published_at" - ] - }, - "rubygems_metadata": { - "type": "array", - "items": { - "$ref": "#/components/schemas/webhook-rubygems-metadata" - } - }, - "summary": { "type": "string" }, - "tag_name": { "type": "string" }, - "target_commitish": { "type": "string" }, - "target_oid": { "type": "string" }, - "updated_at": { "type": "string" }, - "version": { "type": "string" } - }, - "required": [ - "id", - "version", - "name", - "description", - "summary", - "body", - "body_html", - "html_url", - "target_commitish", - "target_oid", - "created_at", - "updated_at", - "metadata", - "package_files", - "author", - "installation_command", - "package_url" - ] - }, - "registry": { "type": ["object", "null"] }, - "updated_at": { "type": "string" } - }, - "required": [ - "id", - "name", - "namespace", - "description", - "ecosystem", - "package_type", - "html_url", - "created_at", - "updated_at", - "owner", - "package_version", - "registry" - ] - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "registry_package", "sender"] - }, - "webhook-release-created": { - "title": "release created event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "release": { "$ref": "#/components/schemas/webhooks_release" }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "release", "repository", "sender"] - }, - "webhook-release-deleted": { - "title": "release deleted event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["deleted"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "release": { "$ref": "#/components/schemas/webhooks_release" }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "release", "repository", "sender"] - }, - "webhook-release-edited": { - "title": "release edited event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["edited"] }, - "changes": { - "type": "object", - "properties": { - "body": { - "type": "object", - "properties": { - "from": { - "description": "The previous version of the body if the action was `edited`.", - "type": "string" - } - }, - "required": ["from"] - }, - "name": { - "type": "object", - "properties": { - "from": { - "description": "The previous version of the name if the action was `edited`.", - "type": "string" - } - }, - "required": ["from"] - }, - "tag_name": { - "type": "object", - "properties": { - "from": { - "description": "The previous version of the tag_name if the action was `edited`.", - "type": "string" - } - }, - "required": ["from"] - }, - "make_latest": { - "type": "object", - "properties": { - "to": { - "description": "Whether this release was explicitly `edited` to be the latest.", - "type": "boolean" - } - }, - "required": ["to"] - } - } - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "release": { "$ref": "#/components/schemas/webhooks_release" }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "changes", "release", "repository"] - }, - "webhook-release-prereleased": { - "title": "release prereleased event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["prereleased"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "release": { - "title": "Release", - "description": "The [release](https://docs.github.com/enterprise-server@3.13/rest/releases/releases/#get-a-release) object.", - "type": "object", - "required": [ - "assets", - "assets_url", - "author", - "body", - "created_at", - "draft", - "html_url", - "id", - "name", - "node_id", - "prerelease", - "published_at", - "tag_name", - "tarball_url", - "target_commitish", - "upload_url", - "url", - "zipball_url" - ], - "properties": { - "assets": { - "type": "array", - "items": { - "title": "Release Asset", - "description": "Data related to a release.", - "type": ["object", "null"], - "required": [ - "url", - "browser_download_url", - "id", - "node_id", - "name", - "label", - "state", - "digest", - "content_type", - "size", - "download_count", - "created_at", - "updated_at" - ], - "properties": { - "browser_download_url": { - "type": "string", - "format": "uri" - }, - "content_type": { "type": "string" }, - "created_at": { "type": "string", "format": "date-time" }, - "download_count": { "type": "integer" }, - "id": { "type": "integer" }, - "label": { "type": ["string", "null"] }, - "name": { - "description": "The file name of the asset.", - "type": "string" - }, - "node_id": { "type": "string" }, - "size": { "type": "integer" }, - "digest": { "type": ["string", "null"] }, - "state": { - "description": "State of the release asset.", - "type": "string", - "enum": ["uploaded"] - }, - "updated_at": { "type": "string", "format": "date-time" }, - "uploader": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" } - } - }, - "url": { "type": "string", "format": "uri" } - } - } - }, - "assets_url": { "type": "string", "format": "uri" }, - "author": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - } - }, - "body": { "type": ["string", "null"] }, - "created_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "discussion_url": { "type": "string", "format": "uri" }, - "draft": { - "description": "Whether the release is a draft or published", - "type": "boolean" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "name": { "type": ["string", "null"] }, - "node_id": { "type": "string" }, - "prerelease": { - "description": "Whether the release is identified as a prerelease or a full release.", - "type": "boolean", - "enum": [true] - }, - "published_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "reactions": { - "title": "Reactions", - "type": "object", - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ], - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - } - }, - "tag_name": { - "description": "The name of the tag.", - "type": "string" - }, - "tarball_url": { "type": ["string", "null"], "format": "uri" }, - "target_commitish": { - "description": "Specifies the commitish value that determines where the Git tag is created from.", - "type": "string" - }, - "upload_url": { "type": "string", "format": "uri-template" }, - "url": { "type": "string", "format": "uri" }, - "zipball_url": { "type": ["string", "null"], "format": "uri" } - } - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "release", "repository"] - }, - "webhook-release-published": { - "title": "release published event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["published"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "release": { "$ref": "#/components/schemas/webhooks_release_1" }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "release", "repository"] - }, - "webhook-release-released": { - "title": "release released event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["released"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "release": { "$ref": "#/components/schemas/webhooks_release" }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "release", "repository"] - }, - "webhook-release-unpublished": { - "title": "release unpublished event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["unpublished"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "release": { "$ref": "#/components/schemas/webhooks_release_1" }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "release", "repository"] - }, - "webhook-repository-anonymous-access-disabled": { - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["anonymous_access_disabled"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action"] - }, - "webhook-repository-anonymous-access-enabled": { - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["anonymous_access_enabled"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action"] - }, - "webhook-repository-archived": { - "title": "repository archived event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["archived"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "repository", "sender"] - }, - "webhook-repository-created": { - "title": "repository created event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "repository", "sender"] - }, - "webhook-repository-deleted": { - "title": "repository deleted event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["deleted"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "repository", "sender"] - }, - "webhook-repository-dispatch-sample": { - "title": "repository_dispatch event", - "type": "object", - "properties": { - "action": { - "type": "string", - "description": "The `event_type` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body." - }, - "branch": { "type": "string" }, - "client_payload": { - "type": ["object", "null"], - "additionalProperties": true, - "description": "The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body." - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "action", - "branch", - "client_payload", - "repository", - "sender", - "installation" - ] - }, - "webhook-repository-edited": { - "title": "repository edited event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["edited"] }, - "changes": { - "type": "object", - "properties": { - "default_branch": { - "type": "object", - "properties": { "from": { "type": "string" } }, - "required": ["from"] - }, - "description": { - "type": "object", - "properties": { "from": { "type": ["string", "null"] } }, - "required": ["from"] - }, - "homepage": { - "type": "object", - "properties": { "from": { "type": ["string", "null"] } }, - "required": ["from"] - }, - "topics": { - "type": "object", - "properties": { - "from": { - "type": ["array", "null"], - "items": { "type": "string" } - } - } - } - } - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "changes", "repository", "sender"] - }, - "webhook-repository-privatized": { - "title": "repository privatized event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["privatized"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "repository", "sender"] - }, - "webhook-repository-publicized": { - "title": "repository publicized event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["publicized"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "repository", "sender"] - }, - "webhook-repository-renamed": { - "title": "repository renamed event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["renamed"] }, - "changes": { - "type": "object", - "properties": { - "repository": { - "type": "object", - "properties": { - "name": { - "type": "object", - "properties": { "from": { "type": "string" } }, - "required": ["from"] - } - }, - "required": ["name"] - } - }, - "required": ["repository"] - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "changes", "repository", "sender"] - }, - "webhook-repository-ruleset-created": { - "title": "repository ruleset created event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "repository_ruleset": { - "$ref": "#/components/schemas/repository-ruleset" - }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "repository_ruleset", "sender"] - }, - "webhook-repository-ruleset-deleted": { - "title": "repository ruleset deleted event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["deleted"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "repository_ruleset": { - "$ref": "#/components/schemas/repository-ruleset" - }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "repository_ruleset", "sender"] - }, - "webhook-repository-ruleset-edited": { - "title": "repository ruleset edited event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["edited"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "repository_ruleset": { - "$ref": "#/components/schemas/repository-ruleset" - }, - "changes": { - "type": "object", - "properties": { - "name": { - "type": "object", - "properties": { "from": { "type": "string" } } - }, - "enforcement": { - "type": "object", - "properties": { "from": { "type": "string" } } - }, - "conditions": { - "type": "object", - "properties": { - "added": { - "type": "array", - "items": { - "$ref": "#/components/schemas/repository-ruleset-conditions" - } - }, - "deleted": { - "type": "array", - "items": { - "$ref": "#/components/schemas/repository-ruleset-conditions" - } - }, - "updated": { - "type": "array", - "items": { - "type": "object", - "properties": { - "condition": { - "$ref": "#/components/schemas/repository-ruleset-conditions" - }, - "changes": { - "type": "object", - "properties": { - "condition_type": { - "type": "object", - "properties": { "from": { "type": "string" } } - }, - "target": { - "type": "object", - "properties": { "from": { "type": "string" } } - }, - "include": { - "type": "object", - "properties": { - "from": { - "type": "array", - "items": { "type": "string" } - } - } - }, - "exclude": { - "type": "object", - "properties": { - "from": { - "type": "array", - "items": { "type": "string" } - } - } - } - } - } - } - } - } - } - }, - "rules": { - "type": "object", - "properties": { - "added": { - "type": "array", - "items": { "$ref": "#/components/schemas/repository-rule" } - }, - "deleted": { - "type": "array", - "items": { "$ref": "#/components/schemas/repository-rule" } - }, - "updated": { - "type": "array", - "items": { - "type": "object", - "properties": { - "rule": { - "$ref": "#/components/schemas/repository-rule" - }, - "changes": { - "type": "object", - "properties": { - "configuration": { - "type": "object", - "properties": { "from": { "type": "string" } } - }, - "rule_type": { - "type": "object", - "properties": { "from": { "type": "string" } } - }, - "pattern": { - "type": "object", - "properties": { "from": { "type": "string" } } - } - } - } - } - } - } - } - } - } - }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "repository_ruleset", "sender"] - }, - "webhook-repository-transferred": { - "title": "repository transferred event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["transferred"] }, - "changes": { - "type": "object", - "properties": { - "owner": { - "type": "object", - "properties": { - "from": { - "type": "object", - "properties": { - "organization": { - "title": "Organization", - "type": "object", - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri" }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "issues_url": { "type": "string", "format": "uri" }, - "login": { "type": "string" }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "node_id": { "type": "string" }, - "public_members_url": { - "type": "string", - "format": "uri-template" - }, - "repos_url": { "type": "string", "format": "uri" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "login", - "id", - "node_id", - "url", - "repos_url", - "events_url", - "hooks_url", - "issues_url", - "members_url", - "public_members_url", - "avatar_url", - "description" - ] - }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - } - } - }, - "required": ["from"] - } - }, - "required": ["owner"] - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "changes", "repository", "sender"] - }, - "webhook-repository-unarchived": { - "title": "repository unarchived event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["unarchived"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "repository", "sender"] - }, - "webhook-repository-vulnerability-alert-create": { - "title": "repository_vulnerability_alert create event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["create"] }, - "alert": { "$ref": "#/components/schemas/webhooks_alert" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "alert", "repository", "sender"] - }, - "webhook-repository-vulnerability-alert-dismiss": { - "title": "repository_vulnerability_alert dismiss event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["dismiss"] }, - "alert": { - "title": "Repository Vulnerability Alert Alert", - "description": "The security alert of the vulnerable dependency.", - "type": "object", - "required": [ - "affected_package_name", - "affected_range", - "created_at", - "dismiss_reason", - "dismissed_at", - "dismisser", - "external_identifier", - "external_reference", - "ghsa_id", - "id", - "node_id", - "number", - "severity", - "state" - ], - "properties": { - "affected_package_name": { "type": "string" }, - "affected_range": { "type": "string" }, - "created_at": { "type": "string" }, - "dismiss_comment": { "type": ["string", "null"] }, - "dismiss_reason": { "type": "string" }, - "dismissed_at": { "type": "string" }, - "dismisser": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - } - }, - "external_identifier": { "type": "string" }, - "external_reference": { - "type": ["string", "null"], - "format": "uri" - }, - "fix_reason": { "type": "string" }, - "fixed_at": { "type": "string", "format": "date-time" }, - "fixed_in": { "type": "string" }, - "ghsa_id": { "type": "string" }, - "id": { "type": "integer" }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "severity": { "type": "string" }, - "state": { "type": "string", "enum": ["dismissed"] } - } - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "alert", "repository", "sender"] - }, - "webhook-repository-vulnerability-alert-reopen": { - "title": "repository_vulnerability_alert reopen event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["reopen"] }, - "alert": { "$ref": "#/components/schemas/webhooks_alert" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "alert", "repository", "sender"] - }, - "webhook-repository-vulnerability-alert-resolve": { - "title": "repository_vulnerability_alert resolve event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["resolve"] }, - "alert": { - "title": "Repository Vulnerability Alert Alert", - "description": "The security alert of the vulnerable dependency.", - "type": "object", - "required": [ - "affected_package_name", - "affected_range", - "created_at", - "external_identifier", - "external_reference", - "ghsa_id", - "id", - "node_id", - "number", - "severity", - "state" - ], - "properties": { - "affected_package_name": { "type": "string" }, - "affected_range": { "type": "string" }, - "created_at": { "type": "string" }, - "dismiss_reason": { "type": "string" }, - "dismissed_at": { "type": "string" }, - "dismisser": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" } - } - }, - "external_identifier": { "type": "string" }, - "external_reference": { - "type": ["string", "null"], - "format": "uri" - }, - "fix_reason": { "type": "string" }, - "fixed_at": { "type": "string", "format": "date-time" }, - "fixed_in": { "type": "string" }, - "ghsa_id": { "type": "string" }, - "id": { "type": "integer" }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "severity": { "type": "string" }, - "state": { "type": "string", "enum": ["fixed", "open"] } - } - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "alert", "repository", "sender"] - }, - "webhook-secret-scanning-alert-created": { - "title": "secret_scanning_alert created event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "alert": { - "$ref": "#/components/schemas/secret-scanning-alert-webhook" - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "alert", "repository"] - }, - "webhook-secret-scanning-alert-location-created": { - "title": "Secret Scanning Alert Location Created Event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "alert": { - "$ref": "#/components/schemas/secret-scanning-alert-webhook" - }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "location": { - "$ref": "#/components/schemas/secret-scanning-location" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["location", "alert", "repository", "sender"] - }, - "webhook-secret-scanning-alert-location-created-form-encoded": { - "title": "Secret Scanning Alert Location Created Event", - "type": "object", - "properties": { - "payload": { - "description": "A URL-encoded string of the secret_scanning_alert_location.created JSON payload. The decoded payload is a JSON object.", - "type": "string" - } - }, - "required": ["payload"] - }, - "webhook-secret-scanning-alert-reopened": { - "title": "secret_scanning_alert reopened event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["reopened"] }, - "alert": { - "$ref": "#/components/schemas/secret-scanning-alert-webhook" - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "alert", "repository"] - }, - "webhook-secret-scanning-alert-resolved": { - "title": "secret_scanning_alert resolved event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["resolved"] }, - "alert": { - "$ref": "#/components/schemas/secret-scanning-alert-webhook" - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "alert", "repository"] - }, - "webhook-secret-scanning-alert-validated": { - "title": "secret_scanning_alert validated event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["validated"] }, - "alert": { - "$ref": "#/components/schemas/secret-scanning-alert-webhook" - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "alert", "repository"] - }, - "webhook-security-advisory-published": { - "title": "security_advisory published event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["published"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "security_advisory": { - "$ref": "#/components/schemas/webhooks_security_advisory" - }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "security_advisory"] - }, - "webhook-security-advisory-updated": { - "title": "security_advisory updated event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["updated"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "security_advisory": { - "$ref": "#/components/schemas/webhooks_security_advisory" - }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "security_advisory"] - }, - "webhook-security-advisory-withdrawn": { - "title": "security_advisory withdrawn event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["withdrawn"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "security_advisory": { - "description": "The details of the security advisory, including summary, description, and severity.", - "type": "object", - "properties": { - "cvss": { - "type": "object", - "properties": { - "score": { "type": "number" }, - "vector_string": { "type": ["string", "null"] } - }, - "required": ["vector_string", "score"] - }, - "cvss_severities": { - "$ref": "#/components/schemas/cvss-severities" - }, - "cwes": { - "type": "array", - "items": { - "type": "object", - "properties": { - "cwe_id": { "type": "string" }, - "name": { "type": "string" } - }, - "required": ["cwe_id", "name"] - } - }, - "description": { "type": "string" }, - "ghsa_id": { "type": "string" }, - "identifiers": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { "type": "string" }, - "value": { "type": "string" } - }, - "required": ["value", "type"] - } - }, - "published_at": { "type": "string" }, - "references": { - "type": "array", - "items": { - "type": "object", - "properties": { - "url": { "type": "string", "format": "uri" } - }, - "required": ["url"] - } - }, - "severity": { "type": "string" }, - "summary": { "type": "string" }, - "updated_at": { "type": "string" }, - "vulnerabilities": { - "type": "array", - "items": { - "type": "object", - "properties": { - "first_patched_version": { - "type": ["object", "null"], - "properties": { "identifier": { "type": "string" } }, - "required": ["identifier"] - }, - "package": { - "type": "object", - "properties": { - "ecosystem": { "type": "string" }, - "name": { "type": "string" } - }, - "required": ["ecosystem", "name"] - }, - "severity": { "type": "string" }, - "vulnerable_version_range": { "type": "string" } - }, - "required": [ - "package", - "severity", - "vulnerable_version_range", - "first_patched_version" - ] - } - }, - "withdrawn_at": { "type": "string" } - }, - "required": [ - "cvss", - "cwes", - "ghsa_id", - "summary", - "description", - "severity", - "identifiers", - "references", - "published_at", - "updated_at", - "withdrawn_at", - "vulnerabilities" - ] - }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "security_advisory"] - }, - "webhook-security-and-analysis": { - "title": "security_and_analysis event", - "type": "object", - "properties": { - "changes": { - "type": "object", - "properties": { - "from": { - "type": "object", - "properties": { - "security_and_analysis": { - "$ref": "#/components/schemas/security-and-analysis" - } - } - } - } - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/full-repository" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["changes", "repository"] - }, - "webhook-sponsorship-cancelled": { - "title": "sponsorship cancelled event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["cancelled"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "sponsorship": { "$ref": "#/components/schemas/webhooks_sponsorship" } - }, - "required": ["action", "sponsorship", "sender"] - }, - "webhook-sponsorship-created": { - "title": "sponsorship created event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "sponsorship": { "$ref": "#/components/schemas/webhooks_sponsorship" } - }, - "required": ["action", "sponsorship", "sender"] - }, - "webhook-sponsorship-edited": { - "title": "sponsorship edited event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["edited"] }, - "changes": { - "type": "object", - "properties": { - "privacy_level": { - "type": "object", - "properties": { - "from": { - "description": "The `edited` event types include the details about the change when someone edits a sponsorship to change the privacy.", - "type": "string" - } - }, - "required": ["from"] - } - } - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "sponsorship": { "$ref": "#/components/schemas/webhooks_sponsorship" } - }, - "required": ["action", "changes", "sponsorship", "sender"] - }, - "webhook-sponsorship-pending-cancellation": { - "title": "sponsorship pending_cancellation event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["pending_cancellation"] }, - "effective_date": { - "$ref": "#/components/schemas/webhooks_effective_date" - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "sponsorship": { "$ref": "#/components/schemas/webhooks_sponsorship" } - }, - "required": ["action", "sponsorship", "sender"] - }, - "webhook-sponsorship-pending-tier-change": { - "title": "sponsorship pending_tier_change event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["pending_tier_change"] }, - "changes": { "$ref": "#/components/schemas/webhooks_changes_8" }, - "effective_date": { - "$ref": "#/components/schemas/webhooks_effective_date" - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "sponsorship": { "$ref": "#/components/schemas/webhooks_sponsorship" } - }, - "required": ["action", "changes", "sponsorship", "sender"] - }, - "webhook-sponsorship-tier-changed": { - "title": "sponsorship tier_changed event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["tier_changed"] }, - "changes": { "$ref": "#/components/schemas/webhooks_changes_8" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "sponsorship": { "$ref": "#/components/schemas/webhooks_sponsorship" } - }, - "required": ["action", "changes", "sponsorship", "sender"] - }, - "webhook-star-created": { - "title": "star created event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "starred_at": { - "description": "The time the star was created. This is a timestamp in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. Will be `null` for the `deleted` action.", - "type": ["string", "null"] - } - }, - "required": ["action", "starred_at", "repository", "sender"] - }, - "webhook-star-deleted": { - "title": "star deleted event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["deleted"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "starred_at": { - "description": "The time the star was created. This is a timestamp in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. Will be `null` for the `deleted` action.", - "type": ["null"] - } - }, - "required": ["action", "starred_at", "repository", "sender"] - }, - "webhook-status": { - "title": "status event", - "type": "object", - "properties": { - "avatar_url": { "type": ["string", "null"], "format": "uri" }, - "branches": { - "description": "An array of branch objects containing the status' SHA. Each branch contains the given SHA, but the SHA may or may not be the head of the branch. The array includes a maximum of 10 branches.", - "type": "array", - "items": { - "type": "object", - "properties": { - "commit": { - "type": "object", - "properties": { - "sha": { "type": ["string", "null"] }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["sha", "url"] - }, - "name": { "type": "string" }, - "protected": { "type": "boolean" } - }, - "required": ["name", "commit", "protected"] - } - }, - "commit": { - "type": "object", - "properties": { - "author": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" } - } - }, - "comments_url": { "type": "string", "format": "uri" }, - "commit": { - "type": "object", - "properties": { - "author": { - "allOf": [ - { - "title": "Committer", - "description": "Metaproperties for Git author/committer information.", - "type": "object", - "properties": { - "date": { "type": "string", "format": "date-time" }, - "email": { - "type": ["string", "null"], - "format": "email" - }, - "name": { - "description": "The git author's name.", - "type": "string" - }, - "username": { "type": "string" } - }, - "required": ["email", "name"] - }, - { - "type": "object", - "properties": { - "date": { "type": "string" }, - "email": { "type": "string" }, - "name": { "type": "string" } - }, - "required": ["date"] - } - ] - }, - "comment_count": { "type": "integer" }, - "committer": { - "allOf": [ - { - "title": "Committer", - "description": "Metaproperties for Git author/committer information.", - "type": "object", - "properties": { - "date": { "type": "string", "format": "date-time" }, - "email": { - "type": ["string", "null"], - "format": "email" - }, - "name": { - "description": "The git author's name.", - "type": "string" - }, - "username": { "type": "string" } - }, - "required": ["email", "name"] - }, - { - "type": "object", - "properties": { - "date": { "type": "string" }, - "email": { "type": "string" }, - "name": { "type": "string" } - }, - "required": ["date"] - } - ] - }, - "message": { "type": "string" }, - "tree": { - "type": "object", - "properties": { - "sha": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["sha", "url"] - }, - "url": { "type": "string", "format": "uri" }, - "verification": { - "type": "object", - "properties": { - "payload": { "type": ["string", "null"] }, - "reason": { - "type": "string", - "enum": [ - "expired_key", - "not_signing_key", - "gpgverify_error", - "gpgverify_unavailable", - "unsigned", - "unknown_signature_type", - "no_user", - "unverified_email", - "bad_email", - "unknown_key", - "malformed_signature", - "invalid", - "valid", - "bad_cert", - "ocsp_pending" - ] - }, - "signature": { "type": ["string", "null"] }, - "verified": { "type": "boolean" } - }, - "required": ["verified", "reason", "signature", "payload"] - } - }, - "required": [ - "author", - "committer", - "message", - "tree", - "url", - "comment_count", - "verification" - ] - }, - "committer": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" } - } - }, - "html_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "parents": { - "type": "array", - "items": { - "type": "object", - "properties": { - "html_url": { "type": "string", "format": "uri" }, - "sha": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["sha", "url", "html_url"] - } - }, - "sha": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "sha", - "node_id", - "commit", - "url", - "html_url", - "comments_url", - "author", - "committer", - "parents" - ] - }, - "context": { "type": "string" }, - "created_at": { "type": "string" }, - "description": { - "description": "The optional human-readable description added to the status.", - "type": ["string", "null"] - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "id": { - "description": "The unique identifier of the status.", - "type": "integer" - }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "name": { "type": "string" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "sha": { "description": "The Commit SHA.", "type": "string" }, - "state": { - "description": "The new state. Can be `pending`, `success`, `failure`, or `error`.", - "type": "string", - "enum": ["pending", "success", "failure", "error"] - }, - "target_url": { - "description": "The optional link added to the status.", - "type": ["string", "null"] - }, - "updated_at": { "type": "string" } - }, - "required": [ - "id", - "sha", - "name", - "target_url", - "context", - "description", - "state", - "commit", - "branches", - "created_at", - "updated_at", - "repository", - "sender" - ] - }, - "webhook-team-add": { - "title": "team_add event", - "type": "object", - "properties": { - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "team": { "$ref": "#/components/schemas/webhooks_team_1" } - }, - "required": ["team", "repository", "sender"] - }, - "webhook-team-added-to-repository": { - "title": "team added_to_repository event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["added_to_repository"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { "type": "string", "format": "uri-template" }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { "type": "string", "format": "uri-template" }, - "blobs_url": { "type": "string", "format": "uri-template" }, - "branches_url": { "type": "string", "format": "uri-template" }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { "type": "string", "format": "uri-template" }, - "commits_url": { "type": "string", "format": "uri-template" }, - "compare_url": { "type": "string", "format": "uri-template" }, - "contents_url": { "type": "string", "format": "uri-template" }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "custom_properties": { - "type": "object", - "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", - "additionalProperties": true - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { "type": "string", "format": "uri-template" }, - "git_refs_url": { "type": "string", "format": "uri-template" }, - "git_tags_url": { "type": "string", "format": "uri-template" }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { "type": "string", "format": "uri-template" }, - "keys_url": { "type": "string", "format": "uri-template" }, - "labels_url": { "type": "string", "format": "uri-template" }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { "type": "string", "format": "uri-template" }, - "mirror_url": { "type": ["string", "null"], "format": "uri" }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { "type": "string", "format": "uri-template" }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { "type": "string", "format": "uri-template" }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { "type": "string", "format": "uri-template" }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { "type": "array", "items": { "type": "string" } }, - "trees_url": { "type": "string", "format": "uri-template" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "team": { "$ref": "#/components/schemas/webhooks_team_1" } - }, - "required": ["action", "team", "organization"] - }, - "webhook-team-created": { - "title": "team created event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { "type": "string", "format": "uri-template" }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { "type": "string", "format": "uri-template" }, - "blobs_url": { "type": "string", "format": "uri-template" }, - "branches_url": { "type": "string", "format": "uri-template" }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { "type": "string", "format": "uri-template" }, - "commits_url": { "type": "string", "format": "uri-template" }, - "compare_url": { "type": "string", "format": "uri-template" }, - "contents_url": { "type": "string", "format": "uri-template" }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "custom_properties": { - "type": "object", - "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", - "additionalProperties": true - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { "type": "string", "format": "uri-template" }, - "git_refs_url": { "type": "string", "format": "uri-template" }, - "git_tags_url": { "type": "string", "format": "uri-template" }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { "type": "string", "format": "uri-template" }, - "keys_url": { "type": "string", "format": "uri-template" }, - "labels_url": { "type": "string", "format": "uri-template" }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { "type": "string", "format": "uri-template" }, - "mirror_url": { "type": ["string", "null"], "format": "uri" }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { "type": "string", "format": "uri-template" }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { "type": "string", "format": "uri-template" }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { "type": "string", "format": "uri-template" }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { "type": "array", "items": { "type": "string" } }, - "trees_url": { "type": "string", "format": "uri-template" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "team": { "$ref": "#/components/schemas/webhooks_team_1" } - }, - "required": ["action", "team", "organization", "sender"] - }, - "webhook-team-deleted": { - "title": "team deleted event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["deleted"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { "type": "string", "format": "uri-template" }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { "type": "string", "format": "uri-template" }, - "blobs_url": { "type": "string", "format": "uri-template" }, - "branches_url": { "type": "string", "format": "uri-template" }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { "type": "string", "format": "uri-template" }, - "commits_url": { "type": "string", "format": "uri-template" }, - "compare_url": { "type": "string", "format": "uri-template" }, - "contents_url": { "type": "string", "format": "uri-template" }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "custom_properties": { - "type": "object", - "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", - "additionalProperties": true - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { "type": "string", "format": "uri-template" }, - "git_refs_url": { "type": "string", "format": "uri-template" }, - "git_tags_url": { "type": "string", "format": "uri-template" }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { "type": "string", "format": "uri-template" }, - "keys_url": { "type": "string", "format": "uri-template" }, - "labels_url": { "type": "string", "format": "uri-template" }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { "type": "string", "format": "uri-template" }, - "mirror_url": { "type": ["string", "null"], "format": "uri" }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { "type": "string", "format": "uri-template" }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { "type": "string", "format": "uri-template" }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { "type": "string", "format": "uri-template" }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { "type": "array", "items": { "type": "string" } }, - "trees_url": { "type": "string", "format": "uri-template" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "team": { "$ref": "#/components/schemas/webhooks_team_1" } - }, - "required": ["action", "team", "organization"] - }, - "webhook-team-edited": { - "title": "team edited event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["edited"] }, - "changes": { - "description": "The changes to the team if the action was `edited`.", - "type": "object", - "properties": { - "description": { - "type": "object", - "properties": { - "from": { - "description": "The previous version of the description if the action was `edited`.", - "type": "string" - } - }, - "required": ["from"] - }, - "name": { - "type": "object", - "properties": { - "from": { - "description": "The previous version of the name if the action was `edited`.", - "type": "string" - } - }, - "required": ["from"] - }, - "privacy": { - "type": "object", - "properties": { - "from": { - "description": "The previous version of the team's privacy if the action was `edited`.", - "type": "string" - } - }, - "required": ["from"] - }, - "notification_setting": { - "type": "object", - "properties": { - "from": { - "description": "The previous version of the team's notification setting if the action was `edited`.", - "type": "string" - } - }, - "required": ["from"] - }, - "repository": { - "type": "object", - "properties": { - "permissions": { - "type": "object", - "properties": { - "from": { - "type": "object", - "properties": { - "admin": { - "description": "The previous version of the team member's `admin` permission on a repository, if the action was `edited`.", - "type": "boolean" - }, - "pull": { - "description": "The previous version of the team member's `pull` permission on a repository, if the action was `edited`.", - "type": "boolean" - }, - "push": { - "description": "The previous version of the team member's `push` permission on a repository, if the action was `edited`.", - "type": "boolean" - } - } - } - }, - "required": ["from"] - } - }, - "required": ["permissions"] - } - } - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { "type": "string", "format": "uri-template" }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { "type": "string", "format": "uri-template" }, - "blobs_url": { "type": "string", "format": "uri-template" }, - "branches_url": { "type": "string", "format": "uri-template" }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { "type": "string", "format": "uri-template" }, - "commits_url": { "type": "string", "format": "uri-template" }, - "compare_url": { "type": "string", "format": "uri-template" }, - "contents_url": { "type": "string", "format": "uri-template" }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "custom_properties": { - "type": "object", - "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", - "additionalProperties": true - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { "type": "string", "format": "uri-template" }, - "git_refs_url": { "type": "string", "format": "uri-template" }, - "git_tags_url": { "type": "string", "format": "uri-template" }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { "type": "string", "format": "uri-template" }, - "keys_url": { "type": "string", "format": "uri-template" }, - "labels_url": { "type": "string", "format": "uri-template" }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { "type": "string", "format": "uri-template" }, - "mirror_url": { "type": ["string", "null"], "format": "uri" }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { "type": "string", "format": "uri-template" }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { "type": "string", "format": "uri-template" }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { "type": "string", "format": "uri-template" }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { "type": "array", "items": { "type": "string" } }, - "trees_url": { "type": "string", "format": "uri-template" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "team": { "$ref": "#/components/schemas/webhooks_team_1" } - }, - "required": ["action", "changes", "team", "organization", "sender"] - }, - "webhook-team-removed-from-repository": { - "title": "team removed_from_repository event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["removed_from_repository"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { "type": "string", "format": "uri-template" }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { "type": "string", "format": "uri-template" }, - "blobs_url": { "type": "string", "format": "uri-template" }, - "branches_url": { "type": "string", "format": "uri-template" }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { "type": "string", "format": "uri-template" }, - "commits_url": { "type": "string", "format": "uri-template" }, - "compare_url": { "type": "string", "format": "uri-template" }, - "contents_url": { "type": "string", "format": "uri-template" }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "custom_properties": { - "type": "object", - "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", - "additionalProperties": true - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { "type": "string", "format": "uri-template" }, - "git_refs_url": { "type": "string", "format": "uri-template" }, - "git_tags_url": { "type": "string", "format": "uri-template" }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { "type": "string", "format": "uri-template" }, - "keys_url": { "type": "string", "format": "uri-template" }, - "labels_url": { "type": "string", "format": "uri-template" }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { "type": "string", "format": "uri-template" }, - "mirror_url": { "type": ["string", "null"], "format": "uri" }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { "type": "string", "format": "uri-template" }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { "type": "string", "format": "uri-template" }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { "type": "string", "format": "uri-template" }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { "type": "array", "items": { "type": "string" } }, - "trees_url": { "type": "string", "format": "uri-template" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "team": { "$ref": "#/components/schemas/webhooks_team_1" } - }, - "required": ["action", "team", "organization", "sender"] - }, - "webhook-user-created": { - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "user": { "$ref": "#/components/schemas/webhooks_user" } - }, - "required": ["action"] - }, - "webhook-user-deleted": { - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["deleted"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "user": { "$ref": "#/components/schemas/webhooks_user" } - }, - "required": ["action"] - }, - "webhook-watch-started": { - "title": "watch started event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["started"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "repository", "sender"] - }, - "webhook-workflow-dispatch": { - "title": "workflow_dispatch event", - "type": "object", - "properties": { - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "inputs": { - "type": ["object", "null"], - "additionalProperties": true - }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "ref": { "type": "string" }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "workflow": { "type": "string" } - }, - "required": ["inputs", "ref", "repository", "sender", "workflow"] - }, - "webhook-workflow-job-completed": { - "title": "workflow_job completed event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["completed"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "workflow_job": { - "allOf": [ - { - "title": "Workflow Job", - "description": "The workflow job. Many `workflow_job` keys, such as `head_sha`, `conclusion`, and `started_at` are the same as those in a [`check_run`](#check_run) object.", - "type": "object", - "properties": { - "check_run_url": { "type": "string", "format": "uri" }, - "completed_at": { "type": ["string", "null"] }, - "conclusion": { - "type": ["string", "null"], - "enum": [ - "success", - "failure", - null, - "skipped", - "cancelled", - "action_required", - "neutral", - "timed_out" - ] - }, - "created_at": { - "description": "The time that the job created.", - "type": "string" - }, - "head_sha": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels": { - "description": "Custom labels for the job. Specified by the [`\"runs-on\"` attribute](https://docs.github.com/enterprise-server@3.13/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on) in the workflow YAML.", - "type": "array", - "items": { "type": "string" } - }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "run_attempt": { "type": "integer" }, - "run_id": { "type": "number" }, - "run_url": { "type": "string", "format": "uri" }, - "runner_group_id": { - "description": "The ID of the runner group that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`.", - "type": ["integer", "null"] - }, - "runner_group_name": { - "description": "The name of the runner group that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`.", - "type": ["string", "null"] - }, - "runner_id": { - "description": "The ID of the runner that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`.", - "type": ["integer", "null"] - }, - "runner_name": { - "description": "The name of the runner that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`.", - "type": ["string", "null"] - }, - "started_at": { "type": "string" }, - "status": { - "description": "The current status of the job. Can be `queued`, `in_progress`, `waiting`, or `completed`.", - "type": "string", - "enum": ["queued", "in_progress", "completed", "waiting"] - }, - "head_branch": { - "type": ["string", "null"], - "description": "The name of the current branch." - }, - "workflow_name": { - "type": ["string", "null"], - "description": "The name of the workflow." - }, - "steps": { - "type": "array", - "items": { - "title": "Workflow Step", - "type": "object", - "properties": { - "completed_at": { "type": ["string", "null"] }, - "conclusion": { - "type": ["string", "null"], - "enum": [ - "failure", - "skipped", - "success", - "cancelled", - null - ] - }, - "name": { "type": "string" }, - "number": { "type": "integer" }, - "started_at": { "type": ["string", "null"] }, - "status": { - "type": "string", - "enum": ["in_progress", "completed", "queued"] - } - }, - "required": [ - "name", - "status", - "conclusion", - "number", - "started_at", - "completed_at" - ] - } - }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "id", - "run_id", - "run_url", - "run_attempt", - "node_id", - "head_sha", - "url", - "html_url", - "status", - "conclusion", - "started_at", - "completed_at", - "name", - "steps", - "check_run_url", - "labels", - "runner_id", - "runner_name", - "runner_group_id", - "runner_group_name", - "workflow_name", - "head_branch", - "created_at" - ] - }, - { - "type": "object", - "properties": { - "check_run_url": { "type": "string" }, - "completed_at": { "type": "string" }, - "conclusion": { - "type": "string", - "enum": [ - "success", - "failure", - "skipped", - "cancelled", - "action_required", - "neutral", - "timed_out" - ] - }, - "created_at": { - "description": "The time that the job created.", - "type": "string" - }, - "head_sha": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "labels": { - "type": "array", - "items": { "type": ["string", "null"] } - }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "run_attempt": { "type": "integer" }, - "run_id": { "type": "integer" }, - "run_url": { "type": "string" }, - "runner_group_id": { "type": ["number", "null"] }, - "runner_group_name": { "type": ["string", "null"] }, - "runner_id": { "type": ["number", "null"] }, - "runner_name": { "type": ["string", "null"] }, - "started_at": { "type": "string" }, - "status": { "type": "string" }, - "head_branch": { - "type": ["string", "null"], - "description": "The name of the current branch." - }, - "workflow_name": { - "type": ["string", "null"], - "description": "The name of the workflow." - }, - "steps": { - "type": "array", - "items": { "type": ["object", "null"] } - }, - "url": { "type": "string" } - }, - "required": ["conclusion"] - } - ] - }, - "deployment": { "$ref": "#/components/schemas/deployment" } - }, - "required": ["action", "repository", "sender", "workflow_job"] - }, - "webhook-workflow-job-in-progress": { - "title": "workflow_job in_progress event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["in_progress"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "workflow_job": { - "allOf": [ - { - "title": "Workflow Job", - "description": "The workflow job. Many `workflow_job` keys, such as `head_sha`, `conclusion`, and `started_at` are the same as those in a [`check_run`](#check_run) object.", - "type": "object", - "properties": { - "check_run_url": { "type": "string", "format": "uri" }, - "completed_at": { "type": ["string", "null"] }, - "conclusion": { - "type": ["string", "null"], - "enum": ["success", "failure", null, "cancelled", "neutral"] - }, - "created_at": { - "description": "The time that the job created.", - "type": "string" - }, - "head_sha": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels": { - "description": "Custom labels for the job. Specified by the [`\"runs-on\"` attribute](https://docs.github.com/enterprise-server@3.13/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on) in the workflow YAML.", - "type": "array", - "items": { "type": "string" } - }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "run_attempt": { "type": "integer" }, - "run_id": { "type": "number" }, - "run_url": { "type": "string", "format": "uri" }, - "runner_group_id": { - "description": "The ID of the runner group that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`.", - "type": ["integer", "null"] - }, - "runner_group_name": { - "description": "The name of the runner group that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`.", - "type": ["string", "null"] - }, - "runner_id": { - "description": "The ID of the runner that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`.", - "type": ["integer", "null"] - }, - "runner_name": { - "description": "The name of the runner that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`.", - "type": ["string", "null"] - }, - "started_at": { "type": "string" }, - "status": { - "description": "The current status of the job. Can be `queued`, `in_progress`, or `completed`.", - "type": "string", - "enum": ["queued", "in_progress", "completed"] - }, - "head_branch": { - "type": ["string", "null"], - "description": "The name of the current branch." - }, - "workflow_name": { - "type": ["string", "null"], - "description": "The name of the workflow." - }, - "steps": { - "type": "array", - "items": { - "title": "Workflow Step", - "type": "object", - "properties": { - "completed_at": { "type": ["string", "null"] }, - "conclusion": { - "type": ["string", "null"], - "enum": [ - "failure", - "skipped", - "success", - null, - "cancelled" - ] - }, - "name": { "type": "string" }, - "number": { "type": "integer" }, - "started_at": { "type": ["string", "null"] }, - "status": { - "type": "string", - "enum": [ - "in_progress", - "completed", - "queued", - "pending" - ] - } - }, - "required": [ - "name", - "status", - "conclusion", - "number", - "started_at", - "completed_at" - ] - } - }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "id", - "run_id", - "run_url", - "run_attempt", - "node_id", - "head_sha", - "url", - "html_url", - "status", - "conclusion", - "started_at", - "completed_at", - "name", - "steps", - "check_run_url", - "labels", - "runner_id", - "runner_name", - "runner_group_id", - "runner_group_name", - "workflow_name", - "head_branch", - "created_at" - ] - }, - { - "type": "object", - "properties": { - "check_run_url": { "type": "string" }, - "completed_at": { "type": ["string", "null"] }, - "conclusion": { "type": ["string", "null"] }, - "created_at": { - "description": "The time that the job created.", - "type": "string" - }, - "head_sha": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "labels": { "type": "array", "items": { "type": "string" } }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "run_attempt": { "type": "integer" }, - "run_id": { "type": "integer" }, - "run_url": { "type": "string" }, - "runner_group_id": { "type": ["number", "null"] }, - "runner_group_name": { "type": ["string", "null"] }, - "runner_id": { "type": ["number", "null"] }, - "runner_name": { "type": ["string", "null"] }, - "started_at": { "type": "string" }, - "status": { - "type": "string", - "enum": ["in_progress", "completed", "queued"] - }, - "head_branch": { - "type": ["string", "null"], - "description": "The name of the current branch." - }, - "workflow_name": { - "type": ["string", "null"], - "description": "The name of the workflow." - }, - "steps": { - "type": "array", - "items": { - "title": "Workflow Step", - "type": "object", - "properties": { - "completed_at": { "type": ["string", "null"] }, - "conclusion": { "type": ["string", "null"] }, - "name": { "type": "string" }, - "number": { "type": "integer" }, - "started_at": { "type": ["string", "null"] }, - "status": { - "type": "string", - "enum": [ - "in_progress", - "completed", - "pending", - "queued" - ] - } - }, - "required": [ - "name", - "status", - "conclusion", - "number", - "started_at", - "completed_at" - ] - } - }, - "url": { "type": "string" } - }, - "required": ["status", "steps"] - } - ] - }, - "deployment": { "$ref": "#/components/schemas/deployment" } - }, - "required": ["action", "repository", "sender", "workflow_job"] - }, - "webhook-workflow-job-queued": { - "title": "workflow_job queued event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["queued"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "workflow_job": { - "type": "object", - "properties": { - "check_run_url": { "type": "string", "format": "uri" }, - "completed_at": { "type": ["string", "null"] }, - "conclusion": { "type": ["string", "null"] }, - "created_at": { - "description": "The time that the job created.", - "type": "string" - }, - "head_sha": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels": { "type": "array", "items": { "type": "string" } }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "run_attempt": { "type": "integer" }, - "run_id": { "type": "number" }, - "run_url": { "type": "string", "format": "uri" }, - "runner_group_id": { "type": ["integer", "null"] }, - "runner_group_name": { "type": ["string", "null"] }, - "runner_id": { "type": ["integer", "null"] }, - "runner_name": { "type": ["string", "null"] }, - "started_at": { "type": "string", "format": "date-time" }, - "status": { - "type": "string", - "enum": ["queued", "in_progress", "completed", "waiting"] - }, - "head_branch": { - "type": ["string", "null"], - "description": "The name of the current branch." - }, - "workflow_name": { - "type": ["string", "null"], - "description": "The name of the workflow." - }, - "steps": { - "type": "array", - "items": { - "title": "Workflow Step", - "type": "object", - "properties": { - "completed_at": { "type": ["string", "null"] }, - "conclusion": { - "type": ["string", "null"], - "enum": [ - "failure", - "skipped", - "success", - "cancelled", - null - ] - }, - "name": { "type": "string" }, - "number": { "type": "integer" }, - "started_at": { "type": ["string", "null"] }, - "status": { - "type": "string", - "enum": ["completed", "in_progress", "queued", "pending"] - } - }, - "required": [ - "name", - "status", - "conclusion", - "number", - "started_at", - "completed_at" - ] - } - }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "id", - "run_id", - "run_url", - "run_attempt", - "node_id", - "head_sha", - "url", - "html_url", - "status", - "conclusion", - "started_at", - "completed_at", - "name", - "steps", - "check_run_url", - "labels", - "runner_id", - "runner_name", - "runner_group_id", - "runner_group_name", - "workflow_name", - "head_branch", - "created_at" - ] - }, - "deployment": { "$ref": "#/components/schemas/deployment" } - }, - "required": ["action", "repository", "sender", "workflow_job"] - }, - "webhook-workflow-job-waiting": { - "title": "workflow_job waiting event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["waiting"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "workflow_job": { - "type": "object", - "properties": { - "check_run_url": { "type": "string", "format": "uri" }, - "completed_at": { "type": ["string", "null"] }, - "conclusion": { "type": ["string", "null"] }, - "created_at": { - "description": "The time that the job created.", - "type": "string" - }, - "head_sha": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels": { "type": "array", "items": { "type": "string" } }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "run_attempt": { "type": "integer" }, - "run_id": { "type": "number" }, - "run_url": { "type": "string", "format": "uri" }, - "runner_group_id": { "type": ["integer", "null"] }, - "runner_group_name": { "type": ["string", "null"] }, - "runner_id": { "type": ["integer", "null"] }, - "runner_name": { "type": ["string", "null"] }, - "started_at": { "type": "string", "format": "date-time" }, - "head_branch": { - "type": ["string", "null"], - "description": "The name of the current branch." - }, - "workflow_name": { - "type": ["string", "null"], - "description": "The name of the workflow." - }, - "status": { - "type": "string", - "enum": ["queued", "in_progress", "completed", "waiting"] - }, - "steps": { - "type": "array", - "items": { - "title": "Workflow Step", - "type": "object", - "properties": { - "completed_at": { "type": ["string", "null"] }, - "conclusion": { - "type": ["string", "null"], - "enum": [ - "failure", - "skipped", - "success", - "cancelled", - null - ] - }, - "name": { "type": "string" }, - "number": { "type": "integer" }, - "started_at": { "type": ["string", "null"] }, - "status": { - "type": "string", - "enum": [ - "completed", - "in_progress", - "queued", - "pending", - "waiting" - ] - } - }, - "required": [ - "name", - "status", - "conclusion", - "number", - "started_at", - "completed_at" - ] - } - }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "id", - "run_id", - "run_url", - "run_attempt", - "node_id", - "head_sha", - "url", - "html_url", - "status", - "conclusion", - "started_at", - "completed_at", - "name", - "steps", - "check_run_url", - "labels", - "runner_id", - "runner_name", - "runner_group_id", - "runner_group_name", - "workflow_name", - "head_branch", - "created_at" - ] - }, - "deployment": { "$ref": "#/components/schemas/deployment" } - }, - "required": ["action", "repository", "sender", "workflow_job"] - }, - "webhook-workflow-run-completed": { - "title": "workflow_run completed event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["completed"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "workflow": { "$ref": "#/components/schemas/webhooks_workflow" }, - "workflow_run": { - "title": "Workflow Run", - "type": "object", - "required": [ - "actor", - "artifacts_url", - "cancel_url", - "check_suite_id", - "check_suite_node_id", - "check_suite_url", - "conclusion", - "created_at", - "event", - "head_branch", - "head_commit", - "head_repository", - "head_sha", - "html_url", - "id", - "jobs_url", - "logs_url", - "name", - "node_id", - "path", - "previous_attempt_url", - "pull_requests", - "repository", - "rerun_url", - "run_attempt", - "run_number", - "run_started_at", - "status", - "triggering_actor", - "updated_at", - "url", - "workflow_id", - "workflow_url" - ], - "properties": { - "actor": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - } - }, - "artifacts_url": { "type": "string", "format": "uri" }, - "cancel_url": { "type": "string", "format": "uri" }, - "check_suite_id": { "type": "integer" }, - "check_suite_node_id": { "type": "string" }, - "check_suite_url": { "type": "string", "format": "uri" }, - "conclusion": { - "type": ["string", "null"], - "enum": [ - "action_required", - "cancelled", - "failure", - "neutral", - "skipped", - "stale", - "success", - "timed_out", - "startup_failure", - null - ] - }, - "created_at": { "type": "string", "format": "date-time" }, - "event": { "type": "string" }, - "head_branch": { "type": ["string", "null"] }, - "head_commit": { - "title": "SimpleCommit", - "type": "object", - "required": [ - "id", - "tree_id", - "message", - "timestamp", - "author", - "committer" - ], - "properties": { - "author": { - "title": "Committer", - "description": "Metaproperties for Git author/committer information.", - "type": "object", - "required": ["email", "name"], - "properties": { - "date": { "type": "string", "format": "date-time" }, - "email": { - "type": ["string", "null"], - "format": "email" - }, - "name": { - "description": "The git author's name.", - "type": "string" - }, - "username": { "type": "string" } - } - }, - "committer": { - "title": "Committer", - "description": "Metaproperties for Git author/committer information.", - "type": "object", - "required": ["email", "name"], - "properties": { - "date": { "type": "string", "format": "date-time" }, - "email": { - "type": ["string", "null"], - "format": "email" - }, - "name": { - "description": "The git author's name.", - "type": "string" - }, - "username": { "type": "string" } - } - }, - "id": { "type": "string" }, - "message": { "type": "string" }, - "timestamp": { "type": "string" }, - "tree_id": { "type": "string" } - } - }, - "head_repository": { - "title": "Repository Lite", - "type": "object", - "required": [ - "archive_url", - "assignees_url", - "blobs_url", - "branches_url", - "collaborators_url", - "comments_url", - "commits_url", - "compare_url", - "contents_url", - "contributors_url", - "deployments_url", - "description", - "downloads_url", - "events_url", - "fork", - "forks_url", - "full_name", - "git_commits_url", - "git_refs_url", - "git_tags_url", - "hooks_url", - "html_url", - "id", - "issue_comment_url", - "issue_events_url", - "issues_url", - "keys_url", - "labels_url", - "languages_url", - "merges_url", - "milestones_url", - "name", - "node_id", - "notifications_url", - "owner", - "private", - "pulls_url", - "releases_url", - "stargazers_url", - "statuses_url", - "subscribers_url", - "subscription_url", - "tags_url", - "teams_url", - "trees_url", - "url" - ], - "properties": { - "archive_url": { "type": "string", "format": "uri-template" }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { "type": "string", "format": "uri-template" }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { "type": "string", "format": "uri-template" }, - "compare_url": { "type": "string", "format": "uri-template" }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer" - }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { "type": "string", "format": "uri-template" }, - "keys_url": { "type": "string", "format": "uri-template" }, - "labels_url": { "type": "string", "format": "uri-template" }, - "languages_url": { "type": "string", "format": "uri" }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "owner": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - } - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "pulls_url": { "type": "string", "format": "uri-template" }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "trees_url": { "type": "string", "format": "uri-template" }, - "url": { "type": "string", "format": "uri" } - } - }, - "head_sha": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "jobs_url": { "type": "string", "format": "uri" }, - "logs_url": { "type": "string", "format": "uri" }, - "name": { "type": ["string", "null"] }, - "node_id": { "type": "string" }, - "path": { "type": "string" }, - "previous_attempt_url": { - "type": ["string", "null"], - "format": "uri" - }, - "pull_requests": { - "type": "array", - "items": { - "type": ["object", "null"], - "required": ["url", "id", "number", "head", "base"], - "properties": { - "base": { - "type": "object", - "required": ["ref", "sha", "repo"], - "properties": { - "ref": { "type": "string" }, - "repo": { - "title": "Repo Ref", - "type": "object", - "required": ["id", "url", "name"], - "properties": { - "id": { "type": "integer" }, - "name": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - } - }, - "sha": { "type": "string" } - } - }, - "head": { - "type": "object", - "required": ["ref", "sha", "repo"], - "properties": { - "ref": { "type": "string" }, - "repo": { - "title": "Repo Ref", - "type": "object", - "required": ["id", "url", "name"], - "properties": { - "id": { "type": "integer" }, - "name": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - } - }, - "sha": { "type": "string" } - } - }, - "id": { "type": "number" }, - "number": { "type": "number" }, - "url": { "type": "string", "format": "uri" } - } - } - }, - "referenced_workflows": { - "type": ["array", "null"], - "items": { - "type": "object", - "required": ["path", "sha"], - "properties": { - "path": { "type": "string" }, - "ref": { "type": "string" }, - "sha": { "type": "string" } - } - } - }, - "repository": { - "title": "Repository Lite", - "type": "object", - "required": [ - "archive_url", - "assignees_url", - "blobs_url", - "branches_url", - "collaborators_url", - "comments_url", - "commits_url", - "compare_url", - "contents_url", - "contributors_url", - "deployments_url", - "description", - "downloads_url", - "events_url", - "fork", - "forks_url", - "full_name", - "git_commits_url", - "git_refs_url", - "git_tags_url", - "hooks_url", - "html_url", - "id", - "issue_comment_url", - "issue_events_url", - "issues_url", - "keys_url", - "labels_url", - "languages_url", - "merges_url", - "milestones_url", - "name", - "node_id", - "notifications_url", - "owner", - "private", - "pulls_url", - "releases_url", - "stargazers_url", - "statuses_url", - "subscribers_url", - "subscription_url", - "tags_url", - "teams_url", - "trees_url", - "url" - ], - "properties": { - "archive_url": { "type": "string", "format": "uri-template" }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { "type": "string", "format": "uri-template" }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { "type": "string", "format": "uri-template" }, - "compare_url": { "type": "string", "format": "uri-template" }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer" - }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { "type": "string", "format": "uri-template" }, - "keys_url": { "type": "string", "format": "uri-template" }, - "labels_url": { "type": "string", "format": "uri-template" }, - "languages_url": { "type": "string", "format": "uri" }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "owner": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - } - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "pulls_url": { "type": "string", "format": "uri-template" }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "trees_url": { "type": "string", "format": "uri-template" }, - "url": { "type": "string", "format": "uri" } - } - }, - "rerun_url": { "type": "string", "format": "uri" }, - "run_attempt": { "type": "integer" }, - "run_number": { "type": "integer" }, - "run_started_at": { "type": "string", "format": "date-time" }, - "status": { - "type": "string", - "enum": [ - "requested", - "in_progress", - "completed", - "queued", - "pending", - "waiting" - ] - }, - "triggering_actor": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - } - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "workflow_id": { "type": "integer" }, - "workflow_url": { "type": "string", "format": "uri" }, - "display_title": { - "type": "string", - "description": "The event-specific title associated with the run or the run-name if set, or the value of `run-name` if it is set in the workflow.", - "examples": ["Simple Workflow"] - } - } - } - }, - "required": [ - "action", - "repository", - "sender", - "workflow", - "workflow_run" - ] - }, - "webhook-workflow-run-in-progress": { - "title": "workflow_run in_progress event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["in_progress"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "workflow": { "$ref": "#/components/schemas/webhooks_workflow" }, - "workflow_run": { - "title": "Workflow Run", - "type": "object", - "required": [ - "actor", - "artifacts_url", - "cancel_url", - "check_suite_id", - "check_suite_node_id", - "check_suite_url", - "conclusion", - "created_at", - "event", - "head_branch", - "head_commit", - "head_repository", - "head_sha", - "html_url", - "id", - "jobs_url", - "logs_url", - "name", - "node_id", - "path", - "previous_attempt_url", - "pull_requests", - "repository", - "rerun_url", - "run_attempt", - "run_number", - "run_started_at", - "status", - "triggering_actor", - "updated_at", - "url", - "workflow_id", - "workflow_url" - ], - "properties": { - "actor": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" } - } - }, - "artifacts_url": { "type": "string", "format": "uri" }, - "cancel_url": { "type": "string", "format": "uri" }, - "check_suite_id": { "type": "integer" }, - "check_suite_node_id": { "type": "string" }, - "check_suite_url": { "type": "string", "format": "uri" }, - "conclusion": { - "type": ["string", "null"], - "enum": [ - "action_required", - "cancelled", - "failure", - "neutral", - "skipped", - "stale", - "success", - "timed_out", - null - ] - }, - "created_at": { "type": "string", "format": "date-time" }, - "event": { "type": "string" }, - "head_branch": { "type": ["string", "null"] }, - "head_commit": { - "title": "SimpleCommit", - "type": "object", - "required": [ - "id", - "tree_id", - "message", - "timestamp", - "author", - "committer" - ], - "properties": { - "author": { - "title": "Committer", - "description": "Metaproperties for Git author/committer information.", - "type": "object", - "required": ["email", "name"], - "properties": { - "date": { "type": "string", "format": "date-time" }, - "email": { - "type": ["string", "null"], - "format": "email" - }, - "name": { - "description": "The git author's name.", - "type": "string" - }, - "username": { "type": "string" } - } - }, - "committer": { - "title": "Committer", - "description": "Metaproperties for Git author/committer information.", - "type": "object", - "required": ["email", "name"], - "properties": { - "date": { "type": "string", "format": "date-time" }, - "email": { - "type": ["string", "null"], - "format": "email" - }, - "name": { - "description": "The git author's name.", - "type": "string" - }, - "username": { "type": "string" } - } - }, - "id": { "type": "string" }, - "message": { "type": "string" }, - "timestamp": { "type": "string" }, - "tree_id": { "type": "string" } - } - }, - "head_repository": { - "title": "Repository Lite", - "type": "object", - "required": [ - "archive_url", - "assignees_url", - "blobs_url", - "branches_url", - "collaborators_url", - "comments_url", - "commits_url", - "compare_url", - "contents_url", - "contributors_url", - "deployments_url", - "description", - "downloads_url", - "events_url", - "fork", - "forks_url", - "full_name", - "git_commits_url", - "git_refs_url", - "git_tags_url", - "hooks_url", - "html_url", - "id", - "issue_comment_url", - "issue_events_url", - "issues_url", - "keys_url", - "labels_url", - "languages_url", - "merges_url", - "milestones_url", - "name", - "node_id", - "notifications_url", - "owner", - "private", - "pulls_url", - "releases_url", - "stargazers_url", - "statuses_url", - "subscribers_url", - "subscription_url", - "tags_url", - "teams_url", - "trees_url", - "url" - ], - "properties": { - "archive_url": { "type": "string", "format": "uri-template" }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { "type": "string", "format": "uri-template" }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { "type": "string", "format": "uri-template" }, - "compare_url": { "type": "string", "format": "uri-template" }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer" - }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { "type": "string", "format": "uri-template" }, - "keys_url": { "type": "string", "format": "uri-template" }, - "labels_url": { "type": "string", "format": "uri-template" }, - "languages_url": { "type": "string", "format": "uri" }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "The name of the repository.", - "type": ["string", "null"] - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "owner": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" } - } - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "pulls_url": { "type": "string", "format": "uri-template" }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "trees_url": { "type": "string", "format": "uri-template" }, - "url": { "type": "string", "format": "uri" } - } - }, - "head_sha": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "jobs_url": { "type": "string", "format": "uri" }, - "logs_url": { "type": "string", "format": "uri" }, - "name": { "type": ["string", "null"] }, - "node_id": { "type": "string" }, - "path": { "type": "string" }, - "previous_attempt_url": { - "type": ["string", "null"], - "format": "uri" - }, - "pull_requests": { - "type": "array", - "items": { - "type": ["object", "null"], - "required": ["url", "id", "number", "head", "base"], - "properties": { - "base": { - "type": "object", - "required": ["ref", "sha", "repo"], - "properties": { - "ref": { "type": "string" }, - "repo": { - "title": "Repo Ref", - "type": "object", - "required": ["id", "url", "name"], - "properties": { - "id": { "type": "integer" }, - "name": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - } - }, - "sha": { "type": "string" } - } - }, - "head": { - "type": "object", - "required": ["ref", "sha", "repo"], - "properties": { - "ref": { "type": "string" }, - "repo": { - "title": "Repo Ref", - "type": "object", - "required": ["id", "url", "name"], - "properties": { - "id": { "type": "integer" }, - "name": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - } - }, - "sha": { "type": "string" } - } - }, - "id": { "type": "number" }, - "number": { "type": "number" }, - "url": { "type": "string", "format": "uri" } - } - } - }, - "referenced_workflows": { - "type": ["array", "null"], - "items": { - "type": "object", - "required": ["path", "sha"], - "properties": { - "path": { "type": "string" }, - "ref": { "type": "string" }, - "sha": { "type": "string" } - } - } - }, - "repository": { - "title": "Repository Lite", - "type": "object", - "required": [ - "archive_url", - "assignees_url", - "blobs_url", - "branches_url", - "collaborators_url", - "comments_url", - "commits_url", - "compare_url", - "contents_url", - "contributors_url", - "deployments_url", - "description", - "downloads_url", - "events_url", - "fork", - "forks_url", - "full_name", - "git_commits_url", - "git_refs_url", - "git_tags_url", - "hooks_url", - "html_url", - "id", - "issue_comment_url", - "issue_events_url", - "issues_url", - "keys_url", - "labels_url", - "languages_url", - "merges_url", - "milestones_url", - "name", - "node_id", - "notifications_url", - "owner", - "private", - "pulls_url", - "releases_url", - "stargazers_url", - "statuses_url", - "subscribers_url", - "subscription_url", - "tags_url", - "teams_url", - "trees_url", - "url" - ], - "properties": { - "archive_url": { "type": "string", "format": "uri-template" }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { "type": "string", "format": "uri-template" }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { "type": "string", "format": "uri-template" }, - "compare_url": { "type": "string", "format": "uri-template" }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer" - }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { "type": "string", "format": "uri-template" }, - "keys_url": { "type": "string", "format": "uri-template" }, - "labels_url": { "type": "string", "format": "uri-template" }, - "languages_url": { "type": "string", "format": "uri" }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "owner": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" } - } - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "pulls_url": { "type": "string", "format": "uri-template" }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "trees_url": { "type": "string", "format": "uri-template" }, - "url": { "type": "string", "format": "uri" } - } - }, - "rerun_url": { "type": "string", "format": "uri" }, - "run_attempt": { "type": "integer" }, - "run_number": { "type": "integer" }, - "run_started_at": { "type": "string", "format": "date-time" }, - "status": { - "type": "string", - "enum": [ - "requested", - "in_progress", - "completed", - "queued", - "pending" - ] - }, - "triggering_actor": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" } - } - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "workflow_id": { "type": "integer" }, - "workflow_url": { "type": "string", "format": "uri" } - } - } - }, - "required": [ - "action", - "repository", - "sender", - "workflow", - "workflow_run" - ] - }, - "webhook-workflow-run-requested": { - "title": "workflow_run requested event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["requested"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "workflow": { "$ref": "#/components/schemas/webhooks_workflow" }, - "workflow_run": { - "title": "Workflow Run", - "type": "object", - "properties": { - "actor": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "artifacts_url": { "type": "string", "format": "uri" }, - "cancel_url": { "type": "string", "format": "uri" }, - "check_suite_id": { "type": "integer" }, - "check_suite_node_id": { "type": "string" }, - "check_suite_url": { "type": "string", "format": "uri" }, - "conclusion": { - "type": ["string", "null"], - "enum": [ - "success", - "failure", - "neutral", - "cancelled", - "timed_out", - "action_required", - "stale", - null, - "skipped", - "startup_failure" - ] - }, - "created_at": { "type": "string", "format": "date-time" }, - "event": { "type": "string" }, - "head_branch": { "type": ["string", "null"] }, - "head_commit": { - "title": "SimpleCommit", - "type": "object", - "properties": { - "author": { - "title": "Committer", - "description": "Metaproperties for Git author/committer information.", - "type": "object", - "properties": { - "date": { "type": "string", "format": "date-time" }, - "email": { - "type": ["string", "null"], - "format": "email" - }, - "name": { - "description": "The git author's name.", - "type": "string" - }, - "username": { "type": "string" } - }, - "required": ["email", "name"] - }, - "committer": { - "title": "Committer", - "description": "Metaproperties for Git author/committer information.", - "type": "object", - "properties": { - "date": { "type": "string", "format": "date-time" }, - "email": { - "type": ["string", "null"], - "format": "email" - }, - "name": { - "description": "The git author's name.", - "type": "string" - }, - "username": { "type": "string" } - }, - "required": ["email", "name"] - }, - "id": { "type": "string" }, - "message": { "type": "string" }, - "timestamp": { "type": "string" }, - "tree_id": { "type": "string" } - }, - "required": [ - "id", - "tree_id", - "message", - "timestamp", - "author", - "committer" - ] - }, - "head_repository": { - "title": "Repository Lite", - "type": "object", - "properties": { - "archive_url": { "type": "string", "format": "uri-template" }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { "type": "string", "format": "uri-template" }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { "type": "string", "format": "uri-template" }, - "compare_url": { "type": "string", "format": "uri-template" }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer" - }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { "type": "string", "format": "uri-template" }, - "keys_url": { "type": "string", "format": "uri-template" }, - "labels_url": { "type": "string", "format": "uri-template" }, - "languages_url": { "type": "string", "format": "uri" }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "pulls_url": { "type": "string", "format": "uri-template" }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "trees_url": { "type": "string", "format": "uri-template" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "archive_url", - "assignees_url", - "blobs_url", - "branches_url", - "collaborators_url", - "comments_url", - "commits_url", - "compare_url", - "contents_url", - "contributors_url", - "deployments_url", - "description", - "downloads_url", - "events_url", - "fork", - "forks_url", - "full_name", - "git_commits_url", - "git_refs_url", - "git_tags_url", - "hooks_url", - "html_url", - "id", - "issue_comment_url", - "issue_events_url", - "issues_url", - "keys_url", - "labels_url", - "languages_url", - "merges_url", - "milestones_url", - "name", - "node_id", - "notifications_url", - "owner", - "private", - "pulls_url", - "releases_url", - "stargazers_url", - "statuses_url", - "subscribers_url", - "subscription_url", - "tags_url", - "teams_url", - "trees_url", - "url" - ] - }, - "head_sha": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "jobs_url": { "type": "string", "format": "uri" }, - "logs_url": { "type": "string", "format": "uri" }, - "name": { "type": ["string", "null"] }, - "node_id": { "type": "string" }, - "path": { "type": "string" }, - "previous_attempt_url": { - "type": ["string", "null"], - "format": "uri" - }, - "pull_requests": { - "type": "array", - "items": { - "type": "object", - "properties": { - "base": { - "type": "object", - "properties": { - "ref": { "type": "string" }, - "repo": { - "title": "Repo Ref", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "name": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["id", "url", "name"] - }, - "sha": { "type": "string" } - }, - "required": ["ref", "sha", "repo"] - }, - "head": { - "type": "object", - "properties": { - "ref": { "type": "string" }, - "repo": { - "title": "Repo Ref", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "name": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["id", "url", "name"] - }, - "sha": { "type": "string" } - }, - "required": ["ref", "sha", "repo"] - }, - "id": { "type": "number" }, - "number": { "type": "number" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["url", "id", "number", "head", "base"] - } - }, - "referenced_workflows": { - "type": ["array", "null"], - "items": { - "type": "object", - "properties": { - "path": { "type": "string" }, - "ref": { "type": "string" }, - "sha": { "type": "string" } - }, - "required": ["path", "sha"] - } - }, - "repository": { - "title": "Repository Lite", - "type": "object", - "properties": { - "archive_url": { "type": "string", "format": "uri-template" }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { "type": "string", "format": "uri-template" }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { "type": "string", "format": "uri-template" }, - "compare_url": { "type": "string", "format": "uri-template" }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer" - }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { "type": "string", "format": "uri-template" }, - "keys_url": { "type": "string", "format": "uri-template" }, - "labels_url": { "type": "string", "format": "uri-template" }, - "languages_url": { "type": "string", "format": "uri" }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "pulls_url": { "type": "string", "format": "uri-template" }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "trees_url": { "type": "string", "format": "uri-template" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "archive_url", - "assignees_url", - "blobs_url", - "branches_url", - "collaborators_url", - "comments_url", - "commits_url", - "compare_url", - "contents_url", - "contributors_url", - "deployments_url", - "description", - "downloads_url", - "events_url", - "fork", - "forks_url", - "full_name", - "git_commits_url", - "git_refs_url", - "git_tags_url", - "hooks_url", - "html_url", - "id", - "issue_comment_url", - "issue_events_url", - "issues_url", - "keys_url", - "labels_url", - "languages_url", - "merges_url", - "milestones_url", - "name", - "node_id", - "notifications_url", - "owner", - "private", - "pulls_url", - "releases_url", - "stargazers_url", - "statuses_url", - "subscribers_url", - "subscription_url", - "tags_url", - "teams_url", - "trees_url", - "url" - ] - }, - "rerun_url": { "type": "string", "format": "uri" }, - "run_attempt": { "type": "integer" }, - "run_number": { "type": "integer" }, - "run_started_at": { "type": "string", "format": "date-time" }, - "status": { - "type": "string", - "enum": [ - "requested", - "in_progress", - "completed", - "queued", - "pending", - "waiting" - ] - }, - "triggering_actor": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "workflow_id": { "type": "integer" }, - "workflow_url": { "type": "string", "format": "uri" }, - "display_title": { "type": "string" } - }, - "required": [ - "artifacts_url", - "cancel_url", - "check_suite_url", - "check_suite_id", - "check_suite_node_id", - "conclusion", - "created_at", - "event", - "head_branch", - "head_commit", - "head_repository", - "head_sha", - "html_url", - "id", - "jobs_url", - "logs_url", - "node_id", - "name", - "path", - "pull_requests", - "repository", - "rerun_url", - "run_number", - "status", - "updated_at", - "url", - "workflow_id", - "workflow_url", - "run_attempt", - "run_started_at", - "previous_attempt_url", - "actor", - "triggering_actor", - "display_title" - ] - } - }, - "required": [ - "action", - "repository", - "sender", - "workflow", - "workflow_run" - ] - } - }, - "examples": { - "root": { - "value": { - "current_user_url": "https://api.github.com/user", - "current_user_authorizations_html_url": "https://github.com/settings/connections/applications{/client_id}", - "authorizations_url": "https://api.github.com/authorizations", - "code_search_url": "https://api.github.com/search/code?q={query}{&page,per_page,sort,order}", - "commit_search_url": "https://api.github.com/search/commits?q={query}{&page,per_page,sort,order}", - "emails_url": "https://api.github.com/user/emails", - "emojis_url": "https://api.github.com/emojis", - "events_url": "https://api.github.com/events", - "feeds_url": "https://api.github.com/feeds", - "followers_url": "https://api.github.com/user/followers", - "following_url": "https://api.github.com/user/following{/target}", - "gists_url": "https://api.github.com/gists{/gist_id}", - "hub_url": "https://api.github.com/hub", - "issue_search_url": "https://api.github.com/search/issues?q={query}{&page,per_page,sort,order}", - "issues_url": "https://api.github.com/issues", - "keys_url": "https://api.github.com/user/keys", - "label_search_url": "https://api.github.com/search/labels?q={query}&repository_id={repository_id}{&page,per_page}", - "notifications_url": "https://api.github.com/notifications", - "organization_url": "https://api.github.com/orgs/{org}", - "organization_repositories_url": "https://api.github.com/orgs/{org}/repos{?type,page,per_page,sort}", - "organization_teams_url": "https://api.github.com/orgs/{org}/teams", - "public_gists_url": "https://api.github.com/gists/public", - "rate_limit_url": "https://api.github.com/rate_limit", - "repository_url": "https://api.github.com/repos/{owner}/{repo}", - "repository_search_url": "https://api.github.com/search/repositories?q={query}{&page,per_page,sort,order}", - "current_user_repositories_url": "https://api.github.com/user/repos{?type,page,per_page,sort}", - "starred_url": "https://api.github.com/user/starred{/owner}{/repo}", - "starred_gists_url": "https://api.github.com/gists/starred", - "topic_search_url": "https://api.github.com/search/topics?q={query}{&page,per_page}", - "user_url": "https://api.github.com/users/{user}", - "user_organizations_url": "https://api.github.com/user/orgs", - "user_repositories_url": "https://api.github.com/users/{user}/repos{?type,page,per_page,sort}", - "user_search_url": "https://api.github.com/search/users?q={query}{&page,per_page,sort,order}" - } - }, - "global-hook-items": { - "value": [ - { - "type": "Global", - "id": 1, - "name": "web", - "active": true, - "events": ["organization", "user"], - "config": { - "url": "https://example.com", - "content_type": "json", - "insecure_ssl": "0", - "secret": "********" - }, - "updated_at": "2017-12-07T00:14:59Z", - "created_at": "2017-12-07T00:14:59Z", - "url": "https://api.github.com/admin/hooks/1", - "ping_url": "https://api.github.com/admin/hooks/1/pings" - } - ] - }, - "global-hook": { - "value": { - "type": "Global", - "id": 1, - "name": "web", - "active": true, - "events": ["organization", "user"], - "config": { - "url": "https://example.com", - "content_type": "json", - "insecure_ssl": "0", - "secret": "********" - }, - "updated_at": "2017-12-07T00:14:59Z", - "created_at": "2017-12-07T00:14:59Z", - "url": "https://api.github.com/admin/hooks/1", - "ping_url": "https://api.github.com/admin/hooks/1/pings" - } - }, - "global-hook-2": { - "value": { - "type": "Global", - "id": 1, - "name": "web", - "active": true, - "events": ["organization"], - "config": { - "url": "https://example.com", - "content_type": "form", - "insecure_ssl": "0" - }, - "updated_at": "2017-12-07T00:14:59Z", - "created_at": "2017-12-07T00:14:59Z", - "url": "https://api.github.com/admin/hooks/1", - "ping_url": "https://api.github.com/admin/hooks/1/pings" - } - }, - "enterprise-public-key-items": { - "value": [ - { - "key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234", - "id": 2, - "url": "https://api.github.com/user/keys/2", - "title": "ssh-rsa AAAAB3NzaC1yc2EAAA", - "created_at": "2020-06-11T21:31:57Z", - "verified": false, - "read_only": false, - "last_used": "2020-06-11T22:31:57Z", - "user_id": 1, - "repository_id": 2 - }, - { - "key": "9Og8iYjAyymI9LvABpJerYrMxURPc8r+dB7TJyvv1234", - "id": 3, - "url": "https://api.github.com/user/keys/2", - "title": "ssh-rsa AAAAB3NzaC1yc2EAAA", - "created_at": "2020-06-11T21:31:57Z", - "verified": false, - "read_only": false, - "last_used": "2020-06-11T22:31:57Z", - "user_id": 1, - "repository_id": 2 - } - ] - }, - "ldap-mapping-team": { - "value": { - "ldap_dn": "cn=Enterprise Ops,ou=teams,dc=github,dc=com", - "id": 1, - "node_id": "MDQ6VGVhbTE=", - "url": "https://api.github.com/teams/1", - "html_url": "https://github.com/orgs/github/teams/justice-league", - "name": "Justice League", - "slug": "justice-league", - "description": "A great team.", - "privacy": "closed", - "notification_setting": "notifications_enabled", - "permission": "admin", - "members_url": "https://api.github.com/teams/1/members{/member}", - "repositories_url": "https://api.github.com/teams/1/repos", - "parent": null - } - }, - "ldap-mapping-user": { - "value": { - "ldap_dn": "uid=asdf,ou=users,dc=github,dc=com", - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false, - "name": "monalisa octocat", - "company": "GitHub", - "blog": "https://github.com/blog", - "location": "San Francisco", - "email": "octocat@github.com", - "hireable": false, - "bio": "There once was...", - "twitter_username": "monatheoctocat", - "public_repos": 2, - "public_gists": 1, - "followers": 20, - "following": 0, - "created_at": "2008-01-14T04:33:35Z", - "updated_at": "2008-01-14T04:33:35Z", - "private_gists": 81, - "total_private_repos": 100, - "owned_private_repos": 100, - "disk_usage": 10000, - "collaborators": 8, - "two_factor_authentication": true, - "plan": { - "name": "Medium", - "space": 400, - "private_repos": 20, - "collaborators": 0 - } - } - }, - "organization-simple": { - "value": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization" - } - }, - "pre-receive-environment-items": { - "value": [ - { - "id": 1, - "name": "Default", - "image_url": "githubenterprise://internal", - "url": "https://github.example.com/api/v3/admin/pre-receive-environments/1", - "html_url": "https://github.example.com/admin/pre-receive-environments/1", - "default_environment": true, - "created_at": "2016-05-20T11:35:45-05:00", - "hooks_count": 14, - "download": { - "url": "https://github.example.com/api/v3/admin/pre-receive-environments/1/downloads/latest", - "state": "not_started", - "downloaded_at": "2016-05-26T07:42:53-05:00", - "message": null - } - }, - { - "id": 2, - "name": "DevTools Hook Env", - "image_url": "https://my_file_server/path/to/devtools_env.tar.gz", - "url": "https://github.example.com/api/v3/admin/pre-receive-environments/2", - "html_url": "https://github.example.com/admin/pre-receive-environments/2", - "default_environment": false, - "created_at": "2016-05-20T11:35:45-05:00", - "hooks_count": 1, - "download": { - "url": "https://github.example.com/api/v3/admin/pre-receive-environments/2/downloads/latest", - "state": "success", - "downloaded_at": "2016-05-26T07:42:53-05:00", - "message": null - } - } - ] - }, - "pre-receive-environment": { - "value": { - "id": 2, - "name": "DevTools Hook Env", - "image_url": "https://my_file_server/path/to/devtools_env.tar.gz", - "url": "https://github.example.com/api/v3/admin/pre-receive-environments/2", - "html_url": "https://github.example.com/admin/pre-receive-environments/2", - "default_environment": false, - "created_at": "2016-05-20T11:35:45-05:00", - "hooks_count": 1, - "download": { - "url": "https://github.example.com/api/v3/admin/pre-receive-environments/2/downloads/latest", - "state": "not_started", - "downloaded_at": null, - "message": null - } - } - }, - "pre-receive-environment-default-response": { - "value": { - "id": 2, - "name": "DevTools Hook Env", - "image_url": "https://my_file_server/path/to/devtools_env.tar.gz", - "url": "https://github.example.com/api/v3/admin/pre-receive-environments/2", - "html_url": "https://github.example.com/admin/pre-receive-environments/2", - "default_environment": false, - "created_at": "2016-05-20T11:35:45-05:00", - "hooks_count": 1, - "download": { - "url": "https://github.example.com/api/v3/admin/pre-receive-environments/2/downloads/latest", - "state": "success", - "downloaded_at": "2016-05-26T07:42:53-05:00", - "message": null - } - } - }, - "pre-receive-environment-download-status-default-response": { - "value": { - "url": "https://github.example.com/api/v3/admin/pre-receive-environments/3/downloads/latest", - "state": "not_started", - "downloaded_at": null, - "message": null - } - }, - "pre-receive-environment-download-status": { - "value": { - "url": "https://github.example.com/api/v3/admin/pre-receive-environments/3/downloads/latest", - "state": "success", - "downloaded_at": "2016-05-26T07:42:53-05:00", - "message": null - } - }, - "pre-receive-hook-items": { - "value": [ - { - "id": 1, - "name": "Check Commits", - "enforcement": "disabled", - "script": "scripts/commmit_check.sh", - "script_repository": { - "id": 595, - "full_name": "DevIT/hooks", - "url": "https://github.example.com/api/v3/repos/DevIT/hooks", - "html_url": "https://github.example.com/DevIT/hooks" - }, - "environment": { - "id": 2, - "name": "DevTools Hook Env", - "image_url": "https://my_file_server/path/to/devtools_env.tar.gz", - "url": "https://github.example.com/api/v3/admin/pre-receive-environments/2", - "html_url": "https://github.example.com/admin/pre-receive-environments/2", - "default_environment": false, - "created_at": "2016-05-20T11:35:45-05:00", - "hooks_count": 1, - "download": { - "url": "https://github.example.com/api/v3/admin/pre-receive-environments/2/downloads/latest", - "state": "success", - "downloaded_at": "2016-05-26T07:42:53-05:00", - "message": null - } - }, - "allow_downstream_configuration": false - } - ] - }, - "pre-receive-hook": { - "value": { - "id": 1, - "name": "Check Commits", - "enforcement": "disabled", - "script": "scripts/commmit_check.sh", - "script_repository": { - "id": 595, - "full_name": "DevIT/hooks", - "url": "https://github.example.com/api/v3/repos/DevIT/hooks", - "html_url": "https://github.example.com/DevIT/hooks" - }, - "environment": { - "id": 2, - "name": "DevTools Hook Env", - "image_url": "https://my_file_server/path/to/devtools_env.tar.gz", - "url": "https://github.example.com/api/v3/admin/pre-receive-environments/2", - "html_url": "https://github.example.com/admin/pre-receive-environments/2", - "default_environment": false, - "created_at": "2016-05-20T11:35:45-05:00", - "hooks_count": 1, - "download": { - "url": "https://github.example.com/api/v3/admin/pre-receive-environments/2/downloads/latest", - "state": "success", - "downloaded_at": "2016-05-26T07:42:53-05:00", - "message": null - } - }, - "allow_downstream_configuration": false - } - }, - "pre-receive-hook-2": { - "value": { - "id": 1, - "name": "Check Commits", - "enforcement": "disabled", - "script": "scripts/commmit_check.sh", - "script_repository": { - "id": 595, - "full_name": "DevIT/hooks", - "url": "https://github.example.com/api/v3/repos/DevIT/hooks", - "html_url": "https://github.example.com/DevIT/hooks" - }, - "environment": { - "id": 1, - "name": "Default", - "image_url": "githubenterprise://internal", - "url": "https://github.example.com/api/v3/admin/pre-receive-environments/1", - "html_url": "https://github.example.com/admin/pre-receive-environments/1", - "default_environment": true, - "created_at": "2016-05-20T11:35:45-05:00", - "hooks_count": 1, - "download": { - "url": "https://github.example.com/api/v3/admin/pre-receive-environments/1/downloads/latest", - "state": "success", - "downloaded_at": "2016-05-26T07:42:53-05:00", - "message": null - } - }, - "allow_downstream_configuration": true - } - }, - "classic-personal-access-tokens": { - "value": [ - { - "id": 2, - "url": "https://enterprise.octocat.com/api/v3/authorizations/2", - "app": { - "name": "My personal access token", - "url": "https://docs.github.com/enterprise/rest/enterprise-admin/users#list-personal-access-tokens", - "client_id": "00000000000000000000" - }, - "token": "ghp_16C7e42F292c6912E7710c838347Ae178B4a", - "hashed_token": "23cffb2fab1b0a62747863eba88cb9327e561f2f7a0c8661c0d9b83146cb8d45", - "token_last_eight": "Ae178B4a", - "note": "My personal access token", - "note_url": null, - "created_at": "2019-04-24T21:49:02Z", - "updated_at": "2019-04-24T21:49:02Z", - "scopes": [ - "admin:business", - "admin:gpg_key", - "admin:org", - "admin:org_hook", - "admin:pre_receive_hook", - "admin:public_key", - "admin:repo_hook", - "delete_repo", - "gist", - "notifications", - "repo", - "user", - "write:discussion" - ], - "fingerprint": null - } - ] - }, - "simple-user": { - "value": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - }, - "authorization": { - "value": { - "id": 1, - "url": "https://api.github.com/authorizations/1", - "scopes": ["public_repo"], - "token": "ghu_16C7e42F292c6912E7710c838347Ae178B4a", - "token_last_eight": "Ae178B4a", - "hashed_token": "25f94a2a5c7fbaf499c665bc73d67c1c87e496da8985131633ee0a95819db2e8", - "app": { - "url": "http://my-github-app.com", - "name": "my github app", - "client_id": "abcde12345fghij67890" - }, - "note": "optional note", - "note_url": "http://optional/note/url", - "updated_at": "2011-09-06T20:39:23Z", - "created_at": "2011-09-06T17:26:27Z", - "expires_at": "2011-10-06T17:26:27Z", - "fingerprint": "jklmnop12345678" - } - }, - "global-advisory-items": { - "value": [ - { - "id": 1, - "ghsa_id": "GHSA-abcd-1234-efgh", - "cve_id": "CVE-2050-00000", - "url": "https://api.github.com/advisories/GHSA-abcd-1234-efgh", - "html_url": "https://github.com/advisories/GHSA-abcd-1234-efgh", - "repository_advisory_url": "https://api.github.com/repos/project/a-package/security-advisories/GHSA-abcd-1234-efgh", - "summary": "Heartbleed security advisory", - "description": "This bug allows an attacker to read portions of the affected server’s memory, potentially disclosing sensitive information.", - "type": "reviewed", - "severity": "high", - "source_code_location": "https://github.com/project/a-package", - "identifiers": [ - { "type": "GHSA", "value": "GHSA-abcd-1234-efgh" }, - { "type": "CVE", "value": "CVE-2050-00000" } - ], - "references": ["https://nvd.nist.gov/vuln/detail/CVE-2050-00000"], - "published_at": "2023-03-23T02:30:56Z", - "updated_at": "2023-03-24T02:30:56Z", - "github_reviewed_at": "2023-03-23T02:30:56Z", - "nvd_published_at": "2023-03-25T02:30:56Z", - "withdrawn_at": null, - "vulnerabilities": [ - { - "package": { "ecosystem": "npm", "name": "a-package" }, - "first_patched_version": "1.0.3", - "vulnerable_version_range": "<=1.0.2", - "vulnerable_functions": ["a_function"] - } - ], - "cvss": { - "vector_string": "CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H", - "score": 7.6 - }, - "cvss_severities": { - "cvss_v3": { - "vector_string": "CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H", - "score": 7.6 - }, - "cvss_v4": { - "vector_string": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N", - "score": 9.3 - } - }, - "cwes": [ - { - "cwe_id": "CWE-400", - "name": "Uncontrolled Resource Consumption" - } - ], - "epss": [{ "percentage": 0.00045, "percentile": "0.16001e0" }], - "credits": [ - { - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "type": "analyst" - } - ] - } - ] - }, - "global-advisory": { - "value": { - "ghsa_id": "GHSA-abcd-1234-efgh", - "cve_id": "CVE-2050-00000", - "url": "https://api.github.com/advisories/GHSA-abcd-1234-efgh", - "html_url": "https://github.com/advisories/GHSA-abcd-1234-efgh", - "repository_advisory_url": "https://api.github.com/repos/project/a-package/security-advisories/GHSA-abcd-1234-efgh", - "summary": "A short summary of the advisory.", - "description": "A detailed description of what the advisory entails.", - "type": "reviewed", - "severity": "high", - "source_code_location": "https://github.com/project/a-package", - "identifiers": [ - { "type": "GHSA", "value": "GHSA-abcd-1234-efgh" }, - { "type": "CVE", "value": "CVE-2050-00000" } - ], - "references": ["https://nvd.nist.gov/vuln/detail/CVE-2050-00000"], - "published_at": "2023-03-23T02:30:56Z", - "updated_at": "2023-03-24T02:30:56Z", - "github_reviewed_at": "2023-03-23T02:30:56Z", - "nvd_published_at": "2023-03-25T02:30:56Z", - "withdrawn_at": null, - "vulnerabilities": [ - { - "package": { "ecosystem": "npm", "name": "a-package" }, - "first_patched_version": "1.0.3", - "vulnerable_version_range": "<=1.0.2", - "vulnerable_functions": ["a_function"] - } - ], - "cvss": { - "vector_string": "CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H", - "score": 7.6 - }, - "cvss_severities": { - "cvss_v3": { - "vector_string": "CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H", - "score": 7.6 - }, - "cvss_v4": { - "vector_string": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N", - "score": 9.3 - } - }, - "cwes": [ - { "cwe_id": "CWE-400", "name": "Uncontrolled Resource Consumption" } - ], - "credits": [ - { - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "type": "analyst" - } - ] - } - }, - "integration": { - "value": { - "id": 1, - "slug": "octoapp", - "client_id": "Iv1.ab1112223334445c", - "node_id": "MDExOkludGVncmF0aW9uMQ==", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "name": "Octocat App", - "description": "", - "external_url": "https://example.com", - "html_url": "https://github.com/apps/octoapp", - "created_at": "2017-07-08T16:18:44-04:00", - "updated_at": "2017-07-08T16:18:44-04:00", - "permissions": { - "metadata": "read", - "contents": "read", - "issues": "write", - "single_file": "write" - }, - "events": ["push", "pull_request"] - } - }, - "integration-from-manifest": { - "value": { - "id": 1, - "slug": "octoapp", - "node_id": "MDxOkludGVncmF0aW9uMQ==", - "owner": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "name": "Octocat App", - "description": "", - "external_url": "https://example.com", - "html_url": "https://github.com/apps/octoapp", - "created_at": "2017-07-08T16:18:44-04:00", - "updated_at": "2017-07-08T16:18:44-04:00", - "permissions": { - "metadata": "read", - "contents": "read", - "issues": "write", - "single_file": "write" - }, - "events": ["push", "pull_request"], - "client_id": "Iv1.8a61f9b3a7aba766", - "client_secret": "1726be1638095a19edd134c77bde3aa2ece1e5d8", - "webhook_secret": "e340154128314309424b7c8e90325147d99fdafa", - "pem": "-----BEGIN RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEAuEPzOUE+kiEH1WLiMeBytTEF856j0hOVcSUSUkZxKvqczkWM\n9vo1gDyC7ZXhdH9fKh32aapba3RSsp4ke+giSmYTk2mGR538ShSDxh0OgpJmjiKP\nX0Bj4j5sFqfXuCtl9SkH4iueivv4R53ktqM+n6hk98l6hRwC39GVIblAh2lEM4L/\n6WvYwuQXPMM5OG2Ryh2tDZ1WS5RKfgq+9ksNJ5Q9UtqtqHkO+E63N5OK9sbzpUUm\noNaOl3udTlZD3A8iqwMPVxH4SxgATBPAc+bmjk6BMJ0qIzDcVGTrqrzUiywCTLma\nszdk8GjzXtPDmuBgNn+o6s02qVGpyydgEuqmTQIDAQABAoIBACL6AvkjQVVLn8kJ\ndBYznJJ4M8ECo+YEgaFwgAHODT0zRQCCgzd+Vxl4YwHmKV2Lr+y2s0drZt8GvYva\nKOK8NYYZyi15IlwFyRXmvvykF1UBpSXluYFDH7KaVroWMgRreHcIys5LqVSIb6Bo\ngDmK0yBLPp8qR29s2b7ScZRtLaqGJiX+j55rNzrZwxHkxFHyG9OG+u9IsBElcKCP\nkYCVE8ZdYexfnKOZbgn2kZB9qu0T/Mdvki8yk3I2bI6xYO24oQmhnT36qnqWoCBX\nNuCNsBQgpYZeZET8mEAUmo9d+ABmIHIvSs005agK8xRaP4+6jYgy6WwoejJRF5yd\nNBuF7aECgYEA50nZ4FiZYV0vcJDxFYeY3kYOvVuKn8OyW+2rg7JIQTremIjv8FkE\nZnwuF9ZRxgqLxUIfKKfzp/5l5LrycNoj2YKfHKnRejxRWXqG+ZETfxxlmlRns0QG\nJ4+BYL0CoanDSeA4fuyn4Bv7cy/03TDhfg/Uq0Aeg+hhcPE/vx3ebPsCgYEAy/Pv\neDLssOSdeyIxf0Brtocg6aPXIVaLdus+bXmLg77rJIFytAZmTTW8SkkSczWtucI3\nFI1I6sei/8FdPzAl62/JDdlf7Wd9K7JIotY4TzT7Tm7QU7xpfLLYIP1bOFjN81rk\n77oOD4LsXcosB/U6s1blPJMZ6AlO2EKs10UuR1cCgYBipzuJ2ADEaOz9RLWwi0AH\nPza2Sj+c2epQD9ZivD7Zo/Sid3ZwvGeGF13JyR7kLEdmAkgsHUdu1rI7mAolXMaB\n1pdrsHureeLxGbRM6za3tzMXWv1Il7FQWoPC8ZwXvMOR1VQDv4nzq7vbbA8z8c+c\n57+8tALQHOTDOgQIzwK61QKBgERGVc0EJy4Uag+VY8J4m1ZQKBluqo7TfP6DQ7O8\nM5MX73maB/7yAX8pVO39RjrhJlYACRZNMbK+v/ckEQYdJSSKmGCVe0JrGYDuPtic\nI9+IGfSorf7KHPoMmMN6bPYQ7Gjh7a++tgRFTMEc8956Hnt4xGahy9NcglNtBpVN\n6G8jAoGBAMCh028pdzJa/xeBHLLaVB2sc0Fe7993WlsPmnVE779dAz7qMscOtXJK\nfgtriltLSSD6rTA9hUAsL/X62rY0wdXuNdijjBb/qvrx7CAV6i37NK1CjABNjsfG\nZM372Ac6zc1EqSrid2IjET1YqyIW2KGLI1R2xbQc98UGlt48OdWu\n-----END RSA PRIVATE KEY-----\n" - } - }, - "webhook-config": { - "value": { - "content_type": "json", - "insecure_ssl": "0", - "secret": "********", - "url": "https://example.com/webhook" - } - }, - "hook-delivery-items": { - "value": [ - { - "id": 12345678, - "guid": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "delivered_at": "2019-06-03T00:57:16Z", - "redelivery": false, - "duration": 0.27, - "status": "OK", - "status_code": 200, - "event": "issues", - "action": "opened", - "installation_id": 123, - "repository_id": 456, - "throttled_at": "2019-06-03T00:57:16Z" - }, - { - "id": 123456789, - "guid": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "delivered_at": "2019-06-04T00:57:16Z", - "redelivery": true, - "duration": 0.28, - "status": "OK", - "status_code": 200, - "event": "issues", - "action": "opened", - "installation_id": 123, - "repository_id": 456, - "throttled_at": null - } - ] - }, - "hook-delivery": { - "value": { - "id": 12345678, - "guid": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "delivered_at": "2019-06-03T00:57:16Z", - "redelivery": false, - "duration": 0.27, - "status": "OK", - "status_code": 200, - "event": "issues", - "action": "opened", - "installation_id": 123, - "repository_id": 456, - "url": "https://www.example.com", - "throttled_at": "2019-06-03T00:57:16Z", - "request": { - "headers": { - "X-GitHub-Delivery": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "X-Hub-Signature-256": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "Accept": "*/*", - "X-GitHub-Hook-ID": "42", - "User-Agent": "GitHub-Hookshot/b8c71d8", - "X-GitHub-Event": "issues", - "X-GitHub-Hook-Installation-Target-ID": "123", - "X-GitHub-Hook-Installation-Target-Type": "repository", - "content-type": "application/json", - "X-Hub-Signature": "sha1=a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d" - }, - "payload": { - "action": "opened", - "issue": { "body": "foo" }, - "repository": { "id": 123 } - } - }, - "response": { - "headers": { "Content-Type": "text/html;charset=utf-8" }, - "payload": "ok" - } - } - }, - "integration-installation-request-paginated": { - "value": [ - { - "id": 25381, - "node_id": "MDEyOkludGVncmF0aW9uMTIzNDU2Nzg5MA==", - "account": { - "login": "octo-org", - "id": 6811672, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=", - "avatar_url": "https://avatars3.githubusercontent.com/u/6811672?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/octo-org", - "html_url": "https://github.com/octo-org", - "followers_url": "https://api.github.com/users/octo-org/followers", - "following_url": "https://api.github.com/users/octo-org/following{/other_user}", - "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions", - "organizations_url": "https://api.github.com/users/octo-org/orgs", - "repos_url": "https://api.github.com/users/octo-org/repos", - "events_url": "https://api.github.com/users/octo-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/octo-org/received_events", - "type": "Organization", - "site_admin": false - }, - "requester": { - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2022-07-08T16:18:44-04:00" - } - ] - }, - "base-installation-items": { - "value": [ - { - "id": 1, - "account": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "access_tokens_url": "https://api.github.com/app/installations/1/access_tokens", - "repositories_url": "https://api.github.com/installation/repositories", - "html_url": "https://github.com/organizations/github/settings/installations/1", - "app_id": 1, - "target_id": 1, - "target_type": "Organization", - "permissions": { - "checks": "write", - "metadata": "read", - "contents": "read" - }, - "events": ["push", "pull_request"], - "single_file_name": "config.yaml", - "has_multiple_single_files": true, - "single_file_paths": ["config.yml", ".github/issue_TEMPLATE.md"], - "repository_selection": "selected", - "created_at": "2017-07-08T16:18:44-04:00", - "updated_at": "2017-07-08T16:18:44-04:00", - "app_slug": "github-actions", - "suspended_at": null, - "suspended_by": null - } - ] - }, - "base-installation": { - "value": { - "id": 1, - "account": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "access_tokens_url": "https://api.github.com/app/installations/1/access_tokens", - "repositories_url": "https://api.github.com/installation/repositories", - "html_url": "https://github.com/organizations/github/settings/installations/1", - "app_id": 1, - "target_id": 1, - "target_type": "Organization", - "permissions": { - "checks": "write", - "metadata": "read", - "contents": "read" - }, - "events": ["push", "pull_request"], - "single_file_name": "config.yaml", - "has_multiple_single_files": true, - "single_file_paths": ["config.yml", ".github/issue_TEMPLATE.md"], - "repository_selection": "selected", - "created_at": "2017-07-08T16:18:44-04:00", - "updated_at": "2017-07-08T16:18:44-04:00", - "app_slug": "github-actions", - "suspended_at": null, - "suspended_by": null - } - }, - "installation-token": { - "value": { - "token": "ghs_16C7e42F292c6912E7710c838347Ae178B4a", - "expires_at": "2016-07-11T22:14:10Z", - "permissions": { "issues": "write", "contents": "read" }, - "repository_selection": "selected", - "repositories": [ - { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "git_url": "git:github.com/octocat/Hello-World.git", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "ssh_url": "git@github.com:octocat/Hello-World.git", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "clone_url": "https://github.com/octocat/Hello-World.git", - "mirror_url": "git:git.example.com/octocat/Hello-World", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", - "svn_url": "https://svn.github.com/octocat/Hello-World", - "homepage": "https://github.com", - "language": null, - "forks_count": 9, - "stargazers_count": 80, - "watchers_count": 80, - "size": 108, - "default_branch": "master", - "open_issues_count": 0, - "is_template": true, - "topics": ["octocat", "atom", "electron", "api"], - "has_issues": true, - "has_projects": true, - "has_wiki": true, - "has_pages": false, - "has_downloads": true, - "archived": false, - "disabled": false, - "visibility": "public", - "pushed_at": "2011-01-26T19:06:43Z", - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:14:43Z", - "permissions": { "admin": false, "push": false, "pull": true }, - "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "allow_squash_merge": true, - "allow_auto_merge": false, - "delete_branch_on_merge": true, - "allow_merge_commit": true, - "subscribers_count": 42, - "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 - } - ] - } - }, - "application-grant-items": { - "value": [ - { - "id": 1, - "url": "https://api.github.com/applications/grants/1", - "app": { - "url": "http://my-github-app.com", - "name": "my github app", - "client_id": "abcde12345fghij67890" - }, - "created_at": "2011-09-06T17:26:27Z", - "updated_at": "2011-09-06T20:39:23Z", - "scopes": ["public_repo"] - } - ] - }, - "application-grant": { - "value": { - "id": 1, - "url": "https://api.github.com/applications/grants/1", - "app": { - "url": "http://my-github-app.com", - "name": "my github app", - "client_id": "abcde12345fghij67890" - }, - "created_at": "2011-09-06T17:26:27Z", - "updated_at": "2011-09-06T20:39:23Z", - "scopes": ["public_repo"] - } - }, - "authorization-with-user": { - "value": { - "id": 1, - "url": "https://api.github.com/authorizations/1", - "scopes": ["public_repo", "user"], - "token": "ghu_16C7e42F292c6912E7710c838347Ae178B4a", - "token_last_eight": "Ae178B4a", - "hashed_token": "25f94a2a5c7fbaf499c665bc73d67c1c87e496da8985131633ee0a95819db2e8", - "app": { - "url": "http://my-github-app.com", - "name": "my github app", - "client_id": "Iv1.8a61f9b3a7aba766" - }, - "note": "optional note", - "note_url": "http://optional/note/url", - "updated_at": "2011-09-06T20:39:23Z", - "created_at": "2011-09-06T17:26:27Z", - "fingerprint": "jklmnop12345678", - "expires_at": "2011-09-08T17:26:27Z", - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - }, - "scope-token": { - "value": { - "id": 1, - "url": "https://api.github.com/authorizations/1", - "scopes": [], - "token": "ghu_16C7e42F292c6912E7710c838347Ae178B4a", - "token_last_eight": "Ae178B4a", - "hashed_token": "25f94a2a5c7fbaf499c665bc73d67c1c87e496da8985131633ee0a95819db2e8", - "app": { - "url": "http://my-github-app.com", - "name": "my github app", - "client_id": "Iv1.8a61f9b3a7aba766" - }, - "note": "optional note", - "note_url": "http://optional/note/url", - "updated_at": "2011-09-06T20:39:23Z", - "created_at": "2011-09-06T17:26:27Z", - "fingerprint": "jklmnop12345678", - "expires_at": "2011-09-08T17:26:27Z", - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "installation": { - "permissions": { - "metadata": "read", - "issues": "write", - "contents": "read" - }, - "repository_selection": "selected", - "single_file_name": ".github/workflow.yml", - "repositories_url": "https://api.github.com/user/repos", - "account": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "has_multiple_single_files": false, - "single_file_paths": [] - } - } - }, - "authorization-items": { - "value": [ - { - "id": 2, - "url": "https://enterprise.octocat.com/api/v3/authorizations/2", - "app": { - "name": "My personal access token", - "url": "https://docs.github.com/enterprise/rest/enterprise-admin/users#list-personal-access-tokens", - "client_id": "00000000000000000000" - }, - "token": "ghp_16C7e42F292c6912E7710c838347Ae178B4a", - "hashed_token": "23cffb2fab1b0a62747863eba88cb9327e561f2f7a0c8661c0d9b83146cb8d45", - "token_last_eight": "Ae178B4a", - "note": "My personal access token", - "note_url": null, - "created_at": "2019-04-24T21:49:02Z", - "updated_at": "2019-04-24T21:49:02Z", - "scopes": [ - "admin:business", - "admin:gpg_key", - "admin:org", - "admin:org_hook", - "admin:pre_receive_hook", - "admin:public_key", - "admin:repo_hook", - "delete_repo", - "gist", - "notifications", - "repo", - "user", - "write:discussion" - ], - "fingerprint": null - } - ] - }, - "authorization-response-if-returning-an-existing-token-2": { - "value": { - "id": 1, - "url": "https://api.github.com/authorizations/1", - "scopes": ["public_repo"], - "token": "ghu_16C7e42F292c6912E7710c838347Ae178B4a", - "token_last_eight": "Ae178B4a", - "hashed_token": "25f94a2a5c7fbaf499c665bc73d67c1c87e496da8985131633ee0a95819db2e8", - "app": { - "url": "http://my-github-app.com", - "name": "my github app", - "client_id": "abcde12345fghij67890" - }, - "note": "optional note", - "note_url": "http://optional/note/url", - "updated_at": "2011-09-06T20:39:23Z", - "created_at": "2011-09-06T17:26:27Z", - "expires_at": "2011-10-06T17:26:27Z", - "fingerprint": "" - } - }, - "authorization-response-if-returning-an-existing-token": { - "value": { - "id": 1, - "url": "https://api.github.com/authorizations/1", - "scopes": ["public_repo"], - "token": "ghu_16C7e42F292c6912E7710c838347Ae178B4a", - "token_last_eight": "Ae178B4a", - "hashed_token": "25f94a2a5c7fbaf499c665bc73d67c1c87e496da8985131633ee0a95819db2e8", - "app": { - "url": "http://my-github-app.com", - "name": "my github app", - "client_id": "abcde12345fghij67890" - }, - "note": "optional note", - "note_url": "http://optional/note/url", - "updated_at": "2011-09-06T20:39:23Z", - "created_at": "2011-09-06T17:26:27Z", - "expires_at": "2011-10-06T17:26:27Z", - "fingerprint": "jklmnop12345678" - } - }, - "authorization-3": { - "value": { - "id": 1, - "url": "https://api.github.com/authorizations/1", - "scopes": ["public_repo"], - "token": "ghu_16C7e42F292c6912E7710c838347Ae178B4a", - "token_last_eight": "Ae178B4a", - "hashed_token": "25f94a2a5c7fbaf499c665bc73d67c1c87e496da8985131633ee0a95819db2e8", - "app": { - "url": "http://my-github-app.com", - "name": "my github app", - "client_id": "abcde12345fghij67890" - }, - "note": "optional note", - "note_url": "http://optional/note/url", - "updated_at": "2011-09-06T20:39:23Z", - "created_at": "2011-09-06T17:26:27Z", - "expires_at": "2012-10-06T17:26:27Z", - "fingerprint": "jklmnop12345678" - } - }, - "authorization-2": { - "value": { - "id": 1, - "url": "https://api.github.com/authorizations/1", - "scopes": ["public_repo"], - "token": "ghu_16C7e42F292c6912E7710c838347Ae178B4a", - "token_last_eight": "Ae178B4a", - "hashed_token": "25f94a2a5c7fbaf499c665bc73d67c1c87e496da8985131633ee0a95819db2e8", - "app": { - "url": "http://my-github-app.com", - "name": "my github app", - "client_id": "abcde12345fghij67890" - }, - "note": "optional note", - "note_url": "http://optional/note/url", - "updated_at": "2011-09-06T20:39:23Z", - "created_at": "2011-09-06T17:26:27Z", - "expires_at": "2011-10-06T17:26:27Z", - "fingerprint": "jklmnop12345678" - } - }, - "code-of-conduct-simple-items": { - "value": [ - { - "key": "citizen_code_of_conduct", - "name": "Citizen Code of Conduct", - "url": "https://api.github.com/codes_of_conduct/citizen_code_of_conduct", - "html_url": "http://citizencodeofconduct.org/" - }, - { - "key": "contributor_covenant", - "name": "Contributor Covenant", - "url": "https://api.github.com/codes_of_conduct/contributor_covenant", - "html_url": "https://www.contributor-covenant.org/version/2/0/code_of_conduct/" - } - ] - }, - "code-of-conduct": { - "value": { - "key": "contributor_covenant", - "name": "Contributor Covenant", - "url": "https://api.github.com/codes_of_conduct/contributor_covenant", - "body": "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.4, available at [http://contributor-covenant.org/version/1/4](http://contributor-covenant.org/version/1/4/).\n", - "html_url": "http://contributor-covenant.org/version/1/4/" - } - }, - "emojis-get": { - "value": { - "100": "https://github.githubassets.com/images/icons/emoji/unicode/1f4af.png?v8", - "1234": "https://github.githubassets.com/images/icons/emoji/unicode/1f522.png?v8", - "+1": "https://github.githubassets.com/images/icons/emoji/unicode/1f44d.png?v8", - "-1": "https://github.githubassets.com/images/icons/emoji/unicode/1f44e.png?v8", - "1st_place_medal": "https://github.githubassets.com/images/icons/emoji/unicode/1f947.png?v8", - "2nd_place_medal": "https://github.githubassets.com/images/icons/emoji/unicode/1f948.png?v8", - "3rd_place_medal": "https://github.githubassets.com/images/icons/emoji/unicode/1f949.png?v8", - "8ball": "https://github.githubassets.com/images/icons/emoji/unicode/1f3b1.png?v8", - "a": "https://github.githubassets.com/images/icons/emoji/unicode/1f170.png?v8", - "ab": "https://github.githubassets.com/images/icons/emoji/unicode/1f18e.png?v8", - "abacus": "https://github.githubassets.com/images/icons/emoji/unicode/1f9ee.png?v8", - "abc": "https://github.githubassets.com/images/icons/emoji/unicode/1f524.png?v8", - "abcd": "https://github.githubassets.com/images/icons/emoji/unicode/1f521.png?v8", - "accept": "https://github.githubassets.com/images/icons/emoji/unicode/1f251.png?v8", - "accessibility": "https://github.githubassets.com/images/icons/emoji/accessibility.png?v8", - "accordion": "https://github.githubassets.com/images/icons/emoji/unicode/1fa97.png?v8", - "adhesive_bandage": "https://github.githubassets.com/images/icons/emoji/unicode/1fa79.png?v8", - "adult": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d1.png?v8", - "aerial_tramway": "https://github.githubassets.com/images/icons/emoji/unicode/1f6a1.png?v8", - "afghanistan": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e6-1f1eb.png?v8", - "airplane": "https://github.githubassets.com/images/icons/emoji/unicode/2708.png?v8", - "aland_islands": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e6-1f1fd.png?v8", - "alarm_clock": "https://github.githubassets.com/images/icons/emoji/unicode/23f0.png?v8", - "albania": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e6-1f1f1.png?v8", - "alembic": "https://github.githubassets.com/images/icons/emoji/unicode/2697.png?v8", - "algeria": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e9-1f1ff.png?v8", - "alien": "https://github.githubassets.com/images/icons/emoji/unicode/1f47d.png?v8", - "ambulance": "https://github.githubassets.com/images/icons/emoji/unicode/1f691.png?v8", - "american_samoa": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e6-1f1f8.png?v8", - "amphora": "https://github.githubassets.com/images/icons/emoji/unicode/1f3fa.png?v8", - "anatomical_heart": "https://github.githubassets.com/images/icons/emoji/unicode/1fac0.png?v8", - "anchor": "https://github.githubassets.com/images/icons/emoji/unicode/2693.png?v8", - "andorra": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e6-1f1e9.png?v8", - "angel": "https://github.githubassets.com/images/icons/emoji/unicode/1f47c.png?v8", - "anger": "https://github.githubassets.com/images/icons/emoji/unicode/1f4a2.png?v8", - "angola": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e6-1f1f4.png?v8", - "angry": "https://github.githubassets.com/images/icons/emoji/unicode/1f620.png?v8", - "anguilla": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e6-1f1ee.png?v8", - "anguished": "https://github.githubassets.com/images/icons/emoji/unicode/1f627.png?v8", - "ant": "https://github.githubassets.com/images/icons/emoji/unicode/1f41c.png?v8", - "antarctica": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e6-1f1f6.png?v8", - "antigua_barbuda": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e6-1f1ec.png?v8", - "apple": "https://github.githubassets.com/images/icons/emoji/unicode/1f34e.png?v8", - "aquarius": "https://github.githubassets.com/images/icons/emoji/unicode/2652.png?v8", - "argentina": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e6-1f1f7.png?v8", - "aries": "https://github.githubassets.com/images/icons/emoji/unicode/2648.png?v8", - "armenia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e6-1f1f2.png?v8", - "arrow_backward": "https://github.githubassets.com/images/icons/emoji/unicode/25c0.png?v8", - "arrow_double_down": "https://github.githubassets.com/images/icons/emoji/unicode/23ec.png?v8", - "arrow_double_up": "https://github.githubassets.com/images/icons/emoji/unicode/23eb.png?v8", - "arrow_down": "https://github.githubassets.com/images/icons/emoji/unicode/2b07.png?v8", - "arrow_down_small": "https://github.githubassets.com/images/icons/emoji/unicode/1f53d.png?v8", - "arrow_forward": "https://github.githubassets.com/images/icons/emoji/unicode/25b6.png?v8", - "arrow_heading_down": "https://github.githubassets.com/images/icons/emoji/unicode/2935.png?v8", - "arrow_heading_up": "https://github.githubassets.com/images/icons/emoji/unicode/2934.png?v8", - "arrow_left": "https://github.githubassets.com/images/icons/emoji/unicode/2b05.png?v8", - "arrow_lower_left": "https://github.githubassets.com/images/icons/emoji/unicode/2199.png?v8", - "arrow_lower_right": "https://github.githubassets.com/images/icons/emoji/unicode/2198.png?v8", - "arrow_right": "https://github.githubassets.com/images/icons/emoji/unicode/27a1.png?v8", - "arrow_right_hook": "https://github.githubassets.com/images/icons/emoji/unicode/21aa.png?v8", - "arrow_up": "https://github.githubassets.com/images/icons/emoji/unicode/2b06.png?v8", - "arrow_up_down": "https://github.githubassets.com/images/icons/emoji/unicode/2195.png?v8", - "arrow_up_small": "https://github.githubassets.com/images/icons/emoji/unicode/1f53c.png?v8", - "arrow_upper_left": "https://github.githubassets.com/images/icons/emoji/unicode/2196.png?v8", - "arrow_upper_right": "https://github.githubassets.com/images/icons/emoji/unicode/2197.png?v8", - "arrows_clockwise": "https://github.githubassets.com/images/icons/emoji/unicode/1f503.png?v8", - "arrows_counterclockwise": "https://github.githubassets.com/images/icons/emoji/unicode/1f504.png?v8", - "art": "https://github.githubassets.com/images/icons/emoji/unicode/1f3a8.png?v8", - "articulated_lorry": "https://github.githubassets.com/images/icons/emoji/unicode/1f69b.png?v8", - "artificial_satellite": "https://github.githubassets.com/images/icons/emoji/unicode/1f6f0.png?v8", - "artist": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d1-1f3a8.png?v8", - "aruba": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e6-1f1fc.png?v8", - "ascension_island": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e6-1f1e8.png?v8", - "asterisk": "https://github.githubassets.com/images/icons/emoji/unicode/002a-20e3.png?v8", - "astonished": "https://github.githubassets.com/images/icons/emoji/unicode/1f632.png?v8", - "astronaut": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d1-1f680.png?v8", - "athletic_shoe": "https://github.githubassets.com/images/icons/emoji/unicode/1f45f.png?v8", - "atm": "https://github.githubassets.com/images/icons/emoji/unicode/1f3e7.png?v8", - "atom": "https://github.githubassets.com/images/icons/emoji/atom.png?v8", - "atom_symbol": "https://github.githubassets.com/images/icons/emoji/unicode/269b.png?v8", - "australia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e6-1f1fa.png?v8", - "austria": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e6-1f1f9.png?v8", - "auto_rickshaw": "https://github.githubassets.com/images/icons/emoji/unicode/1f6fa.png?v8", - "avocado": "https://github.githubassets.com/images/icons/emoji/unicode/1f951.png?v8", - "axe": "https://github.githubassets.com/images/icons/emoji/unicode/1fa93.png?v8", - "azerbaijan": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e6-1f1ff.png?v8", - "b": "https://github.githubassets.com/images/icons/emoji/unicode/1f171.png?v8", - "baby": "https://github.githubassets.com/images/icons/emoji/unicode/1f476.png?v8", - "baby_bottle": "https://github.githubassets.com/images/icons/emoji/unicode/1f37c.png?v8", - "baby_chick": "https://github.githubassets.com/images/icons/emoji/unicode/1f424.png?v8", - "baby_symbol": "https://github.githubassets.com/images/icons/emoji/unicode/1f6bc.png?v8", - "back": "https://github.githubassets.com/images/icons/emoji/unicode/1f519.png?v8", - "bacon": "https://github.githubassets.com/images/icons/emoji/unicode/1f953.png?v8", - "badger": "https://github.githubassets.com/images/icons/emoji/unicode/1f9a1.png?v8", - "badminton": "https://github.githubassets.com/images/icons/emoji/unicode/1f3f8.png?v8", - "bagel": "https://github.githubassets.com/images/icons/emoji/unicode/1f96f.png?v8", - "baggage_claim": "https://github.githubassets.com/images/icons/emoji/unicode/1f6c4.png?v8", - "baguette_bread": "https://github.githubassets.com/images/icons/emoji/unicode/1f956.png?v8", - "bahamas": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e7-1f1f8.png?v8", - "bahrain": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e7-1f1ed.png?v8", - "balance_scale": "https://github.githubassets.com/images/icons/emoji/unicode/2696.png?v8", - "bald_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f9b2.png?v8", - "bald_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f9b2.png?v8", - "ballet_shoes": "https://github.githubassets.com/images/icons/emoji/unicode/1fa70.png?v8", - "balloon": "https://github.githubassets.com/images/icons/emoji/unicode/1f388.png?v8", - "ballot_box": "https://github.githubassets.com/images/icons/emoji/unicode/1f5f3.png?v8", - "ballot_box_with_check": "https://github.githubassets.com/images/icons/emoji/unicode/2611.png?v8", - "bamboo": "https://github.githubassets.com/images/icons/emoji/unicode/1f38d.png?v8", - "banana": "https://github.githubassets.com/images/icons/emoji/unicode/1f34c.png?v8", - "bangbang": "https://github.githubassets.com/images/icons/emoji/unicode/203c.png?v8", - "bangladesh": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e7-1f1e9.png?v8", - "banjo": "https://github.githubassets.com/images/icons/emoji/unicode/1fa95.png?v8", - "bank": "https://github.githubassets.com/images/icons/emoji/unicode/1f3e6.png?v8", - "bar_chart": "https://github.githubassets.com/images/icons/emoji/unicode/1f4ca.png?v8", - "barbados": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e7-1f1e7.png?v8", - "barber": "https://github.githubassets.com/images/icons/emoji/unicode/1f488.png?v8", - "baseball": "https://github.githubassets.com/images/icons/emoji/unicode/26be.png?v8", - "basecamp": "https://github.githubassets.com/images/icons/emoji/basecamp.png?v8", - "basecampy": "https://github.githubassets.com/images/icons/emoji/basecampy.png?v8", - "basket": "https://github.githubassets.com/images/icons/emoji/unicode/1f9fa.png?v8", - "basketball": "https://github.githubassets.com/images/icons/emoji/unicode/1f3c0.png?v8", - "basketball_man": "https://github.githubassets.com/images/icons/emoji/unicode/26f9-2642.png?v8", - "basketball_woman": "https://github.githubassets.com/images/icons/emoji/unicode/26f9-2640.png?v8", - "bat": "https://github.githubassets.com/images/icons/emoji/unicode/1f987.png?v8", - "bath": "https://github.githubassets.com/images/icons/emoji/unicode/1f6c0.png?v8", - "bathtub": "https://github.githubassets.com/images/icons/emoji/unicode/1f6c1.png?v8", - "battery": "https://github.githubassets.com/images/icons/emoji/unicode/1f50b.png?v8", - "beach_umbrella": "https://github.githubassets.com/images/icons/emoji/unicode/1f3d6.png?v8", - "bear": "https://github.githubassets.com/images/icons/emoji/unicode/1f43b.png?v8", - "bearded_person": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d4.png?v8", - "beaver": "https://github.githubassets.com/images/icons/emoji/unicode/1f9ab.png?v8", - "bed": "https://github.githubassets.com/images/icons/emoji/unicode/1f6cf.png?v8", - "bee": "https://github.githubassets.com/images/icons/emoji/unicode/1f41d.png?v8", - "beer": "https://github.githubassets.com/images/icons/emoji/unicode/1f37a.png?v8", - "beers": "https://github.githubassets.com/images/icons/emoji/unicode/1f37b.png?v8", - "beetle": "https://github.githubassets.com/images/icons/emoji/unicode/1fab2.png?v8", - "beginner": "https://github.githubassets.com/images/icons/emoji/unicode/1f530.png?v8", - "belarus": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e7-1f1fe.png?v8", - "belgium": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e7-1f1ea.png?v8", - "belize": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e7-1f1ff.png?v8", - "bell": "https://github.githubassets.com/images/icons/emoji/unicode/1f514.png?v8", - "bell_pepper": "https://github.githubassets.com/images/icons/emoji/unicode/1fad1.png?v8", - "bellhop_bell": "https://github.githubassets.com/images/icons/emoji/unicode/1f6ce.png?v8", - "benin": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e7-1f1ef.png?v8", - "bento": "https://github.githubassets.com/images/icons/emoji/unicode/1f371.png?v8", - "bermuda": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e7-1f1f2.png?v8", - "beverage_box": "https://github.githubassets.com/images/icons/emoji/unicode/1f9c3.png?v8", - "bhutan": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e7-1f1f9.png?v8", - "bicyclist": "https://github.githubassets.com/images/icons/emoji/unicode/1f6b4.png?v8", - "bike": "https://github.githubassets.com/images/icons/emoji/unicode/1f6b2.png?v8", - "biking_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f6b4-2642.png?v8", - "biking_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f6b4-2640.png?v8", - "bikini": "https://github.githubassets.com/images/icons/emoji/unicode/1f459.png?v8", - "billed_cap": "https://github.githubassets.com/images/icons/emoji/unicode/1f9e2.png?v8", - "biohazard": "https://github.githubassets.com/images/icons/emoji/unicode/2623.png?v8", - "bird": "https://github.githubassets.com/images/icons/emoji/unicode/1f426.png?v8", - "birthday": "https://github.githubassets.com/images/icons/emoji/unicode/1f382.png?v8", - "bison": "https://github.githubassets.com/images/icons/emoji/unicode/1f9ac.png?v8", - "black_cat": "https://github.githubassets.com/images/icons/emoji/unicode/1f408-2b1b.png?v8", - "black_circle": "https://github.githubassets.com/images/icons/emoji/unicode/26ab.png?v8", - "black_flag": "https://github.githubassets.com/images/icons/emoji/unicode/1f3f4.png?v8", - "black_heart": "https://github.githubassets.com/images/icons/emoji/unicode/1f5a4.png?v8", - "black_joker": "https://github.githubassets.com/images/icons/emoji/unicode/1f0cf.png?v8", - "black_large_square": "https://github.githubassets.com/images/icons/emoji/unicode/2b1b.png?v8", - "black_medium_small_square": "https://github.githubassets.com/images/icons/emoji/unicode/25fe.png?v8", - "black_medium_square": "https://github.githubassets.com/images/icons/emoji/unicode/25fc.png?v8", - "black_nib": "https://github.githubassets.com/images/icons/emoji/unicode/2712.png?v8", - "black_small_square": "https://github.githubassets.com/images/icons/emoji/unicode/25aa.png?v8", - "black_square_button": "https://github.githubassets.com/images/icons/emoji/unicode/1f532.png?v8", - "blond_haired_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f471-2642.png?v8", - "blond_haired_person": "https://github.githubassets.com/images/icons/emoji/unicode/1f471.png?v8", - "blond_haired_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f471-2640.png?v8", - "blonde_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f471-2640.png?v8", - "blossom": "https://github.githubassets.com/images/icons/emoji/unicode/1f33c.png?v8", - "blowfish": "https://github.githubassets.com/images/icons/emoji/unicode/1f421.png?v8", - "blue_book": "https://github.githubassets.com/images/icons/emoji/unicode/1f4d8.png?v8", - "blue_car": "https://github.githubassets.com/images/icons/emoji/unicode/1f699.png?v8", - "blue_heart": "https://github.githubassets.com/images/icons/emoji/unicode/1f499.png?v8", - "blue_square": "https://github.githubassets.com/images/icons/emoji/unicode/1f7e6.png?v8", - "blueberries": "https://github.githubassets.com/images/icons/emoji/unicode/1fad0.png?v8", - "blush": "https://github.githubassets.com/images/icons/emoji/unicode/1f60a.png?v8", - "boar": "https://github.githubassets.com/images/icons/emoji/unicode/1f417.png?v8", - "boat": "https://github.githubassets.com/images/icons/emoji/unicode/26f5.png?v8", - "bolivia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e7-1f1f4.png?v8", - "bomb": "https://github.githubassets.com/images/icons/emoji/unicode/1f4a3.png?v8", - "bone": "https://github.githubassets.com/images/icons/emoji/unicode/1f9b4.png?v8", - "book": "https://github.githubassets.com/images/icons/emoji/unicode/1f4d6.png?v8", - "bookmark": "https://github.githubassets.com/images/icons/emoji/unicode/1f516.png?v8", - "bookmark_tabs": "https://github.githubassets.com/images/icons/emoji/unicode/1f4d1.png?v8", - "books": "https://github.githubassets.com/images/icons/emoji/unicode/1f4da.png?v8", - "boom": "https://github.githubassets.com/images/icons/emoji/unicode/1f4a5.png?v8", - "boomerang": "https://github.githubassets.com/images/icons/emoji/unicode/1fa83.png?v8", - "boot": "https://github.githubassets.com/images/icons/emoji/unicode/1f462.png?v8", - "bosnia_herzegovina": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e7-1f1e6.png?v8", - "botswana": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e7-1f1fc.png?v8", - "bouncing_ball_man": "https://github.githubassets.com/images/icons/emoji/unicode/26f9-2642.png?v8", - "bouncing_ball_person": "https://github.githubassets.com/images/icons/emoji/unicode/26f9.png?v8", - "bouncing_ball_woman": "https://github.githubassets.com/images/icons/emoji/unicode/26f9-2640.png?v8", - "bouquet": "https://github.githubassets.com/images/icons/emoji/unicode/1f490.png?v8", - "bouvet_island": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e7-1f1fb.png?v8", - "bow": "https://github.githubassets.com/images/icons/emoji/unicode/1f647.png?v8", - "bow_and_arrow": "https://github.githubassets.com/images/icons/emoji/unicode/1f3f9.png?v8", - "bowing_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f647-2642.png?v8", - "bowing_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f647-2640.png?v8", - "bowl_with_spoon": "https://github.githubassets.com/images/icons/emoji/unicode/1f963.png?v8", - "bowling": "https://github.githubassets.com/images/icons/emoji/unicode/1f3b3.png?v8", - "bowtie": "https://github.githubassets.com/images/icons/emoji/bowtie.png?v8", - "boxing_glove": "https://github.githubassets.com/images/icons/emoji/unicode/1f94a.png?v8", - "boy": "https://github.githubassets.com/images/icons/emoji/unicode/1f466.png?v8", - "brain": "https://github.githubassets.com/images/icons/emoji/unicode/1f9e0.png?v8", - "brazil": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e7-1f1f7.png?v8", - "bread": "https://github.githubassets.com/images/icons/emoji/unicode/1f35e.png?v8", - "breast_feeding": "https://github.githubassets.com/images/icons/emoji/unicode/1f931.png?v8", - "bricks": "https://github.githubassets.com/images/icons/emoji/unicode/1f9f1.png?v8", - "bride_with_veil": "https://github.githubassets.com/images/icons/emoji/unicode/1f470-2640.png?v8", - "bridge_at_night": "https://github.githubassets.com/images/icons/emoji/unicode/1f309.png?v8", - "briefcase": "https://github.githubassets.com/images/icons/emoji/unicode/1f4bc.png?v8", - "british_indian_ocean_territory": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ee-1f1f4.png?v8", - "british_virgin_islands": "https://github.githubassets.com/images/icons/emoji/unicode/1f1fb-1f1ec.png?v8", - "broccoli": "https://github.githubassets.com/images/icons/emoji/unicode/1f966.png?v8", - "broken_heart": "https://github.githubassets.com/images/icons/emoji/unicode/1f494.png?v8", - "broom": "https://github.githubassets.com/images/icons/emoji/unicode/1f9f9.png?v8", - "brown_circle": "https://github.githubassets.com/images/icons/emoji/unicode/1f7e4.png?v8", - "brown_heart": "https://github.githubassets.com/images/icons/emoji/unicode/1f90e.png?v8", - "brown_square": "https://github.githubassets.com/images/icons/emoji/unicode/1f7eb.png?v8", - "brunei": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e7-1f1f3.png?v8", - "bubble_tea": "https://github.githubassets.com/images/icons/emoji/unicode/1f9cb.png?v8", - "bucket": "https://github.githubassets.com/images/icons/emoji/unicode/1faa3.png?v8", - "bug": "https://github.githubassets.com/images/icons/emoji/unicode/1f41b.png?v8", - "building_construction": "https://github.githubassets.com/images/icons/emoji/unicode/1f3d7.png?v8", - "bulb": "https://github.githubassets.com/images/icons/emoji/unicode/1f4a1.png?v8", - "bulgaria": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e7-1f1ec.png?v8", - "bullettrain_front": "https://github.githubassets.com/images/icons/emoji/unicode/1f685.png?v8", - "bullettrain_side": "https://github.githubassets.com/images/icons/emoji/unicode/1f684.png?v8", - "burkina_faso": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e7-1f1eb.png?v8", - "burrito": "https://github.githubassets.com/images/icons/emoji/unicode/1f32f.png?v8", - "burundi": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e7-1f1ee.png?v8", - "bus": "https://github.githubassets.com/images/icons/emoji/unicode/1f68c.png?v8", - "business_suit_levitating": "https://github.githubassets.com/images/icons/emoji/unicode/1f574.png?v8", - "busstop": "https://github.githubassets.com/images/icons/emoji/unicode/1f68f.png?v8", - "bust_in_silhouette": "https://github.githubassets.com/images/icons/emoji/unicode/1f464.png?v8", - "busts_in_silhouette": "https://github.githubassets.com/images/icons/emoji/unicode/1f465.png?v8", - "butter": "https://github.githubassets.com/images/icons/emoji/unicode/1f9c8.png?v8", - "butterfly": "https://github.githubassets.com/images/icons/emoji/unicode/1f98b.png?v8", - "cactus": "https://github.githubassets.com/images/icons/emoji/unicode/1f335.png?v8", - "cake": "https://github.githubassets.com/images/icons/emoji/unicode/1f370.png?v8", - "calendar": "https://github.githubassets.com/images/icons/emoji/unicode/1f4c6.png?v8", - "call_me_hand": "https://github.githubassets.com/images/icons/emoji/unicode/1f919.png?v8", - "calling": "https://github.githubassets.com/images/icons/emoji/unicode/1f4f2.png?v8", - "cambodia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f0-1f1ed.png?v8", - "camel": "https://github.githubassets.com/images/icons/emoji/unicode/1f42b.png?v8", - "camera": "https://github.githubassets.com/images/icons/emoji/unicode/1f4f7.png?v8", - "camera_flash": "https://github.githubassets.com/images/icons/emoji/unicode/1f4f8.png?v8", - "cameroon": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1f2.png?v8", - "camping": "https://github.githubassets.com/images/icons/emoji/unicode/1f3d5.png?v8", - "canada": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1e6.png?v8", - "canary_islands": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ee-1f1e8.png?v8", - "cancer": "https://github.githubassets.com/images/icons/emoji/unicode/264b.png?v8", - "candle": "https://github.githubassets.com/images/icons/emoji/unicode/1f56f.png?v8", - "candy": "https://github.githubassets.com/images/icons/emoji/unicode/1f36c.png?v8", - "canned_food": "https://github.githubassets.com/images/icons/emoji/unicode/1f96b.png?v8", - "canoe": "https://github.githubassets.com/images/icons/emoji/unicode/1f6f6.png?v8", - "cape_verde": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1fb.png?v8", - "capital_abcd": "https://github.githubassets.com/images/icons/emoji/unicode/1f520.png?v8", - "capricorn": "https://github.githubassets.com/images/icons/emoji/unicode/2651.png?v8", - "car": "https://github.githubassets.com/images/icons/emoji/unicode/1f697.png?v8", - "card_file_box": "https://github.githubassets.com/images/icons/emoji/unicode/1f5c3.png?v8", - "card_index": "https://github.githubassets.com/images/icons/emoji/unicode/1f4c7.png?v8", - "card_index_dividers": "https://github.githubassets.com/images/icons/emoji/unicode/1f5c2.png?v8", - "caribbean_netherlands": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e7-1f1f6.png?v8", - "carousel_horse": "https://github.githubassets.com/images/icons/emoji/unicode/1f3a0.png?v8", - "carpentry_saw": "https://github.githubassets.com/images/icons/emoji/unicode/1fa9a.png?v8", - "carrot": "https://github.githubassets.com/images/icons/emoji/unicode/1f955.png?v8", - "cartwheeling": "https://github.githubassets.com/images/icons/emoji/unicode/1f938.png?v8", - "cat": "https://github.githubassets.com/images/icons/emoji/unicode/1f431.png?v8", - "cat2": "https://github.githubassets.com/images/icons/emoji/unicode/1f408.png?v8", - "cayman_islands": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f0-1f1fe.png?v8", - "cd": "https://github.githubassets.com/images/icons/emoji/unicode/1f4bf.png?v8", - "central_african_republic": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1eb.png?v8", - "ceuta_melilla": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ea-1f1e6.png?v8", - "chad": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f9-1f1e9.png?v8", - "chains": "https://github.githubassets.com/images/icons/emoji/unicode/26d3.png?v8", - "chair": "https://github.githubassets.com/images/icons/emoji/unicode/1fa91.png?v8", - "champagne": "https://github.githubassets.com/images/icons/emoji/unicode/1f37e.png?v8", - "chart": "https://github.githubassets.com/images/icons/emoji/unicode/1f4b9.png?v8", - "chart_with_downwards_trend": "https://github.githubassets.com/images/icons/emoji/unicode/1f4c9.png?v8", - "chart_with_upwards_trend": "https://github.githubassets.com/images/icons/emoji/unicode/1f4c8.png?v8", - "checkered_flag": "https://github.githubassets.com/images/icons/emoji/unicode/1f3c1.png?v8", - "cheese": "https://github.githubassets.com/images/icons/emoji/unicode/1f9c0.png?v8", - "cherries": "https://github.githubassets.com/images/icons/emoji/unicode/1f352.png?v8", - "cherry_blossom": "https://github.githubassets.com/images/icons/emoji/unicode/1f338.png?v8", - "chess_pawn": "https://github.githubassets.com/images/icons/emoji/unicode/265f.png?v8", - "chestnut": "https://github.githubassets.com/images/icons/emoji/unicode/1f330.png?v8", - "chicken": "https://github.githubassets.com/images/icons/emoji/unicode/1f414.png?v8", - "child": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d2.png?v8", - "children_crossing": "https://github.githubassets.com/images/icons/emoji/unicode/1f6b8.png?v8", - "chile": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1f1.png?v8", - "chipmunk": "https://github.githubassets.com/images/icons/emoji/unicode/1f43f.png?v8", - "chocolate_bar": "https://github.githubassets.com/images/icons/emoji/unicode/1f36b.png?v8", - "chopsticks": "https://github.githubassets.com/images/icons/emoji/unicode/1f962.png?v8", - "christmas_island": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1fd.png?v8", - "christmas_tree": "https://github.githubassets.com/images/icons/emoji/unicode/1f384.png?v8", - "church": "https://github.githubassets.com/images/icons/emoji/unicode/26ea.png?v8", - "cinema": "https://github.githubassets.com/images/icons/emoji/unicode/1f3a6.png?v8", - "circus_tent": "https://github.githubassets.com/images/icons/emoji/unicode/1f3aa.png?v8", - "city_sunrise": "https://github.githubassets.com/images/icons/emoji/unicode/1f307.png?v8", - "city_sunset": "https://github.githubassets.com/images/icons/emoji/unicode/1f306.png?v8", - "cityscape": "https://github.githubassets.com/images/icons/emoji/unicode/1f3d9.png?v8", - "cl": "https://github.githubassets.com/images/icons/emoji/unicode/1f191.png?v8", - "clamp": "https://github.githubassets.com/images/icons/emoji/unicode/1f5dc.png?v8", - "clap": "https://github.githubassets.com/images/icons/emoji/unicode/1f44f.png?v8", - "clapper": "https://github.githubassets.com/images/icons/emoji/unicode/1f3ac.png?v8", - "classical_building": "https://github.githubassets.com/images/icons/emoji/unicode/1f3db.png?v8", - "climbing": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d7.png?v8", - "climbing_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d7-2642.png?v8", - "climbing_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d7-2640.png?v8", - "clinking_glasses": "https://github.githubassets.com/images/icons/emoji/unicode/1f942.png?v8", - "clipboard": "https://github.githubassets.com/images/icons/emoji/unicode/1f4cb.png?v8", - "clipperton_island": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1f5.png?v8", - "clock1": "https://github.githubassets.com/images/icons/emoji/unicode/1f550.png?v8", - "clock10": "https://github.githubassets.com/images/icons/emoji/unicode/1f559.png?v8", - "clock1030": "https://github.githubassets.com/images/icons/emoji/unicode/1f565.png?v8", - "clock11": "https://github.githubassets.com/images/icons/emoji/unicode/1f55a.png?v8", - "clock1130": "https://github.githubassets.com/images/icons/emoji/unicode/1f566.png?v8", - "clock12": "https://github.githubassets.com/images/icons/emoji/unicode/1f55b.png?v8", - "clock1230": "https://github.githubassets.com/images/icons/emoji/unicode/1f567.png?v8", - "clock130": "https://github.githubassets.com/images/icons/emoji/unicode/1f55c.png?v8", - "clock2": "https://github.githubassets.com/images/icons/emoji/unicode/1f551.png?v8", - "clock230": "https://github.githubassets.com/images/icons/emoji/unicode/1f55d.png?v8", - "clock3": "https://github.githubassets.com/images/icons/emoji/unicode/1f552.png?v8", - "clock330": "https://github.githubassets.com/images/icons/emoji/unicode/1f55e.png?v8", - "clock4": "https://github.githubassets.com/images/icons/emoji/unicode/1f553.png?v8", - "clock430": "https://github.githubassets.com/images/icons/emoji/unicode/1f55f.png?v8", - "clock5": "https://github.githubassets.com/images/icons/emoji/unicode/1f554.png?v8", - "clock530": "https://github.githubassets.com/images/icons/emoji/unicode/1f560.png?v8", - "clock6": "https://github.githubassets.com/images/icons/emoji/unicode/1f555.png?v8", - "clock630": "https://github.githubassets.com/images/icons/emoji/unicode/1f561.png?v8", - "clock7": "https://github.githubassets.com/images/icons/emoji/unicode/1f556.png?v8", - "clock730": "https://github.githubassets.com/images/icons/emoji/unicode/1f562.png?v8", - "clock8": "https://github.githubassets.com/images/icons/emoji/unicode/1f557.png?v8", - "clock830": "https://github.githubassets.com/images/icons/emoji/unicode/1f563.png?v8", - "clock9": "https://github.githubassets.com/images/icons/emoji/unicode/1f558.png?v8", - "clock930": "https://github.githubassets.com/images/icons/emoji/unicode/1f564.png?v8", - "closed_book": "https://github.githubassets.com/images/icons/emoji/unicode/1f4d5.png?v8", - "closed_lock_with_key": "https://github.githubassets.com/images/icons/emoji/unicode/1f510.png?v8", - "closed_umbrella": "https://github.githubassets.com/images/icons/emoji/unicode/1f302.png?v8", - "cloud": "https://github.githubassets.com/images/icons/emoji/unicode/2601.png?v8", - "cloud_with_lightning": "https://github.githubassets.com/images/icons/emoji/unicode/1f329.png?v8", - "cloud_with_lightning_and_rain": "https://github.githubassets.com/images/icons/emoji/unicode/26c8.png?v8", - "cloud_with_rain": "https://github.githubassets.com/images/icons/emoji/unicode/1f327.png?v8", - "cloud_with_snow": "https://github.githubassets.com/images/icons/emoji/unicode/1f328.png?v8", - "clown_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f921.png?v8", - "clubs": "https://github.githubassets.com/images/icons/emoji/unicode/2663.png?v8", - "cn": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1f3.png?v8", - "coat": "https://github.githubassets.com/images/icons/emoji/unicode/1f9e5.png?v8", - "cockroach": "https://github.githubassets.com/images/icons/emoji/unicode/1fab3.png?v8", - "cocktail": "https://github.githubassets.com/images/icons/emoji/unicode/1f378.png?v8", - "coconut": "https://github.githubassets.com/images/icons/emoji/unicode/1f965.png?v8", - "cocos_islands": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1e8.png?v8", - "coffee": "https://github.githubassets.com/images/icons/emoji/unicode/2615.png?v8", - "coffin": "https://github.githubassets.com/images/icons/emoji/unicode/26b0.png?v8", - "coin": "https://github.githubassets.com/images/icons/emoji/unicode/1fa99.png?v8", - "cold_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f976.png?v8", - "cold_sweat": "https://github.githubassets.com/images/icons/emoji/unicode/1f630.png?v8", - "collision": "https://github.githubassets.com/images/icons/emoji/unicode/1f4a5.png?v8", - "colombia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1f4.png?v8", - "comet": "https://github.githubassets.com/images/icons/emoji/unicode/2604.png?v8", - "comoros": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f0-1f1f2.png?v8", - "compass": "https://github.githubassets.com/images/icons/emoji/unicode/1f9ed.png?v8", - "computer": "https://github.githubassets.com/images/icons/emoji/unicode/1f4bb.png?v8", - "computer_mouse": "https://github.githubassets.com/images/icons/emoji/unicode/1f5b1.png?v8", - "confetti_ball": "https://github.githubassets.com/images/icons/emoji/unicode/1f38a.png?v8", - "confounded": "https://github.githubassets.com/images/icons/emoji/unicode/1f616.png?v8", - "confused": "https://github.githubassets.com/images/icons/emoji/unicode/1f615.png?v8", - "congo_brazzaville": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1ec.png?v8", - "congo_kinshasa": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1e9.png?v8", - "congratulations": "https://github.githubassets.com/images/icons/emoji/unicode/3297.png?v8", - "construction": "https://github.githubassets.com/images/icons/emoji/unicode/1f6a7.png?v8", - "construction_worker": "https://github.githubassets.com/images/icons/emoji/unicode/1f477.png?v8", - "construction_worker_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f477-2642.png?v8", - "construction_worker_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f477-2640.png?v8", - "control_knobs": "https://github.githubassets.com/images/icons/emoji/unicode/1f39b.png?v8", - "convenience_store": "https://github.githubassets.com/images/icons/emoji/unicode/1f3ea.png?v8", - "cook": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d1-1f373.png?v8", - "cook_islands": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1f0.png?v8", - "cookie": "https://github.githubassets.com/images/icons/emoji/unicode/1f36a.png?v8", - "cool": "https://github.githubassets.com/images/icons/emoji/unicode/1f192.png?v8", - "cop": "https://github.githubassets.com/images/icons/emoji/unicode/1f46e.png?v8", - "copilot": "https://github.githubassets.com/images/icons/emoji/copilot.png?v8", - "copyright": "https://github.githubassets.com/images/icons/emoji/unicode/00a9.png?v8", - "corn": "https://github.githubassets.com/images/icons/emoji/unicode/1f33d.png?v8", - "costa_rica": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1f7.png?v8", - "cote_divoire": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1ee.png?v8", - "couch_and_lamp": "https://github.githubassets.com/images/icons/emoji/unicode/1f6cb.png?v8", - "couple": "https://github.githubassets.com/images/icons/emoji/unicode/1f46b.png?v8", - "couple_with_heart": "https://github.githubassets.com/images/icons/emoji/unicode/1f491.png?v8", - "couple_with_heart_man_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-2764-1f468.png?v8", - "couple_with_heart_woman_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-2764-1f468.png?v8", - "couple_with_heart_woman_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-2764-1f469.png?v8", - "couplekiss": "https://github.githubassets.com/images/icons/emoji/unicode/1f48f.png?v8", - "couplekiss_man_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-2764-1f48b-1f468.png?v8", - "couplekiss_man_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-2764-1f48b-1f468.png?v8", - "couplekiss_woman_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-2764-1f48b-1f469.png?v8", - "cow": "https://github.githubassets.com/images/icons/emoji/unicode/1f42e.png?v8", - "cow2": "https://github.githubassets.com/images/icons/emoji/unicode/1f404.png?v8", - "cowboy_hat_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f920.png?v8", - "crab": "https://github.githubassets.com/images/icons/emoji/unicode/1f980.png?v8", - "crayon": "https://github.githubassets.com/images/icons/emoji/unicode/1f58d.png?v8", - "credit_card": "https://github.githubassets.com/images/icons/emoji/unicode/1f4b3.png?v8", - "crescent_moon": "https://github.githubassets.com/images/icons/emoji/unicode/1f319.png?v8", - "cricket": "https://github.githubassets.com/images/icons/emoji/unicode/1f997.png?v8", - "cricket_game": "https://github.githubassets.com/images/icons/emoji/unicode/1f3cf.png?v8", - "croatia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ed-1f1f7.png?v8", - "crocodile": "https://github.githubassets.com/images/icons/emoji/unicode/1f40a.png?v8", - "croissant": "https://github.githubassets.com/images/icons/emoji/unicode/1f950.png?v8", - "crossed_fingers": "https://github.githubassets.com/images/icons/emoji/unicode/1f91e.png?v8", - "crossed_flags": "https://github.githubassets.com/images/icons/emoji/unicode/1f38c.png?v8", - "crossed_swords": "https://github.githubassets.com/images/icons/emoji/unicode/2694.png?v8", - "crown": "https://github.githubassets.com/images/icons/emoji/unicode/1f451.png?v8", - "cry": "https://github.githubassets.com/images/icons/emoji/unicode/1f622.png?v8", - "crying_cat_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f63f.png?v8", - "crystal_ball": "https://github.githubassets.com/images/icons/emoji/unicode/1f52e.png?v8", - "cuba": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1fa.png?v8", - "cucumber": "https://github.githubassets.com/images/icons/emoji/unicode/1f952.png?v8", - "cup_with_straw": "https://github.githubassets.com/images/icons/emoji/unicode/1f964.png?v8", - "cupcake": "https://github.githubassets.com/images/icons/emoji/unicode/1f9c1.png?v8", - "cupid": "https://github.githubassets.com/images/icons/emoji/unicode/1f498.png?v8", - "curacao": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1fc.png?v8", - "curling_stone": "https://github.githubassets.com/images/icons/emoji/unicode/1f94c.png?v8", - "curly_haired_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f9b1.png?v8", - "curly_haired_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f9b1.png?v8", - "curly_loop": "https://github.githubassets.com/images/icons/emoji/unicode/27b0.png?v8", - "currency_exchange": "https://github.githubassets.com/images/icons/emoji/unicode/1f4b1.png?v8", - "curry": "https://github.githubassets.com/images/icons/emoji/unicode/1f35b.png?v8", - "cursing_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f92c.png?v8", - "custard": "https://github.githubassets.com/images/icons/emoji/unicode/1f36e.png?v8", - "customs": "https://github.githubassets.com/images/icons/emoji/unicode/1f6c3.png?v8", - "cut_of_meat": "https://github.githubassets.com/images/icons/emoji/unicode/1f969.png?v8", - "cyclone": "https://github.githubassets.com/images/icons/emoji/unicode/1f300.png?v8", - "cyprus": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1fe.png?v8", - "czech_republic": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1ff.png?v8", - "dagger": "https://github.githubassets.com/images/icons/emoji/unicode/1f5e1.png?v8", - "dancer": "https://github.githubassets.com/images/icons/emoji/unicode/1f483.png?v8", - "dancers": "https://github.githubassets.com/images/icons/emoji/unicode/1f46f.png?v8", - "dancing_men": "https://github.githubassets.com/images/icons/emoji/unicode/1f46f-2642.png?v8", - "dancing_women": "https://github.githubassets.com/images/icons/emoji/unicode/1f46f-2640.png?v8", - "dango": "https://github.githubassets.com/images/icons/emoji/unicode/1f361.png?v8", - "dark_sunglasses": "https://github.githubassets.com/images/icons/emoji/unicode/1f576.png?v8", - "dart": "https://github.githubassets.com/images/icons/emoji/unicode/1f3af.png?v8", - "dash": "https://github.githubassets.com/images/icons/emoji/unicode/1f4a8.png?v8", - "date": "https://github.githubassets.com/images/icons/emoji/unicode/1f4c5.png?v8", - "de": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e9-1f1ea.png?v8", - "deaf_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f9cf-2642.png?v8", - "deaf_person": "https://github.githubassets.com/images/icons/emoji/unicode/1f9cf.png?v8", - "deaf_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f9cf-2640.png?v8", - "deciduous_tree": "https://github.githubassets.com/images/icons/emoji/unicode/1f333.png?v8", - "deer": "https://github.githubassets.com/images/icons/emoji/unicode/1f98c.png?v8", - "denmark": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e9-1f1f0.png?v8", - "department_store": "https://github.githubassets.com/images/icons/emoji/unicode/1f3ec.png?v8", - "dependabot": "https://github.githubassets.com/images/icons/emoji/dependabot.png?v8", - "derelict_house": "https://github.githubassets.com/images/icons/emoji/unicode/1f3da.png?v8", - "desert": "https://github.githubassets.com/images/icons/emoji/unicode/1f3dc.png?v8", - "desert_island": "https://github.githubassets.com/images/icons/emoji/unicode/1f3dd.png?v8", - "desktop_computer": "https://github.githubassets.com/images/icons/emoji/unicode/1f5a5.png?v8", - "detective": "https://github.githubassets.com/images/icons/emoji/unicode/1f575.png?v8", - "diamond_shape_with_a_dot_inside": "https://github.githubassets.com/images/icons/emoji/unicode/1f4a0.png?v8", - "diamonds": "https://github.githubassets.com/images/icons/emoji/unicode/2666.png?v8", - "diego_garcia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e9-1f1ec.png?v8", - "disappointed": "https://github.githubassets.com/images/icons/emoji/unicode/1f61e.png?v8", - "disappointed_relieved": "https://github.githubassets.com/images/icons/emoji/unicode/1f625.png?v8", - "disguised_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f978.png?v8", - "diving_mask": "https://github.githubassets.com/images/icons/emoji/unicode/1f93f.png?v8", - "diya_lamp": "https://github.githubassets.com/images/icons/emoji/unicode/1fa94.png?v8", - "dizzy": "https://github.githubassets.com/images/icons/emoji/unicode/1f4ab.png?v8", - "dizzy_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f635.png?v8", - "djibouti": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e9-1f1ef.png?v8", - "dna": "https://github.githubassets.com/images/icons/emoji/unicode/1f9ec.png?v8", - "do_not_litter": "https://github.githubassets.com/images/icons/emoji/unicode/1f6af.png?v8", - "dodo": "https://github.githubassets.com/images/icons/emoji/unicode/1f9a4.png?v8", - "dog": "https://github.githubassets.com/images/icons/emoji/unicode/1f436.png?v8", - "dog2": "https://github.githubassets.com/images/icons/emoji/unicode/1f415.png?v8", - "dollar": "https://github.githubassets.com/images/icons/emoji/unicode/1f4b5.png?v8", - "dolls": "https://github.githubassets.com/images/icons/emoji/unicode/1f38e.png?v8", - "dolphin": "https://github.githubassets.com/images/icons/emoji/unicode/1f42c.png?v8", - "dominica": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e9-1f1f2.png?v8", - "dominican_republic": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e9-1f1f4.png?v8", - "door": "https://github.githubassets.com/images/icons/emoji/unicode/1f6aa.png?v8", - "doughnut": "https://github.githubassets.com/images/icons/emoji/unicode/1f369.png?v8", - "dove": "https://github.githubassets.com/images/icons/emoji/unicode/1f54a.png?v8", - "dragon": "https://github.githubassets.com/images/icons/emoji/unicode/1f409.png?v8", - "dragon_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f432.png?v8", - "dress": "https://github.githubassets.com/images/icons/emoji/unicode/1f457.png?v8", - "dromedary_camel": "https://github.githubassets.com/images/icons/emoji/unicode/1f42a.png?v8", - "drooling_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f924.png?v8", - "drop_of_blood": "https://github.githubassets.com/images/icons/emoji/unicode/1fa78.png?v8", - "droplet": "https://github.githubassets.com/images/icons/emoji/unicode/1f4a7.png?v8", - "drum": "https://github.githubassets.com/images/icons/emoji/unicode/1f941.png?v8", - "duck": "https://github.githubassets.com/images/icons/emoji/unicode/1f986.png?v8", - "dumpling": "https://github.githubassets.com/images/icons/emoji/unicode/1f95f.png?v8", - "dvd": "https://github.githubassets.com/images/icons/emoji/unicode/1f4c0.png?v8", - "e-mail": "https://github.githubassets.com/images/icons/emoji/unicode/1f4e7.png?v8", - "eagle": "https://github.githubassets.com/images/icons/emoji/unicode/1f985.png?v8", - "ear": "https://github.githubassets.com/images/icons/emoji/unicode/1f442.png?v8", - "ear_of_rice": "https://github.githubassets.com/images/icons/emoji/unicode/1f33e.png?v8", - "ear_with_hearing_aid": "https://github.githubassets.com/images/icons/emoji/unicode/1f9bb.png?v8", - "earth_africa": "https://github.githubassets.com/images/icons/emoji/unicode/1f30d.png?v8", - "earth_americas": "https://github.githubassets.com/images/icons/emoji/unicode/1f30e.png?v8", - "earth_asia": "https://github.githubassets.com/images/icons/emoji/unicode/1f30f.png?v8", - "ecuador": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ea-1f1e8.png?v8", - "egg": "https://github.githubassets.com/images/icons/emoji/unicode/1f95a.png?v8", - "eggplant": "https://github.githubassets.com/images/icons/emoji/unicode/1f346.png?v8", - "egypt": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ea-1f1ec.png?v8", - "eight": "https://github.githubassets.com/images/icons/emoji/unicode/0038-20e3.png?v8", - "eight_pointed_black_star": "https://github.githubassets.com/images/icons/emoji/unicode/2734.png?v8", - "eight_spoked_asterisk": "https://github.githubassets.com/images/icons/emoji/unicode/2733.png?v8", - "eject_button": "https://github.githubassets.com/images/icons/emoji/unicode/23cf.png?v8", - "el_salvador": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f8-1f1fb.png?v8", - "electric_plug": "https://github.githubassets.com/images/icons/emoji/unicode/1f50c.png?v8", - "electron": "https://github.githubassets.com/images/icons/emoji/electron.png?v8", - "elephant": "https://github.githubassets.com/images/icons/emoji/unicode/1f418.png?v8", - "elevator": "https://github.githubassets.com/images/icons/emoji/unicode/1f6d7.png?v8", - "elf": "https://github.githubassets.com/images/icons/emoji/unicode/1f9dd.png?v8", - "elf_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f9dd-2642.png?v8", - "elf_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f9dd-2640.png?v8", - "email": "https://github.githubassets.com/images/icons/emoji/unicode/1f4e7.png?v8", - "end": "https://github.githubassets.com/images/icons/emoji/unicode/1f51a.png?v8", - "england": "https://github.githubassets.com/images/icons/emoji/unicode/1f3f4-e0067-e0062-e0065-e006e-e0067-e007f.png?v8", - "envelope": "https://github.githubassets.com/images/icons/emoji/unicode/2709.png?v8", - "envelope_with_arrow": "https://github.githubassets.com/images/icons/emoji/unicode/1f4e9.png?v8", - "equatorial_guinea": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ec-1f1f6.png?v8", - "eritrea": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ea-1f1f7.png?v8", - "es": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ea-1f1f8.png?v8", - "estonia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ea-1f1ea.png?v8", - "ethiopia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ea-1f1f9.png?v8", - "eu": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ea-1f1fa.png?v8", - "euro": "https://github.githubassets.com/images/icons/emoji/unicode/1f4b6.png?v8", - "european_castle": "https://github.githubassets.com/images/icons/emoji/unicode/1f3f0.png?v8", - "european_post_office": "https://github.githubassets.com/images/icons/emoji/unicode/1f3e4.png?v8", - "european_union": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ea-1f1fa.png?v8", - "evergreen_tree": "https://github.githubassets.com/images/icons/emoji/unicode/1f332.png?v8", - "exclamation": "https://github.githubassets.com/images/icons/emoji/unicode/2757.png?v8", - "exploding_head": "https://github.githubassets.com/images/icons/emoji/unicode/1f92f.png?v8", - "expressionless": "https://github.githubassets.com/images/icons/emoji/unicode/1f611.png?v8", - "eye": "https://github.githubassets.com/images/icons/emoji/unicode/1f441.png?v8", - "eye_speech_bubble": "https://github.githubassets.com/images/icons/emoji/unicode/1f441-1f5e8.png?v8", - "eyeglasses": "https://github.githubassets.com/images/icons/emoji/unicode/1f453.png?v8", - "eyes": "https://github.githubassets.com/images/icons/emoji/unicode/1f440.png?v8", - "face_exhaling": "https://github.githubassets.com/images/icons/emoji/unicode/1f62e-1f4a8.png?v8", - "face_in_clouds": "https://github.githubassets.com/images/icons/emoji/unicode/1f636-1f32b.png?v8", - "face_with_head_bandage": "https://github.githubassets.com/images/icons/emoji/unicode/1f915.png?v8", - "face_with_spiral_eyes": "https://github.githubassets.com/images/icons/emoji/unicode/1f635-1f4ab.png?v8", - "face_with_thermometer": "https://github.githubassets.com/images/icons/emoji/unicode/1f912.png?v8", - "facepalm": "https://github.githubassets.com/images/icons/emoji/unicode/1f926.png?v8", - "facepunch": "https://github.githubassets.com/images/icons/emoji/unicode/1f44a.png?v8", - "factory": "https://github.githubassets.com/images/icons/emoji/unicode/1f3ed.png?v8", - "factory_worker": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d1-1f3ed.png?v8", - "fairy": "https://github.githubassets.com/images/icons/emoji/unicode/1f9da.png?v8", - "fairy_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f9da-2642.png?v8", - "fairy_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f9da-2640.png?v8", - "falafel": "https://github.githubassets.com/images/icons/emoji/unicode/1f9c6.png?v8", - "falkland_islands": "https://github.githubassets.com/images/icons/emoji/unicode/1f1eb-1f1f0.png?v8", - "fallen_leaf": "https://github.githubassets.com/images/icons/emoji/unicode/1f342.png?v8", - "family": "https://github.githubassets.com/images/icons/emoji/unicode/1f46a.png?v8", - "family_man_boy": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f466.png?v8", - "family_man_boy_boy": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f466-1f466.png?v8", - "family_man_girl": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f467.png?v8", - "family_man_girl_boy": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f467-1f466.png?v8", - "family_man_girl_girl": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f467-1f467.png?v8", - "family_man_man_boy": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f468-1f466.png?v8", - "family_man_man_boy_boy": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f468-1f466-1f466.png?v8", - "family_man_man_girl": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f468-1f467.png?v8", - "family_man_man_girl_boy": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f468-1f467-1f466.png?v8", - "family_man_man_girl_girl": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f468-1f467-1f467.png?v8", - "family_man_woman_boy": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f469-1f466.png?v8", - "family_man_woman_boy_boy": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f469-1f466-1f466.png?v8", - "family_man_woman_girl": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f469-1f467.png?v8", - "family_man_woman_girl_boy": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f469-1f467-1f466.png?v8", - "family_man_woman_girl_girl": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f469-1f467-1f467.png?v8", - "family_woman_boy": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f466.png?v8", - "family_woman_boy_boy": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f466-1f466.png?v8", - "family_woman_girl": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f467.png?v8", - "family_woman_girl_boy": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f467-1f466.png?v8", - "family_woman_girl_girl": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f467-1f467.png?v8", - "family_woman_woman_boy": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f469-1f466.png?v8", - "family_woman_woman_boy_boy": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f469-1f466-1f466.png?v8", - "family_woman_woman_girl": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f469-1f467.png?v8", - "family_woman_woman_girl_boy": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f469-1f467-1f466.png?v8", - "family_woman_woman_girl_girl": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f469-1f467-1f467.png?v8", - "farmer": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d1-1f33e.png?v8", - "faroe_islands": "https://github.githubassets.com/images/icons/emoji/unicode/1f1eb-1f1f4.png?v8", - "fast_forward": "https://github.githubassets.com/images/icons/emoji/unicode/23e9.png?v8", - "fax": "https://github.githubassets.com/images/icons/emoji/unicode/1f4e0.png?v8", - "fearful": "https://github.githubassets.com/images/icons/emoji/unicode/1f628.png?v8", - "feather": "https://github.githubassets.com/images/icons/emoji/unicode/1fab6.png?v8", - "feelsgood": "https://github.githubassets.com/images/icons/emoji/feelsgood.png?v8", - "feet": "https://github.githubassets.com/images/icons/emoji/unicode/1f43e.png?v8", - "female_detective": "https://github.githubassets.com/images/icons/emoji/unicode/1f575-2640.png?v8", - "female_sign": "https://github.githubassets.com/images/icons/emoji/unicode/2640.png?v8", - "ferris_wheel": "https://github.githubassets.com/images/icons/emoji/unicode/1f3a1.png?v8", - "ferry": "https://github.githubassets.com/images/icons/emoji/unicode/26f4.png?v8", - "field_hockey": "https://github.githubassets.com/images/icons/emoji/unicode/1f3d1.png?v8", - "fiji": "https://github.githubassets.com/images/icons/emoji/unicode/1f1eb-1f1ef.png?v8", - "file_cabinet": "https://github.githubassets.com/images/icons/emoji/unicode/1f5c4.png?v8", - "file_folder": "https://github.githubassets.com/images/icons/emoji/unicode/1f4c1.png?v8", - "film_projector": "https://github.githubassets.com/images/icons/emoji/unicode/1f4fd.png?v8", - "film_strip": "https://github.githubassets.com/images/icons/emoji/unicode/1f39e.png?v8", - "finland": "https://github.githubassets.com/images/icons/emoji/unicode/1f1eb-1f1ee.png?v8", - "finnadie": "https://github.githubassets.com/images/icons/emoji/finnadie.png?v8", - "fire": "https://github.githubassets.com/images/icons/emoji/unicode/1f525.png?v8", - "fire_engine": "https://github.githubassets.com/images/icons/emoji/unicode/1f692.png?v8", - "fire_extinguisher": "https://github.githubassets.com/images/icons/emoji/unicode/1f9ef.png?v8", - "firecracker": "https://github.githubassets.com/images/icons/emoji/unicode/1f9e8.png?v8", - "firefighter": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d1-1f692.png?v8", - "fireworks": "https://github.githubassets.com/images/icons/emoji/unicode/1f386.png?v8", - "first_quarter_moon": "https://github.githubassets.com/images/icons/emoji/unicode/1f313.png?v8", - "first_quarter_moon_with_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f31b.png?v8", - "fish": "https://github.githubassets.com/images/icons/emoji/unicode/1f41f.png?v8", - "fish_cake": "https://github.githubassets.com/images/icons/emoji/unicode/1f365.png?v8", - "fishsticks": "https://github.githubassets.com/images/icons/emoji/fishsticks.png?v8", - "fishing_pole_and_fish": "https://github.githubassets.com/images/icons/emoji/unicode/1f3a3.png?v8", - "fist": "https://github.githubassets.com/images/icons/emoji/unicode/270a.png?v8", - "fist_left": "https://github.githubassets.com/images/icons/emoji/unicode/1f91b.png?v8", - "fist_oncoming": "https://github.githubassets.com/images/icons/emoji/unicode/1f44a.png?v8", - "fist_raised": "https://github.githubassets.com/images/icons/emoji/unicode/270a.png?v8", - "fist_right": "https://github.githubassets.com/images/icons/emoji/unicode/1f91c.png?v8", - "five": "https://github.githubassets.com/images/icons/emoji/unicode/0035-20e3.png?v8", - "flags": "https://github.githubassets.com/images/icons/emoji/unicode/1f38f.png?v8", - "flamingo": "https://github.githubassets.com/images/icons/emoji/unicode/1f9a9.png?v8", - "flashlight": "https://github.githubassets.com/images/icons/emoji/unicode/1f526.png?v8", - "flat_shoe": "https://github.githubassets.com/images/icons/emoji/unicode/1f97f.png?v8", - "flatbread": "https://github.githubassets.com/images/icons/emoji/unicode/1fad3.png?v8", - "fleur_de_lis": "https://github.githubassets.com/images/icons/emoji/unicode/269c.png?v8", - "flight_arrival": "https://github.githubassets.com/images/icons/emoji/unicode/1f6ec.png?v8", - "flight_departure": "https://github.githubassets.com/images/icons/emoji/unicode/1f6eb.png?v8", - "flipper": "https://github.githubassets.com/images/icons/emoji/unicode/1f42c.png?v8", - "floppy_disk": "https://github.githubassets.com/images/icons/emoji/unicode/1f4be.png?v8", - "flower_playing_cards": "https://github.githubassets.com/images/icons/emoji/unicode/1f3b4.png?v8", - "flushed": "https://github.githubassets.com/images/icons/emoji/unicode/1f633.png?v8", - "fly": "https://github.githubassets.com/images/icons/emoji/unicode/1fab0.png?v8", - "flying_disc": "https://github.githubassets.com/images/icons/emoji/unicode/1f94f.png?v8", - "flying_saucer": "https://github.githubassets.com/images/icons/emoji/unicode/1f6f8.png?v8", - "fog": "https://github.githubassets.com/images/icons/emoji/unicode/1f32b.png?v8", - "foggy": "https://github.githubassets.com/images/icons/emoji/unicode/1f301.png?v8", - "fondue": "https://github.githubassets.com/images/icons/emoji/unicode/1fad5.png?v8", - "foot": "https://github.githubassets.com/images/icons/emoji/unicode/1f9b6.png?v8", - "football": "https://github.githubassets.com/images/icons/emoji/unicode/1f3c8.png?v8", - "footprints": "https://github.githubassets.com/images/icons/emoji/unicode/1f463.png?v8", - "fork_and_knife": "https://github.githubassets.com/images/icons/emoji/unicode/1f374.png?v8", - "fortune_cookie": "https://github.githubassets.com/images/icons/emoji/unicode/1f960.png?v8", - "fountain": "https://github.githubassets.com/images/icons/emoji/unicode/26f2.png?v8", - "fountain_pen": "https://github.githubassets.com/images/icons/emoji/unicode/1f58b.png?v8", - "four": "https://github.githubassets.com/images/icons/emoji/unicode/0034-20e3.png?v8", - "four_leaf_clover": "https://github.githubassets.com/images/icons/emoji/unicode/1f340.png?v8", - "fox_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f98a.png?v8", - "fr": "https://github.githubassets.com/images/icons/emoji/unicode/1f1eb-1f1f7.png?v8", - "framed_picture": "https://github.githubassets.com/images/icons/emoji/unicode/1f5bc.png?v8", - "free": "https://github.githubassets.com/images/icons/emoji/unicode/1f193.png?v8", - "french_guiana": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ec-1f1eb.png?v8", - "french_polynesia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f5-1f1eb.png?v8", - "french_southern_territories": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f9-1f1eb.png?v8", - "fried_egg": "https://github.githubassets.com/images/icons/emoji/unicode/1f373.png?v8", - "fried_shrimp": "https://github.githubassets.com/images/icons/emoji/unicode/1f364.png?v8", - "fries": "https://github.githubassets.com/images/icons/emoji/unicode/1f35f.png?v8", - "frog": "https://github.githubassets.com/images/icons/emoji/unicode/1f438.png?v8", - "frowning": "https://github.githubassets.com/images/icons/emoji/unicode/1f626.png?v8", - "frowning_face": "https://github.githubassets.com/images/icons/emoji/unicode/2639.png?v8", - "frowning_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f64d-2642.png?v8", - "frowning_person": "https://github.githubassets.com/images/icons/emoji/unicode/1f64d.png?v8", - "frowning_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f64d-2640.png?v8", - "fu": "https://github.githubassets.com/images/icons/emoji/unicode/1f595.png?v8", - "fuelpump": "https://github.githubassets.com/images/icons/emoji/unicode/26fd.png?v8", - "full_moon": "https://github.githubassets.com/images/icons/emoji/unicode/1f315.png?v8", - "full_moon_with_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f31d.png?v8", - "funeral_urn": "https://github.githubassets.com/images/icons/emoji/unicode/26b1.png?v8", - "gabon": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ec-1f1e6.png?v8", - "gambia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ec-1f1f2.png?v8", - "game_die": "https://github.githubassets.com/images/icons/emoji/unicode/1f3b2.png?v8", - "garlic": "https://github.githubassets.com/images/icons/emoji/unicode/1f9c4.png?v8", - "gb": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ec-1f1e7.png?v8", - "gear": "https://github.githubassets.com/images/icons/emoji/unicode/2699.png?v8", - "gem": "https://github.githubassets.com/images/icons/emoji/unicode/1f48e.png?v8", - "gemini": "https://github.githubassets.com/images/icons/emoji/unicode/264a.png?v8", - "genie": "https://github.githubassets.com/images/icons/emoji/unicode/1f9de.png?v8", - "genie_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f9de-2642.png?v8", - "genie_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f9de-2640.png?v8", - "georgia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ec-1f1ea.png?v8", - "ghana": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ec-1f1ed.png?v8", - "ghost": "https://github.githubassets.com/images/icons/emoji/unicode/1f47b.png?v8", - "gibraltar": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ec-1f1ee.png?v8", - "gift": "https://github.githubassets.com/images/icons/emoji/unicode/1f381.png?v8", - "gift_heart": "https://github.githubassets.com/images/icons/emoji/unicode/1f49d.png?v8", - "giraffe": "https://github.githubassets.com/images/icons/emoji/unicode/1f992.png?v8", - "girl": "https://github.githubassets.com/images/icons/emoji/unicode/1f467.png?v8", - "globe_with_meridians": "https://github.githubassets.com/images/icons/emoji/unicode/1f310.png?v8", - "gloves": "https://github.githubassets.com/images/icons/emoji/unicode/1f9e4.png?v8", - "goal_net": "https://github.githubassets.com/images/icons/emoji/unicode/1f945.png?v8", - "goat": "https://github.githubassets.com/images/icons/emoji/unicode/1f410.png?v8", - "goberserk": "https://github.githubassets.com/images/icons/emoji/goberserk.png?v8", - "godmode": "https://github.githubassets.com/images/icons/emoji/godmode.png?v8", - "goggles": "https://github.githubassets.com/images/icons/emoji/unicode/1f97d.png?v8", - "golf": "https://github.githubassets.com/images/icons/emoji/unicode/26f3.png?v8", - "golfing": "https://github.githubassets.com/images/icons/emoji/unicode/1f3cc.png?v8", - "golfing_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f3cc-2642.png?v8", - "golfing_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f3cc-2640.png?v8", - "gorilla": "https://github.githubassets.com/images/icons/emoji/unicode/1f98d.png?v8", - "grapes": "https://github.githubassets.com/images/icons/emoji/unicode/1f347.png?v8", - "greece": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ec-1f1f7.png?v8", - "green_apple": "https://github.githubassets.com/images/icons/emoji/unicode/1f34f.png?v8", - "green_book": "https://github.githubassets.com/images/icons/emoji/unicode/1f4d7.png?v8", - "green_circle": "https://github.githubassets.com/images/icons/emoji/unicode/1f7e2.png?v8", - "green_heart": "https://github.githubassets.com/images/icons/emoji/unicode/1f49a.png?v8", - "green_salad": "https://github.githubassets.com/images/icons/emoji/unicode/1f957.png?v8", - "green_square": "https://github.githubassets.com/images/icons/emoji/unicode/1f7e9.png?v8", - "greenland": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ec-1f1f1.png?v8", - "grenada": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ec-1f1e9.png?v8", - "grey_exclamation": "https://github.githubassets.com/images/icons/emoji/unicode/2755.png?v8", - "grey_question": "https://github.githubassets.com/images/icons/emoji/unicode/2754.png?v8", - "grimacing": "https://github.githubassets.com/images/icons/emoji/unicode/1f62c.png?v8", - "grin": "https://github.githubassets.com/images/icons/emoji/unicode/1f601.png?v8", - "grinning": "https://github.githubassets.com/images/icons/emoji/unicode/1f600.png?v8", - "guadeloupe": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ec-1f1f5.png?v8", - "guam": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ec-1f1fa.png?v8", - "guard": "https://github.githubassets.com/images/icons/emoji/unicode/1f482.png?v8", - "guardsman": "https://github.githubassets.com/images/icons/emoji/unicode/1f482-2642.png?v8", - "guardswoman": "https://github.githubassets.com/images/icons/emoji/unicode/1f482-2640.png?v8", - "guatemala": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ec-1f1f9.png?v8", - "guernsey": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ec-1f1ec.png?v8", - "guide_dog": "https://github.githubassets.com/images/icons/emoji/unicode/1f9ae.png?v8", - "guinea": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ec-1f1f3.png?v8", - "guinea_bissau": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ec-1f1fc.png?v8", - "guitar": "https://github.githubassets.com/images/icons/emoji/unicode/1f3b8.png?v8", - "gun": "https://github.githubassets.com/images/icons/emoji/unicode/1f52b.png?v8", - "guyana": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ec-1f1fe.png?v8", - "haircut": "https://github.githubassets.com/images/icons/emoji/unicode/1f487.png?v8", - "haircut_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f487-2642.png?v8", - "haircut_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f487-2640.png?v8", - "haiti": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ed-1f1f9.png?v8", - "hamburger": "https://github.githubassets.com/images/icons/emoji/unicode/1f354.png?v8", - "hammer": "https://github.githubassets.com/images/icons/emoji/unicode/1f528.png?v8", - "hammer_and_pick": "https://github.githubassets.com/images/icons/emoji/unicode/2692.png?v8", - "hammer_and_wrench": "https://github.githubassets.com/images/icons/emoji/unicode/1f6e0.png?v8", - "hamster": "https://github.githubassets.com/images/icons/emoji/unicode/1f439.png?v8", - "hand": "https://github.githubassets.com/images/icons/emoji/unicode/270b.png?v8", - "hand_over_mouth": "https://github.githubassets.com/images/icons/emoji/unicode/1f92d.png?v8", - "handbag": "https://github.githubassets.com/images/icons/emoji/unicode/1f45c.png?v8", - "handball_person": "https://github.githubassets.com/images/icons/emoji/unicode/1f93e.png?v8", - "handshake": "https://github.githubassets.com/images/icons/emoji/unicode/1f91d.png?v8", - "hankey": "https://github.githubassets.com/images/icons/emoji/unicode/1f4a9.png?v8", - "hash": "https://github.githubassets.com/images/icons/emoji/unicode/0023-20e3.png?v8", - "hatched_chick": "https://github.githubassets.com/images/icons/emoji/unicode/1f425.png?v8", - "hatching_chick": "https://github.githubassets.com/images/icons/emoji/unicode/1f423.png?v8", - "headphones": "https://github.githubassets.com/images/icons/emoji/unicode/1f3a7.png?v8", - "headstone": "https://github.githubassets.com/images/icons/emoji/unicode/1faa6.png?v8", - "health_worker": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d1-2695.png?v8", - "hear_no_evil": "https://github.githubassets.com/images/icons/emoji/unicode/1f649.png?v8", - "heard_mcdonald_islands": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ed-1f1f2.png?v8", - "heart": "https://github.githubassets.com/images/icons/emoji/unicode/2764.png?v8", - "heart_decoration": "https://github.githubassets.com/images/icons/emoji/unicode/1f49f.png?v8", - "heart_eyes": "https://github.githubassets.com/images/icons/emoji/unicode/1f60d.png?v8", - "heart_eyes_cat": "https://github.githubassets.com/images/icons/emoji/unicode/1f63b.png?v8", - "heart_on_fire": "https://github.githubassets.com/images/icons/emoji/unicode/2764-1f525.png?v8", - "heartbeat": "https://github.githubassets.com/images/icons/emoji/unicode/1f493.png?v8", - "heartpulse": "https://github.githubassets.com/images/icons/emoji/unicode/1f497.png?v8", - "hearts": "https://github.githubassets.com/images/icons/emoji/unicode/2665.png?v8", - "heavy_check_mark": "https://github.githubassets.com/images/icons/emoji/unicode/2714.png?v8", - "heavy_division_sign": "https://github.githubassets.com/images/icons/emoji/unicode/2797.png?v8", - "heavy_dollar_sign": "https://github.githubassets.com/images/icons/emoji/unicode/1f4b2.png?v8", - "heavy_exclamation_mark": "https://github.githubassets.com/images/icons/emoji/unicode/2757.png?v8", - "heavy_heart_exclamation": "https://github.githubassets.com/images/icons/emoji/unicode/2763.png?v8", - "heavy_minus_sign": "https://github.githubassets.com/images/icons/emoji/unicode/2796.png?v8", - "heavy_multiplication_x": "https://github.githubassets.com/images/icons/emoji/unicode/2716.png?v8", - "heavy_plus_sign": "https://github.githubassets.com/images/icons/emoji/unicode/2795.png?v8", - "hedgehog": "https://github.githubassets.com/images/icons/emoji/unicode/1f994.png?v8", - "helicopter": "https://github.githubassets.com/images/icons/emoji/unicode/1f681.png?v8", - "herb": "https://github.githubassets.com/images/icons/emoji/unicode/1f33f.png?v8", - "hibiscus": "https://github.githubassets.com/images/icons/emoji/unicode/1f33a.png?v8", - "high_brightness": "https://github.githubassets.com/images/icons/emoji/unicode/1f506.png?v8", - "high_heel": "https://github.githubassets.com/images/icons/emoji/unicode/1f460.png?v8", - "hiking_boot": "https://github.githubassets.com/images/icons/emoji/unicode/1f97e.png?v8", - "hindu_temple": "https://github.githubassets.com/images/icons/emoji/unicode/1f6d5.png?v8", - "hippopotamus": "https://github.githubassets.com/images/icons/emoji/unicode/1f99b.png?v8", - "hocho": "https://github.githubassets.com/images/icons/emoji/unicode/1f52a.png?v8", - "hole": "https://github.githubassets.com/images/icons/emoji/unicode/1f573.png?v8", - "honduras": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ed-1f1f3.png?v8", - "honey_pot": "https://github.githubassets.com/images/icons/emoji/unicode/1f36f.png?v8", - "honeybee": "https://github.githubassets.com/images/icons/emoji/unicode/1f41d.png?v8", - "hong_kong": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ed-1f1f0.png?v8", - "hook": "https://github.githubassets.com/images/icons/emoji/unicode/1fa9d.png?v8", - "horse": "https://github.githubassets.com/images/icons/emoji/unicode/1f434.png?v8", - "horse_racing": "https://github.githubassets.com/images/icons/emoji/unicode/1f3c7.png?v8", - "hospital": "https://github.githubassets.com/images/icons/emoji/unicode/1f3e5.png?v8", - "hot_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f975.png?v8", - "hot_pepper": "https://github.githubassets.com/images/icons/emoji/unicode/1f336.png?v8", - "hotdog": "https://github.githubassets.com/images/icons/emoji/unicode/1f32d.png?v8", - "hotel": "https://github.githubassets.com/images/icons/emoji/unicode/1f3e8.png?v8", - "hotsprings": "https://github.githubassets.com/images/icons/emoji/unicode/2668.png?v8", - "hourglass": "https://github.githubassets.com/images/icons/emoji/unicode/231b.png?v8", - "hourglass_flowing_sand": "https://github.githubassets.com/images/icons/emoji/unicode/23f3.png?v8", - "house": "https://github.githubassets.com/images/icons/emoji/unicode/1f3e0.png?v8", - "house_with_garden": "https://github.githubassets.com/images/icons/emoji/unicode/1f3e1.png?v8", - "houses": "https://github.githubassets.com/images/icons/emoji/unicode/1f3d8.png?v8", - "hugs": "https://github.githubassets.com/images/icons/emoji/unicode/1f917.png?v8", - "hungary": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ed-1f1fa.png?v8", - "hurtrealbad": "https://github.githubassets.com/images/icons/emoji/hurtrealbad.png?v8", - "hushed": "https://github.githubassets.com/images/icons/emoji/unicode/1f62f.png?v8", - "hut": "https://github.githubassets.com/images/icons/emoji/unicode/1f6d6.png?v8", - "ice_cream": "https://github.githubassets.com/images/icons/emoji/unicode/1f368.png?v8", - "ice_cube": "https://github.githubassets.com/images/icons/emoji/unicode/1f9ca.png?v8", - "ice_hockey": "https://github.githubassets.com/images/icons/emoji/unicode/1f3d2.png?v8", - "ice_skate": "https://github.githubassets.com/images/icons/emoji/unicode/26f8.png?v8", - "icecream": "https://github.githubassets.com/images/icons/emoji/unicode/1f366.png?v8", - "iceland": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ee-1f1f8.png?v8", - "id": "https://github.githubassets.com/images/icons/emoji/unicode/1f194.png?v8", - "ideograph_advantage": "https://github.githubassets.com/images/icons/emoji/unicode/1f250.png?v8", - "imp": "https://github.githubassets.com/images/icons/emoji/unicode/1f47f.png?v8", - "inbox_tray": "https://github.githubassets.com/images/icons/emoji/unicode/1f4e5.png?v8", - "incoming_envelope": "https://github.githubassets.com/images/icons/emoji/unicode/1f4e8.png?v8", - "india": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ee-1f1f3.png?v8", - "indonesia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ee-1f1e9.png?v8", - "infinity": "https://github.githubassets.com/images/icons/emoji/unicode/267e.png?v8", - "information_desk_person": "https://github.githubassets.com/images/icons/emoji/unicode/1f481.png?v8", - "information_source": "https://github.githubassets.com/images/icons/emoji/unicode/2139.png?v8", - "innocent": "https://github.githubassets.com/images/icons/emoji/unicode/1f607.png?v8", - "interrobang": "https://github.githubassets.com/images/icons/emoji/unicode/2049.png?v8", - "iphone": "https://github.githubassets.com/images/icons/emoji/unicode/1f4f1.png?v8", - "iran": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ee-1f1f7.png?v8", - "iraq": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ee-1f1f6.png?v8", - "ireland": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ee-1f1ea.png?v8", - "isle_of_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ee-1f1f2.png?v8", - "israel": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ee-1f1f1.png?v8", - "it": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ee-1f1f9.png?v8", - "izakaya_lantern": "https://github.githubassets.com/images/icons/emoji/unicode/1f3ee.png?v8", - "jack_o_lantern": "https://github.githubassets.com/images/icons/emoji/unicode/1f383.png?v8", - "jamaica": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ef-1f1f2.png?v8", - "japan": "https://github.githubassets.com/images/icons/emoji/unicode/1f5fe.png?v8", - "japanese_castle": "https://github.githubassets.com/images/icons/emoji/unicode/1f3ef.png?v8", - "japanese_goblin": "https://github.githubassets.com/images/icons/emoji/unicode/1f47a.png?v8", - "japanese_ogre": "https://github.githubassets.com/images/icons/emoji/unicode/1f479.png?v8", - "jeans": "https://github.githubassets.com/images/icons/emoji/unicode/1f456.png?v8", - "jersey": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ef-1f1ea.png?v8", - "jigsaw": "https://github.githubassets.com/images/icons/emoji/unicode/1f9e9.png?v8", - "jordan": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ef-1f1f4.png?v8", - "joy": "https://github.githubassets.com/images/icons/emoji/unicode/1f602.png?v8", - "joy_cat": "https://github.githubassets.com/images/icons/emoji/unicode/1f639.png?v8", - "joystick": "https://github.githubassets.com/images/icons/emoji/unicode/1f579.png?v8", - "jp": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ef-1f1f5.png?v8", - "judge": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d1-2696.png?v8", - "juggling_person": "https://github.githubassets.com/images/icons/emoji/unicode/1f939.png?v8", - "kangaroo": "https://github.githubassets.com/images/icons/emoji/unicode/1f998.png?v8", - "kazakhstan": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f0-1f1ff.png?v8", - "kenya": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f0-1f1ea.png?v8", - "key": "https://github.githubassets.com/images/icons/emoji/unicode/1f511.png?v8", - "keyboard": "https://github.githubassets.com/images/icons/emoji/unicode/2328.png?v8", - "keycap_ten": "https://github.githubassets.com/images/icons/emoji/unicode/1f51f.png?v8", - "kick_scooter": "https://github.githubassets.com/images/icons/emoji/unicode/1f6f4.png?v8", - "kimono": "https://github.githubassets.com/images/icons/emoji/unicode/1f458.png?v8", - "kiribati": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f0-1f1ee.png?v8", - "kiss": "https://github.githubassets.com/images/icons/emoji/unicode/1f48b.png?v8", - "kissing": "https://github.githubassets.com/images/icons/emoji/unicode/1f617.png?v8", - "kissing_cat": "https://github.githubassets.com/images/icons/emoji/unicode/1f63d.png?v8", - "kissing_closed_eyes": "https://github.githubassets.com/images/icons/emoji/unicode/1f61a.png?v8", - "kissing_heart": "https://github.githubassets.com/images/icons/emoji/unicode/1f618.png?v8", - "kissing_smiling_eyes": "https://github.githubassets.com/images/icons/emoji/unicode/1f619.png?v8", - "kite": "https://github.githubassets.com/images/icons/emoji/unicode/1fa81.png?v8", - "kiwi_fruit": "https://github.githubassets.com/images/icons/emoji/unicode/1f95d.png?v8", - "kneeling_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f9ce-2642.png?v8", - "kneeling_person": "https://github.githubassets.com/images/icons/emoji/unicode/1f9ce.png?v8", - "kneeling_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f9ce-2640.png?v8", - "knife": "https://github.githubassets.com/images/icons/emoji/unicode/1f52a.png?v8", - "knot": "https://github.githubassets.com/images/icons/emoji/unicode/1faa2.png?v8", - "koala": "https://github.githubassets.com/images/icons/emoji/unicode/1f428.png?v8", - "koko": "https://github.githubassets.com/images/icons/emoji/unicode/1f201.png?v8", - "kosovo": "https://github.githubassets.com/images/icons/emoji/unicode/1f1fd-1f1f0.png?v8", - "kr": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f0-1f1f7.png?v8", - "kuwait": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f0-1f1fc.png?v8", - "kyrgyzstan": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f0-1f1ec.png?v8", - "lab_coat": "https://github.githubassets.com/images/icons/emoji/unicode/1f97c.png?v8", - "label": "https://github.githubassets.com/images/icons/emoji/unicode/1f3f7.png?v8", - "lacrosse": "https://github.githubassets.com/images/icons/emoji/unicode/1f94d.png?v8", - "ladder": "https://github.githubassets.com/images/icons/emoji/unicode/1fa9c.png?v8", - "lady_beetle": "https://github.githubassets.com/images/icons/emoji/unicode/1f41e.png?v8", - "lantern": "https://github.githubassets.com/images/icons/emoji/unicode/1f3ee.png?v8", - "laos": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f1-1f1e6.png?v8", - "large_blue_circle": "https://github.githubassets.com/images/icons/emoji/unicode/1f535.png?v8", - "large_blue_diamond": "https://github.githubassets.com/images/icons/emoji/unicode/1f537.png?v8", - "large_orange_diamond": "https://github.githubassets.com/images/icons/emoji/unicode/1f536.png?v8", - "last_quarter_moon": "https://github.githubassets.com/images/icons/emoji/unicode/1f317.png?v8", - "last_quarter_moon_with_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f31c.png?v8", - "latin_cross": "https://github.githubassets.com/images/icons/emoji/unicode/271d.png?v8", - "latvia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f1-1f1fb.png?v8", - "laughing": "https://github.githubassets.com/images/icons/emoji/unicode/1f606.png?v8", - "leafy_green": "https://github.githubassets.com/images/icons/emoji/unicode/1f96c.png?v8", - "leaves": "https://github.githubassets.com/images/icons/emoji/unicode/1f343.png?v8", - "lebanon": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f1-1f1e7.png?v8", - "ledger": "https://github.githubassets.com/images/icons/emoji/unicode/1f4d2.png?v8", - "left_luggage": "https://github.githubassets.com/images/icons/emoji/unicode/1f6c5.png?v8", - "left_right_arrow": "https://github.githubassets.com/images/icons/emoji/unicode/2194.png?v8", - "left_speech_bubble": "https://github.githubassets.com/images/icons/emoji/unicode/1f5e8.png?v8", - "leftwards_arrow_with_hook": "https://github.githubassets.com/images/icons/emoji/unicode/21a9.png?v8", - "leg": "https://github.githubassets.com/images/icons/emoji/unicode/1f9b5.png?v8", - "lemon": "https://github.githubassets.com/images/icons/emoji/unicode/1f34b.png?v8", - "leo": "https://github.githubassets.com/images/icons/emoji/unicode/264c.png?v8", - "leopard": "https://github.githubassets.com/images/icons/emoji/unicode/1f406.png?v8", - "lesotho": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f1-1f1f8.png?v8", - "level_slider": "https://github.githubassets.com/images/icons/emoji/unicode/1f39a.png?v8", - "liberia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f1-1f1f7.png?v8", - "libra": "https://github.githubassets.com/images/icons/emoji/unicode/264e.png?v8", - "libya": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f1-1f1fe.png?v8", - "liechtenstein": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f1-1f1ee.png?v8", - "light_rail": "https://github.githubassets.com/images/icons/emoji/unicode/1f688.png?v8", - "link": "https://github.githubassets.com/images/icons/emoji/unicode/1f517.png?v8", - "lion": "https://github.githubassets.com/images/icons/emoji/unicode/1f981.png?v8", - "lips": "https://github.githubassets.com/images/icons/emoji/unicode/1f444.png?v8", - "lipstick": "https://github.githubassets.com/images/icons/emoji/unicode/1f484.png?v8", - "lithuania": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f1-1f1f9.png?v8", - "lizard": "https://github.githubassets.com/images/icons/emoji/unicode/1f98e.png?v8", - "llama": "https://github.githubassets.com/images/icons/emoji/unicode/1f999.png?v8", - "lobster": "https://github.githubassets.com/images/icons/emoji/unicode/1f99e.png?v8", - "lock": "https://github.githubassets.com/images/icons/emoji/unicode/1f512.png?v8", - "lock_with_ink_pen": "https://github.githubassets.com/images/icons/emoji/unicode/1f50f.png?v8", - "lollipop": "https://github.githubassets.com/images/icons/emoji/unicode/1f36d.png?v8", - "long_drum": "https://github.githubassets.com/images/icons/emoji/unicode/1fa98.png?v8", - "loop": "https://github.githubassets.com/images/icons/emoji/unicode/27bf.png?v8", - "lotion_bottle": "https://github.githubassets.com/images/icons/emoji/unicode/1f9f4.png?v8", - "lotus_position": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d8.png?v8", - "lotus_position_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d8-2642.png?v8", - "lotus_position_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d8-2640.png?v8", - "loud_sound": "https://github.githubassets.com/images/icons/emoji/unicode/1f50a.png?v8", - "loudspeaker": "https://github.githubassets.com/images/icons/emoji/unicode/1f4e2.png?v8", - "love_hotel": "https://github.githubassets.com/images/icons/emoji/unicode/1f3e9.png?v8", - "love_letter": "https://github.githubassets.com/images/icons/emoji/unicode/1f48c.png?v8", - "love_you_gesture": "https://github.githubassets.com/images/icons/emoji/unicode/1f91f.png?v8", - "low_brightness": "https://github.githubassets.com/images/icons/emoji/unicode/1f505.png?v8", - "luggage": "https://github.githubassets.com/images/icons/emoji/unicode/1f9f3.png?v8", - "lungs": "https://github.githubassets.com/images/icons/emoji/unicode/1fac1.png?v8", - "luxembourg": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f1-1f1fa.png?v8", - "lying_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f925.png?v8", - "m": "https://github.githubassets.com/images/icons/emoji/unicode/24c2.png?v8", - "macau": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f2-1f1f4.png?v8", - "macedonia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f2-1f1f0.png?v8", - "madagascar": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f2-1f1ec.png?v8", - "mag": "https://github.githubassets.com/images/icons/emoji/unicode/1f50d.png?v8", - "mag_right": "https://github.githubassets.com/images/icons/emoji/unicode/1f50e.png?v8", - "mage": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d9.png?v8", - "mage_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d9-2642.png?v8", - "mage_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d9-2640.png?v8", - "magic_wand": "https://github.githubassets.com/images/icons/emoji/unicode/1fa84.png?v8", - "magnet": "https://github.githubassets.com/images/icons/emoji/unicode/1f9f2.png?v8", - "mahjong": "https://github.githubassets.com/images/icons/emoji/unicode/1f004.png?v8", - "mailbox": "https://github.githubassets.com/images/icons/emoji/unicode/1f4eb.png?v8", - "mailbox_closed": "https://github.githubassets.com/images/icons/emoji/unicode/1f4ea.png?v8", - "mailbox_with_mail": "https://github.githubassets.com/images/icons/emoji/unicode/1f4ec.png?v8", - "mailbox_with_no_mail": "https://github.githubassets.com/images/icons/emoji/unicode/1f4ed.png?v8", - "malawi": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f2-1f1fc.png?v8", - "malaysia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f2-1f1fe.png?v8", - "maldives": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f2-1f1fb.png?v8", - "male_detective": "https://github.githubassets.com/images/icons/emoji/unicode/1f575-2642.png?v8", - "male_sign": "https://github.githubassets.com/images/icons/emoji/unicode/2642.png?v8", - "mali": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f2-1f1f1.png?v8", - "malta": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f2-1f1f9.png?v8", - "mammoth": "https://github.githubassets.com/images/icons/emoji/unicode/1f9a3.png?v8", - "man": "https://github.githubassets.com/images/icons/emoji/unicode/1f468.png?v8", - "man_artist": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f3a8.png?v8", - "man_astronaut": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f680.png?v8", - "man_beard": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d4-2642.png?v8", - "man_cartwheeling": "https://github.githubassets.com/images/icons/emoji/unicode/1f938-2642.png?v8", - "man_cook": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f373.png?v8", - "man_dancing": "https://github.githubassets.com/images/icons/emoji/unicode/1f57a.png?v8", - "man_facepalming": "https://github.githubassets.com/images/icons/emoji/unicode/1f926-2642.png?v8", - "man_factory_worker": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f3ed.png?v8", - "man_farmer": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f33e.png?v8", - "man_feeding_baby": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f37c.png?v8", - "man_firefighter": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f692.png?v8", - "man_health_worker": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-2695.png?v8", - "man_in_manual_wheelchair": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f9bd.png?v8", - "man_in_motorized_wheelchair": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f9bc.png?v8", - "man_in_tuxedo": "https://github.githubassets.com/images/icons/emoji/unicode/1f935-2642.png?v8", - "man_judge": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-2696.png?v8", - "man_juggling": "https://github.githubassets.com/images/icons/emoji/unicode/1f939-2642.png?v8", - "man_mechanic": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f527.png?v8", - "man_office_worker": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f4bc.png?v8", - "man_pilot": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-2708.png?v8", - "man_playing_handball": "https://github.githubassets.com/images/icons/emoji/unicode/1f93e-2642.png?v8", - "man_playing_water_polo": "https://github.githubassets.com/images/icons/emoji/unicode/1f93d-2642.png?v8", - "man_scientist": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f52c.png?v8", - "man_shrugging": "https://github.githubassets.com/images/icons/emoji/unicode/1f937-2642.png?v8", - "man_singer": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f3a4.png?v8", - "man_student": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f393.png?v8", - "man_teacher": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f3eb.png?v8", - "man_technologist": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f4bb.png?v8", - "man_with_gua_pi_mao": "https://github.githubassets.com/images/icons/emoji/unicode/1f472.png?v8", - "man_with_probing_cane": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f9af.png?v8", - "man_with_turban": "https://github.githubassets.com/images/icons/emoji/unicode/1f473-2642.png?v8", - "man_with_veil": "https://github.githubassets.com/images/icons/emoji/unicode/1f470-2642.png?v8", - "mandarin": "https://github.githubassets.com/images/icons/emoji/unicode/1f34a.png?v8", - "mango": "https://github.githubassets.com/images/icons/emoji/unicode/1f96d.png?v8", - "mans_shoe": "https://github.githubassets.com/images/icons/emoji/unicode/1f45e.png?v8", - "mantelpiece_clock": "https://github.githubassets.com/images/icons/emoji/unicode/1f570.png?v8", - "manual_wheelchair": "https://github.githubassets.com/images/icons/emoji/unicode/1f9bd.png?v8", - "maple_leaf": "https://github.githubassets.com/images/icons/emoji/unicode/1f341.png?v8", - "marshall_islands": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f2-1f1ed.png?v8", - "martial_arts_uniform": "https://github.githubassets.com/images/icons/emoji/unicode/1f94b.png?v8", - "martinique": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f2-1f1f6.png?v8", - "mask": "https://github.githubassets.com/images/icons/emoji/unicode/1f637.png?v8", - "massage": "https://github.githubassets.com/images/icons/emoji/unicode/1f486.png?v8", - "massage_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f486-2642.png?v8", - "massage_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f486-2640.png?v8", - "mate": "https://github.githubassets.com/images/icons/emoji/unicode/1f9c9.png?v8", - "mauritania": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f2-1f1f7.png?v8", - "mauritius": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f2-1f1fa.png?v8", - "mayotte": "https://github.githubassets.com/images/icons/emoji/unicode/1f1fe-1f1f9.png?v8", - "meat_on_bone": "https://github.githubassets.com/images/icons/emoji/unicode/1f356.png?v8", - "mechanic": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d1-1f527.png?v8", - "mechanical_arm": "https://github.githubassets.com/images/icons/emoji/unicode/1f9be.png?v8", - "mechanical_leg": "https://github.githubassets.com/images/icons/emoji/unicode/1f9bf.png?v8", - "medal_military": "https://github.githubassets.com/images/icons/emoji/unicode/1f396.png?v8", - "medal_sports": "https://github.githubassets.com/images/icons/emoji/unicode/1f3c5.png?v8", - "medical_symbol": "https://github.githubassets.com/images/icons/emoji/unicode/2695.png?v8", - "mega": "https://github.githubassets.com/images/icons/emoji/unicode/1f4e3.png?v8", - "melon": "https://github.githubassets.com/images/icons/emoji/unicode/1f348.png?v8", - "memo": "https://github.githubassets.com/images/icons/emoji/unicode/1f4dd.png?v8", - "men_wrestling": "https://github.githubassets.com/images/icons/emoji/unicode/1f93c-2642.png?v8", - "mending_heart": "https://github.githubassets.com/images/icons/emoji/unicode/2764-1fa79.png?v8", - "menorah": "https://github.githubassets.com/images/icons/emoji/unicode/1f54e.png?v8", - "mens": "https://github.githubassets.com/images/icons/emoji/unicode/1f6b9.png?v8", - "mermaid": "https://github.githubassets.com/images/icons/emoji/unicode/1f9dc-2640.png?v8", - "merman": "https://github.githubassets.com/images/icons/emoji/unicode/1f9dc-2642.png?v8", - "merperson": "https://github.githubassets.com/images/icons/emoji/unicode/1f9dc.png?v8", - "metal": "https://github.githubassets.com/images/icons/emoji/unicode/1f918.png?v8", - "metro": "https://github.githubassets.com/images/icons/emoji/unicode/1f687.png?v8", - "mexico": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f2-1f1fd.png?v8", - "microbe": "https://github.githubassets.com/images/icons/emoji/unicode/1f9a0.png?v8", - "micronesia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1eb-1f1f2.png?v8", - "microphone": "https://github.githubassets.com/images/icons/emoji/unicode/1f3a4.png?v8", - "microscope": "https://github.githubassets.com/images/icons/emoji/unicode/1f52c.png?v8", - "middle_finger": "https://github.githubassets.com/images/icons/emoji/unicode/1f595.png?v8", - "military_helmet": "https://github.githubassets.com/images/icons/emoji/unicode/1fa96.png?v8", - "milk_glass": "https://github.githubassets.com/images/icons/emoji/unicode/1f95b.png?v8", - "milky_way": "https://github.githubassets.com/images/icons/emoji/unicode/1f30c.png?v8", - "minibus": "https://github.githubassets.com/images/icons/emoji/unicode/1f690.png?v8", - "minidisc": "https://github.githubassets.com/images/icons/emoji/unicode/1f4bd.png?v8", - "mirror": "https://github.githubassets.com/images/icons/emoji/unicode/1fa9e.png?v8", - "mobile_phone_off": "https://github.githubassets.com/images/icons/emoji/unicode/1f4f4.png?v8", - "moldova": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f2-1f1e9.png?v8", - "monaco": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f2-1f1e8.png?v8", - "money_mouth_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f911.png?v8", - "money_with_wings": "https://github.githubassets.com/images/icons/emoji/unicode/1f4b8.png?v8", - "moneybag": "https://github.githubassets.com/images/icons/emoji/unicode/1f4b0.png?v8", - "mongolia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f2-1f1f3.png?v8", - "monkey": "https://github.githubassets.com/images/icons/emoji/unicode/1f412.png?v8", - "monkey_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f435.png?v8", - "monocle_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d0.png?v8", - "monorail": "https://github.githubassets.com/images/icons/emoji/unicode/1f69d.png?v8", - "montenegro": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f2-1f1ea.png?v8", - "montserrat": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f2-1f1f8.png?v8", - "moon": "https://github.githubassets.com/images/icons/emoji/unicode/1f314.png?v8", - "moon_cake": "https://github.githubassets.com/images/icons/emoji/unicode/1f96e.png?v8", - "morocco": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f2-1f1e6.png?v8", - "mortar_board": "https://github.githubassets.com/images/icons/emoji/unicode/1f393.png?v8", - "mosque": "https://github.githubassets.com/images/icons/emoji/unicode/1f54c.png?v8", - "mosquito": "https://github.githubassets.com/images/icons/emoji/unicode/1f99f.png?v8", - "motor_boat": "https://github.githubassets.com/images/icons/emoji/unicode/1f6e5.png?v8", - "motor_scooter": "https://github.githubassets.com/images/icons/emoji/unicode/1f6f5.png?v8", - "motorcycle": "https://github.githubassets.com/images/icons/emoji/unicode/1f3cd.png?v8", - "motorized_wheelchair": "https://github.githubassets.com/images/icons/emoji/unicode/1f9bc.png?v8", - "motorway": "https://github.githubassets.com/images/icons/emoji/unicode/1f6e3.png?v8", - "mount_fuji": "https://github.githubassets.com/images/icons/emoji/unicode/1f5fb.png?v8", - "mountain": "https://github.githubassets.com/images/icons/emoji/unicode/26f0.png?v8", - "mountain_bicyclist": "https://github.githubassets.com/images/icons/emoji/unicode/1f6b5.png?v8", - "mountain_biking_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f6b5-2642.png?v8", - "mountain_biking_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f6b5-2640.png?v8", - "mountain_cableway": "https://github.githubassets.com/images/icons/emoji/unicode/1f6a0.png?v8", - "mountain_railway": "https://github.githubassets.com/images/icons/emoji/unicode/1f69e.png?v8", - "mountain_snow": "https://github.githubassets.com/images/icons/emoji/unicode/1f3d4.png?v8", - "mouse": "https://github.githubassets.com/images/icons/emoji/unicode/1f42d.png?v8", - "mouse2": "https://github.githubassets.com/images/icons/emoji/unicode/1f401.png?v8", - "mouse_trap": "https://github.githubassets.com/images/icons/emoji/unicode/1faa4.png?v8", - "movie_camera": "https://github.githubassets.com/images/icons/emoji/unicode/1f3a5.png?v8", - "moyai": "https://github.githubassets.com/images/icons/emoji/unicode/1f5ff.png?v8", - "mozambique": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f2-1f1ff.png?v8", - "mrs_claus": "https://github.githubassets.com/images/icons/emoji/unicode/1f936.png?v8", - "muscle": "https://github.githubassets.com/images/icons/emoji/unicode/1f4aa.png?v8", - "mushroom": "https://github.githubassets.com/images/icons/emoji/unicode/1f344.png?v8", - "musical_keyboard": "https://github.githubassets.com/images/icons/emoji/unicode/1f3b9.png?v8", - "musical_note": "https://github.githubassets.com/images/icons/emoji/unicode/1f3b5.png?v8", - "musical_score": "https://github.githubassets.com/images/icons/emoji/unicode/1f3bc.png?v8", - "mute": "https://github.githubassets.com/images/icons/emoji/unicode/1f507.png?v8", - "mx_claus": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d1-1f384.png?v8", - "myanmar": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f2-1f1f2.png?v8", - "nail_care": "https://github.githubassets.com/images/icons/emoji/unicode/1f485.png?v8", - "name_badge": "https://github.githubassets.com/images/icons/emoji/unicode/1f4db.png?v8", - "namibia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f3-1f1e6.png?v8", - "national_park": "https://github.githubassets.com/images/icons/emoji/unicode/1f3de.png?v8", - "nauru": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f3-1f1f7.png?v8", - "nauseated_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f922.png?v8", - "nazar_amulet": "https://github.githubassets.com/images/icons/emoji/unicode/1f9ff.png?v8", - "neckbeard": "https://github.githubassets.com/images/icons/emoji/neckbeard.png?v8", - "necktie": "https://github.githubassets.com/images/icons/emoji/unicode/1f454.png?v8", - "negative_squared_cross_mark": "https://github.githubassets.com/images/icons/emoji/unicode/274e.png?v8", - "nepal": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f3-1f1f5.png?v8", - "nerd_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f913.png?v8", - "nesting_dolls": "https://github.githubassets.com/images/icons/emoji/unicode/1fa86.png?v8", - "netherlands": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f3-1f1f1.png?v8", - "neutral_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f610.png?v8", - "new": "https://github.githubassets.com/images/icons/emoji/unicode/1f195.png?v8", - "new_caledonia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f3-1f1e8.png?v8", - "new_moon": "https://github.githubassets.com/images/icons/emoji/unicode/1f311.png?v8", - "new_moon_with_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f31a.png?v8", - "new_zealand": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f3-1f1ff.png?v8", - "newspaper": "https://github.githubassets.com/images/icons/emoji/unicode/1f4f0.png?v8", - "newspaper_roll": "https://github.githubassets.com/images/icons/emoji/unicode/1f5de.png?v8", - "next_track_button": "https://github.githubassets.com/images/icons/emoji/unicode/23ed.png?v8", - "ng": "https://github.githubassets.com/images/icons/emoji/unicode/1f196.png?v8", - "ng_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f645-2642.png?v8", - "ng_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f645-2640.png?v8", - "nicaragua": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f3-1f1ee.png?v8", - "niger": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f3-1f1ea.png?v8", - "nigeria": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f3-1f1ec.png?v8", - "night_with_stars": "https://github.githubassets.com/images/icons/emoji/unicode/1f303.png?v8", - "nine": "https://github.githubassets.com/images/icons/emoji/unicode/0039-20e3.png?v8", - "ninja": "https://github.githubassets.com/images/icons/emoji/unicode/1f977.png?v8", - "niue": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f3-1f1fa.png?v8", - "no_bell": "https://github.githubassets.com/images/icons/emoji/unicode/1f515.png?v8", - "no_bicycles": "https://github.githubassets.com/images/icons/emoji/unicode/1f6b3.png?v8", - "no_entry": "https://github.githubassets.com/images/icons/emoji/unicode/26d4.png?v8", - "no_entry_sign": "https://github.githubassets.com/images/icons/emoji/unicode/1f6ab.png?v8", - "no_good": "https://github.githubassets.com/images/icons/emoji/unicode/1f645.png?v8", - "no_good_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f645-2642.png?v8", - "no_good_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f645-2640.png?v8", - "no_mobile_phones": "https://github.githubassets.com/images/icons/emoji/unicode/1f4f5.png?v8", - "no_mouth": "https://github.githubassets.com/images/icons/emoji/unicode/1f636.png?v8", - "no_pedestrians": "https://github.githubassets.com/images/icons/emoji/unicode/1f6b7.png?v8", - "no_smoking": "https://github.githubassets.com/images/icons/emoji/unicode/1f6ad.png?v8", - "non-potable_water": "https://github.githubassets.com/images/icons/emoji/unicode/1f6b1.png?v8", - "norfolk_island": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f3-1f1eb.png?v8", - "north_korea": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f0-1f1f5.png?v8", - "northern_mariana_islands": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f2-1f1f5.png?v8", - "norway": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f3-1f1f4.png?v8", - "nose": "https://github.githubassets.com/images/icons/emoji/unicode/1f443.png?v8", - "notebook": "https://github.githubassets.com/images/icons/emoji/unicode/1f4d3.png?v8", - "notebook_with_decorative_cover": "https://github.githubassets.com/images/icons/emoji/unicode/1f4d4.png?v8", - "notes": "https://github.githubassets.com/images/icons/emoji/unicode/1f3b6.png?v8", - "nut_and_bolt": "https://github.githubassets.com/images/icons/emoji/unicode/1f529.png?v8", - "o": "https://github.githubassets.com/images/icons/emoji/unicode/2b55.png?v8", - "o2": "https://github.githubassets.com/images/icons/emoji/unicode/1f17e.png?v8", - "ocean": "https://github.githubassets.com/images/icons/emoji/unicode/1f30a.png?v8", - "octocat": "https://github.githubassets.com/images/icons/emoji/octocat.png?v8", - "octopus": "https://github.githubassets.com/images/icons/emoji/unicode/1f419.png?v8", - "oden": "https://github.githubassets.com/images/icons/emoji/unicode/1f362.png?v8", - "office": "https://github.githubassets.com/images/icons/emoji/unicode/1f3e2.png?v8", - "office_worker": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d1-1f4bc.png?v8", - "oil_drum": "https://github.githubassets.com/images/icons/emoji/unicode/1f6e2.png?v8", - "ok": "https://github.githubassets.com/images/icons/emoji/unicode/1f197.png?v8", - "ok_hand": "https://github.githubassets.com/images/icons/emoji/unicode/1f44c.png?v8", - "ok_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f646-2642.png?v8", - "ok_person": "https://github.githubassets.com/images/icons/emoji/unicode/1f646.png?v8", - "ok_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f646-2640.png?v8", - "old_key": "https://github.githubassets.com/images/icons/emoji/unicode/1f5dd.png?v8", - "older_adult": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d3.png?v8", - "older_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f474.png?v8", - "older_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f475.png?v8", - "olive": "https://github.githubassets.com/images/icons/emoji/unicode/1fad2.png?v8", - "om": "https://github.githubassets.com/images/icons/emoji/unicode/1f549.png?v8", - "oman": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f4-1f1f2.png?v8", - "on": "https://github.githubassets.com/images/icons/emoji/unicode/1f51b.png?v8", - "oncoming_automobile": "https://github.githubassets.com/images/icons/emoji/unicode/1f698.png?v8", - "oncoming_bus": "https://github.githubassets.com/images/icons/emoji/unicode/1f68d.png?v8", - "oncoming_police_car": "https://github.githubassets.com/images/icons/emoji/unicode/1f694.png?v8", - "oncoming_taxi": "https://github.githubassets.com/images/icons/emoji/unicode/1f696.png?v8", - "one": "https://github.githubassets.com/images/icons/emoji/unicode/0031-20e3.png?v8", - "one_piece_swimsuit": "https://github.githubassets.com/images/icons/emoji/unicode/1fa71.png?v8", - "onion": "https://github.githubassets.com/images/icons/emoji/unicode/1f9c5.png?v8", - "open_book": "https://github.githubassets.com/images/icons/emoji/unicode/1f4d6.png?v8", - "open_file_folder": "https://github.githubassets.com/images/icons/emoji/unicode/1f4c2.png?v8", - "open_hands": "https://github.githubassets.com/images/icons/emoji/unicode/1f450.png?v8", - "open_mouth": "https://github.githubassets.com/images/icons/emoji/unicode/1f62e.png?v8", - "open_umbrella": "https://github.githubassets.com/images/icons/emoji/unicode/2602.png?v8", - "ophiuchus": "https://github.githubassets.com/images/icons/emoji/unicode/26ce.png?v8", - "orange": "https://github.githubassets.com/images/icons/emoji/unicode/1f34a.png?v8", - "orange_book": "https://github.githubassets.com/images/icons/emoji/unicode/1f4d9.png?v8", - "orange_circle": "https://github.githubassets.com/images/icons/emoji/unicode/1f7e0.png?v8", - "orange_heart": "https://github.githubassets.com/images/icons/emoji/unicode/1f9e1.png?v8", - "orange_square": "https://github.githubassets.com/images/icons/emoji/unicode/1f7e7.png?v8", - "orangutan": "https://github.githubassets.com/images/icons/emoji/unicode/1f9a7.png?v8", - "orthodox_cross": "https://github.githubassets.com/images/icons/emoji/unicode/2626.png?v8", - "otter": "https://github.githubassets.com/images/icons/emoji/unicode/1f9a6.png?v8", - "outbox_tray": "https://github.githubassets.com/images/icons/emoji/unicode/1f4e4.png?v8", - "owl": "https://github.githubassets.com/images/icons/emoji/unicode/1f989.png?v8", - "ox": "https://github.githubassets.com/images/icons/emoji/unicode/1f402.png?v8", - "oyster": "https://github.githubassets.com/images/icons/emoji/unicode/1f9aa.png?v8", - "package": "https://github.githubassets.com/images/icons/emoji/unicode/1f4e6.png?v8", - "page_facing_up": "https://github.githubassets.com/images/icons/emoji/unicode/1f4c4.png?v8", - "page_with_curl": "https://github.githubassets.com/images/icons/emoji/unicode/1f4c3.png?v8", - "pager": "https://github.githubassets.com/images/icons/emoji/unicode/1f4df.png?v8", - "paintbrush": "https://github.githubassets.com/images/icons/emoji/unicode/1f58c.png?v8", - "pakistan": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f5-1f1f0.png?v8", - "palau": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f5-1f1fc.png?v8", - "palestinian_territories": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f5-1f1f8.png?v8", - "palm_tree": "https://github.githubassets.com/images/icons/emoji/unicode/1f334.png?v8", - "palms_up_together": "https://github.githubassets.com/images/icons/emoji/unicode/1f932.png?v8", - "panama": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f5-1f1e6.png?v8", - "pancakes": "https://github.githubassets.com/images/icons/emoji/unicode/1f95e.png?v8", - "panda_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f43c.png?v8", - "paperclip": "https://github.githubassets.com/images/icons/emoji/unicode/1f4ce.png?v8", - "paperclips": "https://github.githubassets.com/images/icons/emoji/unicode/1f587.png?v8", - "papua_new_guinea": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f5-1f1ec.png?v8", - "parachute": "https://github.githubassets.com/images/icons/emoji/unicode/1fa82.png?v8", - "paraguay": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f5-1f1fe.png?v8", - "parasol_on_ground": "https://github.githubassets.com/images/icons/emoji/unicode/26f1.png?v8", - "parking": "https://github.githubassets.com/images/icons/emoji/unicode/1f17f.png?v8", - "parrot": "https://github.githubassets.com/images/icons/emoji/unicode/1f99c.png?v8", - "part_alternation_mark": "https://github.githubassets.com/images/icons/emoji/unicode/303d.png?v8", - "partly_sunny": "https://github.githubassets.com/images/icons/emoji/unicode/26c5.png?v8", - "partying_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f973.png?v8", - "passenger_ship": "https://github.githubassets.com/images/icons/emoji/unicode/1f6f3.png?v8", - "passport_control": "https://github.githubassets.com/images/icons/emoji/unicode/1f6c2.png?v8", - "pause_button": "https://github.githubassets.com/images/icons/emoji/unicode/23f8.png?v8", - "paw_prints": "https://github.githubassets.com/images/icons/emoji/unicode/1f43e.png?v8", - "peace_symbol": "https://github.githubassets.com/images/icons/emoji/unicode/262e.png?v8", - "peach": "https://github.githubassets.com/images/icons/emoji/unicode/1f351.png?v8", - "peacock": "https://github.githubassets.com/images/icons/emoji/unicode/1f99a.png?v8", - "peanuts": "https://github.githubassets.com/images/icons/emoji/unicode/1f95c.png?v8", - "pear": "https://github.githubassets.com/images/icons/emoji/unicode/1f350.png?v8", - "pen": "https://github.githubassets.com/images/icons/emoji/unicode/1f58a.png?v8", - "pencil": "https://github.githubassets.com/images/icons/emoji/unicode/1f4dd.png?v8", - "pencil2": "https://github.githubassets.com/images/icons/emoji/unicode/270f.png?v8", - "penguin": "https://github.githubassets.com/images/icons/emoji/unicode/1f427.png?v8", - "pensive": "https://github.githubassets.com/images/icons/emoji/unicode/1f614.png?v8", - "people_holding_hands": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d1-1f91d-1f9d1.png?v8", - "people_hugging": "https://github.githubassets.com/images/icons/emoji/unicode/1fac2.png?v8", - "performing_arts": "https://github.githubassets.com/images/icons/emoji/unicode/1f3ad.png?v8", - "persevere": "https://github.githubassets.com/images/icons/emoji/unicode/1f623.png?v8", - "person_bald": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d1-1f9b2.png?v8", - "person_curly_hair": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d1-1f9b1.png?v8", - "person_feeding_baby": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d1-1f37c.png?v8", - "person_fencing": "https://github.githubassets.com/images/icons/emoji/unicode/1f93a.png?v8", - "person_in_manual_wheelchair": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d1-1f9bd.png?v8", - "person_in_motorized_wheelchair": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d1-1f9bc.png?v8", - "person_in_tuxedo": "https://github.githubassets.com/images/icons/emoji/unicode/1f935.png?v8", - "person_red_hair": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d1-1f9b0.png?v8", - "person_white_hair": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d1-1f9b3.png?v8", - "person_with_probing_cane": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d1-1f9af.png?v8", - "person_with_turban": "https://github.githubassets.com/images/icons/emoji/unicode/1f473.png?v8", - "person_with_veil": "https://github.githubassets.com/images/icons/emoji/unicode/1f470.png?v8", - "peru": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f5-1f1ea.png?v8", - "petri_dish": "https://github.githubassets.com/images/icons/emoji/unicode/1f9eb.png?v8", - "philippines": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f5-1f1ed.png?v8", - "phone": "https://github.githubassets.com/images/icons/emoji/unicode/260e.png?v8", - "pick": "https://github.githubassets.com/images/icons/emoji/unicode/26cf.png?v8", - "pickup_truck": "https://github.githubassets.com/images/icons/emoji/unicode/1f6fb.png?v8", - "pie": "https://github.githubassets.com/images/icons/emoji/unicode/1f967.png?v8", - "pig": "https://github.githubassets.com/images/icons/emoji/unicode/1f437.png?v8", - "pig2": "https://github.githubassets.com/images/icons/emoji/unicode/1f416.png?v8", - "pig_nose": "https://github.githubassets.com/images/icons/emoji/unicode/1f43d.png?v8", - "pill": "https://github.githubassets.com/images/icons/emoji/unicode/1f48a.png?v8", - "pilot": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d1-2708.png?v8", - "pinata": "https://github.githubassets.com/images/icons/emoji/unicode/1fa85.png?v8", - "pinched_fingers": "https://github.githubassets.com/images/icons/emoji/unicode/1f90c.png?v8", - "pinching_hand": "https://github.githubassets.com/images/icons/emoji/unicode/1f90f.png?v8", - "pineapple": "https://github.githubassets.com/images/icons/emoji/unicode/1f34d.png?v8", - "ping_pong": "https://github.githubassets.com/images/icons/emoji/unicode/1f3d3.png?v8", - "pirate_flag": "https://github.githubassets.com/images/icons/emoji/unicode/1f3f4-2620.png?v8", - "pisces": "https://github.githubassets.com/images/icons/emoji/unicode/2653.png?v8", - "pitcairn_islands": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f5-1f1f3.png?v8", - "pizza": "https://github.githubassets.com/images/icons/emoji/unicode/1f355.png?v8", - "placard": "https://github.githubassets.com/images/icons/emoji/unicode/1faa7.png?v8", - "place_of_worship": "https://github.githubassets.com/images/icons/emoji/unicode/1f6d0.png?v8", - "plate_with_cutlery": "https://github.githubassets.com/images/icons/emoji/unicode/1f37d.png?v8", - "play_or_pause_button": "https://github.githubassets.com/images/icons/emoji/unicode/23ef.png?v8", - "pleading_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f97a.png?v8", - "plunger": "https://github.githubassets.com/images/icons/emoji/unicode/1faa0.png?v8", - "point_down": "https://github.githubassets.com/images/icons/emoji/unicode/1f447.png?v8", - "point_left": "https://github.githubassets.com/images/icons/emoji/unicode/1f448.png?v8", - "point_right": "https://github.githubassets.com/images/icons/emoji/unicode/1f449.png?v8", - "point_up": "https://github.githubassets.com/images/icons/emoji/unicode/261d.png?v8", - "point_up_2": "https://github.githubassets.com/images/icons/emoji/unicode/1f446.png?v8", - "poland": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f5-1f1f1.png?v8", - "polar_bear": "https://github.githubassets.com/images/icons/emoji/unicode/1f43b-2744.png?v8", - "police_car": "https://github.githubassets.com/images/icons/emoji/unicode/1f693.png?v8", - "police_officer": "https://github.githubassets.com/images/icons/emoji/unicode/1f46e.png?v8", - "policeman": "https://github.githubassets.com/images/icons/emoji/unicode/1f46e-2642.png?v8", - "policewoman": "https://github.githubassets.com/images/icons/emoji/unicode/1f46e-2640.png?v8", - "poodle": "https://github.githubassets.com/images/icons/emoji/unicode/1f429.png?v8", - "poop": "https://github.githubassets.com/images/icons/emoji/unicode/1f4a9.png?v8", - "popcorn": "https://github.githubassets.com/images/icons/emoji/unicode/1f37f.png?v8", - "portugal": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f5-1f1f9.png?v8", - "post_office": "https://github.githubassets.com/images/icons/emoji/unicode/1f3e3.png?v8", - "postal_horn": "https://github.githubassets.com/images/icons/emoji/unicode/1f4ef.png?v8", - "postbox": "https://github.githubassets.com/images/icons/emoji/unicode/1f4ee.png?v8", - "potable_water": "https://github.githubassets.com/images/icons/emoji/unicode/1f6b0.png?v8", - "potato": "https://github.githubassets.com/images/icons/emoji/unicode/1f954.png?v8", - "potted_plant": "https://github.githubassets.com/images/icons/emoji/unicode/1fab4.png?v8", - "pouch": "https://github.githubassets.com/images/icons/emoji/unicode/1f45d.png?v8", - "poultry_leg": "https://github.githubassets.com/images/icons/emoji/unicode/1f357.png?v8", - "pound": "https://github.githubassets.com/images/icons/emoji/unicode/1f4b7.png?v8", - "pout": "https://github.githubassets.com/images/icons/emoji/unicode/1f621.png?v8", - "pouting_cat": "https://github.githubassets.com/images/icons/emoji/unicode/1f63e.png?v8", - "pouting_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f64e.png?v8", - "pouting_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f64e-2642.png?v8", - "pouting_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f64e-2640.png?v8", - "pray": "https://github.githubassets.com/images/icons/emoji/unicode/1f64f.png?v8", - "prayer_beads": "https://github.githubassets.com/images/icons/emoji/unicode/1f4ff.png?v8", - "pregnant_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f930.png?v8", - "pretzel": "https://github.githubassets.com/images/icons/emoji/unicode/1f968.png?v8", - "previous_track_button": "https://github.githubassets.com/images/icons/emoji/unicode/23ee.png?v8", - "prince": "https://github.githubassets.com/images/icons/emoji/unicode/1f934.png?v8", - "princess": "https://github.githubassets.com/images/icons/emoji/unicode/1f478.png?v8", - "printer": "https://github.githubassets.com/images/icons/emoji/unicode/1f5a8.png?v8", - "probing_cane": "https://github.githubassets.com/images/icons/emoji/unicode/1f9af.png?v8", - "puerto_rico": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f5-1f1f7.png?v8", - "punch": "https://github.githubassets.com/images/icons/emoji/unicode/1f44a.png?v8", - "purple_circle": "https://github.githubassets.com/images/icons/emoji/unicode/1f7e3.png?v8", - "purple_heart": "https://github.githubassets.com/images/icons/emoji/unicode/1f49c.png?v8", - "purple_square": "https://github.githubassets.com/images/icons/emoji/unicode/1f7ea.png?v8", - "purse": "https://github.githubassets.com/images/icons/emoji/unicode/1f45b.png?v8", - "pushpin": "https://github.githubassets.com/images/icons/emoji/unicode/1f4cc.png?v8", - "put_litter_in_its_place": "https://github.githubassets.com/images/icons/emoji/unicode/1f6ae.png?v8", - "qatar": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f6-1f1e6.png?v8", - "question": "https://github.githubassets.com/images/icons/emoji/unicode/2753.png?v8", - "rabbit": "https://github.githubassets.com/images/icons/emoji/unicode/1f430.png?v8", - "rabbit2": "https://github.githubassets.com/images/icons/emoji/unicode/1f407.png?v8", - "raccoon": "https://github.githubassets.com/images/icons/emoji/unicode/1f99d.png?v8", - "racehorse": "https://github.githubassets.com/images/icons/emoji/unicode/1f40e.png?v8", - "racing_car": "https://github.githubassets.com/images/icons/emoji/unicode/1f3ce.png?v8", - "radio": "https://github.githubassets.com/images/icons/emoji/unicode/1f4fb.png?v8", - "radio_button": "https://github.githubassets.com/images/icons/emoji/unicode/1f518.png?v8", - "radioactive": "https://github.githubassets.com/images/icons/emoji/unicode/2622.png?v8", - "rage": "https://github.githubassets.com/images/icons/emoji/unicode/1f621.png?v8", - "rage1": "https://github.githubassets.com/images/icons/emoji/rage1.png?v8", - "rage2": "https://github.githubassets.com/images/icons/emoji/rage2.png?v8", - "rage3": "https://github.githubassets.com/images/icons/emoji/rage3.png?v8", - "rage4": "https://github.githubassets.com/images/icons/emoji/rage4.png?v8", - "railway_car": "https://github.githubassets.com/images/icons/emoji/unicode/1f683.png?v8", - "railway_track": "https://github.githubassets.com/images/icons/emoji/unicode/1f6e4.png?v8", - "rainbow": "https://github.githubassets.com/images/icons/emoji/unicode/1f308.png?v8", - "rainbow_flag": "https://github.githubassets.com/images/icons/emoji/unicode/1f3f3-1f308.png?v8", - "raised_back_of_hand": "https://github.githubassets.com/images/icons/emoji/unicode/1f91a.png?v8", - "raised_eyebrow": "https://github.githubassets.com/images/icons/emoji/unicode/1f928.png?v8", - "raised_hand": "https://github.githubassets.com/images/icons/emoji/unicode/270b.png?v8", - "raised_hand_with_fingers_splayed": "https://github.githubassets.com/images/icons/emoji/unicode/1f590.png?v8", - "raised_hands": "https://github.githubassets.com/images/icons/emoji/unicode/1f64c.png?v8", - "raising_hand": "https://github.githubassets.com/images/icons/emoji/unicode/1f64b.png?v8", - "raising_hand_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f64b-2642.png?v8", - "raising_hand_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f64b-2640.png?v8", - "ram": "https://github.githubassets.com/images/icons/emoji/unicode/1f40f.png?v8", - "ramen": "https://github.githubassets.com/images/icons/emoji/unicode/1f35c.png?v8", - "rat": "https://github.githubassets.com/images/icons/emoji/unicode/1f400.png?v8", - "razor": "https://github.githubassets.com/images/icons/emoji/unicode/1fa92.png?v8", - "receipt": "https://github.githubassets.com/images/icons/emoji/unicode/1f9fe.png?v8", - "record_button": "https://github.githubassets.com/images/icons/emoji/unicode/23fa.png?v8", - "recycle": "https://github.githubassets.com/images/icons/emoji/unicode/267b.png?v8", - "red_car": "https://github.githubassets.com/images/icons/emoji/unicode/1f697.png?v8", - "red_circle": "https://github.githubassets.com/images/icons/emoji/unicode/1f534.png?v8", - "red_envelope": "https://github.githubassets.com/images/icons/emoji/unicode/1f9e7.png?v8", - "red_haired_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f9b0.png?v8", - "red_haired_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f9b0.png?v8", - "red_square": "https://github.githubassets.com/images/icons/emoji/unicode/1f7e5.png?v8", - "registered": "https://github.githubassets.com/images/icons/emoji/unicode/00ae.png?v8", - "relaxed": "https://github.githubassets.com/images/icons/emoji/unicode/263a.png?v8", - "relieved": "https://github.githubassets.com/images/icons/emoji/unicode/1f60c.png?v8", - "reminder_ribbon": "https://github.githubassets.com/images/icons/emoji/unicode/1f397.png?v8", - "repeat": "https://github.githubassets.com/images/icons/emoji/unicode/1f501.png?v8", - "repeat_one": "https://github.githubassets.com/images/icons/emoji/unicode/1f502.png?v8", - "rescue_worker_helmet": "https://github.githubassets.com/images/icons/emoji/unicode/26d1.png?v8", - "restroom": "https://github.githubassets.com/images/icons/emoji/unicode/1f6bb.png?v8", - "reunion": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f7-1f1ea.png?v8", - "revolving_hearts": "https://github.githubassets.com/images/icons/emoji/unicode/1f49e.png?v8", - "rewind": "https://github.githubassets.com/images/icons/emoji/unicode/23ea.png?v8", - "rhinoceros": "https://github.githubassets.com/images/icons/emoji/unicode/1f98f.png?v8", - "ribbon": "https://github.githubassets.com/images/icons/emoji/unicode/1f380.png?v8", - "rice": "https://github.githubassets.com/images/icons/emoji/unicode/1f35a.png?v8", - "rice_ball": "https://github.githubassets.com/images/icons/emoji/unicode/1f359.png?v8", - "rice_cracker": "https://github.githubassets.com/images/icons/emoji/unicode/1f358.png?v8", - "rice_scene": "https://github.githubassets.com/images/icons/emoji/unicode/1f391.png?v8", - "right_anger_bubble": "https://github.githubassets.com/images/icons/emoji/unicode/1f5ef.png?v8", - "ring": "https://github.githubassets.com/images/icons/emoji/unicode/1f48d.png?v8", - "ringed_planet": "https://github.githubassets.com/images/icons/emoji/unicode/1fa90.png?v8", - "robot": "https://github.githubassets.com/images/icons/emoji/unicode/1f916.png?v8", - "rock": "https://github.githubassets.com/images/icons/emoji/unicode/1faa8.png?v8", - "rocket": "https://github.githubassets.com/images/icons/emoji/unicode/1f680.png?v8", - "rofl": "https://github.githubassets.com/images/icons/emoji/unicode/1f923.png?v8", - "roll_eyes": "https://github.githubassets.com/images/icons/emoji/unicode/1f644.png?v8", - "roll_of_paper": "https://github.githubassets.com/images/icons/emoji/unicode/1f9fb.png?v8", - "roller_coaster": "https://github.githubassets.com/images/icons/emoji/unicode/1f3a2.png?v8", - "roller_skate": "https://github.githubassets.com/images/icons/emoji/unicode/1f6fc.png?v8", - "romania": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f7-1f1f4.png?v8", - "rooster": "https://github.githubassets.com/images/icons/emoji/unicode/1f413.png?v8", - "rose": "https://github.githubassets.com/images/icons/emoji/unicode/1f339.png?v8", - "rosette": "https://github.githubassets.com/images/icons/emoji/unicode/1f3f5.png?v8", - "rotating_light": "https://github.githubassets.com/images/icons/emoji/unicode/1f6a8.png?v8", - "round_pushpin": "https://github.githubassets.com/images/icons/emoji/unicode/1f4cd.png?v8", - "rowboat": "https://github.githubassets.com/images/icons/emoji/unicode/1f6a3.png?v8", - "rowing_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f6a3-2642.png?v8", - "rowing_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f6a3-2640.png?v8", - "ru": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f7-1f1fa.png?v8", - "rugby_football": "https://github.githubassets.com/images/icons/emoji/unicode/1f3c9.png?v8", - "runner": "https://github.githubassets.com/images/icons/emoji/unicode/1f3c3.png?v8", - "running": "https://github.githubassets.com/images/icons/emoji/unicode/1f3c3.png?v8", - "running_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f3c3-2642.png?v8", - "running_shirt_with_sash": "https://github.githubassets.com/images/icons/emoji/unicode/1f3bd.png?v8", - "running_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f3c3-2640.png?v8", - "rwanda": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f7-1f1fc.png?v8", - "sa": "https://github.githubassets.com/images/icons/emoji/unicode/1f202.png?v8", - "safety_pin": "https://github.githubassets.com/images/icons/emoji/unicode/1f9f7.png?v8", - "safety_vest": "https://github.githubassets.com/images/icons/emoji/unicode/1f9ba.png?v8", - "sagittarius": "https://github.githubassets.com/images/icons/emoji/unicode/2650.png?v8", - "sailboat": "https://github.githubassets.com/images/icons/emoji/unicode/26f5.png?v8", - "sake": "https://github.githubassets.com/images/icons/emoji/unicode/1f376.png?v8", - "salt": "https://github.githubassets.com/images/icons/emoji/unicode/1f9c2.png?v8", - "samoa": "https://github.githubassets.com/images/icons/emoji/unicode/1f1fc-1f1f8.png?v8", - "san_marino": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f8-1f1f2.png?v8", - "sandal": "https://github.githubassets.com/images/icons/emoji/unicode/1f461.png?v8", - "sandwich": "https://github.githubassets.com/images/icons/emoji/unicode/1f96a.png?v8", - "santa": "https://github.githubassets.com/images/icons/emoji/unicode/1f385.png?v8", - "sao_tome_principe": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f8-1f1f9.png?v8", - "sari": "https://github.githubassets.com/images/icons/emoji/unicode/1f97b.png?v8", - "sassy_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f481-2642.png?v8", - "sassy_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f481-2640.png?v8", - "satellite": "https://github.githubassets.com/images/icons/emoji/unicode/1f4e1.png?v8", - "satisfied": "https://github.githubassets.com/images/icons/emoji/unicode/1f606.png?v8", - "saudi_arabia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f8-1f1e6.png?v8", - "sauna_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d6-2642.png?v8", - "sauna_person": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d6.png?v8", - "sauna_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d6-2640.png?v8", - "sauropod": "https://github.githubassets.com/images/icons/emoji/unicode/1f995.png?v8", - "saxophone": "https://github.githubassets.com/images/icons/emoji/unicode/1f3b7.png?v8", - "scarf": "https://github.githubassets.com/images/icons/emoji/unicode/1f9e3.png?v8", - "school": "https://github.githubassets.com/images/icons/emoji/unicode/1f3eb.png?v8", - "school_satchel": "https://github.githubassets.com/images/icons/emoji/unicode/1f392.png?v8", - "scientist": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d1-1f52c.png?v8", - "scissors": "https://github.githubassets.com/images/icons/emoji/unicode/2702.png?v8", - "scorpion": "https://github.githubassets.com/images/icons/emoji/unicode/1f982.png?v8", - "scorpius": "https://github.githubassets.com/images/icons/emoji/unicode/264f.png?v8", - "scotland": "https://github.githubassets.com/images/icons/emoji/unicode/1f3f4-e0067-e0062-e0073-e0063-e0074-e007f.png?v8", - "scream": "https://github.githubassets.com/images/icons/emoji/unicode/1f631.png?v8", - "scream_cat": "https://github.githubassets.com/images/icons/emoji/unicode/1f640.png?v8", - "screwdriver": "https://github.githubassets.com/images/icons/emoji/unicode/1fa9b.png?v8", - "scroll": "https://github.githubassets.com/images/icons/emoji/unicode/1f4dc.png?v8", - "seal": "https://github.githubassets.com/images/icons/emoji/unicode/1f9ad.png?v8", - "seat": "https://github.githubassets.com/images/icons/emoji/unicode/1f4ba.png?v8", - "secret": "https://github.githubassets.com/images/icons/emoji/unicode/3299.png?v8", - "see_no_evil": "https://github.githubassets.com/images/icons/emoji/unicode/1f648.png?v8", - "seedling": "https://github.githubassets.com/images/icons/emoji/unicode/1f331.png?v8", - "selfie": "https://github.githubassets.com/images/icons/emoji/unicode/1f933.png?v8", - "senegal": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f8-1f1f3.png?v8", - "serbia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f7-1f1f8.png?v8", - "service_dog": "https://github.githubassets.com/images/icons/emoji/unicode/1f415-1f9ba.png?v8", - "seven": "https://github.githubassets.com/images/icons/emoji/unicode/0037-20e3.png?v8", - "sewing_needle": "https://github.githubassets.com/images/icons/emoji/unicode/1faa1.png?v8", - "seychelles": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f8-1f1e8.png?v8", - "shallow_pan_of_food": "https://github.githubassets.com/images/icons/emoji/unicode/1f958.png?v8", - "shamrock": "https://github.githubassets.com/images/icons/emoji/unicode/2618.png?v8", - "shark": "https://github.githubassets.com/images/icons/emoji/unicode/1f988.png?v8", - "shaved_ice": "https://github.githubassets.com/images/icons/emoji/unicode/1f367.png?v8", - "sheep": "https://github.githubassets.com/images/icons/emoji/unicode/1f411.png?v8", - "shell": "https://github.githubassets.com/images/icons/emoji/unicode/1f41a.png?v8", - "shield": "https://github.githubassets.com/images/icons/emoji/unicode/1f6e1.png?v8", - "shinto_shrine": "https://github.githubassets.com/images/icons/emoji/unicode/26e9.png?v8", - "ship": "https://github.githubassets.com/images/icons/emoji/unicode/1f6a2.png?v8", - "shipit": "https://github.githubassets.com/images/icons/emoji/shipit.png?v8", - "shirt": "https://github.githubassets.com/images/icons/emoji/unicode/1f455.png?v8", - "shoe": "https://github.githubassets.com/images/icons/emoji/unicode/1f45e.png?v8", - "shopping": "https://github.githubassets.com/images/icons/emoji/unicode/1f6cd.png?v8", - "shopping_cart": "https://github.githubassets.com/images/icons/emoji/unicode/1f6d2.png?v8", - "shorts": "https://github.githubassets.com/images/icons/emoji/unicode/1fa73.png?v8", - "shower": "https://github.githubassets.com/images/icons/emoji/unicode/1f6bf.png?v8", - "shrimp": "https://github.githubassets.com/images/icons/emoji/unicode/1f990.png?v8", - "shrug": "https://github.githubassets.com/images/icons/emoji/unicode/1f937.png?v8", - "shushing_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f92b.png?v8", - "sierra_leone": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f8-1f1f1.png?v8", - "signal_strength": "https://github.githubassets.com/images/icons/emoji/unicode/1f4f6.png?v8", - "singapore": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f8-1f1ec.png?v8", - "singer": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d1-1f3a4.png?v8", - "sint_maarten": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f8-1f1fd.png?v8", - "six": "https://github.githubassets.com/images/icons/emoji/unicode/0036-20e3.png?v8", - "six_pointed_star": "https://github.githubassets.com/images/icons/emoji/unicode/1f52f.png?v8", - "skateboard": "https://github.githubassets.com/images/icons/emoji/unicode/1f6f9.png?v8", - "ski": "https://github.githubassets.com/images/icons/emoji/unicode/1f3bf.png?v8", - "skier": "https://github.githubassets.com/images/icons/emoji/unicode/26f7.png?v8", - "skull": "https://github.githubassets.com/images/icons/emoji/unicode/1f480.png?v8", - "skull_and_crossbones": "https://github.githubassets.com/images/icons/emoji/unicode/2620.png?v8", - "skunk": "https://github.githubassets.com/images/icons/emoji/unicode/1f9a8.png?v8", - "sled": "https://github.githubassets.com/images/icons/emoji/unicode/1f6f7.png?v8", - "sleeping": "https://github.githubassets.com/images/icons/emoji/unicode/1f634.png?v8", - "sleeping_bed": "https://github.githubassets.com/images/icons/emoji/unicode/1f6cc.png?v8", - "sleepy": "https://github.githubassets.com/images/icons/emoji/unicode/1f62a.png?v8", - "slightly_frowning_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f641.png?v8", - "slightly_smiling_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f642.png?v8", - "slot_machine": "https://github.githubassets.com/images/icons/emoji/unicode/1f3b0.png?v8", - "sloth": "https://github.githubassets.com/images/icons/emoji/unicode/1f9a5.png?v8", - "slovakia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f8-1f1f0.png?v8", - "slovenia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f8-1f1ee.png?v8", - "small_airplane": "https://github.githubassets.com/images/icons/emoji/unicode/1f6e9.png?v8", - "small_blue_diamond": "https://github.githubassets.com/images/icons/emoji/unicode/1f539.png?v8", - "small_orange_diamond": "https://github.githubassets.com/images/icons/emoji/unicode/1f538.png?v8", - "small_red_triangle": "https://github.githubassets.com/images/icons/emoji/unicode/1f53a.png?v8", - "small_red_triangle_down": "https://github.githubassets.com/images/icons/emoji/unicode/1f53b.png?v8", - "smile": "https://github.githubassets.com/images/icons/emoji/unicode/1f604.png?v8", - "smile_cat": "https://github.githubassets.com/images/icons/emoji/unicode/1f638.png?v8", - "smiley": "https://github.githubassets.com/images/icons/emoji/unicode/1f603.png?v8", - "smiley_cat": "https://github.githubassets.com/images/icons/emoji/unicode/1f63a.png?v8", - "smiling_face_with_tear": "https://github.githubassets.com/images/icons/emoji/unicode/1f972.png?v8", - "smiling_face_with_three_hearts": "https://github.githubassets.com/images/icons/emoji/unicode/1f970.png?v8", - "smiling_imp": "https://github.githubassets.com/images/icons/emoji/unicode/1f608.png?v8", - "smirk": "https://github.githubassets.com/images/icons/emoji/unicode/1f60f.png?v8", - "smirk_cat": "https://github.githubassets.com/images/icons/emoji/unicode/1f63c.png?v8", - "smoking": "https://github.githubassets.com/images/icons/emoji/unicode/1f6ac.png?v8", - "snail": "https://github.githubassets.com/images/icons/emoji/unicode/1f40c.png?v8", - "snake": "https://github.githubassets.com/images/icons/emoji/unicode/1f40d.png?v8", - "sneezing_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f927.png?v8", - "snowboarder": "https://github.githubassets.com/images/icons/emoji/unicode/1f3c2.png?v8", - "snowflake": "https://github.githubassets.com/images/icons/emoji/unicode/2744.png?v8", - "snowman": "https://github.githubassets.com/images/icons/emoji/unicode/26c4.png?v8", - "snowman_with_snow": "https://github.githubassets.com/images/icons/emoji/unicode/2603.png?v8", - "soap": "https://github.githubassets.com/images/icons/emoji/unicode/1f9fc.png?v8", - "sob": "https://github.githubassets.com/images/icons/emoji/unicode/1f62d.png?v8", - "soccer": "https://github.githubassets.com/images/icons/emoji/unicode/26bd.png?v8", - "socks": "https://github.githubassets.com/images/icons/emoji/unicode/1f9e6.png?v8", - "softball": "https://github.githubassets.com/images/icons/emoji/unicode/1f94e.png?v8", - "solomon_islands": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f8-1f1e7.png?v8", - "somalia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f8-1f1f4.png?v8", - "soon": "https://github.githubassets.com/images/icons/emoji/unicode/1f51c.png?v8", - "sos": "https://github.githubassets.com/images/icons/emoji/unicode/1f198.png?v8", - "sound": "https://github.githubassets.com/images/icons/emoji/unicode/1f509.png?v8", - "south_africa": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ff-1f1e6.png?v8", - "south_georgia_south_sandwich_islands": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ec-1f1f8.png?v8", - "south_sudan": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f8-1f1f8.png?v8", - "space_invader": "https://github.githubassets.com/images/icons/emoji/unicode/1f47e.png?v8", - "spades": "https://github.githubassets.com/images/icons/emoji/unicode/2660.png?v8", - "spaghetti": "https://github.githubassets.com/images/icons/emoji/unicode/1f35d.png?v8", - "sparkle": "https://github.githubassets.com/images/icons/emoji/unicode/2747.png?v8", - "sparkler": "https://github.githubassets.com/images/icons/emoji/unicode/1f387.png?v8", - "sparkles": "https://github.githubassets.com/images/icons/emoji/unicode/2728.png?v8", - "sparkling_heart": "https://github.githubassets.com/images/icons/emoji/unicode/1f496.png?v8", - "speak_no_evil": "https://github.githubassets.com/images/icons/emoji/unicode/1f64a.png?v8", - "speaker": "https://github.githubassets.com/images/icons/emoji/unicode/1f508.png?v8", - "speaking_head": "https://github.githubassets.com/images/icons/emoji/unicode/1f5e3.png?v8", - "speech_balloon": "https://github.githubassets.com/images/icons/emoji/unicode/1f4ac.png?v8", - "speedboat": "https://github.githubassets.com/images/icons/emoji/unicode/1f6a4.png?v8", - "spider": "https://github.githubassets.com/images/icons/emoji/unicode/1f577.png?v8", - "spider_web": "https://github.githubassets.com/images/icons/emoji/unicode/1f578.png?v8", - "spiral_calendar": "https://github.githubassets.com/images/icons/emoji/unicode/1f5d3.png?v8", - "spiral_notepad": "https://github.githubassets.com/images/icons/emoji/unicode/1f5d2.png?v8", - "sponge": "https://github.githubassets.com/images/icons/emoji/unicode/1f9fd.png?v8", - "spoon": "https://github.githubassets.com/images/icons/emoji/unicode/1f944.png?v8", - "squid": "https://github.githubassets.com/images/icons/emoji/unicode/1f991.png?v8", - "sri_lanka": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f1-1f1f0.png?v8", - "st_barthelemy": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e7-1f1f1.png?v8", - "st_helena": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f8-1f1ed.png?v8", - "st_kitts_nevis": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f0-1f1f3.png?v8", - "st_lucia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f1-1f1e8.png?v8", - "st_martin": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f2-1f1eb.png?v8", - "st_pierre_miquelon": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f5-1f1f2.png?v8", - "st_vincent_grenadines": "https://github.githubassets.com/images/icons/emoji/unicode/1f1fb-1f1e8.png?v8", - "stadium": "https://github.githubassets.com/images/icons/emoji/unicode/1f3df.png?v8", - "standing_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f9cd-2642.png?v8", - "standing_person": "https://github.githubassets.com/images/icons/emoji/unicode/1f9cd.png?v8", - "standing_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f9cd-2640.png?v8", - "star": "https://github.githubassets.com/images/icons/emoji/unicode/2b50.png?v8", - "star2": "https://github.githubassets.com/images/icons/emoji/unicode/1f31f.png?v8", - "star_and_crescent": "https://github.githubassets.com/images/icons/emoji/unicode/262a.png?v8", - "star_of_david": "https://github.githubassets.com/images/icons/emoji/unicode/2721.png?v8", - "star_struck": "https://github.githubassets.com/images/icons/emoji/unicode/1f929.png?v8", - "stars": "https://github.githubassets.com/images/icons/emoji/unicode/1f320.png?v8", - "station": "https://github.githubassets.com/images/icons/emoji/unicode/1f689.png?v8", - "statue_of_liberty": "https://github.githubassets.com/images/icons/emoji/unicode/1f5fd.png?v8", - "steam_locomotive": "https://github.githubassets.com/images/icons/emoji/unicode/1f682.png?v8", - "stethoscope": "https://github.githubassets.com/images/icons/emoji/unicode/1fa7a.png?v8", - "stew": "https://github.githubassets.com/images/icons/emoji/unicode/1f372.png?v8", - "stop_button": "https://github.githubassets.com/images/icons/emoji/unicode/23f9.png?v8", - "stop_sign": "https://github.githubassets.com/images/icons/emoji/unicode/1f6d1.png?v8", - "stopwatch": "https://github.githubassets.com/images/icons/emoji/unicode/23f1.png?v8", - "straight_ruler": "https://github.githubassets.com/images/icons/emoji/unicode/1f4cf.png?v8", - "strawberry": "https://github.githubassets.com/images/icons/emoji/unicode/1f353.png?v8", - "stuck_out_tongue": "https://github.githubassets.com/images/icons/emoji/unicode/1f61b.png?v8", - "stuck_out_tongue_closed_eyes": "https://github.githubassets.com/images/icons/emoji/unicode/1f61d.png?v8", - "stuck_out_tongue_winking_eye": "https://github.githubassets.com/images/icons/emoji/unicode/1f61c.png?v8", - "student": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d1-1f393.png?v8", - "studio_microphone": "https://github.githubassets.com/images/icons/emoji/unicode/1f399.png?v8", - "stuffed_flatbread": "https://github.githubassets.com/images/icons/emoji/unicode/1f959.png?v8", - "sudan": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f8-1f1e9.png?v8", - "sun_behind_large_cloud": "https://github.githubassets.com/images/icons/emoji/unicode/1f325.png?v8", - "sun_behind_rain_cloud": "https://github.githubassets.com/images/icons/emoji/unicode/1f326.png?v8", - "sun_behind_small_cloud": "https://github.githubassets.com/images/icons/emoji/unicode/1f324.png?v8", - "sun_with_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f31e.png?v8", - "sunflower": "https://github.githubassets.com/images/icons/emoji/unicode/1f33b.png?v8", - "sunglasses": "https://github.githubassets.com/images/icons/emoji/unicode/1f60e.png?v8", - "sunny": "https://github.githubassets.com/images/icons/emoji/unicode/2600.png?v8", - "sunrise": "https://github.githubassets.com/images/icons/emoji/unicode/1f305.png?v8", - "sunrise_over_mountains": "https://github.githubassets.com/images/icons/emoji/unicode/1f304.png?v8", - "superhero": "https://github.githubassets.com/images/icons/emoji/unicode/1f9b8.png?v8", - "superhero_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f9b8-2642.png?v8", - "superhero_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f9b8-2640.png?v8", - "supervillain": "https://github.githubassets.com/images/icons/emoji/unicode/1f9b9.png?v8", - "supervillain_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f9b9-2642.png?v8", - "supervillain_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f9b9-2640.png?v8", - "surfer": "https://github.githubassets.com/images/icons/emoji/unicode/1f3c4.png?v8", - "surfing_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f3c4-2642.png?v8", - "surfing_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f3c4-2640.png?v8", - "suriname": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f8-1f1f7.png?v8", - "sushi": "https://github.githubassets.com/images/icons/emoji/unicode/1f363.png?v8", - "suspect": "https://github.githubassets.com/images/icons/emoji/suspect.png?v8", - "suspension_railway": "https://github.githubassets.com/images/icons/emoji/unicode/1f69f.png?v8", - "svalbard_jan_mayen": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f8-1f1ef.png?v8", - "swan": "https://github.githubassets.com/images/icons/emoji/unicode/1f9a2.png?v8", - "swaziland": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f8-1f1ff.png?v8", - "sweat": "https://github.githubassets.com/images/icons/emoji/unicode/1f613.png?v8", - "sweat_drops": "https://github.githubassets.com/images/icons/emoji/unicode/1f4a6.png?v8", - "sweat_smile": "https://github.githubassets.com/images/icons/emoji/unicode/1f605.png?v8", - "sweden": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f8-1f1ea.png?v8", - "sweet_potato": "https://github.githubassets.com/images/icons/emoji/unicode/1f360.png?v8", - "swim_brief": "https://github.githubassets.com/images/icons/emoji/unicode/1fa72.png?v8", - "swimmer": "https://github.githubassets.com/images/icons/emoji/unicode/1f3ca.png?v8", - "swimming_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f3ca-2642.png?v8", - "swimming_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f3ca-2640.png?v8", - "switzerland": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e8-1f1ed.png?v8", - "symbols": "https://github.githubassets.com/images/icons/emoji/unicode/1f523.png?v8", - "synagogue": "https://github.githubassets.com/images/icons/emoji/unicode/1f54d.png?v8", - "syria": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f8-1f1fe.png?v8", - "syringe": "https://github.githubassets.com/images/icons/emoji/unicode/1f489.png?v8", - "t-rex": "https://github.githubassets.com/images/icons/emoji/unicode/1f996.png?v8", - "taco": "https://github.githubassets.com/images/icons/emoji/unicode/1f32e.png?v8", - "tada": "https://github.githubassets.com/images/icons/emoji/unicode/1f389.png?v8", - "taiwan": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f9-1f1fc.png?v8", - "tajikistan": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f9-1f1ef.png?v8", - "takeout_box": "https://github.githubassets.com/images/icons/emoji/unicode/1f961.png?v8", - "tamale": "https://github.githubassets.com/images/icons/emoji/unicode/1fad4.png?v8", - "tanabata_tree": "https://github.githubassets.com/images/icons/emoji/unicode/1f38b.png?v8", - "tangerine": "https://github.githubassets.com/images/icons/emoji/unicode/1f34a.png?v8", - "tanzania": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f9-1f1ff.png?v8", - "taurus": "https://github.githubassets.com/images/icons/emoji/unicode/2649.png?v8", - "taxi": "https://github.githubassets.com/images/icons/emoji/unicode/1f695.png?v8", - "tea": "https://github.githubassets.com/images/icons/emoji/unicode/1f375.png?v8", - "teacher": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d1-1f3eb.png?v8", - "teapot": "https://github.githubassets.com/images/icons/emoji/unicode/1fad6.png?v8", - "technologist": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d1-1f4bb.png?v8", - "teddy_bear": "https://github.githubassets.com/images/icons/emoji/unicode/1f9f8.png?v8", - "telephone": "https://github.githubassets.com/images/icons/emoji/unicode/260e.png?v8", - "telephone_receiver": "https://github.githubassets.com/images/icons/emoji/unicode/1f4de.png?v8", - "telescope": "https://github.githubassets.com/images/icons/emoji/unicode/1f52d.png?v8", - "tennis": "https://github.githubassets.com/images/icons/emoji/unicode/1f3be.png?v8", - "tent": "https://github.githubassets.com/images/icons/emoji/unicode/26fa.png?v8", - "test_tube": "https://github.githubassets.com/images/icons/emoji/unicode/1f9ea.png?v8", - "thailand": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f9-1f1ed.png?v8", - "thermometer": "https://github.githubassets.com/images/icons/emoji/unicode/1f321.png?v8", - "thinking": "https://github.githubassets.com/images/icons/emoji/unicode/1f914.png?v8", - "thong_sandal": "https://github.githubassets.com/images/icons/emoji/unicode/1fa74.png?v8", - "thought_balloon": "https://github.githubassets.com/images/icons/emoji/unicode/1f4ad.png?v8", - "thread": "https://github.githubassets.com/images/icons/emoji/unicode/1f9f5.png?v8", - "three": "https://github.githubassets.com/images/icons/emoji/unicode/0033-20e3.png?v8", - "thumbsdown": "https://github.githubassets.com/images/icons/emoji/unicode/1f44e.png?v8", - "thumbsup": "https://github.githubassets.com/images/icons/emoji/unicode/1f44d.png?v8", - "ticket": "https://github.githubassets.com/images/icons/emoji/unicode/1f3ab.png?v8", - "tickets": "https://github.githubassets.com/images/icons/emoji/unicode/1f39f.png?v8", - "tiger": "https://github.githubassets.com/images/icons/emoji/unicode/1f42f.png?v8", - "tiger2": "https://github.githubassets.com/images/icons/emoji/unicode/1f405.png?v8", - "timer_clock": "https://github.githubassets.com/images/icons/emoji/unicode/23f2.png?v8", - "timor_leste": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f9-1f1f1.png?v8", - "tipping_hand_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f481-2642.png?v8", - "tipping_hand_person": "https://github.githubassets.com/images/icons/emoji/unicode/1f481.png?v8", - "tipping_hand_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f481-2640.png?v8", - "tired_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f62b.png?v8", - "tm": "https://github.githubassets.com/images/icons/emoji/unicode/2122.png?v8", - "togo": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f9-1f1ec.png?v8", - "toilet": "https://github.githubassets.com/images/icons/emoji/unicode/1f6bd.png?v8", - "tokelau": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f9-1f1f0.png?v8", - "tokyo_tower": "https://github.githubassets.com/images/icons/emoji/unicode/1f5fc.png?v8", - "tomato": "https://github.githubassets.com/images/icons/emoji/unicode/1f345.png?v8", - "tonga": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f9-1f1f4.png?v8", - "tongue": "https://github.githubassets.com/images/icons/emoji/unicode/1f445.png?v8", - "toolbox": "https://github.githubassets.com/images/icons/emoji/unicode/1f9f0.png?v8", - "tooth": "https://github.githubassets.com/images/icons/emoji/unicode/1f9b7.png?v8", - "toothbrush": "https://github.githubassets.com/images/icons/emoji/unicode/1faa5.png?v8", - "top": "https://github.githubassets.com/images/icons/emoji/unicode/1f51d.png?v8", - "tophat": "https://github.githubassets.com/images/icons/emoji/unicode/1f3a9.png?v8", - "tornado": "https://github.githubassets.com/images/icons/emoji/unicode/1f32a.png?v8", - "tr": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f9-1f1f7.png?v8", - "trackball": "https://github.githubassets.com/images/icons/emoji/unicode/1f5b2.png?v8", - "tractor": "https://github.githubassets.com/images/icons/emoji/unicode/1f69c.png?v8", - "traffic_light": "https://github.githubassets.com/images/icons/emoji/unicode/1f6a5.png?v8", - "train": "https://github.githubassets.com/images/icons/emoji/unicode/1f68b.png?v8", - "train2": "https://github.githubassets.com/images/icons/emoji/unicode/1f686.png?v8", - "tram": "https://github.githubassets.com/images/icons/emoji/unicode/1f68a.png?v8", - "transgender_flag": "https://github.githubassets.com/images/icons/emoji/unicode/1f3f3-26a7.png?v8", - "transgender_symbol": "https://github.githubassets.com/images/icons/emoji/unicode/26a7.png?v8", - "triangular_flag_on_post": "https://github.githubassets.com/images/icons/emoji/unicode/1f6a9.png?v8", - "triangular_ruler": "https://github.githubassets.com/images/icons/emoji/unicode/1f4d0.png?v8", - "trident": "https://github.githubassets.com/images/icons/emoji/unicode/1f531.png?v8", - "trinidad_tobago": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f9-1f1f9.png?v8", - "tristan_da_cunha": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f9-1f1e6.png?v8", - "triumph": "https://github.githubassets.com/images/icons/emoji/unicode/1f624.png?v8", - "trolleybus": "https://github.githubassets.com/images/icons/emoji/unicode/1f68e.png?v8", - "trollface": "https://github.githubassets.com/images/icons/emoji/trollface.png?v8", - "trophy": "https://github.githubassets.com/images/icons/emoji/unicode/1f3c6.png?v8", - "tropical_drink": "https://github.githubassets.com/images/icons/emoji/unicode/1f379.png?v8", - "tropical_fish": "https://github.githubassets.com/images/icons/emoji/unicode/1f420.png?v8", - "truck": "https://github.githubassets.com/images/icons/emoji/unicode/1f69a.png?v8", - "trumpet": "https://github.githubassets.com/images/icons/emoji/unicode/1f3ba.png?v8", - "tshirt": "https://github.githubassets.com/images/icons/emoji/unicode/1f455.png?v8", - "tulip": "https://github.githubassets.com/images/icons/emoji/unicode/1f337.png?v8", - "tumbler_glass": "https://github.githubassets.com/images/icons/emoji/unicode/1f943.png?v8", - "tunisia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f9-1f1f3.png?v8", - "turkey": "https://github.githubassets.com/images/icons/emoji/unicode/1f983.png?v8", - "turkmenistan": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f9-1f1f2.png?v8", - "turks_caicos_islands": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f9-1f1e8.png?v8", - "turtle": "https://github.githubassets.com/images/icons/emoji/unicode/1f422.png?v8", - "tuvalu": "https://github.githubassets.com/images/icons/emoji/unicode/1f1f9-1f1fb.png?v8", - "tv": "https://github.githubassets.com/images/icons/emoji/unicode/1f4fa.png?v8", - "twisted_rightwards_arrows": "https://github.githubassets.com/images/icons/emoji/unicode/1f500.png?v8", - "two": "https://github.githubassets.com/images/icons/emoji/unicode/0032-20e3.png?v8", - "two_hearts": "https://github.githubassets.com/images/icons/emoji/unicode/1f495.png?v8", - "two_men_holding_hands": "https://github.githubassets.com/images/icons/emoji/unicode/1f46c.png?v8", - "two_women_holding_hands": "https://github.githubassets.com/images/icons/emoji/unicode/1f46d.png?v8", - "u5272": "https://github.githubassets.com/images/icons/emoji/unicode/1f239.png?v8", - "u5408": "https://github.githubassets.com/images/icons/emoji/unicode/1f234.png?v8", - "u55b6": "https://github.githubassets.com/images/icons/emoji/unicode/1f23a.png?v8", - "u6307": "https://github.githubassets.com/images/icons/emoji/unicode/1f22f.png?v8", - "u6708": "https://github.githubassets.com/images/icons/emoji/unicode/1f237.png?v8", - "u6709": "https://github.githubassets.com/images/icons/emoji/unicode/1f236.png?v8", - "u6e80": "https://github.githubassets.com/images/icons/emoji/unicode/1f235.png?v8", - "u7121": "https://github.githubassets.com/images/icons/emoji/unicode/1f21a.png?v8", - "u7533": "https://github.githubassets.com/images/icons/emoji/unicode/1f238.png?v8", - "u7981": "https://github.githubassets.com/images/icons/emoji/unicode/1f232.png?v8", - "u7a7a": "https://github.githubassets.com/images/icons/emoji/unicode/1f233.png?v8", - "uganda": "https://github.githubassets.com/images/icons/emoji/unicode/1f1fa-1f1ec.png?v8", - "uk": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ec-1f1e7.png?v8", - "ukraine": "https://github.githubassets.com/images/icons/emoji/unicode/1f1fa-1f1e6.png?v8", - "umbrella": "https://github.githubassets.com/images/icons/emoji/unicode/2614.png?v8", - "unamused": "https://github.githubassets.com/images/icons/emoji/unicode/1f612.png?v8", - "underage": "https://github.githubassets.com/images/icons/emoji/unicode/1f51e.png?v8", - "unicorn": "https://github.githubassets.com/images/icons/emoji/unicode/1f984.png?v8", - "united_arab_emirates": "https://github.githubassets.com/images/icons/emoji/unicode/1f1e6-1f1ea.png?v8", - "united_nations": "https://github.githubassets.com/images/icons/emoji/unicode/1f1fa-1f1f3.png?v8", - "unlock": "https://github.githubassets.com/images/icons/emoji/unicode/1f513.png?v8", - "up": "https://github.githubassets.com/images/icons/emoji/unicode/1f199.png?v8", - "upside_down_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f643.png?v8", - "uruguay": "https://github.githubassets.com/images/icons/emoji/unicode/1f1fa-1f1fe.png?v8", - "us": "https://github.githubassets.com/images/icons/emoji/unicode/1f1fa-1f1f8.png?v8", - "us_outlying_islands": "https://github.githubassets.com/images/icons/emoji/unicode/1f1fa-1f1f2.png?v8", - "us_virgin_islands": "https://github.githubassets.com/images/icons/emoji/unicode/1f1fb-1f1ee.png?v8", - "uzbekistan": "https://github.githubassets.com/images/icons/emoji/unicode/1f1fa-1f1ff.png?v8", - "v": "https://github.githubassets.com/images/icons/emoji/unicode/270c.png?v8", - "vampire": "https://github.githubassets.com/images/icons/emoji/unicode/1f9db.png?v8", - "vampire_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f9db-2642.png?v8", - "vampire_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f9db-2640.png?v8", - "vanuatu": "https://github.githubassets.com/images/icons/emoji/unicode/1f1fb-1f1fa.png?v8", - "vatican_city": "https://github.githubassets.com/images/icons/emoji/unicode/1f1fb-1f1e6.png?v8", - "venezuela": "https://github.githubassets.com/images/icons/emoji/unicode/1f1fb-1f1ea.png?v8", - "vertical_traffic_light": "https://github.githubassets.com/images/icons/emoji/unicode/1f6a6.png?v8", - "vhs": "https://github.githubassets.com/images/icons/emoji/unicode/1f4fc.png?v8", - "vibration_mode": "https://github.githubassets.com/images/icons/emoji/unicode/1f4f3.png?v8", - "video_camera": "https://github.githubassets.com/images/icons/emoji/unicode/1f4f9.png?v8", - "video_game": "https://github.githubassets.com/images/icons/emoji/unicode/1f3ae.png?v8", - "vietnam": "https://github.githubassets.com/images/icons/emoji/unicode/1f1fb-1f1f3.png?v8", - "violin": "https://github.githubassets.com/images/icons/emoji/unicode/1f3bb.png?v8", - "virgo": "https://github.githubassets.com/images/icons/emoji/unicode/264d.png?v8", - "volcano": "https://github.githubassets.com/images/icons/emoji/unicode/1f30b.png?v8", - "volleyball": "https://github.githubassets.com/images/icons/emoji/unicode/1f3d0.png?v8", - "vomiting_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f92e.png?v8", - "vs": "https://github.githubassets.com/images/icons/emoji/unicode/1f19a.png?v8", - "vulcan_salute": "https://github.githubassets.com/images/icons/emoji/unicode/1f596.png?v8", - "waffle": "https://github.githubassets.com/images/icons/emoji/unicode/1f9c7.png?v8", - "wales": "https://github.githubassets.com/images/icons/emoji/unicode/1f3f4-e0067-e0062-e0077-e006c-e0073-e007f.png?v8", - "walking": "https://github.githubassets.com/images/icons/emoji/unicode/1f6b6.png?v8", - "walking_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f6b6-2642.png?v8", - "walking_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f6b6-2640.png?v8", - "wallis_futuna": "https://github.githubassets.com/images/icons/emoji/unicode/1f1fc-1f1eb.png?v8", - "waning_crescent_moon": "https://github.githubassets.com/images/icons/emoji/unicode/1f318.png?v8", - "waning_gibbous_moon": "https://github.githubassets.com/images/icons/emoji/unicode/1f316.png?v8", - "warning": "https://github.githubassets.com/images/icons/emoji/unicode/26a0.png?v8", - "wastebasket": "https://github.githubassets.com/images/icons/emoji/unicode/1f5d1.png?v8", - "watch": "https://github.githubassets.com/images/icons/emoji/unicode/231a.png?v8", - "water_buffalo": "https://github.githubassets.com/images/icons/emoji/unicode/1f403.png?v8", - "water_polo": "https://github.githubassets.com/images/icons/emoji/unicode/1f93d.png?v8", - "watermelon": "https://github.githubassets.com/images/icons/emoji/unicode/1f349.png?v8", - "wave": "https://github.githubassets.com/images/icons/emoji/unicode/1f44b.png?v8", - "wavy_dash": "https://github.githubassets.com/images/icons/emoji/unicode/3030.png?v8", - "waxing_crescent_moon": "https://github.githubassets.com/images/icons/emoji/unicode/1f312.png?v8", - "waxing_gibbous_moon": "https://github.githubassets.com/images/icons/emoji/unicode/1f314.png?v8", - "wc": "https://github.githubassets.com/images/icons/emoji/unicode/1f6be.png?v8", - "weary": "https://github.githubassets.com/images/icons/emoji/unicode/1f629.png?v8", - "wedding": "https://github.githubassets.com/images/icons/emoji/unicode/1f492.png?v8", - "weight_lifting": "https://github.githubassets.com/images/icons/emoji/unicode/1f3cb.png?v8", - "weight_lifting_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f3cb-2642.png?v8", - "weight_lifting_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f3cb-2640.png?v8", - "western_sahara": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ea-1f1ed.png?v8", - "whale": "https://github.githubassets.com/images/icons/emoji/unicode/1f433.png?v8", - "whale2": "https://github.githubassets.com/images/icons/emoji/unicode/1f40b.png?v8", - "wheel_of_dharma": "https://github.githubassets.com/images/icons/emoji/unicode/2638.png?v8", - "wheelchair": "https://github.githubassets.com/images/icons/emoji/unicode/267f.png?v8", - "white_check_mark": "https://github.githubassets.com/images/icons/emoji/unicode/2705.png?v8", - "white_circle": "https://github.githubassets.com/images/icons/emoji/unicode/26aa.png?v8", - "white_flag": "https://github.githubassets.com/images/icons/emoji/unicode/1f3f3.png?v8", - "white_flower": "https://github.githubassets.com/images/icons/emoji/unicode/1f4ae.png?v8", - "white_haired_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f468-1f9b3.png?v8", - "white_haired_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f9b3.png?v8", - "white_heart": "https://github.githubassets.com/images/icons/emoji/unicode/1f90d.png?v8", - "white_large_square": "https://github.githubassets.com/images/icons/emoji/unicode/2b1c.png?v8", - "white_medium_small_square": "https://github.githubassets.com/images/icons/emoji/unicode/25fd.png?v8", - "white_medium_square": "https://github.githubassets.com/images/icons/emoji/unicode/25fb.png?v8", - "white_small_square": "https://github.githubassets.com/images/icons/emoji/unicode/25ab.png?v8", - "white_square_button": "https://github.githubassets.com/images/icons/emoji/unicode/1f533.png?v8", - "wilted_flower": "https://github.githubassets.com/images/icons/emoji/unicode/1f940.png?v8", - "wind_chime": "https://github.githubassets.com/images/icons/emoji/unicode/1f390.png?v8", - "wind_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f32c.png?v8", - "window": "https://github.githubassets.com/images/icons/emoji/unicode/1fa9f.png?v8", - "wine_glass": "https://github.githubassets.com/images/icons/emoji/unicode/1f377.png?v8", - "wink": "https://github.githubassets.com/images/icons/emoji/unicode/1f609.png?v8", - "wolf": "https://github.githubassets.com/images/icons/emoji/unicode/1f43a.png?v8", - "woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f469.png?v8", - "woman_artist": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f3a8.png?v8", - "woman_astronaut": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f680.png?v8", - "woman_beard": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d4-2640.png?v8", - "woman_cartwheeling": "https://github.githubassets.com/images/icons/emoji/unicode/1f938-2640.png?v8", - "woman_cook": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f373.png?v8", - "woman_dancing": "https://github.githubassets.com/images/icons/emoji/unicode/1f483.png?v8", - "woman_facepalming": "https://github.githubassets.com/images/icons/emoji/unicode/1f926-2640.png?v8", - "woman_factory_worker": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f3ed.png?v8", - "woman_farmer": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f33e.png?v8", - "woman_feeding_baby": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f37c.png?v8", - "woman_firefighter": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f692.png?v8", - "woman_health_worker": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-2695.png?v8", - "woman_in_manual_wheelchair": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f9bd.png?v8", - "woman_in_motorized_wheelchair": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f9bc.png?v8", - "woman_in_tuxedo": "https://github.githubassets.com/images/icons/emoji/unicode/1f935-2640.png?v8", - "woman_judge": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-2696.png?v8", - "woman_juggling": "https://github.githubassets.com/images/icons/emoji/unicode/1f939-2640.png?v8", - "woman_mechanic": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f527.png?v8", - "woman_office_worker": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f4bc.png?v8", - "woman_pilot": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-2708.png?v8", - "woman_playing_handball": "https://github.githubassets.com/images/icons/emoji/unicode/1f93e-2640.png?v8", - "woman_playing_water_polo": "https://github.githubassets.com/images/icons/emoji/unicode/1f93d-2640.png?v8", - "woman_scientist": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f52c.png?v8", - "woman_shrugging": "https://github.githubassets.com/images/icons/emoji/unicode/1f937-2640.png?v8", - "woman_singer": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f3a4.png?v8", - "woman_student": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f393.png?v8", - "woman_teacher": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f3eb.png?v8", - "woman_technologist": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f4bb.png?v8", - "woman_with_headscarf": "https://github.githubassets.com/images/icons/emoji/unicode/1f9d5.png?v8", - "woman_with_probing_cane": "https://github.githubassets.com/images/icons/emoji/unicode/1f469-1f9af.png?v8", - "woman_with_turban": "https://github.githubassets.com/images/icons/emoji/unicode/1f473-2640.png?v8", - "woman_with_veil": "https://github.githubassets.com/images/icons/emoji/unicode/1f470-2640.png?v8", - "womans_clothes": "https://github.githubassets.com/images/icons/emoji/unicode/1f45a.png?v8", - "womans_hat": "https://github.githubassets.com/images/icons/emoji/unicode/1f452.png?v8", - "women_wrestling": "https://github.githubassets.com/images/icons/emoji/unicode/1f93c-2640.png?v8", - "womens": "https://github.githubassets.com/images/icons/emoji/unicode/1f6ba.png?v8", - "wood": "https://github.githubassets.com/images/icons/emoji/unicode/1fab5.png?v8", - "woozy_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f974.png?v8", - "world_map": "https://github.githubassets.com/images/icons/emoji/unicode/1f5fa.png?v8", - "worm": "https://github.githubassets.com/images/icons/emoji/unicode/1fab1.png?v8", - "worried": "https://github.githubassets.com/images/icons/emoji/unicode/1f61f.png?v8", - "wrench": "https://github.githubassets.com/images/icons/emoji/unicode/1f527.png?v8", - "wrestling": "https://github.githubassets.com/images/icons/emoji/unicode/1f93c.png?v8", - "writing_hand": "https://github.githubassets.com/images/icons/emoji/unicode/270d.png?v8", - "x": "https://github.githubassets.com/images/icons/emoji/unicode/274c.png?v8", - "yarn": "https://github.githubassets.com/images/icons/emoji/unicode/1f9f6.png?v8", - "yawning_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f971.png?v8", - "yellow_circle": "https://github.githubassets.com/images/icons/emoji/unicode/1f7e1.png?v8", - "yellow_heart": "https://github.githubassets.com/images/icons/emoji/unicode/1f49b.png?v8", - "yellow_square": "https://github.githubassets.com/images/icons/emoji/unicode/1f7e8.png?v8", - "yemen": "https://github.githubassets.com/images/icons/emoji/unicode/1f1fe-1f1ea.png?v8", - "yen": "https://github.githubassets.com/images/icons/emoji/unicode/1f4b4.png?v8", - "yin_yang": "https://github.githubassets.com/images/icons/emoji/unicode/262f.png?v8", - "yo_yo": "https://github.githubassets.com/images/icons/emoji/unicode/1fa80.png?v8", - "yum": "https://github.githubassets.com/images/icons/emoji/unicode/1f60b.png?v8", - "zambia": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ff-1f1f2.png?v8", - "zany_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f92a.png?v8", - "zap": "https://github.githubassets.com/images/icons/emoji/unicode/26a1.png?v8", - "zebra": "https://github.githubassets.com/images/icons/emoji/unicode/1f993.png?v8", - "zero": "https://github.githubassets.com/images/icons/emoji/unicode/0030-20e3.png?v8", - "zimbabwe": "https://github.githubassets.com/images/icons/emoji/unicode/1f1ff-1f1fc.png?v8", - "zipper_mouth_face": "https://github.githubassets.com/images/icons/emoji/unicode/1f910.png?v8", - "zombie": "https://github.githubassets.com/images/icons/emoji/unicode/1f9df.png?v8", - "zombie_man": "https://github.githubassets.com/images/icons/emoji/unicode/1f9df-2642.png?v8", - "zombie_woman": "https://github.githubassets.com/images/icons/emoji/unicode/1f9df-2640.png?v8", - "zzz": "https://github.githubassets.com/images/icons/emoji/unicode/1f4a4.png?v8" - } - }, - "announcement": { - "summary": "Announcement banner", - "value": { - "announcement": "Very **important** announcement about _something_.", - "expires_at": "2021-01-01T00:00:00.000+00:00", - "user_dismissible": false - } - }, - "license-info": { - "value": { - "seats": 1400, - "seats_used": 1316, - "seats_available": 84, - "kind": "standard", - "days_until_expiration": 365, - "expire_at": "2016/02/06 12:41:52 -0600" - } - }, - "enterprise-overview": { - "value": { - "repos": { - "total_repos": 212, - "root_repos": 194, - "fork_repos": 18, - "org_repos": 51, - "total_pushes": 3082, - "total_wikis": 15 - }, - "hooks": { - "total_hooks": 27, - "active_hooks": 23, - "inactive_hooks": 4 - }, - "pages": { "total_pages": 36 }, - "orgs": { - "total_orgs": 33, - "disabled_orgs": 0, - "total_teams": 60, - "total_team_members": 314 - }, - "users": { - "total_users": 254, - "admin_users": 45, - "suspended_users": 21 - }, - "pulls": { - "total_pulls": 86, - "merged_pulls": 60, - "mergeable_pulls": 21, - "unmergeable_pulls": 3 - }, - "issues": { - "total_issues": 179, - "open_issues": 83, - "closed_issues": 96 - }, - "milestones": { - "total_milestones": 7, - "open_milestones": 6, - "closed_milestones": 1 - }, - "gists": { - "total_gists": 178, - "private_gists": 151, - "public_gists": 25 - }, - "comments": { - "total_commit_comments": 6, - "total_gist_comments": 28, - "total_issue_comments": 366, - "total_pull_request_comments": 30 - } - } - }, - "enterprise-security-products-overview": { - "value": { - "total_repos": 150, - "nonarchived_repos": 130, - "secret_scanning_enabled_repos": 150, - "secret_scanning_push_protection_enabled_repos": 120, - "code_scanning_enabled_repos": 140, - "code_scanning_pr_reviews_enabled_repos": 100, - "code_scanning_default_setup_enabled_repos": 50, - "code_scanning_default_setup_eligible_repos": 30, - "dependabot_alerts_enabled_repos": 130, - "dependabot_security_updates_enabled_repos": 120, - "dependabot_version_updates_enabled_repos": 121, - "advanced_security_enabled_repos": 150, - "active_committers": 30, - "purchased_committers": 90, - "maximum_committers": 80 - } - }, - "actions-cache-usage-org-enterprise": { - "value": { - "total_active_caches_size_in_bytes": 3344284, - "total_active_caches_count": 5 - } - }, - "actions-cache-usage-policy-enterprise": { - "value": { - "repo_cache_size_limit_in_gb": 10, - "max_repo_cache_size_limit_in_gb": 15 - } - }, - "actions-enterprise-permissions": { - "value": { - "enabled_organizations": "all", - "allowed_actions": "selected", - "selected_actions_url": "https://api.github.com/enterprises/2/actions/permissions/selected-actions" - } - }, - "organization-targets": { - "value": { - "total_count": 1, - "organizations": [ - { - "login": "octocat", - "id": 161335, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "url": "https://api.github.com/orgs/octo-org", - "repos_url": "https://api.github.com/orgs/octo-org/repos", - "events_url": "https://api.github.com/orgs/octo-org/events", - "hooks_url": "https://api.github.com/orgs/octo-org/hooks", - "issues_url": "https://api.github.com/orgs/octo-org/issues", - "members_url": "https://api.github.com/orgs/octo-org/members{/member}", - "public_members_url": "https://api.github.com/orgs/octo-org/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization" - } - ] - } - }, - "selected-actions": { - "value": { - "github_owned_allowed": true, - "verified_allowed": false, - "patterns_allowed": ["monalisa/octocat@*", "docker/*"] - } - }, - "actions-default-workflow-permissions": { - "summary": "Give read-only permission, and allow approving PRs.", - "value": { - "default_workflow_permissions": "read", - "can_approve_pull_request_reviews": true - } - }, - "runner-groups-enterprise": { - "value": { - "total_count": 3, - "runner_groups": [ - { - "id": 1, - "name": "Default", - "visibility": "all", - "default": true, - "runners_url": "https://api.github.com/enterprises/octo-corp/actions/runner_groups/1/runners", - "allows_public_repositories": false, - "restricted_to_workflows": false, - "selected_workflows": [], - "workflow_restrictions_read_only": false - }, - { - "id": 2, - "name": "octo-runner-group", - "visibility": "selected", - "default": false, - "selected_organizations_url": "https://api.github.com/enterprises/octo-corp/actions/runner_groups/2/organizations", - "runners_url": "https://api.github.com/enterprises/octo-corp/actions/runner_groups/2/runners", - "allows_public_repositories": true, - "restricted_to_workflows": true, - "selected_workflows": [ - "octo-org/octo-repo/.github/workflows/deploy.yaml@refs/heads/main" - ], - "workflow_restrictions_read_only": false - }, - { - "id": 3, - "name": "expensive-hardware", - "visibility": "private", - "default": false, - "runners_url": "https://api.github.com/enterprises/octo-corp/actions/runner_groups/3/runners", - "allows_public_repositories": true, - "restricted_to_workflows": false, - "selected_workflows": [ - "octo-org/octo-repo/.github/workflows/deploy.yaml@refs/heads/main" - ], - "workflow_restrictions_read_only": false - } - ] - } - }, - "runner-group-enterprise": { - "value": { - "id": 2, - "name": "octo-runner-group", - "visibility": "selected", - "default": false, - "selected_organizations_url": "https://api.github.com/enterprises/octo-corp/actions/runner-groups/2/organizations", - "runners_url": "https://api.github.com/enterprises/octo-corp/actions/runner-groups/2/runners", - "allows_public_repositories": false, - "restricted_to_workflows": true, - "selected_workflows": [ - "octo-org/octo-repo/.github/workflows/deploy.yaml@refs/heads/main" - ], - "workflow_restrictions_read_only": false - } - }, - "runner-group-update-enterprise": { - "value": { - "id": 2, - "name": "Expensive hardware runners", - "visibility": "selected", - "default": false, - "selected_organizations_url": "https://api.github.com/enterprises/octo-corp/actions/runner-groups/2/organizations", - "runners_url": "https://api.github.com/enterprises/octo-corp/actions/runner-groups/2/runners", - "allows_public_repositories": true, - "restricted_to_workflows": false, - "selected_workflows": [ - "octo-org/octo-repo/.github/workflows/deploy.yaml@refs/heads/main" - ], - "workflow_restrictions_read_only": false - } - }, - "runner-paginated": { - "value": { - "total_count": 2, - "runners": [ - { - "id": 23, - "name": "linux_runner", - "os": "linux", - "status": "online", - "busy": true, - "ephemeral": false, - "labels": [ - { "id": 5, "name": "self-hosted", "type": "read-only" }, - { "id": 7, "name": "X64", "type": "read-only" }, - { "id": 11, "name": "Linux", "type": "read-only" } - ] - }, - { - "id": 24, - "name": "mac_runner", - "os": "macos", - "status": "offline", - "busy": false, - "ephemeral": false, - "labels": [ - { "id": 5, "name": "self-hosted", "type": "read-only" }, - { "id": 7, "name": "X64", "type": "read-only" }, - { "id": 20, "name": "macOS", "type": "read-only" }, - { "id": 21, "name": "no-gpu", "type": "custom" } - ] - } - ] - } - }, - "runner-application-items-airgap": { - "value": [ - { - "os": "osx", - "architecture": "x64", - "download_url": "https://github.com/actions/runner/releases/download/v2.277.1/actions-runner-osx-x64-2.277.1.tar.gz", - "filename": "actions-runner-osx-x64-2.277.1.tar.gz", - "temp_download_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IkJmSjdCUXpLdXhjWDc4WnJ5NUxnUW53ZFRrMCJ9.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zUnVudGltZS5QYWNrYWdlRG93bmxvYWQiLCJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9zaWQiOiJERERERERERC1ERERELUREREQtRERERC1EREREREREREREREQiLCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJhdWkiOiIwZTZkODAxYi02NzVlLTQ1YzAtOWM4NC1jYTkzNjdlZjc1NjciLCJzaWQiOiI4ZTE5MDliZC1kYzU1LTQ2MWYtOTk2Mi1hZTI0OTEzNzU4OWIiLCJpc3MiOiJ2c3Rva2VuLmNvZGVkZXYubXMiLCJhdWQiOiJ2c3Rva2VuLmNvZGVkZXYubXMiLCJuYmYiOjE2MTc5MDQxNzUsImV4cCI6MTYxNzkwODM3NX0.YNsRXL9pBuIfLVndnyVQOpru77Br8hgYIX7LPsOaMfKk4K88YG89a2VIXUWPyHRiOaC-4J0lIPei8ujezEtnMfNZCwHdWq0Niiy-2-ywcfGPmcz-RHz_ZglkPFbzKaiZWJcFKCGHCP0Ta3kdXumJQqiVJEIyppxIY-caR_Wsw2L4BZHOefJq-odsJ0guPgm9fVuU9FxVRkucho1UH_bzt0tAMl1gEWOLBLZ88U9LKCzHWaxheFeBV4DTt1lAcSm213gKP1eMbgAGn5heWhR4RMRBzZc2HO3Lf1syu4E8fW8a-esRAxEYPfqPHwN9LNj2jaU3D3nPwa8lHQLLtA1PNA", - "sha256_checksum": "f1fa173889dc9036cd529417e652e1729e5a3f4d35ec0151806d7480fda6b89b" - }, - { - "os": "linux", - "architecture": "x64", - "download_url": "https://github.com/actions/runner/releases/download/v2.277.1/actions-runner-linux-x64-2.277.1.tar.gz", - "filename": "actions-runner-linux-x64-2.277.1.tar.gz", - "temp_download_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IkJmSjdCUXpLdXhjWDc4WnJ5NUxnUW53ZFRrMCJ9.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zUnVudGltZS5QYWNrYWdlRG93bmxvYWQiLCJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9zaWQiOiJERERERERERC1ERERELUREREQtRERERC1EREREREREREREREQiLCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJhdWkiOiIwZTZkODAxYi02NzVlLTQ1YzAtOWM4NC1jYTkzNjdlZjc1NjciLCJzaWQiOiI4ZTE5MDliZC1kYzU1LTQ2MWYtOTk2Mi1hZTI0OTEzNzU4OWIiLCJpc3MiOiJ2c3Rva2VuLmNvZGVkZXYubXMiLCJhdWQiOiJ2c3Rva2VuLmNvZGVkZXYubXMiLCJuYmYiOjE2MTc5MDQxNzUsImV4cCI6MTYxNzkwODM3NX0.YNsRXL9pBuIfLVndnyVQOpru77Br8hgYIX7LPsOaMfKk4K88YG89a2VIXUWPyHRiOaC-4J0lIPei8ujezEtnMfNZCwHdWq0Niiy-2-ywcfGPmcz-RHz_ZglkPFbzKaiZWJcFKCGHCP0Ta3kdXumJQqiVJEIyppxIY-caR_Wsw2L4BZHOefJq-odsJ0guPgm9fVuU9FxVRkucho1UH_bzt0tAMl1gEWOLBLZ88U9LKCzHWaxheFeBV4DTt1lAcSm213gKP1eMbgAGn5heWhR4RMRBzZc2HO3Lf1syu4E8fW8a-esRAxEYPfqPHwN9LNj2jaU3D3nPwa8lHQLLtA1PNA", - "sha256_checksum": "02d710fc9e0008e641274bb7da7fde61f7c9aa1cbb541a2990d3450cc88f4e98" - }, - { - "os": "linux", - "architecture": "arm", - "download_url": "https://github.com/actions/runner/releases/download/v2.277.1/actions-runner-linux-arm-2.277.1.tar.gz", - "filename": "actions-runner-linux-arm-2.277.1.tar.gz", - "temp_download_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IkJmSjdCUXpLdXhjWDc4WnJ5NUxnUW53ZFRrMCJ9.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zUnVudGltZS5QYWNrYWdlRG93bmxvYWQiLCJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9zaWQiOiJERERERERERC1ERERELUREREQtRERERC1EREREREREREREREQiLCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJhdWkiOiIyYTEzZDRmZC01ZDhkLTRjNzgtYjg2MS0zYTMxZGQ3MmYzNjQiLCJzaWQiOiI0MzZiNTg3YS04ODMyLTRiMTMtOWM2Ny05OWRkMjA2ZTQzNmMiLCJpc3MiOiJ2c3Rva2VuLmNvZGVkZXYubXMiLCJhdWQiOiJ2c3Rva2VuLmNvZGVkZXYubXMiLCJuYmYiOjE2MTc5MzE1NzEsImV4cCI6MTYxNzkzNTc3MX0.PMhU7-MOnZRDj5k5a4ieeFlQCmKPl2pQvpVRhGZq-9ByKF5s9G0rsnGBxDcolTYlbvEAmSSkeAEwF486F7P0kMVEb-GI14WbErqqMSyaPL81c3W7UHxMJLaSBnDs9ftHMv_IkJmRzaROS8q1ObzUW-ErlltxCdj2zF_5ruK9G2RR566AOAtiA3AHV6k7-FCY5--sDYJN_YXPgpwI0fPN1TM92fdPm93hJnoXuCJNpBYp1vl5W4gwGtU_Pa07ESdqqFN1YJJHUloedNhiIOczGfGVSapRc8vyGm9P_VCM_yKD8JI-MkOXl8JI5fCfhmjmKsw-vSAh9NW67RGvmehmpw", - "sha256_checksum": "2f2bda21e2fd8fed6938b33182a293f6b1f74e4c5d09acd6d9a0fe3f979f5c85" - }, - { - "os": "win", - "architecture": "x64", - "download_url": "https://github.com/actions/runner/releases/download/v2.277.1/actions-runner-win-x64-2.277.1.zip", - "filename": "actions-runner-win-x64-2.277.1.zip", - "temp_download_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IkJmSjdCUXpLdXhjWDc4WnJ5NUxnUW53ZFRrMCJ9.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zUnVudGltZS5QYWNrYWdlRG93bmxvYWQiLCJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9zaWQiOiJERERERERERC1ERERELUREREQtRERERC1EREREREREREREREQiLCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJhdWkiOiIwZTZkODAxYi02NzVlLTQ1YzAtOWM4NC1jYTkzNjdlZjc1NjciLCJzaWQiOiI4ZTE5MDliZC1kYzU1LTQ2MWYtOTk2Mi1hZTI0OTEzNzU4OWIiLCJpc3MiOiJ2c3Rva2VuLmNvZGVkZXYubXMiLCJhdWQiOiJ2c3Rva2VuLmNvZGVkZXYubXMiLCJuYmYiOjE2MTc5MDQxNzUsImV4cCI6MTYxNzkwODM3NX0.YNsRXL9pBuIfLVndnyVQOpru77Br8hgYIX7LPsOaMfKk4K88YG89a2VIXUWPyHRiOaC-4J0lIPei8ujezEtnMfNZCwHdWq0Niiy-2-ywcfGPmcz-RHz_ZglkPFbzKaiZWJcFKCGHCP0Ta3kdXumJQqiVJEIyppxIY-caR_Wsw2L4BZHOefJq-odsJ0guPgm9fVuU9FxVRkucho1UH_bzt0tAMl1gEWOLBLZ88U9LKCzHWaxheFeBV4DTt1lAcSm213gKP1eMbgAGn5heWhR4RMRBzZc2HO3Lf1syu4E8fW8a-esRAxEYPfqPHwN9LNj2jaU3D3nPwa8lHQLLtA1PNA", - "sha256_checksum": "7215c75a462eeb6a839fa8ed298d79f620617d44d47d37c583114fc3f3b27b30" - }, - { - "os": "linux", - "architecture": "arm64", - "download_url": "https://github.com/actions/runner/releases/download/v2.277.1/actions-runner-linux-arm64-2.277.1.tar.gz", - "filename": "actions-runner-linux-arm64-2.277.1.tar.gz", - "temp_download_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IkJmSjdCUXpLdXhjWDc4WnJ5NUxnUW53ZFRrMCJ9.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zUnVudGltZS5QYWNrYWdlRG93bmxvYWQiLCJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9zaWQiOiJERERERERERC1ERERELUREREQtRERERC1EREREREREREREREQiLCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJhdWkiOiIwZTZkODAxYi02NzVlLTQ1YzAtOWM4NC1jYTkzNjdlZjc1NjciLCJzaWQiOiI4ZTE5MDliZC1kYzU1LTQ2MWYtOTk2Mi1hZTI0OTEzNzU4OWIiLCJpc3MiOiJ2c3Rva2VuLmNvZGVkZXYubXMiLCJhdWQiOiJ2c3Rva2VuLmNvZGVkZXYubXMiLCJuYmYiOjE2MTc5MDQxNzUsImV4cCI6MTYxNzkwODM3NX0.YNsRXL9pBuIfLVndnyVQOpru77Br8hgYIX7LPsOaMfKk4K88YG89a2VIXUWPyHRiOaC-4J0lIPei8ujezEtnMfNZCwHdWq0Niiy-2-ywcfGPmcz-RHz_ZglkPFbzKaiZWJcFKCGHCP0Ta3kdXumJQqiVJEIyppxIY-caR_Wsw2L4BZHOefJq-odsJ0guPgm9fVuU9FxVRkucho1UH_bzt0tAMl1gEWOLBLZ88U9LKCzHWaxheFeBV4DTt1lAcSm213gKP1eMbgAGn5heWhR4RMRBzZc2HO3Lf1syu4E8fW8a-esRAxEYPfqPHwN9LNj2jaU3D3nPwa8lHQLLtA1PNA", - "sha256_checksum": "a6aa6dd0ba217118ef2b4ea24e9e0a85b02b13c38052a5de0776d6ced3a79c64" - } - ] - }, - "runner-jitconfig": { - "value": { - "runner": { - "id": 23, - "name": "New runner", - "os": "unknown", - "status": "offline", - "busy": false, - "labels": [ - { "id": 5, "name": "self-hosted", "type": "read-only" }, - { "id": 7, "name": "X64", "type": "read-only" }, - { "id": 20, "name": "macOS", "type": "read-only" }, - { "id": 21, "name": "no-gpu", "type": "custom" } - ] - }, - "encoded_jit_config": "abc123" - } - }, - "authentication-token": { - "value": { - "token": "LLBF3JGZDX3P5PMEXLND6TS6FCWO6", - "expires_at": "2020-01-22T12:13:35.123-08:00" - } - }, - "authentication-token-2": { - "value": { - "token": "AABF3JGZDX3P5PMEXLND6TS6FCWO6", - "expires_at": "2020-01-29T12:13:35.123-08:00" - } - }, - "runner": { - "value": { - "id": 23, - "name": "MBP", - "os": "macos", - "status": "online", - "busy": true, - "ephemeral": false, - "labels": [ - { "id": 5, "name": "self-hosted", "type": "read-only" }, - { "id": 7, "name": "X64", "type": "read-only" }, - { "id": 20, "name": "macOS", "type": "read-only" }, - { "id": 21, "name": "no-gpu", "type": "custom" } - ] - } - }, - "runner-labels": { - "value": { - "total_count": 4, - "labels": [ - { "id": 5, "name": "self-hosted", "type": "read-only" }, - { "id": 7, "name": "X64", "type": "read-only" }, - { "id": 20, "name": "macOS", "type": "read-only" }, - { "id": 21, "name": "no-gpu", "type": "custom" } - ] - } - }, - "runner-labels-readonly": { - "value": { - "total_count": 3, - "labels": [ - { "id": 5, "name": "self-hosted", "type": "read-only" }, - { "id": 7, "name": "X64", "type": "read-only" }, - { "id": 20, "name": "macOS", "type": "read-only" } - ] - } - }, - "audit-log": { - "value": [ - { - "actor_ip": "88.123.45.123", - "from": "pull_requests#merge", - "device_cookie": null, - "actor": "mona-admin", - "actor_id": 7, - "repo": "octo-org/octo-repo", - "repo_id": 17, - "business": "github", - "business_id": 1, - "org": "octo-org", - "org_id": 8, - "action": "pull_request.merge", - "@timestamp": 1635940599755, - "created_at": 1635940599755, - "operation_type": "modify", - "actor_location": { - "country_code": "GB", - "country_name": "United Kingdom", - "region": "ENG", - "region_name": "England", - "city": "Louth", - "postal_code": "LN11", - "location": { "lat": 53.4457, "lon": 0.141 } - }, - "data": { - "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) ...", - "method": "POST", - "request_id": "e4dabc4d-ba16-4bca-1234-649be7ae1188", - "server_id": "5d17aab5-fd9f-abcd-a820-16bed246441b", - "request_category": "other", - "controller_action": "merge", - "url": "https://example.com/octo-org/octo-repo/pull/1/merge", - "client_id": 322299977.1635936, - "referrer": "https://example.com/octo-org/octo-repo/pull/1", - "actor_session": 1, - "pull_request_id": 1, - "category_type": "Resource Management" - } - }, - { - "actor_ip": "88.123.45.123", - "from": "pull_request_review_events#create", - "device_cookie": null, - "actor": "mona-admin", - "actor_id": 7, - "business_id": 1, - "org_id": 8, - "action": "pull_request_review.submit", - "@timestamp": 1635940593079, - "created_at": 1635940593079, - "operation_type": "modify", - "actor_location": { - "country_code": "GB", - "country_name": "United Kingdom", - "region": "ENG", - "region_name": "England", - "city": "Louth", - "postal_code": "LN11", - "location": { "lat": 53.4457, "lon": 0.141 } - }, - "data": { - "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) ...", - "method": "PUT", - "request_id": "c0f63bb7-17b6-4796-940c-12345c5a581b", - "server_id": "2abc1234-f651-43e3-9696-e942ad5f8c89", - "request_category": "other", - "controller_action": "create", - "url": "https://example.com/octo-org/octo-repo/pull/1/reviews", - "client_id": 322299977.1635936, - "referrer": "https://example.com/octo-org/octo-repo/pull/1/files", - "actor_session": 1, - "spammy": false, - "pull_request_id": 1, - "body": null, - "allowed": true, - "id": 1, - "state": 40, - "issue_id": 1, - "review_id": 1, - "category_type": "Resource Management" - } - }, - { - "actor_ip": "88.123.45.123", - "from": "pull_requests#create", - "device_cookie": null, - "actor": "mona", - "actor_id": 9, - "user_id": 9, - "repo": "octo-org/octo-repo", - "repo_id": 17, - "business": "github", - "business_id": 1, - "org": "octo-org", - "org_id": 8, - "action": "pull_request.create", - "@timestamp": 1635940554161, - "created_at": 1635940554161, - "operation_type": "create", - "actor_location": { - "country_code": "GB", - "country_name": "United Kingdom", - "region": "ENG", - "region_name": "England", - "city": "Louth", - "postal_code": "LN11", - "location": { "lat": 53.4457, "lon": 0.141 } - }, - "data": { - "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) ...", - "method": "POST", - "request_id": "2773abeb-477f-4ebf-a017-f8e8a206c305", - "server_id": "796e3115-4ce8-4606-8fd0-99ea57a2e12b", - "request_category": "other", - "controller_action": "create", - "url": "https://example.com/octo-org/octo-repo/pull/create?base=octo-org%3Amain&head=mona%3Apatch-1", - "client_id": 386351111.163594, - "referrer": "https://example.com/octo-org/octo-repo/compare/main...mona:patch-1", - "actor_session": 2, - "pull_request_id": 1, - "category_type": "Resource Management" - } - } - ] - }, - "code-scanning-organization-alert-items": { - "value": [ - { - "number": 4, - "created_at": "2020-02-13T12:29:18Z", - "url": "https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/4", - "html_url": "https://github.com/octocat/hello-world/code-scanning/4", - "state": "open", - "dismissed_by": null, - "dismissed_at": null, - "dismissed_reason": null, - "dismissed_comment": null, - "rule": { - "id": "js/zipslip", - "severity": "error", - "tags": ["security", "external/cwe/cwe-022"], - "description": "Arbitrary file write during zip extraction", - "name": "js/zipslip" - }, - "tool": { "name": "CodeQL", "guid": null, "version": "2.4.0" }, - "most_recent_instance": { - "ref": "refs/heads/main", - "analysis_key": ".github/workflows/codeql-analysis.yml:CodeQL-Build", - "category": ".github/workflows/codeql-analysis.yml:CodeQL-Build", - "environment": "{}", - "state": "open", - "commit_sha": "39406e42cb832f683daa691dd652a8dc36ee8930", - "message": { - "text": "This path depends on a user-provided value." - }, - "location": { - "path": "spec-main/api-session-spec.ts", - "start_line": 917, - "end_line": 917, - "start_column": 7, - "end_column": 18 - }, - "classifications": ["test"] - }, - "instances_url": "https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/4/instances", - "repository": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks" - } - }, - { - "number": 3, - "created_at": "2020-02-13T12:29:18Z", - "url": "https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3", - "html_url": "https://github.com/octocat/hello-world/code-scanning/3", - "state": "dismissed", - "dismissed_by": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "dismissed_at": "2020-02-14T12:29:18Z", - "dismissed_reason": "false positive", - "dismissed_comment": "This alert is not actually correct, because there's a sanitizer included in the library.", - "rule": { - "id": "js/zipslip", - "severity": "error", - "tags": ["security", "external/cwe/cwe-022"], - "description": "Arbitrary file write during zip extraction", - "name": "js/zipslip" - }, - "tool": { "name": "CodeQL", "guid": null, "version": "2.4.0" }, - "most_recent_instance": { - "ref": "refs/heads/main", - "analysis_key": ".github/workflows/codeql-analysis.yml:CodeQL-Build", - "category": ".github/workflows/codeql-analysis.yml:CodeQL-Build", - "environment": "{}", - "state": "open", - "commit_sha": "39406e42cb832f683daa691dd652a8dc36ee8930", - "message": { - "text": "This path depends on a user-provided value." - }, - "location": { - "path": "lib/ab12-gen.js", - "start_line": 917, - "end_line": 917, - "start_column": 7, - "end_column": 18 - }, - "classifications": [] - }, - "instances_url": "https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances", - "repository": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks" - } - } - ] - }, - "enterprise-security-analysis-settings": { - "value": { - "advanced_security_enabled_for_new_repositories": true, - "dependabot_alerts_enabled_for_new_repositories": true, - "secret_scanning_enabled_for_new_repositories": true, - "secret_scanning_push_protection_enabled_for_new_repositories": true, - "secret_scanning_push_protection_custom_link": "https://github.com/test-org/test-repo/blob/main/README.md" - } - }, - "dependabot-alerts-for-organization": { - "value": [ - { - "number": 2, - "state": "dismissed", - "dependency": { - "package": { "ecosystem": "pip", "name": "django" }, - "manifest_path": "path/to/requirements.txt", - "scope": "runtime" - }, - "security_advisory": { - "ghsa_id": "GHSA-rf4j-j272-fj86", - "cve_id": "CVE-2018-6188", - "summary": "Django allows remote attackers to obtain potentially sensitive information by leveraging data exposure from the confirm_login_allowed() method, as demonstrated by discovering whether a user account is inactive", - "description": "django.contrib.auth.forms.AuthenticationForm in Django 2.0 before 2.0.2, and 1.11.8 and 1.11.9, allows remote attackers to obtain potentially sensitive information by leveraging data exposure from the confirm_login_allowed() method, as demonstrated by discovering whether a user account is inactive.", - "vulnerabilities": [ - { - "package": { "ecosystem": "pip", "name": "django" }, - "severity": "high", - "vulnerable_version_range": ">= 2.0.0, < 2.0.2", - "first_patched_version": { "identifier": "2.0.2" } - }, - { - "package": { "ecosystem": "pip", "name": "django" }, - "severity": "high", - "vulnerable_version_range": ">= 1.11.8, < 1.11.10", - "first_patched_version": { "identifier": "1.11.10" } - } - ], - "severity": "high", - "cvss": { - "vector_string": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", - "score": 7.5 - }, - "cvss_severities": { - "cvss_v3": { - "vector_string": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", - "score": 7.5 - }, - "cvss_v4": { - "vector_string": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N", - "score": 8.7 - } - }, - "cwes": [ - { - "cwe_id": "CWE-200", - "name": "Exposure of Sensitive Information to an Unauthorized Actor" - } - ], - "identifiers": [ - { "type": "GHSA", "value": "GHSA-rf4j-j272-fj86" }, - { "type": "CVE", "value": "CVE-2018-6188" } - ], - "references": [ - { "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-6188" }, - { "url": "https://github.com/advisories/GHSA-rf4j-j272-fj86" }, - { "url": "https://usn.ubuntu.com/3559-1/" }, - { - "url": "https://www.djangoproject.com/weblog/2018/feb/01/security-releases/" - }, - { "url": "http://www.securitytracker.com/id/1040422" } - ], - "published_at": "2018-10-03T21:13:54Z", - "updated_at": "2022-04-26T18:35:37Z", - "withdrawn_at": null - }, - "security_vulnerability": { - "package": { "ecosystem": "pip", "name": "django" }, - "severity": "high", - "vulnerable_version_range": ">= 2.0.0, < 2.0.2", - "first_patched_version": { "identifier": "2.0.2" } - }, - "url": "https://api.github.com/repos/octo-org/octo-repo/dependabot/alerts/2", - "html_url": "https://github.com/octo-org/octo-repo/security/dependabot/2", - "created_at": "2022-06-15T07:43:03Z", - "updated_at": "2022-08-23T14:29:47Z", - "dismissed_at": "2022-08-23T14:29:47Z", - "dismissed_by": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "dismissed_reason": "tolerable_risk", - "dismissed_comment": "This alert is accurate but we use a sanitizer.", - "fixed_at": null, - "repository": { - "id": 217723378, - "node_id": "MDEwOlJlcG9zaXRvcnkyMTc3MjMzNzg=", - "name": "octo-repo", - "full_name": "octo-org/octo-repo", - "owner": { - "login": "octo-org", - "id": 6811672, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=", - "avatar_url": "https://avatars3.githubusercontent.com/u/6811672?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/octo-org", - "html_url": "https://github.com/octo-org", - "followers_url": "https://api.github.com/users/octo-org/followers", - "following_url": "https://api.github.com/users/octo-org/following{/other_user}", - "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions", - "organizations_url": "https://api.github.com/users/octo-org/orgs", - "repos_url": "https://api.github.com/users/octo-org/repos", - "events_url": "https://api.github.com/users/octo-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/octo-org/received_events", - "type": "Organization", - "site_admin": false - }, - "private": true, - "html_url": "https://github.com/octo-org/octo-repo", - "description": null, - "fork": false, - "url": "https://api.github.com/repos/octo-org/octo-repo", - "archive_url": "https://api.github.com/repos/octo-org/octo-repo/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octo-org/octo-repo/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octo-org/octo-repo/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octo-org/octo-repo/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octo-org/octo-repo/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octo-org/octo-repo/comments{/number}", - "commits_url": "https://api.github.com/repos/octo-org/octo-repo/commits{/sha}", - "compare_url": "https://api.github.com/repos/octo-org/octo-repo/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octo-org/octo-repo/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octo-org/octo-repo/contributors", - "deployments_url": "https://api.github.com/repos/octo-org/octo-repo/deployments", - "downloads_url": "https://api.github.com/repos/octo-org/octo-repo/downloads", - "events_url": "https://api.github.com/repos/octo-org/octo-repo/events", - "forks_url": "https://api.github.com/repos/octo-org/octo-repo/forks", - "git_commits_url": "https://api.github.com/repos/octo-org/octo-repo/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octo-org/octo-repo/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octo-org/octo-repo/git/tags{/sha}", - "hooks_url": "https://api.github.com/repos/octo-org/octo-repo/hooks", - "issue_comment_url": "https://api.github.com/repos/octo-org/octo-repo/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octo-org/octo-repo/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octo-org/octo-repo/issues{/number}", - "keys_url": "https://api.github.com/repos/octo-org/octo-repo/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octo-org/octo-repo/labels{/name}", - "languages_url": "https://api.github.com/repos/octo-org/octo-repo/languages", - "merges_url": "https://api.github.com/repos/octo-org/octo-repo/merges", - "milestones_url": "https://api.github.com/repos/octo-org/octo-repo/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octo-org/octo-repo/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octo-org/octo-repo/pulls{/number}", - "releases_url": "https://api.github.com/repos/octo-org/octo-repo/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octo-org/octo-repo/stargazers", - "statuses_url": "https://api.github.com/repos/octo-org/octo-repo/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octo-org/octo-repo/subscribers", - "subscription_url": "https://api.github.com/repos/octo-org/octo-repo/subscription", - "tags_url": "https://api.github.com/repos/octo-org/octo-repo/tags", - "teams_url": "https://api.github.com/repos/octo-org/octo-repo/teams", - "trees_url": "https://api.github.com/repos/octo-org/octo-repo/git/trees{/sha}" - } - }, - { - "number": 1, - "state": "open", - "dependency": { - "package": { "ecosystem": "pip", "name": "ansible" }, - "manifest_path": "path/to/requirements.txt", - "scope": "runtime" - }, - "security_advisory": { - "ghsa_id": "GHSA-8f4m-hccc-8qph", - "cve_id": "CVE-2021-20191", - "summary": "Insertion of Sensitive Information into Log File in ansible", - "description": "A flaw was found in ansible. Credentials, such as secrets, are being disclosed in console log by default and not protected by no_log feature when using those modules. An attacker can take advantage of this information to steal those credentials. The highest threat from this vulnerability is to data confidentiality.", - "vulnerabilities": [ - { - "package": { "ecosystem": "pip", "name": "ansible" }, - "severity": "medium", - "vulnerable_version_range": ">= 2.9.0, < 2.9.18", - "first_patched_version": { "identifier": "2.9.18" } - }, - { - "package": { "ecosystem": "pip", "name": "ansible" }, - "severity": "medium", - "vulnerable_version_range": "< 2.8.19", - "first_patched_version": { "identifier": "2.8.19" } - }, - { - "package": { "ecosystem": "pip", "name": "ansible" }, - "severity": "medium", - "vulnerable_version_range": ">= 2.10.0, < 2.10.7", - "first_patched_version": { "identifier": "2.10.7" } - } - ], - "severity": "medium", - "cvss": { - "vector_string": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", - "score": 5.5 - }, - "cvss_severities": { - "cvss_v3": { - "vector_string": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", - "score": 5.5 - }, - "cvss_v4": { - "vector_string": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N", - "score": 8.5 - } - }, - "cwes": [ - { - "cwe_id": "CWE-532", - "name": "Insertion of Sensitive Information into Log File" - } - ], - "identifiers": [ - { "type": "GHSA", "value": "GHSA-8f4m-hccc-8qph" }, - { "type": "CVE", "value": "CVE-2021-20191" } - ], - "references": [ - { "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-20191" }, - { - "url": "https://access.redhat.com/security/cve/cve-2021-20191" - }, - { "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1916813" } - ], - "published_at": "2021-06-01T17:38:00Z", - "updated_at": "2021-08-12T23:06:00Z", - "withdrawn_at": null - }, - "security_vulnerability": { - "package": { "ecosystem": "pip", "name": "ansible" }, - "severity": "medium", - "vulnerable_version_range": "< 2.8.19", - "first_patched_version": { "identifier": "2.8.19" } - }, - "url": "https://api.github.com/repos/octo-org/hello-world/dependabot/alerts/1", - "html_url": "https://github.com/octo-org/hello-world/security/dependabot/1", - "created_at": "2022-06-14T15:21:52Z", - "updated_at": "2022-06-14T15:21:52Z", - "dismissed_at": null, - "dismissed_by": null, - "dismissed_reason": null, - "dismissed_comment": null, - "fixed_at": null, - "repository": { - "id": 664700648, - "node_id": "MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg=", - "name": "hello-world", - "full_name": "octo-org/hello-world", - "owner": { - "login": "octo-org", - "id": 6811672, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=", - "avatar_url": "https://avatars3.githubusercontent.com/u/6811672?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/octo-org", - "html_url": "https://github.com/octo-org", - "followers_url": "https://api.github.com/users/octo-org/followers", - "following_url": "https://api.github.com/users/octo-org/following{/other_user}", - "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions", - "organizations_url": "https://api.github.com/users/octo-org/orgs", - "repos_url": "https://api.github.com/users/octo-org/repos", - "events_url": "https://api.github.com/users/octo-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/octo-org/received_events", - "type": "Organization", - "site_admin": false - }, - "private": true, - "html_url": "https://github.com/octo-org/hello-world", - "description": null, - "fork": false, - "url": "https://api.github.com/repos/octo-org/hello-world", - "archive_url": "https://api.github.com/repos/octo-org/hello-world/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octo-org/hello-world/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octo-org/hello-world/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octo-org/hello-world/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octo-org/hello-world/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octo-org/hello-world/comments{/number}", - "commits_url": "https://api.github.com/repos/octo-org/hello-world/commits{/sha}", - "compare_url": "https://api.github.com/repos/octo-org/hello-world/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octo-org/hello-world/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octo-org/hello-world/contributors", - "deployments_url": "https://api.github.com/repos/octo-org/hello-world/deployments", - "downloads_url": "https://api.github.com/repos/octo-org/hello-world/downloads", - "events_url": "https://api.github.com/repos/octo-org/hello-world/events", - "forks_url": "https://api.github.com/repos/octo-org/hello-world/forks", - "git_commits_url": "https://api.github.com/repos/octo-org/hello-world/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octo-org/hello-world/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octo-org/hello-world/git/tags{/sha}", - "hooks_url": "https://api.github.com/repos/octo-org/hello-world/hooks", - "issue_comment_url": "https://api.github.com/repos/octo-org/hello-world/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octo-org/hello-world/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octo-org/hello-world/issues{/number}", - "keys_url": "https://api.github.com/repos/octo-org/hello-world/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octo-org/hello-world/labels{/name}", - "languages_url": "https://api.github.com/repos/octo-org/hello-world/languages", - "merges_url": "https://api.github.com/repos/octo-org/hello-world/merges", - "milestones_url": "https://api.github.com/repos/octo-org/hello-world/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octo-org/hello-world/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octo-org/hello-world/pulls{/number}", - "releases_url": "https://api.github.com/repos/octo-org/hello-world/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octo-org/hello-world/stargazers", - "statuses_url": "https://api.github.com/repos/octo-org/hello-world/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octo-org/hello-world/subscribers", - "subscription_url": "https://api.github.com/repos/octo-org/hello-world/subscription", - "tags_url": "https://api.github.com/repos/octo-org/hello-world/tags", - "teams_url": "https://api.github.com/repos/octo-org/hello-world/teams", - "trees_url": "https://api.github.com/repos/octo-org/hello-world/git/trees{/sha}" - } - } - ] - }, - "organization-secret-scanning-alert-list": { - "value": [ - { - "number": 2, - "created_at": "2020-11-06T18:48:51Z", - "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", - "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", - "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", - "state": "resolved", - "resolution": "false_positive", - "resolved_at": "2020-11-07T02:47:13Z", - "resolved_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "secret_type": "adafruit_io_key", - "secret_type_display_name": "Adafruit IO Key", - "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", - "repository": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks" - }, - "push_protection_bypassed_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypassed": true, - "push_protection_bypassed_at": "2020-11-06T21:48:51Z", - "push_protection_bypass_request_reviewer": { - "login": "octocat", - "id": 3, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/3?", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypass_request_reviewer_comment": "Example response", - "push_protection_bypass_request_comment": "Example comment", - "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", - "resolution_comment": "Example comment", - "validity": "active" - }, - { - "number": 1, - "created_at": "2020-11-06T18:18:30Z", - "url": "https://api.github.com/repos/owner/repo/secret-scanning/alerts/1", - "html_url": "https://github.com/owner/repo/security/secret-scanning/1", - "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/1/locations", - "state": "open", - "resolution": null, - "resolved_at": null, - "resolved_by": null, - "secret_type": "mailchimp_api_key", - "secret_type_display_name": "Mailchimp API Key", - "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2", - "repository": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks" - }, - "push_protection_bypassed_by": null, - "push_protection_bypassed": false, - "push_protection_bypassed_at": null, - "push_protection_bypass_request_reviewer": null, - "push_protection_bypass_request_reviewer_comment": null, - "push_protection_bypass_request_comment": null, - "push_protection_bypass_request_html_url": null, - "resolution_comment": null, - "validity": "unknown" - } - ] - }, - "advanced-security-active-committers": { - "value": { - "total_advanced_security_committers": 2, - "total_count": 2, - "maximum_advanced_security_committers": 4, - "purchased_advanced_security_committers": 4, - "repositories": [ - { - "name": "octocat-org/Hello-World", - "advanced_security_committers": 2, - "advanced_security_committers_breakdown": [ - { - "user_login": "octocat", - "last_pushed_date": "2021-11-03", - "last_pushed_email": "octocat@github.com" - }, - { - "user_login": "octokitten", - "last_pushed_date": "2021-10-25", - "last_pushed_email": "octokitten@github.com" - } - ] - }, - { - "name": "octocat-org/server", - "advanced_security_committers": 1, - "advanced_security_committers_breakdown": [ - { - "user_login": "octokitten", - "last_pushed_date": "2021-10-26", - "last_pushed_email": "octokitten@github.com" - } - ] - } - ] - } - }, - "public-events-items": { - "value": [ - { - "id": "22249084947", - "type": "WatchEvent", - "actor": { - "id": 583231, - "login": "octocat", - "display_login": "octocat", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4" - }, - "repo": { - "id": 1296269, - "name": "octocat/Hello-World", - "url": "https://api.github.com/repos/octocat/Hello-World" - }, - "payload": { "action": "started" }, - "public": true, - "created_at": "2022-06-09T12:47:28Z" - }, - { - "id": "22249084964", - "type": "PushEvent", - "actor": { - "id": 583231, - "login": "octocat", - "display_login": "octocat", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4" - }, - "repo": { - "id": 1296269, - "name": "octocat/Hello-World", - "url": "https://api.github.com/repos/octocat/Hello-World" - }, - "payload": { - "push_id": 10115855396, - "size": 1, - "distinct_size": 1, - "ref": "refs/heads/master", - "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] - }, - "public": true, - "created_at": "2022-06-07T07:50:26Z" - } - ] - }, - "feed": { - "value": { - "timeline_url": "https://github.com/timeline", - "user_url": "https://github.com/{user}", - "current_user_public_url": "https://github.com/octocat", - "current_user_url": "https://github.com/octocat.private?token=abc123", - "current_user_actor_url": "https://github.com/octocat.private.actor?token=abc123", - "current_user_organization_url": "", - "current_user_organization_urls": [ - "https://github.com/organizations/github/octocat.private.atom?token=abc123" - ], - "security_advisories_url": "https://github.com/security-advisories", - "_links": { - "timeline": { - "href": "https://github.com/timeline", - "type": "application/atom+xml" - }, - "user": { - "href": "https://github.com/{user}", - "type": "application/atom+xml" - }, - "current_user_public": { - "href": "https://github.com/octocat", - "type": "application/atom+xml" - }, - "current_user": { - "href": "https://github.com/octocat.private?token=abc123", - "type": "application/atom+xml" - }, - "current_user_actor": { - "href": "https://github.com/octocat.private.actor?token=abc123", - "type": "application/atom+xml" - }, - "current_user_organization": { "href": "", "type": "" }, - "current_user_organizations": [ - { - "href": "https://github.com/organizations/github/octocat.private.atom?token=abc123", - "type": "application/atom+xml" - } - ] - } - } - }, - "base-gist-items": { - "value": [ - { - "url": "https://api.github.com/gists/aa5a315d61ae9438b18d", - "forks_url": "https://api.github.com/gists/aa5a315d61ae9438b18d/forks", - "commits_url": "https://api.github.com/gists/aa5a315d61ae9438b18d/commits", - "id": "aa5a315d61ae9438b18d", - "node_id": "MDQ6R2lzdGFhNWEzMTVkNjFhZTk0MzhiMThk", - "git_pull_url": "https://gist.github.com/aa5a315d61ae9438b18d.git", - "git_push_url": "https://gist.github.com/aa5a315d61ae9438b18d.git", - "html_url": "https://gist.github.com/aa5a315d61ae9438b18d", - "files": { - "hello_world.rb": { - "filename": "hello_world.rb", - "type": "application/x-ruby", - "language": "Ruby", - "raw_url": "https://gist.githubusercontent.com/octocat/6cad326836d38bd3a7ae/raw/db9c55113504e46fa076e7df3a04ce592e2e86d8/hello_world.rb", - "size": 167 - } - }, - "public": true, - "created_at": "2010-04-14T02:15:15Z", - "updated_at": "2011-06-20T11:34:15Z", - "description": "Hello World Examples", - "comments": 0, - "user": null, - "comments_url": "https://api.github.com/gists/aa5a315d61ae9438b18d/comments/", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "truncated": false - } - ] - }, - "gist": { - "value": { - "url": "https://api.github.com/gists/2decf6c462d9b4418f2", - "forks_url": "https://api.github.com/gists/2decf6c462d9b4418f2/forks", - "commits_url": "https://api.github.com/gists/2decf6c462d9b4418f2/commits", - "id": "2decf6c462d9b4418f2", - "node_id": "G_kwDOBhHyLdZDliNDQxOGYy", - "git_pull_url": "https://gist.github.com/2decf6c462d9b4418f2.git", - "git_push_url": "https://gist.github.com/2decf6c462d9b4418f2.git", - "html_url": "https://gist.github.com/2decf6c462d9b4418f2", - "files": { - "README.md": { - "filename": "README.md", - "type": "text/markdown", - "language": "Markdown", - "raw_url": "https://gist.githubusercontent.com/monalisa/2decf6c462d9b4418f2/raw/ac3e6daf176fafe73609fd000cd188e4472010fb/README.md", - "size": 23, - "truncated": false, - "content": "Hello world from GitHub", - "encoding": "utf-8" - } - }, - "public": true, - "created_at": "2022-09-20T12:11:58Z", - "updated_at": "2022-09-21T10:28:06Z", - "description": "An updated gist description.", - "comments": 0, - "comments_url": "https://api.github.com/gists/2decf6c462d9b4418f2/comments", - "owner": { - "login": "monalisa", - "id": 104456405, - "node_id": "U_kgDOBhHyLQ", - "avatar_url": "https://avatars.githubusercontent.com/u/104456405?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "forks": [], - "history": [ - { - "user": { - "login": "monalisa", - "id": 104456405, - "node_id": "U_kgyLQ", - "avatar_url": "https://avatars.githubusercontent.com/u/104456405?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "version": "468aac8caed5f0c3b859b8286968", - "committed_at": "2022-09-21T10:28:06Z", - "change_status": { "total": 2, "additions": 1, "deletions": 1 }, - "url": "https://api.github.com/gists/8481a81af6b7a2d418f2/468aac8caed5f0c3b859b8286968" - } - ], - "truncated": false - } - }, - "delete-gist-file": { - "value": { - "url": "https://api.github.com/gists/2decf6c462d9b4418f2", - "forks_url": "https://api.github.com/gists/2decf6c462d9b4418f2/forks", - "commits_url": "https://api.github.com/gists/2decf6c462d9b4418f2/commits", - "id": "2decf6c462d9b4418f2", - "node_id": "G_kwDOBhHyLdoAIDg0ODFZDliNDQxOGYy", - "git_pull_url": "https://gist.github.com/2decf6c462d9b4418f2.git", - "git_push_url": "https://gist.github.com/2decf6c462d9b4418f2.git", - "html_url": "https://gist.github.com/2decf6c462d9b4418f2", - "files": null, - "public": true, - "created_at": "2022-09-20T12:11:58Z", - "updated_at": "2022-09-21T10:28:06Z", - "description": "A gist description.", - "comments": 0, - "user": null, - "comments_url": "https://api.github.com/gists/2decf6c462d9b4418f2/comments", - "owner": { - "login": "monalisa", - "id": 104456405, - "node_id": "U_kgDOBhHyLQ", - "avatar_url": "https://avatars.githubusercontent.com/u/104456405?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "forks": [], - "history": [ - { - "user": { - "login": "monalisa", - "id": 104456405, - "node_id": "U_kgyLQ", - "avatar_url": "https://avatars.githubusercontent.com/u/104456405?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "version": "9cc352a89178a6d4", - "committed_at": "2022-09-21T10:28:06Z", - "change_status": { "total": 1, "additions": 0, "deletions": 1 }, - "url": "https://api.github.com/gists/8481a81af6b7a2d418f2/468aac8caed5f0c3b859b8286968" - } - ], - "truncated": false - } - }, - "rename-gist-file": { - "value": { - "url": "https://api.github.com/gists/2decf6c462d9b4418f2", - "forks_url": "https://api.github.com/gists/2decf6c462d9b4418f2/forks", - "commits_url": "https://api.github.com/gists/2decf6c462d9b4418f2/commits", - "id": "2decf6c462d9b4418f2", - "node_id": "G_kwDOBhHyLdoAIDg0ODFZDliNDQxOGYy", - "git_pull_url": "https://gist.github.com/2decf6c462d9b4418f2.git", - "git_push_url": "https://gist.github.com/2decf6c462d9b4418f2.git", - "html_url": "https://gist.github.com/2decf6c462d9b4418f2", - "files": { - "goodbye.py": { - "filename": "goodbye.py", - "type": "application/x-python", - "language": "Python", - "raw_url": "https://gist.githubusercontent.com/monalisa/8481a81af6b7a2decf6c462d9b4418f2/raw/ac3e6daf176fafe73609fd000cd188e4472010fb/goodbye.py", - "size": 4, - "truncated": false, - "content": "# Hello world" - } - }, - "public": true, - "created_at": "2022-09-20T12:11:58Z", - "updated_at": "2022-09-21T10:28:06Z", - "description": "A gist description.", - "comments": 0, - "user": null, - "comments_url": "https://api.github.com/gists/2decf6c462d9b4418f2/comments", - "owner": { - "login": "monalisa", - "id": 104456405, - "node_id": "U_kgDOBhHyLQ", - "avatar_url": "https://avatars.githubusercontent.com/u/104456405?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "forks": [], - "history": [ - { - "user": { - "login": "monalisa", - "id": 104456405, - "node_id": "U_kgyLQ", - "avatar_url": "https://avatars.githubusercontent.com/u/104456405?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "version": "468aac8caed5f0c3b859b8286968", - "committed_at": "2022-09-21T10:28:06Z", - "change_status": { "total": 0, "additions": 0, "deletions": 0 }, - "url": "https://api.github.com/gists/8481a81af6b7a2d418f2/468aac8caed5f0c3b859b8286968" - } - ], - "truncated": false - } - }, - "gist-comment-items": { - "value": [ - { - "id": 1, - "node_id": "MDExOkdpc3RDb21tZW50MQ==", - "url": "https://api.github.com/gists/a6db0bec360bb87e9418/comments/1", - "body": "Just commenting for the sake of commenting", - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-18T23:23:56Z", - "updated_at": "2011-04-18T23:23:56Z", - "author_association": "COLLABORATOR" - } - ] - }, - "gist-comment": { - "value": { - "id": 1, - "node_id": "MDExOkdpc3RDb21tZW50MQ==", - "url": "https://api.github.com/gists/a6db0bec360bb87e9418/comments/1", - "body": "Just commenting for the sake of commenting", - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-18T23:23:56Z", - "updated_at": "2011-04-18T23:23:56Z", - "author_association": "COLLABORATOR" - } - }, - "gist-commit-items": { - "value": [ - { - "url": "https://api.github.com/gists/aa5a315d61ae9438b18d/57a7f021a713b1c5a6a199b54cc514735d2d462f", - "version": "57a7f021a713b1c5a6a199b54cc514735d2d462f", - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "change_status": { "deletions": 0, "additions": 180, "total": 180 }, - "committed_at": "2010-04-14T02:15:15Z" - } - ] - }, - "gist-fork-items": { - "value": [ - { - "url": "https://api.github.com/gists/aa5a315d61ae9438b18d", - "forks_url": "https://api.github.com/gists/aa5a315d61ae9438b18d/forks", - "commits_url": "https://api.github.com/gists/aa5a315d61ae9438b18d/commits", - "id": "aa5a315d61ae9438b18d", - "node_id": "MDQ6R2lzdGFhNWEzMTVkNjFhZTk0MzhiMThk", - "git_pull_url": "https://gist.github.com/aa5a315d61ae9438b18d.git", - "git_push_url": "https://gist.github.com/aa5a315d61ae9438b18d.git", - "html_url": "https://gist.github.com/aa5a315d61ae9438b18d", - "files": { - "hello_world.rb": { - "filename": "hello_world.rb", - "type": "application/x-ruby", - "language": "Ruby", - "raw_url": "https://gist.githubusercontent.com/octocat/6cad326836d38bd3a7ae/raw/db9c55113504e46fa076e7df3a04ce592e2e86d8/hello_world.rb", - "size": 167 - } - }, - "public": true, - "created_at": "2010-04-14T02:15:15Z", - "updated_at": "2011-06-20T11:34:15Z", - "description": "Hello World Examples", - "comments": 1, - "user": null, - "comments_url": "https://api.github.com/gists/aa5a315d61ae9438b18d/comments/", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - ] - }, - "base-gist": { - "value": { - "url": "https://api.github.com/gists/aa5a315d61ae9438b18d", - "forks_url": "https://api.github.com/gists/aa5a315d61ae9438b18d/forks", - "commits_url": "https://api.github.com/gists/aa5a315d61ae9438b18d/commits", - "id": "aa5a315d61ae9438b18d", - "node_id": "MDQ6R2lzdGFhNWEzMTVkNjFhZTk0MzhiMThk", - "git_pull_url": "https://gist.github.com/aa5a315d61ae9438b18d.git", - "git_push_url": "https://gist.github.com/aa5a315d61ae9438b18d.git", - "html_url": "https://gist.github.com/aa5a315d61ae9438b18d", - "files": { - "hello_world.rb": { - "filename": "hello_world.rb", - "type": "application/x-ruby", - "language": "Ruby", - "raw_url": "https://gist.githubusercontent.com/octocat/6cad326836d38bd3a7ae/raw/db9c55113504e46fa076e7df3a04ce592e2e86d8/hello_world.rb", - "size": 167 - } - }, - "public": true, - "created_at": "2010-04-14T02:15:15Z", - "updated_at": "2011-06-20T11:34:15Z", - "description": "Hello World Examples", - "comments": 0, - "user": null, - "comments_url": "https://api.github.com/gists/aa5a315d61ae9438b18d/comments/", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "truncated": false - } - }, - "gitignore-template": { - "value": { - "name": "C", - "source": "# Object files\n*.o\n\n# Libraries\n*.lib\n*.a\n\n# Shared objects (inc. Windows DLLs)\n*.dll\n*.so\n*.so.*\n*.dylib\n\n# Executables\n*.exe\n*.out\n*.app\n" - } - }, - "repository-paginated-2": { - "value": { - "total_count": 1, - "repositories": [ - { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "git_url": "git:github.com/octocat/Hello-World.git", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "ssh_url": "git@github.com:octocat/Hello-World.git", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "clone_url": "https://github.com/octocat/Hello-World.git", - "mirror_url": "git:git.example.com/octocat/Hello-World", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", - "svn_url": "https://svn.github.com/octocat/Hello-World", - "homepage": "https://github.com", - "language": null, - "forks_count": 9, - "stargazers_count": 80, - "watchers_count": 80, - "size": 108, - "default_branch": "master", - "open_issues_count": 0, - "is_template": true, - "topics": ["octocat", "atom", "electron", "api"], - "has_issues": true, - "has_projects": true, - "has_wiki": true, - "has_pages": false, - "has_downloads": true, - "archived": false, - "disabled": false, - "visibility": "public", - "pushed_at": "2011-01-26T19:06:43Z", - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:14:43Z", - "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "allow_squash_merge": true, - "allow_auto_merge": false, - "delete_branch_on_merge": true, - "allow_merge_commit": true, - "subscribers_count": 42, - "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 - } - ] - } - }, - "issue-with-repo-items": { - "value": [ - { - "id": 1, - "node_id": "MDU6SXNzdWUx", - "url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", - "repository_url": "https://api.github.com/repos/octocat/Hello-World", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/labels{/name}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments", - "events_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/events", - "html_url": "https://github.com/octocat/Hello-World/issues/1347", - "number": 1347, - "state": "open", - "title": "Found a bug", - "body": "I'm having a problem with this.", - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 208045946, - "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", - "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug", - "name": "bug", - "description": "Something isn't working", - "color": "f29513", - "default": true - } - ], - "assignee": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [ - { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - ], - "milestone": { - "url": "https://api.github.com/repos/octocat/Hello-World/milestones/1", - "html_url": "https://github.com/octocat/Hello-World/milestones/v1.0", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels", - "id": 1002604, - "node_id": "MDk6TWlsZXN0b25lMTAwMjYwNA==", - "number": 1, - "state": "open", - "title": "v1.0", - "description": "Tracking milestone for version 1.0", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "open_issues": 4, - "closed_issues": 8, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z", - "closed_at": "2013-02-12T13:22:01Z", - "due_on": "2012-10-09T23:39:01Z" - }, - "locked": true, - "active_lock_reason": "too heated", - "comments": 0, - "pull_request": { - "url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347", - "html_url": "https://github.com/octocat/Hello-World/pull/1347", - "diff_url": "https://github.com/octocat/Hello-World/pull/1347.diff", - "patch_url": "https://github.com/octocat/Hello-World/pull/1347.patch" - }, - "closed_at": null, - "created_at": "2011-04-22T13:33:48Z", - "updated_at": "2011-04-22T13:33:48Z", - "repository": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "git_url": "git:github.com/octocat/Hello-World.git", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "ssh_url": "git@github.com:octocat/Hello-World.git", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "clone_url": "https://github.com/octocat/Hello-World.git", - "mirror_url": "git:git.example.com/octocat/Hello-World", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", - "svn_url": "https://svn.github.com/octocat/Hello-World", - "homepage": "https://github.com", - "language": null, - "forks_count": 9, - "stargazers_count": 80, - "watchers_count": 80, - "size": 108, - "default_branch": "master", - "open_issues_count": 0, - "is_template": true, - "topics": ["octocat", "atom", "electron", "api"], - "has_issues": true, - "has_projects": true, - "has_wiki": true, - "has_pages": false, - "has_downloads": true, - "archived": false, - "disabled": false, - "visibility": "public", - "pushed_at": "2011-01-26T19:06:43Z", - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:14:43Z", - "permissions": { "admin": false, "push": false, "pull": true }, - "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "allow_squash_merge": true, - "allow_auto_merge": false, - "delete_branch_on_merge": true, - "allow_merge_commit": true, - "subscribers_count": 42, - "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 - }, - "author_association": "COLLABORATOR" - } - ] - }, - "license-simple-items": { - "value": [ - { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZW1pdA==" - }, - { - "key": "lgpl-3.0", - "name": "GNU Lesser General Public License v3.0", - "spdx_id": "LGPL-3.0", - "url": "https://api.github.com/licenses/lgpl-3.0", - "node_id": "MDc6TGljZW5zZW1pdA==" - }, - { - "key": "mpl-2.0", - "name": "Mozilla Public License 2.0", - "spdx_id": "MPL-2.0", - "url": "https://api.github.com/licenses/mpl-2.0", - "node_id": "MDc6TGljZW5zZW1pdA==" - }, - { - "key": "agpl-3.0", - "name": "GNU Affero General Public License v3.0", - "spdx_id": "AGPL-3.0", - "url": "https://api.github.com/licenses/agpl-3.0", - "node_id": "MDc6TGljZW5zZW1pdA==" - }, - { - "key": "unlicense", - "name": "The Unlicense", - "spdx_id": "Unlicense", - "url": "https://api.github.com/licenses/unlicense", - "node_id": "MDc6TGljZW5zZW1pdA==" - }, - { - "key": "apache-2.0", - "name": "Apache License 2.0", - "spdx_id": "Apache-2.0", - "url": "https://api.github.com/licenses/apache-2.0", - "node_id": "MDc6TGljZW5zZW1pdA==" - }, - { - "key": "gpl-3.0", - "name": "GNU General Public License v3.0", - "spdx_id": "GPL-3.0", - "url": "https://api.github.com/licenses/gpl-3.0", - "node_id": "MDc6TGljZW5zZW1pdA==" - } - ] - }, - "license": { - "value": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "http://choosealicense.com/licenses/mit/", - "description": "A permissive license that is short and to the point. It lets people do anything with your code with proper attribution and without warranty.", - "implementation": "Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders.", - "permissions": [ - "commercial-use", - "modifications", - "distribution", - "sublicense", - "private-use" - ], - "conditions": ["include-copyright"], - "limitations": ["no-liability"], - "body": "\n\nThe MIT License (MIT)\n\nCopyright (c) [year] [fullname]\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n", - "featured": true - } - }, - "ghes-get-ssh": { - "value": [ - { - "key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQCwcd9tu20xsJVBMWbIs+JDVQTvkLtrJ8A7eblSwC+zECver22QExC9d6zHy10MAyk1Ck7Bu6/0Z+rr/31vMcAOmNOLjExzWxBCXbtDf3758Qfw7FuvkaTE1sHztwSFi/yNhZSw7uPEWeGQiRY4UldSKG9zZvrZmxpnP8mNZzPriQ==", - "fingeprint": "bd:26:d3:a2:ad:97:c0:7c:2d:57:a4:64:f3:fb:44:45" - }, - { - "key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQCg73sgCdLL9rWcmVTmvcOgAWZaokZTeNnMFEoaZWZcVtsP4Ed+ICuSbT1wDuyL/XXzr0O2u2bKwx8Np/3UGHb4R9Re+qiz//l5OCBd3KonO2GFICQwKGmVeZ+ki89aN2JDKgfemHbvclHYBD/r56lnbt/kinw7JqGPp+ndzH8nBw==", - "fingeprint": "e1:1e:a0:f1:3f:a9:70:2d:99:dd:02:9d:39:1c:8b:a4" - } - ] - }, - "ghes-set-ssh": { - "value": [ - { - "hostname": "ghe-local-primary", - "uuid": "1b6cf518-f97c-11ed-8544-061d81f7eedb", - "message": "SSH key added successfully", - "modified": true - } - ] - }, - "ghes-delete-ssh": { - "value": [ - { - "hostname": "ghe-local-primary", - "uuid": "1b6cf518-f97c-11ed-8544-061d81f7eedb", - "message": "SSH key removed successfully" - } - ] - }, - "ghes-checks-system-requirements": { - "value": { - "status": "OK", - "nodes": [ - { - "hostname": "ghe-local-app", - "status": "OK", - "roles_status": [ - { "status": "OK", "role": "ConsulServer" }, - { "status": "OK", "role": "JobServer" }, - { "status": "OK", "role": "WebServer" } - ] - }, - { - "hostname": "ghe-local-app2", - "status": "OK", - "roles_status": [ - { "status": "OK", "role": "ConsulServer" }, - { "status": "OK", "role": "GitServer" } - ] - } - ] - } - }, - "ghes-cluster-status": { - "value": { - "status": "OK", - "nodes": [ - { - "hostname": "ghe-local-app", - "status": "OK", - "services": [ - { - "status": "OK", - "name": "es", - "details": "Elasticsearch cluster is in sync (0 shards initializing, 0 shards unassigned)" - }, - { - "status": "OK", - "name": "git-replication", - "details": "Git replication is in sync" - }, - { - "status": "OK", - "name": "kafka-lite-admin-healthcheck", - "details": "" - }, - { - "status": "OK", - "name": "kafka-lite-broker-is-reachable", - "details": "" - }, - { "status": "OK", "name": "memcache", "details": "" }, - { "status": "OK", "name": "metrics", "details": "" }, - { - "status": "OK", - "name": "mysql-replication", - "details": "Replication is running" - }, - { "status": "OK", "name": "mysql-failover", "details": "" }, - { - "status": "OK", - "name": "pages", - "details": "Pages replication is in sync" - }, - { "status": "OK", "name": "redis", "details": "Redis is OK" }, - { - "status": "OK", - "name": "storage", - "details": "Storage replication is in sync" - } - ] - }, - { - "hostname": "ghe-local-app2", - "status": "OK", - "services": [ - { - "status": "OK", - "name": "kafka-lite-admin-healthcheck", - "details": "" - }, - { - "status": "OK", - "name": "kafka-lite-broker-is-reachable", - "details": "" - } - ] - } - ] - } - }, - "ghes-license-info": { - "value": [ - { - "advancedSecurityEnabled": true, - "advancedSecuritySeats": 0, - "clusterSupport": false, - "company": "GitHub", - "croquetSupport": true, - "customTerms": true, - "evaluation": false, - "expireAt": "2025-01-02T07:59:59Z", - "insightsEnabled": true, - "insightsExpireAt": "2025-01-02T07:59:59.999Z", - "learningLabEvaluationExpires": "2023-01-02T07:59:59Z", - "learningLabSeats": 100, - "perpetual": false, - "referenceNumber": "32a145", - "seats": 0, - "sshAllowed": true, - "supportKey\"": "", - "unlimitedSeating": true - } - ] - }, - "ghes-license-check": { "value": [{ "status": "valid" }] }, - "ghes-config-nodes": { - "value": { - "topology": "Cluster", - "nodes": [ - { - "hostname": "data1", - "uuid": "1b6cf518-f97c-11ed-8544-061d81f7eedb", - "cluster_roles": [ - "ConsulServer", - "ElasticsearchServer", - "GitServer", - "StorageServer" - ] - }, - { - "hostname": "data2", - "uuid": "228406d4-f97c-11ed-ab01-062281bbcf03", - "cluster_roles": [ - "ElasticsearchServer", - "StorageServer", - "PagesServer" - ] - } - ] - } - }, - "ghes-get-settings": { - "value": { - "private_mode": false, - "public_pages": false, - "subdomain_isolation": true, - "signup_enabled": false, - "github_hostname": "ghe.local", - "identicons_host": "dotcom", - "http_proxy": null, - "auth_mode": "default", - "expire_sessions": false, - "admin_password": null, - "configuration_id": 1401777404, - "configuration_run_count": 4, - "avatar": { "enabled": false, "uri": "" }, - "customer": { - "name": "GitHub", - "email": "stannis@themannis.biz", - "uuid": "af6cac80-e4e1-012e-d822-1231380e52e9", - "secret_key_data": "-----BEGIN PGP PRIVATE KEY BLOCK-----\nVersion: GnuPG v1.4.10 (GNU/Linux)\nlQcYBE5TCgsBEACk4yHpUcapplebaumBMXYMiLF+nCQ0lxpx...\n-----END PGP PRIVATE KEY BLOCK-----\n", - "public_key_data": "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v1.4.10 (GNU/Linux)\nmI0ETqzZYgEEALSe6snowdenXyqvLfSQ34HWD6C7....\n-----END PGP PUBLIC KEY BLOCK-----\n" - }, - "license": { - "seats": 0, - "evaluation": false, - "perpetual": false, - "unlimited_seating": true, - "support_key": "ssh-rsa AAAAB3N....", - "ssh_allowed": true, - "cluster_support": false, - "expire_at": "2016-04-27T00:00:00-07:00" - }, - "github_ssl": { "enabled": false, "cert": null, "key": null }, - "ldap": { - "host": null, - "port": 0, - "base": [], - "uid": null, - "bind_dn": null, - "password": null, - "method": "Plain", - "search_strategy": "detect", - "user_groups": [], - "admin_group": null, - "virtual_attribute_enabled": false, - "recursive_group_search": false, - "posix_support": true, - "user_sync_emails": false, - "user_sync_keys": false, - "user_sync_interval": 4, - "team_sync_interval": 4, - "sync_enabled": false, - "reconciliation": { "user": null, "org": null }, - "profile": { "uid": "uid", "name": null, "mail": null, "key": null } - }, - "cas": { "url": null }, - "saml": { - "sso_url": null, - "certificate": null, - "certificate_path": null, - "issuer": null, - "idp_initiated_sso": false, - "disable_admin_demote": false - }, - "github_oauth": { - "client_id": "12313412", - "client_secret": "kj123131132", - "organization_name": "Homestar Runners", - "organization_team": "homestarrunners/characters" - }, - "smtp": { - "enabled": true, - "address": "smtp.example.com", - "authentication": "plain", - "port": "1234", - "domain": "blah", - "username": "foo", - "user_name": "mr_foo", - "enable_starttls_auto": true, - "password": "bar", - "discard-to-noreply-address": true, - "support_address": "enterprise@github.com", - "support_address_type": "email", - "noreply_address": "noreply@github.com" - }, - "ntp": { - "primary_server": "0.pool.ntp.org", - "secondary_server": "1.pool.ntp.org" - }, - "timezone": null, - "snmp": { "enabled": false, "community": "" }, - "syslog": { - "enabled": false, - "server": null, - "protocol_name": "udp" - }, - "assets": null, - "pages": { "enabled": true }, - "collectd": { - "enabled": false, - "server": null, - "port": 0, - "encryption": null, - "username": null, - "password": null - }, - "mapping": { - "enabled": true, - "tileserver": null, - "basemap": "company.map-qsz2zrvs", - "token": null - }, - "load_balancer": null - } - }, - "ghes-get-maintenance": { - "value": [ - { - "hostname": "ghe-local-primary", - "uuid": "1b6cf518-f97c-11ed-8544-061d81f7eedb", - "status": "scheduled", - "scheduled_time": "2006-01-02T15:04:05+00:00", - "connection_services": [ - { "name": "git operations", "number": 15 }, - { "name": "mysql queries", "number": 6 }, - { "name": "resque jobs", "number": 10 }, - { "name": "aqueduct jobs", "number": 0 } - ], - "can_unset_maintenance": true, - "ip_exception_list": ["1.1.1.1"], - "maintenance_mode_message": "Scheduled maintenance for upgrading." - } - ] - }, - "ghes-set-maintenance": { - "value": [ - { - "hostname": "ghe-local-primary", - "uuid": "1b6cf518-f97c-11ed-8544-061d81f7eedb", - "message": "maintenance mode scheduled with exception list [1.1.1.1]" - } - ] - }, - "ghes-replication-status": { - "value": { - "status": "OK", - "nodes": [ - { "hostname": "ghe-local-primary", "status": "OK", "services": [] }, - { - "hostname": "ghe-local-replica", - "status": "OK", - "services": [ - { - "status": "OK", - "name": "redis", - "details": "replication is in sync" - }, - { - "status": "OK", - "name": "elasticsearch", - "details": "cluster is in sync (0 shards initializing, 0 shards unassigned)" - }, - { - "status": "OK", - "name": "git", - "details": "replication is in sync" - }, - { - "status": "OK", - "name": "pages", - "details": "replication is in sync" - }, - { - "status": "OK", - "name": "alambic", - "details": "replication is in sync" - }, - { - "status": "OK", - "name": "git-hooks", - "details": "replication is in sync" - }, - { - "status": "OK", - "name": "consul", - "details": "replication is in sync" - }, - { - "status": "OK", - "name": "mysql", - "details": "replication is in sync" - } - ] - } - ] - } - }, - "ghes-version": { - "value": [ - { - "hostname": "ghe-local-primary", - "version": { - "version": "3.9.0", - "platform": "azure", - "build_id": "fc542058b5", - "build_date": "2023-05-02" - } - } - ] - }, - "api-overview": { - "value": { - "verifiable_password_authentication": true, - "packages": ["192.0.2.1"], - "domains": { - "website": ["*.example.com"], - "codespaces": ["*.example.com"], - "copilot": ["*.example.com"], - "packages": ["*.example.com"] - }, - "installed_version": "3.13.0" - } - }, - "public-repo-events-items": { - "value": [ - { - "id": "22249084964", - "type": "PushEvent", - "actor": { - "id": 583231, - "login": "octocat", - "display_login": "octocat", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4" - }, - "repo": { - "id": 1296269, - "name": "octocat/Hello-World", - "url": "https://api.github.com/repos/octocat/Hello-World" - }, - "payload": { - "push_id": 10115855396, - "size": 1, - "distinct_size": 1, - "ref": "refs/heads/master", - "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] - }, - "public": true, - "created_at": "2022-06-09T12:47:28Z" - }, - { - "id": "22237752260", - "type": "WatchEvent", - "actor": { - "id": 583231, - "login": "octocat", - "display_login": "octocat", - "gravatar_id": "", - "url": "https://api.github.com/users/rrubenich", - "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4" - }, - "repo": { - "id": 1296269, - "name": "octocat/Hello-World", - "url": "https://api.github.com/repos/octocat/Hello-World" - }, - "payload": { "action": "started" }, - "public": true, - "created_at": "2022-06-08T23:29:25Z" - } - ] - }, - "thread-items": { - "value": [ - { - "id": "1", - "repository": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "git_url": "git:github.com/octocat/Hello-World.git", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "ssh_url": "git@github.com:octocat/Hello-World.git", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks" - }, - "subject": { - "title": "Greetings", - "url": "https://api.github.com/repos/octokit/octokit.rb/issues/123", - "latest_comment_url": "https://api.github.com/repos/octokit/octokit.rb/issues/comments/123", - "type": "Issue" - }, - "reason": "subscribed", - "unread": true, - "updated_at": "2014-11-07T22:01:45Z", - "last_read_at": "2014-11-07T22:01:45Z", - "url": "https://api.github.com/notifications/threads/1", - "subscription_url": "https://api.github.com/notifications/threads/1/subscription" - } - ] - }, - "notifications-mark-read": { - "value": { - "message": "Unread notifications couldn't be marked in a single request. Notifications are being marked as read in the background." - } - }, - "thread": { - "value": { - "id": "1", - "repository": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "git_url": "git:github.com/octocat/Hello-World.git", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "ssh_url": "git@github.com:octocat/Hello-World.git", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks" - }, - "subject": { - "title": "Greetings", - "url": "https://api.github.com/repos/octokit/octokit.rb/issues/123", - "latest_comment_url": "https://api.github.com/repos/octokit/octokit.rb/issues/comments/123", - "type": "Issue" - }, - "reason": "subscribed", - "unread": true, - "updated_at": "2014-11-07T22:01:45Z", - "last_read_at": "2014-11-07T22:01:45Z", - "url": "https://api.github.com/notifications/threads/1", - "subscription_url": "https://api.github.com/notifications/threads/1/subscription" - } - }, - "thread-subscription": { - "value": { - "subscribed": true, - "ignored": false, - "reason": null, - "created_at": "2012-10-06T21:34:12Z", - "url": "https://api.github.com/notifications/threads/1/subscription", - "thread_url": "https://api.github.com/notifications/threads/1" - } - }, - "octocat": { - "value": " MMM. .MMM\n MMMMMMMMMMMMMMMMMMM\n MMMMMMMMMMMMMMMMMMM ___________________________________\n MMMMMMMMMMMMMMMMMMMMM | |\n MMMMMMMMMMMMMMMMMMMMMMM | Avoid administrative distraction. |\n MMMMMMMMMMMMMMMMMMMMMMMM |_ _______________________________|\n MMMM::- -:::::::- -::MMMM |/\n MM~:~ 00~:::::~ 00~:~MM\n .. MMMMM::.00:::+:::.00::MMMMM ..\n .MM::::: ._. :::::MM.\n MMMM;:::::;MMMM\n -MM MMMMMMM\n ^ M+ MMMMMMMMM\n MMMMMMM MM MM MM\n MM MM MM MM\n MM MM MM MM\n .~~MM~MM~MM~MM~~.\n ~~~~MM:~MM~~~MM~:MM~~~~\n ~~~~~~==~==~~~==~==~~~~~~\n ~~~~~~==~==~==~==~~~~~~\n :~==~==~==~==~~\n" - }, - "organization-simple-items": { - "value": [ - { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization" - } - ] - }, - "organization-custom-repository-role-example": { - "value": { - "id": 8030, - "name": "Security Engineer", - "description": "Able to contribute code and maintain the security pipeline", - "base_role": "maintain", - "permissions": ["delete_alerts_code_scanning"], - "organization": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization" - }, - "created_at": "2022-07-04T22:19:11Z", - "updated_at": "2022-07-04T22:20:11Z" - } - }, - "organization-full": { - "value": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization", - "name": "github", - "company": "GitHub", - "blog": "https://github.com/blog", - "location": "San Francisco", - "email": "octocat@github.com", - "twitter_username": "github", - "is_verified": true, - "has_organization_projects": true, - "has_repository_projects": true, - "public_repos": 2, - "public_gists": 1, - "followers": 20, - "following": 0, - "html_url": "https://github.com/octocat", - "created_at": "2008-01-14T04:33:35Z", - "type": "Organization", - "total_private_repos": 100, - "owned_private_repos": 100, - "private_gists": 81, - "disk_usage": 10000, - "collaborators": 8, - "billing_email": "mona@github.com", - "plan": { - "name": "Medium", - "space": 400, - "private_repos": 20, - "filled_seats": 4, - "seats": 5 - }, - "default_repository_permission": "read", - "members_can_create_repositories": true, - "two_factor_requirement_enabled": true, - "members_allowed_repository_creation_type": "all", - "members_can_create_public_repositories": false, - "members_can_create_private_repositories": false, - "members_can_create_internal_repositories": false, - "members_can_create_pages": true, - "members_can_create_public_pages": true, - "members_can_create_private_pages": true, - "members_can_fork_private_repositories": false, - "web_commit_signoff_required": false, - "updated_at": "2014-03-03T18:58:10Z", - "dependency_graph_enabled_for_new_repositories": false, - "dependabot_alerts_enabled_for_new_repositories": false, - "dependabot_security_updates_enabled_for_new_repositories": false, - "advanced_security_enabled_for_new_repositories": false, - "secret_scanning_enabled_for_new_repositories": false, - "secret_scanning_push_protection_enabled_for_new_repositories": false, - "secret_scanning_push_protection_custom_link": "https://github.com/octo-org/octo-repo/blob/main/im-blocked.md", - "secret_scanning_push_protection_custom_link_enabled": false - } - }, - "org-actions-cache-usage-by-repo": { - "value": { - "total_count": 2, - "repository_cache_usages": [ - { - "full_name": "octo-org/Hello-World", - "active_caches_size_in_bytes": 2322142, - "active_caches_count": 3 - }, - { - "full_name": "octo-org/server", - "active_caches_size_in_bytes": 1022142, - "active_caches_count": 2 - } - ] - } - }, - "oidc-custom-sub": { - "value": { "include_claim_keys": ["repo", "context"] } - }, - "actions-organization-permissions": { - "value": { - "enabled_repositories": "all", - "allowed_actions": "selected", - "selected_actions_url": "https://api.github.com/organizations/42/actions/permissions/selected-actions" - } - }, - "repository-paginated": { - "value": { - "total_count": 1, - "repositories": [ - { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "git_url": "git:github.com/octocat/Hello-World.git", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "ssh_url": "git@github.com:octocat/Hello-World.git", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "clone_url": "https://github.com/octocat/Hello-World.git", - "mirror_url": "git:git.example.com/octocat/Hello-World", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", - "svn_url": "https://svn.github.com/octocat/Hello-World", - "homepage": "https://github.com", - "language": null, - "forks_count": 9, - "stargazers_count": 80, - "watchers_count": 80, - "size": 108, - "default_branch": "master", - "open_issues_count": 0, - "is_template": true, - "topics": ["octocat", "atom", "electron", "api"], - "has_issues": true, - "has_projects": true, - "has_wiki": true, - "has_pages": false, - "has_downloads": true, - "archived": false, - "disabled": false, - "visibility": "public", - "pushed_at": "2011-01-26T19:06:43Z", - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:14:43Z", - "permissions": { "admin": false, "push": false, "pull": true }, - "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "allow_squash_merge": true, - "allow_auto_merge": false, - "delete_branch_on_merge": true, - "allow_merge_commit": true, - "subscribers_count": 42, - "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 - } - ] - } - }, - "runner-groups-org": { - "value": { - "total_count": 3, - "runner_groups": [ - { - "id": 1, - "name": "Default", - "visibility": "all", - "default": true, - "runners_url": "https://api.github.com/orgs/octo-org/actions/runner_groups/1/runners", - "inherited": false, - "allows_public_repositories": true, - "restricted_to_workflows": false, - "selected_workflows": [], - "workflow_restrictions_read_only": false - }, - { - "id": 2, - "name": "octo-runner-group", - "visibility": "selected", - "default": false, - "selected_repositories_url": "https://api.github.com/orgs/octo-org/actions/runner_groups/2/repositories", - "runners_url": "https://api.github.com/orgs/octo-org/actions/runner_groups/2/runners", - "inherited": true, - "allows_public_repositories": true, - "restricted_to_workflows": true, - "selected_workflows": [ - "octo-org/octo-repo/.github/workflows/deploy.yaml@refs/heads/main" - ], - "workflow_restrictions_read_only": true - }, - { - "id": 3, - "name": "expensive-hardware", - "visibility": "private", - "default": false, - "runners_url": "https://api.github.com/orgs/octo-org/actions/runner_groups/3/runners", - "inherited": false, - "allows_public_repositories": true, - "restricted_to_workflows": false, - "selected_workflows": [ - "octo-org/octo-repo/.github/workflows/deploy.yaml@refs/heads/main" - ], - "workflow_restrictions_read_only": false - } - ] - } - }, - "runner-group": { - "value": { - "id": 2, - "name": "octo-runner-group", - "visibility": "selected", - "default": false, - "selected_repositories_url": "https://api.github.com/orgs/octo-org/actions/runner-groups/2/repositories", - "runners_url": "https://api.github.com/orgs/octo-org/actions/runner_groups/2/runners", - "inherited": false, - "allows_public_repositories": true, - "restricted_to_workflows": true, - "selected_workflows": [ - "octo-org/octo-repo/.github/workflows/deploy.yaml@refs/heads/main" - ], - "workflow_restrictions_read_only": false - } - }, - "runner-group-item": { - "value": { - "id": 2, - "name": "octo-runner-group", - "visibility": "selected", - "default": false, - "selected_repositories_url": "https://api.github.com/orgs/octo-org/actions/runner_groups/2/repositories", - "runners_url": "https://api.github.com/orgs/octo-org/actions/runner_groups/2/runners", - "inherited": false, - "allows_public_repositories": true, - "restricted_to_workflows": true, - "selected_workflows": [ - "octo-org/octo-repo/.github/workflows/deploy.yaml@refs/heads/main" - ], - "workflow_restrictions_read_only": false - } - }, - "minimal-repository-paginated": { - "value": { - "total_count": 1, - "repositories": [ - { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "git_url": "git:github.com/octocat/Hello-World.git", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "ssh_url": "git@github.com:octocat/Hello-World.git", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "clone_url": "https://github.com/octocat/Hello-World.git", - "mirror_url": "git:git.example.com/octocat/Hello-World", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", - "svn_url": "https://svn.github.com/octocat/Hello-World", - "homepage": "https://github.com", - "language": null, - "forks_count": 9, - "stargazers_count": 80, - "watchers_count": 80, - "size": 108, - "default_branch": "master", - "open_issues_count": 0, - "is_template": true, - "topics": ["octocat", "atom", "electron", "api"], - "has_issues": true, - "has_projects": true, - "has_wiki": true, - "has_pages": false, - "has_downloads": true, - "archived": false, - "disabled": false, - "visibility": "public", - "pushed_at": "2011-01-26T19:06:43Z", - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:14:43Z", - "permissions": { "admin": false, "push": false, "pull": true }, - "template_repository": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "git_url": "git:github.com/octocat/Hello-World.git", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "ssh_url": "git@github.com:octocat/Hello-World.git", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "clone_url": "https://github.com/octocat/Hello-World.git", - "mirror_url": "git:git.example.com/octocat/Hello-World", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", - "svn_url": "https://svn.github.com/octocat/Hello-World", - "homepage": "https://github.com", - "organization": null, - "language": null, - "forks": 9, - "forks_count": 9, - "stargazers_count": 80, - "watchers_count": 80, - "watchers": 80, - "size": 108, - "default_branch": "master", - "open_issues": 0, - "open_issues_count": 0, - "is_template": true, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://api.github.com/licenses/mit" - }, - "topics": ["octocat", "atom", "electron", "api"], - "has_issues": true, - "has_projects": true, - "has_wiki": true, - "has_pages": false, - "has_downloads": true, - "archived": false, - "disabled": false, - "visibility": "public", - "pushed_at": "2011-01-26T19:06:43Z", - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:14:43Z", - "permissions": { "admin": false, "push": false, "pull": true }, - "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "allow_squash_merge": true, - "allow_auto_merge": false, - "delete_branch_on_merge": true, - "allow_merge_commit": true, - "subscribers_count": 42, - "network_count": 0 - }, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "delete_branch_on_merge": true, - "subscribers_count": 42, - "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 - } - ] - } - }, - "organization-actions-secret-paginated": { - "value": { - "total_count": 3, - "secrets": [ - { - "name": "GIST_ID", - "created_at": "2019-08-10T14:59:22Z", - "updated_at": "2020-01-10T14:59:22Z", - "visibility": "private" - }, - { - "name": "DEPLOY_TOKEN", - "created_at": "2019-08-10T14:59:22Z", - "updated_at": "2020-01-10T14:59:22Z", - "visibility": "all" - }, - { - "name": "GH_TOKEN", - "created_at": "2019-08-10T14:59:22Z", - "updated_at": "2020-01-10T14:59:22Z", - "visibility": "selected", - "selected_repositories_url": "https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories" - } - ] - } - }, - "actions-public-key": { - "value": { - "key_id": "012345678912345678", - "key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234" - } - }, - "organization-actions-secret": { - "value": { - "name": "GH_TOKEN", - "created_at": "2019-08-10T14:59:22Z", - "updated_at": "2020-01-10T14:59:22Z", - "visibility": "selected", - "selected_repositories_url": "https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories" - } - }, - "public-repository-paginated": { - "value": { - "total_count": 1, - "repositories": [ - { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "git_url": "git:github.com/octocat/Hello-World.git", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "ssh_url": "git@github.com:octocat/Hello-World.git", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks" - } - ] - } - }, - "organization-actions-variables-paginated": { - "value": { - "total_count": 3, - "variables": [ - { - "name": "USERNAME", - "value": "octocat", - "created_at": "2019-08-10T14:59:22Z", - "updated_at": "2020-01-10T14:59:22Z", - "visibility": "private" - }, - { - "name": "ACTIONS_RUNNER_DEBUG", - "value": true, - "created_at": "2019-08-10T14:59:22Z", - "updated_at": "2020-01-10T14:59:22Z", - "visibility": "all" - }, - { - "name": "ADMIN_EMAIL", - "value": "octocat@github.com", - "created_at": "2019-08-10T14:59:22Z", - "updated_at": "2020-01-10T14:59:22Z", - "visibility": "selected", - "selected_repositories_url": "https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories" - } - ] - } - }, - "organization-actions-variable": { - "value": { - "name": "USERNAME", - "value": "octocat", - "created_at": "2019-08-10T14:59:22Z", - "updated_at": "2020-01-10T14:59:22Z", - "visibility": "selected", - "selected_repositories_url": "https://api.github.com/orgs/octo-org/actions/variables/USERNAME/repositories" - } - }, - "organization-custom-repository-role-list-example": { - "value": { - "total_count": 2, - "custom_roles": [ - { - "id": 8030, - "name": "Security Engineer", - "description": "Able to contribute code and maintain the security pipeline", - "base_role": "maintain", - "permissions": ["delete_alerts_code_scanning"], - "organization": { - "login": "github", - "id": 9919, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=", - "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/github", - "html_url": "https://github.com/github", - "followers_url": "https://api.github.com/users/github/followers", - "following_url": "https://api.github.com/users/github/following{/other_user}", - "gists_url": "https://api.github.com/users/github/gists{/gist_id}", - "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/github/subscriptions", - "organizations_url": "https://api.github.com/users/github/orgs", - "repos_url": "https://api.github.com/users/github/repos", - "events_url": "https://api.github.com/users/github/events{/privacy}", - "received_events_url": "https://api.github.com/users/github/received_events", - "type": "Organization", - "site_admin": false - }, - "created_at": "2022-07-04T22:19:11Z", - "updated_at": "2022-07-04T22:20:11Z" - }, - { - "id": 8031, - "name": "Community manager", - "description": "Able to handle all the community interactions without being able to contribute code", - "base_role": "read", - "permissions": [ - "mark_as_duplicate", - "manage_settings_pages", - "manage_settings_wiki", - "set_social_preview", - "edit_repo_metadata", - "toggle_discussion_comment_minimize" - ], - "organization": { - "login": "github", - "id": 9919, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=", - "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/github", - "html_url": "https://github.com/github", - "followers_url": "https://api.github.com/users/github/followers", - "following_url": "https://api.github.com/users/github/following{/other_user}", - "gists_url": "https://api.github.com/users/github/gists{/gist_id}", - "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/github/subscriptions", - "organizations_url": "https://api.github.com/users/github/orgs", - "repos_url": "https://api.github.com/users/github/repos", - "events_url": "https://api.github.com/users/github/events{/privacy}", - "received_events_url": "https://api.github.com/users/github/received_events", - "type": "Organization", - "site_admin": false - }, - "created_at": "2022-07-05T12:01:11Z", - "updated_at": "2022-07-05T12:20:11Z" - } - ] - } - }, - "organization-dependabot-secret-paginated": { - "value": { - "total_count": 3, - "secrets": [ - { - "name": "MY_ARTIFACTORY_PASSWORD", - "created_at": "2021-08-10T14:59:22Z", - "updated_at": "2021-12-10T14:59:22Z", - "visibility": "private" - }, - { - "name": "NPM_TOKEN", - "created_at": "2021-08-10T14:59:22Z", - "updated_at": "2021-12-10T14:59:22Z", - "visibility": "all" - }, - { - "name": "GH_TOKEN", - "created_at": "2021-08-10T14:59:22Z", - "updated_at": "2021-12-10T14:59:22Z", - "visibility": "selected", - "selected_repositories_url": "https://api.github.com/orgs/octo-org/dependabot/secrets/SUPER_SECRET/repositories" - } - ] - } - }, - "dependabot-public-key": { - "value": { - "key_id": "012345678912345678", - "key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234" - } - }, - "organization-dependabot-secret": { - "value": { - "name": "NPM_TOKEN", - "created_at": "2019-08-10T14:59:22Z", - "updated_at": "2020-01-10T14:59:22Z", - "visibility": "selected", - "selected_repositories_url": "https://api.github.com/orgs/octo-org/dependabot/secrets/NPM_TOKEN/repositories" - } - }, - "packages-for-org": { - "value": [ - { - "id": 197, - "name": "hello_docker", - "package_type": "container", - "owner": { - "login": "github", - "id": 9919, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=", - "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/github", - "html_url": "https://github.com/github", - "followers_url": "https://api.github.com/users/github/followers", - "following_url": "https://api.github.com/users/github/following{/other_user}", - "gists_url": "https://api.github.com/users/github/gists{/gist_id}", - "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/github/subscriptions", - "organizations_url": "https://api.github.com/users/github/orgs", - "repos_url": "https://api.github.com/users/github/repos", - "events_url": "https://api.github.com/users/github/events{/privacy}", - "received_events_url": "https://api.github.com/users/github/received_events", - "type": "Organization", - "site_admin": false - }, - "version_count": 1, - "visibility": "private", - "url": "https://api.github.com/orgs/github/packages/container/hello_docker", - "created_at": "2020-05-19T22:19:11Z", - "updated_at": "2020-05-19T22:19:11Z", - "html_url": "https://github.com/orgs/github/packages/container/package/hello_docker" - }, - { - "id": 198, - "name": "goodbye_docker", - "package_type": "container", - "owner": { - "login": "github", - "id": 9919, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=", - "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/github", - "html_url": "https://github.com/github", - "followers_url": "https://api.github.com/users/github/followers", - "following_url": "https://api.github.com/users/github/following{/other_user}", - "gists_url": "https://api.github.com/users/github/gists{/gist_id}", - "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/github/subscriptions", - "organizations_url": "https://api.github.com/users/github/orgs", - "repos_url": "https://api.github.com/users/github/repos", - "events_url": "https://api.github.com/users/github/events{/privacy}", - "received_events_url": "https://api.github.com/users/github/received_events", - "type": "Organization", - "site_admin": false - }, - "version_count": 2, - "visibility": "private", - "url": "https://api.github.com/orgs/github/packages/container/goodbye_docker", - "created_at": "2020-05-20T22:19:11Z", - "updated_at": "2020-05-20T22:19:11Z", - "html_url": "https://github.com/orgs/github/packages/container/package/goodbye_docker" - } - ] - }, - "public-org-events-items": { - "value": [ - { - "id": "22237752260", - "type": "WatchEvent", - "actor": { - "id": 583231, - "login": "octocat", - "display_login": "octocat", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4" - }, - "repo": { - "id": 1296269, - "name": "octo-org/octo-repo", - "url": "https://api.github.com/repos/octo-org/octo-repo" - }, - "payload": { "action": "started" }, - "public": true, - "created_at": "2022-06-08T23:29:25Z" - }, - { - "id": "22249084964", - "type": "PushEvent", - "actor": { - "id": 583231, - "login": "octocat", - "display_login": "octocat", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4" - }, - "repo": { - "id": 1296269, - "name": "octo-org/octo-repo", - "url": "https://api.github.com/repos/octo-org/oct-repo" - }, - "payload": { - "push_id": 10115855396, - "size": 1, - "distinct_size": 1, - "ref": "refs/heads/master", - "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octo-org/oct-repo/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] - }, - "public": true, - "created_at": "2022-06-09T12:47:28Z" - } - ] - }, - "external-group": { - "value": { - "group_id": "123", - "group_name": "Octocat admins", - "updated_at": "2021-01-24T11:31:04-06:00", - "teams": [ - { "team_id": 1, "team_name": "team-test" }, - { "team_id": 2, "team_name": "team-test2" } - ], - "members": [ - { - "member_id": 1, - "member_login": "mona-lisa_eocsaxrs", - "member_name": "Mona Lisa", - "member_email": "mona_lisa@github.com" - }, - { - "member_id": 2, - "member_login": "octo-lisa_eocsaxrs", - "member_name": "Octo Lisa", - "member_email": "octo_lisa@github.com" - } - ] - } - }, - "external-groups": { - "value": { - "groups": [ - { - "group_id": "123", - "group_name": "Octocat admins", - "updated_at": "2021-01-24T11:31:04-06:00" - }, - { - "group_id": "456", - "group_name": "Octocat docs members", - "updated_at": "2021-03-24T11:31:04-06:00" - } - ] - } - }, - "org-hook-items": { - "value": [ - { - "id": 1, - "url": "https://api.github.com/orgs/octocat/hooks/1", - "ping_url": "https://api.github.com/orgs/octocat/hooks/1/pings", - "deliveries_url": "https://api.github.com/orgs/octocat/hooks/1/deliveries", - "name": "web", - "events": ["push", "pull_request"], - "active": true, - "config": { "url": "http://example.com", "content_type": "json" }, - "updated_at": "2011-09-06T20:39:23Z", - "created_at": "2011-09-06T17:26:27Z", - "type": "Organization" - } - ] - }, - "org-hook": { - "value": { - "id": 1, - "url": "https://api.github.com/orgs/octocat/hooks/1", - "ping_url": "https://api.github.com/orgs/octocat/hooks/1/pings", - "deliveries_url": "https://api.github.com/orgs/octocat/hooks/1/deliveries", - "name": "web", - "events": ["push", "pull_request"], - "active": true, - "config": { "url": "http://example.com", "content_type": "json" }, - "updated_at": "2011-09-06T20:39:23Z", - "created_at": "2011-09-06T17:26:27Z", - "type": "Organization" - } - }, - "org-hook-2": { - "value": { - "id": 1, - "url": "https://api.github.com/orgs/octocat/hooks/1", - "ping_url": "https://api.github.com/orgs/octocat/hooks/1/pings", - "deliveries_url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678/deliveries", - "name": "web", - "events": ["pull_request"], - "active": true, - "config": { "url": "http://example.com", "content_type": "json" }, - "updated_at": "2011-09-06T20:39:23Z", - "created_at": "2011-09-06T17:26:27Z", - "type": "Organization" - } - }, - "installation": { - "value": { - "id": 1, - "account": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "avatar_url": "https://github.com/images/error/hubot_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/orgs/github", - "html_url": "https://github.com/github", - "followers_url": "https://api.github.com/users/github/followers", - "following_url": "https://api.github.com/users/github/following{/other_user}", - "gists_url": "https://api.github.com/users/github/gists{/gist_id}", - "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/github/subscriptions", - "organizations_url": "https://api.github.com/users/github/orgs", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "received_events_url": "https://api.github.com/users/github/received_events", - "type": "Organization", - "site_admin": false - }, - "repository_selection": "all", - "access_tokens_url": "https://api.github.com/app/installations/1/access_tokens", - "repositories_url": "https://api.github.com/installation/repositories", - "html_url": "https://github.com/organizations/github/settings/installations/1", - "app_id": 1, - "client_id": "Iv1.ab1112223334445c", - "target_id": 1, - "target_type": "Organization", - "permissions": { - "checks": "write", - "metadata": "read", - "contents": "read" - }, - "events": ["push", "pull_request"], - "created_at": "2018-02-09T20:51:14Z", - "updated_at": "2018-02-09T20:51:14Z", - "single_file_name": "config.yml", - "has_multiple_single_files": true, - "single_file_paths": ["config.yml", ".github/issue_TEMPLATE.md"], - "app_slug": "github-actions", - "suspended_at": null, - "suspended_by": null - } - }, - "installation-paginated": { - "value": { - "total_count": 1, - "installations": [ - { - "id": 25381, - "account": { - "login": "octo-org", - "id": 6811672, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=", - "avatar_url": "https://avatars3.githubusercontent.com/u/6811672?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/octo-org", - "html_url": "https://github.com/octo-org", - "followers_url": "https://api.github.com/users/octo-org/followers", - "following_url": "https://api.github.com/users/octo-org/following{/other_user}", - "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions", - "organizations_url": "https://api.github.com/users/octo-org/orgs", - "repos_url": "https://api.github.com/users/octo-org/repos", - "events_url": "https://api.github.com/users/octo-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/octo-org/received_events", - "type": "Organization", - "site_admin": false - }, - "repository_selection": "selected", - "access_tokens_url": "https://api.github.com/app/installations/25381/access_tokens", - "repositories_url": "https://api.github.com/installation/repositories", - "html_url": "https://github.com/organizations/octo-org/settings/installations/25381", - "app_id": 2218, - "target_id": 6811672, - "target_type": "Organization", - "permissions": { - "deployments": "write", - "metadata": "read", - "pull_requests": "read", - "statuses": "read" - }, - "events": ["deployment", "deployment_status"], - "created_at": "2017-05-16T08:47:09.000-07:00", - "updated_at": "2017-06-06T11:23:23.000-07:00", - "single_file_name": "config.yml", - "has_multiple_single_files": true, - "single_file_paths": ["config.yml", ".github/issue_TEMPLATE.md"], - "app_slug": "github-actions", - "suspended_at": null, - "suspended_by": null - } - ] - } - }, - "simple-user-items": { - "value": [ - { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - ] - }, - "org-membership-response-if-user-has-an-active-admin-membership-with-organization": { - "summary": "Response if user has an active admin membership with organization", - "value": { - "url": "https://api.github.com/orgs/octocat/memberships/defunkt", - "state": "active", - "role": "admin", - "organization_url": "https://api.github.com/orgs/octocat", - "organization": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization" - }, - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - }, - "migration-with-short-org-items": { - "value": [ - { - "id": 79, - "owner": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "guid": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "state": "pending", - "lock_repositories": true, - "exclude_attachments": false, - "exclude_releases": false, - "exclude_owner_projects": false, - "repositories": [ - { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "git_url": "git:github.com/octocat/Hello-World.git", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "ssh_url": "git@github.com:octocat/Hello-World.git", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "clone_url": "https://github.com/octocat/Hello-World.git", - "mirror_url": "git:git.example.com/octocat/Hello-World", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", - "svn_url": "https://svn.github.com/octocat/Hello-World", - "homepage": "https://github.com", - "language": null, - "forks_count": 9, - "stargazers_count": 80, - "watchers_count": 80, - "size": 108, - "default_branch": "master", - "open_issues_count": 0, - "is_template": true, - "topics": ["octocat", "atom", "electron", "api"], - "has_issues": true, - "has_projects": true, - "has_wiki": true, - "has_pages": false, - "has_downloads": true, - "archived": false, - "disabled": false, - "visibility": "public", - "pushed_at": "2011-01-26T19:06:43Z", - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:14:43Z", - "permissions": { "admin": false, "push": false, "pull": true }, - "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "allow_squash_merge": true, - "allow_auto_merge": false, - "delete_branch_on_merge": true, - "allow_merge_commit": true, - "subscribers_count": 42, - "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://api.github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 - } - ], - "url": "https://api.github.com/orgs/octo-org/migrations/79", - "created_at": "2015-07-06T15:33:38-07:00", - "updated_at": "2015-07-06T15:33:38-07:00", - "node_id": "MDQ6VXNlcjE=" - } - ] - }, - "migration-with-short-org-2": { - "value": { - "id": 79, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "owner": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "guid": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "state": "pending", - "lock_repositories": true, - "exclude_attachments": false, - "exclude_releases": false, - "exclude_owner_projects": false, - "repositories": [ - { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "git_url": "git:github.com/octocat/Hello-World.git", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "ssh_url": "git@github.com:octocat/Hello-World.git", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "clone_url": "https://github.com/octocat/Hello-World.git", - "mirror_url": "git:git.example.com/octocat/Hello-World", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", - "svn_url": "https://svn.github.com/octocat/Hello-World", - "homepage": "https://github.com", - "language": null, - "forks_count": 9, - "stargazers_count": 80, - "watchers_count": 80, - "size": 108, - "default_branch": "master", - "open_issues_count": 0, - "is_template": true, - "topics": ["octocat", "atom", "electron", "api"], - "has_issues": true, - "has_projects": true, - "has_wiki": true, - "has_pages": false, - "has_downloads": true, - "archived": false, - "disabled": false, - "visibility": "public", - "pushed_at": "2011-01-26T19:06:43Z", - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:14:43Z", - "permissions": { "admin": false, "push": false, "pull": true }, - "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "allow_squash_merge": true, - "allow_auto_merge": false, - "delete_branch_on_merge": true, - "allow_merge_commit": true, - "subscribers_count": 42, - "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://api.github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 - } - ], - "url": "https://api.github.com/orgs/octo-org/migrations/79", - "created_at": "2015-07-06T15:33:38-07:00", - "updated_at": "2015-07-06T15:33:38-07:00" - } - }, - "migration-with-short-org": { - "value": { - "id": 79, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "owner": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "guid": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "state": "exported", - "lock_repositories": true, - "exclude_attachments": false, - "exclude_releases": false, - "exclude_owner_projects": false, - "repositories": [ - { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "git_url": "git:github.com/octocat/Hello-World.git", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "ssh_url": "git@github.com:octocat/Hello-World.git", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "clone_url": "https://github.com/octocat/Hello-World.git", - "mirror_url": "git:git.example.com/octocat/Hello-World", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", - "svn_url": "https://svn.github.com/octocat/Hello-World", - "homepage": "https://github.com", - "language": null, - "forks_count": 9, - "stargazers_count": 80, - "watchers_count": 80, - "size": 108, - "default_branch": "master", - "open_issues_count": 0, - "is_template": true, - "topics": ["octocat", "atom", "electron", "api"], - "has_issues": true, - "has_projects": true, - "has_wiki": true, - "has_pages": false, - "has_downloads": true, - "archived": false, - "disabled": false, - "visibility": "public", - "pushed_at": "2011-01-26T19:06:43Z", - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:14:43Z", - "permissions": { "admin": false, "push": false, "pull": true }, - "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "allow_squash_merge": true, - "allow_auto_merge": false, - "delete_branch_on_merge": true, - "allow_merge_commit": true, - "subscribers_count": 42, - "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://api.github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 - } - ], - "url": "https://api.github.com/orgs/octo-org/migrations/79", - "created_at": "2015-07-06T15:33:38-07:00", - "updated_at": "2015-07-06T15:33:38-07:00" - } - }, - "minimal-repository-items": { - "value": [ - { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "git_url": "git:github.com/octocat/Hello-World.git", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "ssh_url": "git@github.com:octocat/Hello-World.git", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "clone_url": "https://github.com/octocat/Hello-World.git", - "mirror_url": "git:git.example.com/octocat/Hello-World", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", - "svn_url": "https://svn.github.com/octocat/Hello-World", - "homepage": "https://github.com", - "language": null, - "forks_count": 9, - "stargazers_count": 80, - "watchers_count": 80, - "size": 108, - "default_branch": "master", - "open_issues_count": 0, - "is_template": false, - "topics": ["octocat", "atom", "electron", "api"], - "has_issues": true, - "has_projects": true, - "has_wiki": true, - "has_pages": false, - "has_downloads": true, - "has_discussions": false, - "archived": false, - "disabled": false, - "visibility": "public", - "pushed_at": "2011-01-26T19:06:43Z", - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:14:43Z", - "permissions": { "admin": false, "push": false, "pull": true }, - "security_and_analysis": { - "advanced_security": { "status": "enabled" }, - "secret_scanning": { "status": "enabled" }, - "secret_scanning_push_protection": { "status": "disabled" } - } - } - ] - }, - "package-org": { - "value": { - "id": 197, - "name": "hello_docker", - "package_type": "container", - "owner": { - "login": "github", - "id": 9919, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=", - "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/github", - "html_url": "https://github.com/github", - "followers_url": "https://api.github.com/users/github/followers", - "following_url": "https://api.github.com/users/github/following{/other_user}", - "gists_url": "https://api.github.com/users/github/gists{/gist_id}", - "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/github/subscriptions", - "organizations_url": "https://api.github.com/users/github/orgs", - "repos_url": "https://api.github.com/users/github/repos", - "events_url": "https://api.github.com/users/github/events{/privacy}", - "received_events_url": "https://api.github.com/users/github/received_events", - "type": "Organization", - "site_admin": false - }, - "version_count": 1, - "visibility": "private", - "url": "https://api.github.com/orgs/github/packages/container/hello_docker", - "created_at": "2020-05-19T22:19:11Z", - "updated_at": "2020-05-19T22:19:11Z", - "html_url": "https://github.com/orgs/github/packages/container/package/hello_docker" - } - }, - "package-versions-for-org": { - "value": [ - { - "id": 245301, - "name": "1.0.4", - "url": "https://api.github.com/orgs/octo-org/packages/npm/hello-world-npm/versions/245301", - "package_html_url": "https://github.com/octo-org/hello-world-npm/packages/43752", - "created_at": "2019-11-05T22:49:04Z", - "updated_at": "2019-11-05T22:49:04Z", - "html_url": "https://github.com/octo-org/hello-world-npm/packages/43752?version=1.0.4", - "metadata": { "package_type": "npm" } - }, - { - "id": 209672, - "name": "1.0.3", - "url": "https://api.github.com/orgs/octo-org/packages/npm/hello-world-npm/versions/209672", - "package_html_url": "https://github.com/octo-org/hello-world-npm/packages/43752", - "created_at": "2019-10-29T15:42:11Z", - "updated_at": "2019-10-29T15:42:12Z", - "html_url": "https://github.com/octo-org/hello-world-npm/packages/43752?version=1.0.3", - "metadata": { "package_type": "npm" } - } - ] - }, - "package-version-org": { - "value": { - "id": 836, - "name": "sha256:b3d3e366b55f9a54599220198b3db5da8f53592acbbb7dc7e4e9878762fc5344", - "url": "https://api.github.com/orgs/github/packages/container/hello_docker/versions/836", - "package_html_url": "https://github.com/orgs/github/packages/container/package/hello_docker", - "created_at": "2020-05-19T22:19:11Z", - "updated_at": "2020-05-19T22:19:11Z", - "html_url": "https://github.com/orgs/github/packages/container/hello_docker/836", - "metadata": { - "package_type": "container", - "container": { "tags": ["latest"] } - } - } - }, - "org-pat-grant-request-paginated": { - "value": [ - { - "id": 25381, - "reason": "I need to access the GitHub API", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "repository_selection": "all", - "repositories_url": "https://api.github.com/organizations/652551/personal-access-token-requests/25381/repositories", - "permissions": { - "organization": { "members": "read" }, - "repository": { "metadata": "read" } - }, - "created_at": "2023-05-16T08:47:09.000-07:00", - "token_id": 98716, - "token_name": "Some Token", - "token_expired": false, - "token_expires_at": "2023-11-16T08:47:09.000-07:00", - "token_last_used_at": null - } - ] - }, - "org-pat-grant-paginated": { - "value": [ - { - "id": 25381, - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "repository_selection": "all", - "repositories_url": "https://api.github.com/organizations/652551/personal-access-tokens/25381/repositories", - "permissions": { - "organization": { "members": "read" }, - "repository": { "metadata": "read" } - }, - "access_granted_at": "2023-05-16T08:47:09.000-07:00", - "token_id": 98716, - "token_name": "Some Token", - "token_expired": false, - "token_expires_at": "2023-11-16T08:47:09.000-07:00", - "token_last_used_at": null - } - ] - }, - "org-pre-receive-hook-items": { - "value": [ - { - "id": 42, - "name": "Check Commits", - "enforcement": "disabled", - "configuration_url": "https://github.example.com/api/v3/admin/pre-receive-hooks/42", - "allow_downstream_configuration": true - } - ] - }, - "org-pre-receive-hook": { - "value": { - "id": 42, - "name": "Check Commits", - "enforcement": "disabled", - "configuration_url": "https://github.example.com/api/v3/admin/pre-receive-hooks/42", - "allow_downstream_configuration": true - } - }, - "org-pre-receive-hook-2": { - "value": { - "id": 42, - "name": "Check Commits", - "enforcement": "enabled", - "configuration_url": "https://github.example.com/api/v3/orgs/octocat/pre-receive-hooks/42", - "allow_downstream_configuration": false - } - }, - "project-items": { - "value": [ - { - "owner_url": "https://api.github.com/orgs/octocat", - "url": "https://api.github.com/projects/1002605", - "html_url": "https://github.com/orgs/api-playground/projects/1", - "columns_url": "https://api.github.com/projects/1002605/columns", - "id": 1002605, - "node_id": "MDc6UHJvamVjdDEwMDI2MDU=", - "name": "Organization Roadmap", - "body": "High-level roadmap for the upcoming year.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-11T20:09:31Z", - "updated_at": "2014-03-04T18:58:10Z", - "organization_permission": "write", - "private": true - } - ] - }, - "project-2": { - "value": { - "owner_url": "https://api.github.com/orgs/octocat", - "url": "https://api.github.com/projects/1002605", - "html_url": "https://github.com/orgs/api-playground/projects/1", - "columns_url": "https://api.github.com/projects/1002605/columns", - "id": 1002605, - "node_id": "MDc6UHJvamVjdDEwMDI2MDU=", - "name": "Organization Roadmap", - "body": "High-level roadmap for the upcoming year.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-11T20:09:31Z", - "updated_at": "2014-03-04T18:58:10Z" - } - }, - "custom-properties": { - "value": [ - { - "property_name": "environment", - "url": "https://api.github.com/orgs/github/properties/schema/environment", - "source_type": "organization", - "value_type": "single_select", - "required": true, - "default_value": "production", - "description": "Prod or dev environment", - "allowed_values": ["production", "development"], - "values_editable_by": "org_actors" - }, - { - "property_name": "service", - "url": "https://api.github.com/orgs/github/properties/schema/service", - "source_type": "organization", - "value_type": "string" - }, - { - "property_name": "team", - "url": "https://api.github.com/orgs/github/properties/schema/team", - "source_type": "organization", - "value_type": "string", - "description": "Team owning the repository" - } - ] - }, - "custom-property": { - "value": { - "property_name": "environment", - "url": "https://api.github.com/orgs/github/properties/schema/environment", - "source_type": "organization", - "value_type": "single_select", - "required": true, - "default_value": "production", - "description": "Prod or dev environment", - "allowed_values": ["production", "development"] - } - }, - "org-repo-custom-property-values": { - "value": [ - { - "repository_id": 1296269, - "repository_name": "Hello-World", - "repository_full_name": "octocat/Hello-World", - "properties": [ - { "property_name": "environment", "value": "production" }, - { "property_name": "service", "value": "web" }, - { "property_name": "team", "value": "octocat" } - ] - } - ] - }, - "org-repo-update-custom-property-values": { - "value": { - "repository_names": ["Hello-World", "octo-repo"], - "properties": [ - { "property_name": "environment", "value": "production" }, - { "property_name": "service", "value": "web" }, - { "property_name": "team", "value": "octocat" } - ] - } - }, - "full-repository": { - "value": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "git_url": "git:github.com/octocat/Hello-World.git", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "ssh_url": "git@github.com:octocat/Hello-World.git", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "clone_url": "https://github.com/octocat/Hello-World.git", - "mirror_url": "git:git.example.com/octocat/Hello-World", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", - "svn_url": "https://svn.github.com/octocat/Hello-World", - "homepage": "https://github.com", - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "language": null, - "forks_count": 9, - "forks": 9, - "stargazers_count": 80, - "watchers_count": 80, - "watchers": 80, - "size": 108, - "default_branch": "master", - "open_issues_count": 0, - "open_issues": 0, - "is_template": false, - "topics": ["octocat", "atom", "electron", "api"], - "has_issues": true, - "has_projects": true, - "has_wiki": true, - "has_pages": false, - "has_downloads": true, - "archived": false, - "disabled": false, - "visibility": "public", - "pushed_at": "2011-01-26T19:06:43Z", - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:14:43Z", - "permissions": { "pull": true, "push": false, "admin": false }, - "allow_rebase_merge": true, - "template_repository": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World-Template", - "full_name": "octocat/Hello-World-Template", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World-Template", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World-Template", - "archive_url": "https://api.github.com/repos/octocat/Hello-World-Template/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World-Template/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World-Template/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World-Template/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World-Template/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World-Template/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World-Template/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World-Template/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World-Template/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World-Template/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World-Template/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World-Template/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World-Template/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/tags{/sha}", - "git_url": "git:github.com/octocat/Hello-World-Template.git", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World-Template/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World-Template/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World-Template/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World-Template/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World-Template/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World-Template/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World-Template/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World-Template/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World-Template/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World-Template/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World-Template/releases{/id}", - "ssh_url": "git@github.com:octocat/Hello-World-Template.git", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World-Template/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World-Template/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World-Template/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World-Template/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World-Template/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World-Template/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/trees{/sha}", - "clone_url": "https://github.com/octocat/Hello-World-Template.git", - "mirror_url": "git:git.example.com/octocat/Hello-World-Template", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World-Template/hooks", - "svn_url": "https://svn.github.com/octocat/Hello-World-Template", - "homepage": "https://github.com", - "language": null, - "forks": 9, - "forks_count": 9, - "stargazers_count": 80, - "watchers_count": 80, - "watchers": 80, - "size": 108, - "default_branch": "master", - "open_issues": 0, - "open_issues_count": 0, - "is_template": true, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://api.github.com/licenses/mit" - }, - "topics": ["octocat", "atom", "electron", "api"], - "has_issues": true, - "has_projects": true, - "has_wiki": true, - "has_pages": false, - "has_downloads": true, - "archived": false, - "disabled": false, - "visibility": "public", - "pushed_at": "2011-01-26T19:06:43Z", - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:14:43Z", - "permissions": { "admin": false, "push": false, "pull": true }, - "allow_rebase_merge": true, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "allow_squash_merge": true, - "allow_auto_merge": false, - "delete_branch_on_merge": true, - "allow_merge_commit": true, - "subscribers_count": 42, - "network_count": 0 - }, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "allow_squash_merge": true, - "allow_auto_merge": false, - "delete_branch_on_merge": true, - "allow_merge_commit": true, - "allow_forking": true, - "web_commit_signoff_required": false, - "subscribers_count": 42, - "network_count": 0, - "organization": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "Organization", - "site_admin": false - }, - "parent": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "git_url": "git:github.com/octocat/Hello-World.git", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "ssh_url": "git@github.com:octocat/Hello-World.git", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "clone_url": "https://github.com/octocat/Hello-World.git", - "mirror_url": "git:git.example.com/octocat/Hello-World", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", - "svn_url": "https://svn.github.com/octocat/Hello-World", - "homepage": "https://github.com", - "language": null, - "forks_count": 9, - "stargazers_count": 80, - "watchers_count": 80, - "size": 108, - "default_branch": "master", - "open_issues_count": 0, - "is_template": true, - "topics": ["octocat", "atom", "electron", "api"], - "has_issues": true, - "has_projects": true, - "has_wiki": true, - "has_pages": false, - "has_downloads": true, - "archived": false, - "disabled": false, - "visibility": "public", - "pushed_at": "2011-01-26T19:06:43Z", - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:14:43Z", - "permissions": { "admin": false, "push": false, "pull": true }, - "allow_rebase_merge": true, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "allow_squash_merge": true, - "allow_auto_merge": false, - "delete_branch_on_merge": true, - "allow_merge_commit": true, - "subscribers_count": 42, - "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://api.github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 - }, - "source": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "git_url": "git:github.com/octocat/Hello-World.git", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "ssh_url": "git@github.com:octocat/Hello-World.git", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "clone_url": "https://github.com/octocat/Hello-World.git", - "mirror_url": "git:git.example.com/octocat/Hello-World", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", - "svn_url": "https://svn.github.com/octocat/Hello-World", - "homepage": "https://github.com", - "language": null, - "forks_count": 9, - "stargazers_count": 80, - "watchers_count": 80, - "size": 108, - "default_branch": "master", - "open_issues_count": 0, - "is_template": true, - "topics": ["octocat", "atom", "electron", "api"], - "has_issues": true, - "has_projects": true, - "has_wiki": true, - "has_pages": false, - "has_downloads": true, - "archived": false, - "disabled": false, - "visibility": "public", - "pushed_at": "2011-01-26T19:06:43Z", - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:14:43Z", - "permissions": { "admin": false, "push": false, "pull": true }, - "allow_rebase_merge": true, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "allow_squash_merge": true, - "allow_auto_merge": false, - "delete_branch_on_merge": true, - "allow_merge_commit": true, - "subscribers_count": 42, - "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://api.github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 - } - } - }, - "repository-fine-grained-permission-example": { - "value": [ - { "name": "add_assignee", "description": "Assign or remove a user" }, - { - "name": "remove_assignee", - "description": "Remove an assigned user" - }, - { "name": "add_label", "description": "Add or remove a label" } - ] - }, - "org-ruleset-items": { - "value": [ - { - "id": 21, - "name": "super cool ruleset", - "source_type": "Organization", - "source": "my-org", - "enforcement": "enabled", - "node_id": "RRS_lACkVXNlcgQB", - "_links": { - "self": { - "href": "https://api.github.com/orgs/my-org/rulesets/21" - }, - "html": { - "href": "https://github.com/organizations/my-org/settings/rules/21" - } - }, - "created_at": "2023-07-15T08:43:03Z", - "updated_at": "2023-08-23T16:29:47Z" - }, - { - "id": 432, - "name": "Another ruleset", - "source_type": "Organization", - "source": "my-org", - "enforcement": "enabled", - "node_id": "RRS_lACkVXNlcgQQ", - "_links": { - "self": { - "href": "https://api.github.com/orgs/my-org/rulesets/432" - }, - "html": { - "href": "https://github.com/organizations/my-org/settings/rules/432" - } - }, - "created_at": "2023-08-15T08:43:03Z", - "updated_at": "2023-09-23T16:29:47Z" - } - ] - }, - "org-ruleset": { - "value": { - "id": 21, - "name": "super cool ruleset", - "target": "branch", - "source_type": "Organization", - "source": "my-org", - "enforcement": "active", - "bypass_actors": [ - { "actor_id": 234, "actor_type": "Team", "bypass_mode": "always" } - ], - "conditions": { - "ref_name": { - "include": ["refs/heads/main", "refs/heads/master"], - "exclude": ["refs/heads/dev*"] - }, - "repository_name": { - "include": [ - "important_repository", - "another_important_repository" - ], - "exclude": ["unimportant_repository"], - "protected": true - } - }, - "rules": [ - { - "type": "commit_author_email_pattern", - "parameters": { "operator": "contains", "pattern": "github" } - } - ], - "node_id": "RRS_lACkVXNlcgQB", - "_links": { - "self": { - "href": "https://api.github.com/orgs/my-org/rulesets/21" - }, - "html": { - "href": "https://github.com/organizations/my-org/settings/rules/21" - } - }, - "created_at": "2023-08-15T08:43:03Z", - "updated_at": "2023-09-23T16:29:47Z" - } - }, - "rule-suite-items": { - "value": [ - { - "id": 21, - "actor_id": 12, - "actor_name": "octocat", - "before_sha": "893f768e172fb1bc9c5d6f3dd48557e45f14e01d", - "after_sha": "dedd88641a362b6b4ea872da4847d6131a164d01", - "ref": "refs/heads/i-see-everything", - "repository_id": 404, - "repository_name": "octo-repo", - "pushed_at": "2023-07-06T08:43:03Z", - "result": "bypass" - }, - { - "id": 25, - "actor_id": 11, - "actor_name": "not-octocat", - "before_sha": "48994e4e01ccc943624c6231f172702b82b233cc", - "after_sha": "ecfd5a1025fa271a33ca5608d089476a2df3c9a1", - "ref": "refs/heads/i-am-everything", - "repository_id": 404, - "repository_name": "octo-repo", - "pushed_at": "2023-07-07T08:43:03Z", - "result": "pass", - "evaluation_result": "fail" - } - ] - }, - "rule-suite": { - "value": { - "id": 21, - "actor_id": 12, - "actor_name": "octocat", - "before_sha": "893f768e172fb1bc9c5d6f3dd48557e45f14e01d", - "after_sha": "dedd88641a362b6b4ea872da4847d6131a164d01", - "ref": "refs/heads/i-see-everything", - "repository_id": 404, - "repository_name": "octo-repo", - "pushed_at": "2023-07-06T08:43:03Z", - "result": "bypass", - "evaluation_result": "fail", - "rule_evaluations": [ - { - "rule_source": { - "type": "ruleset", - "id": 2, - "name": "Author email must be a GitHub email address" - }, - "enforcement": "active", - "result": "pass", - "rule_type": "commit_author_email_pattern" - }, - { - "rule_source": { "type": "protected_branch" }, - "enforcement": "active", - "result": "fail", - "rule_type": "pull_request", - "details": "Changes must be made through a pull request." - }, - { - "rule_source": { - "type": "ruleset", - "id": 3, - "name": "Evaluate commit message pattern" - }, - "enforcement": "evaluate", - "result": "fail", - "rule_type": "commit_message_pattern" - } - ] - } - }, - "team-items": { - "value": [ - { - "id": 1, - "node_id": "MDQ6VGVhbTE=", - "url": "https://api.github.com/teams/1", - "html_url": "https://github.com/orgs/github/teams/justice-league", - "name": "Justice League", - "slug": "justice-league", - "description": "A great team.", - "privacy": "closed", - "notification_setting": "notifications_enabled", - "permission": "admin", - "members_url": "https://api.github.com/teams/1/members{/member}", - "repositories_url": "https://api.github.com/teams/1/repos", - "parent": null - } - ] - }, - "team-full": { - "value": { - "id": 1, - "node_id": "MDQ6VGVhbTE=", - "url": "https://api.github.com/teams/1", - "html_url": "https://github.com/orgs/github/teams/justice-league", - "name": "Justice League", - "slug": "justice-league", - "description": "A great team.", - "privacy": "closed", - "notification_setting": "notifications_enabled", - "permission": "admin", - "members_url": "https://api.github.com/teams/1/members{/member}", - "repositories_url": "https://api.github.com/teams/1/repos", - "members_count": 3, - "repos_count": 10, - "created_at": "2017-07-14T16:53:42Z", - "updated_at": "2017-08-17T12:37:15Z", - "organization": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization", - "name": "github", - "company": "GitHub", - "blog": "https://github.com/blog", - "location": "San Francisco", - "email": "octocat@github.com", - "has_organization_projects": true, - "has_repository_projects": true, - "public_repos": 2, - "public_gists": 1, - "followers": 20, - "following": 0, - "html_url": "https://github.com/octocat", - "created_at": "2008-01-14T04:33:35Z", - "updated_at": "2017-08-17T12:37:15Z", - "type": "Organization" - }, - "ldap_dn": "uid=asdf,ou=users,dc=github,dc=com" - } - }, - "team-discussion-items": { - "value": [ - { - "author": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "body": "Hi! This is an area for us to collaborate as a team.", - "body_html": "

Hi! This is an area for us to collaborate as a team

", - "body_version": "0d495416a700fb06133c612575d92bfb", - "comments_count": 0, - "comments_url": "https://api.github.com/teams/2343027/discussions/1/comments", - "created_at": "2018-01-25T18:56:31Z", - "last_edited_at": null, - "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1", - "node_id": "MDE0OlRlYW1EaXNjdXNzaW9uMQ==", - "number": 1, - "pinned": false, - "private": false, - "team_url": "https://api.github.com/teams/2343027", - "title": "Our first team post", - "updated_at": "2018-01-25T18:56:31Z", - "url": "https://api.github.com/teams/2343027/discussions/1", - "reactions": { - "url": "https://api.github.com/teams/2343027/discussions/1/reactions", - "total_count": 5, - "+1": 3, - "-1": 1, - "laugh": 0, - "confused": 0, - "heart": 1, - "hooray": 0, - "eyes": 1, - "rocket": 1 - } - } - ] - }, - "team-discussion": { - "value": { - "author": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "body": "Hi! This is an area for us to collaborate as a team.", - "body_html": "

Hi! This is an area for us to collaborate as a team

", - "body_version": "0d495416a700fb06133c612575d92bfb", - "comments_count": 0, - "comments_url": "https://api.github.com/teams/2343027/discussions/1/comments", - "created_at": "2018-01-25T18:56:31Z", - "last_edited_at": null, - "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1", - "node_id": "MDE0OlRlYW1EaXNjdXNzaW9uMQ==", - "number": 1, - "pinned": false, - "private": false, - "team_url": "https://api.github.com/teams/2343027", - "title": "Our first team post", - "updated_at": "2018-01-25T18:56:31Z", - "url": "https://api.github.com/teams/2343027/discussions/1", - "reactions": { - "url": "https://api.github.com/teams/2343027/discussions/1/reactions", - "total_count": 5, - "+1": 3, - "-1": 1, - "laugh": 0, - "confused": 0, - "heart": 1, - "hooray": 0, - "eyes": 1, - "rocket": 1 - } - } - }, - "team-discussion-2": { - "value": { - "author": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "body": "Hi! This is an area for us to collaborate as a team.", - "body_html": "

Hi! This is an area for us to collaborate as a team

", - "body_version": "0d495416a700fb06133c612575d92bfb", - "comments_count": 1, - "comments_url": "https://api.github.com/teams/2343027/discussions/1/comments", - "created_at": "2018-01-25T18:56:31Z", - "last_edited_at": "2018-01-26T18:22:20Z", - "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1", - "node_id": "MDE0OlRlYW1EaXNjdXNzaW9uMQ==", - "number": 1, - "pinned": false, - "private": false, - "team_url": "https://api.github.com/teams/2343027", - "title": "Welcome to our first team post", - "updated_at": "2018-01-26T18:22:20Z", - "url": "https://api.github.com/teams/2343027/discussions/1", - "reactions": { - "url": "https://api.github.com/teams/2343027/discussions/1/reactions", - "total_count": 5, - "+1": 3, - "-1": 1, - "laugh": 0, - "confused": 0, - "heart": 1, - "hooray": 0, - "eyes": 1, - "rocket": 1 - } - } - }, - "team-discussion-comment-items": { - "value": [ - { - "author": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "body": "Do you like apples?", - "body_html": "

Do you like apples?

", - "body_version": "5eb32b219cdc6a5a9b29ba5d6caa9c51", - "created_at": "2018-01-15T23:53:58Z", - "last_edited_at": null, - "discussion_url": "https://api.github.com/teams/2403582/discussions/1", - "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1/comments/1", - "node_id": "MDIxOlRlYW1EaXNjdXNzaW9uQ29tbWVudDE=", - "number": 1, - "updated_at": "2018-01-15T23:53:58Z", - "url": "https://api.github.com/teams/2403582/discussions/1/comments/1", - "reactions": { - "url": "https://api.github.com/teams/2403582/discussions/1/reactions", - "total_count": 5, - "+1": 3, - "-1": 1, - "laugh": 0, - "confused": 0, - "heart": 1, - "hooray": 0, - "eyes": 1, - "rocket": 1 - } - } - ] - }, - "team-discussion-comment": { - "value": { - "author": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "body": "Do you like apples?", - "body_html": "

Do you like apples?

", - "body_version": "5eb32b219cdc6a5a9b29ba5d6caa9c51", - "created_at": "2018-01-15T23:53:58Z", - "last_edited_at": null, - "discussion_url": "https://api.github.com/teams/2403582/discussions/1", - "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1/comments/1", - "node_id": "MDIxOlRlYW1EaXNjdXNzaW9uQ29tbWVudDE=", - "number": 1, - "updated_at": "2018-01-15T23:53:58Z", - "url": "https://api.github.com/teams/2403582/discussions/1/comments/1", - "reactions": { - "url": "https://api.github.com/teams/2403582/discussions/1/reactions", - "total_count": 5, - "+1": 3, - "-1": 1, - "laugh": 0, - "confused": 0, - "heart": 1, - "hooray": 0, - "eyes": 1, - "rocket": 1 - } - } - }, - "team-discussion-comment-2": { - "value": { - "author": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "body": "Do you like pineapples?", - "body_html": "

Do you like pineapples?

", - "body_version": "e6907b24d9c93cc0c5024a7af5888116", - "created_at": "2018-01-15T23:53:58Z", - "last_edited_at": "2018-01-26T18:22:20Z", - "discussion_url": "https://api.github.com/teams/2403582/discussions/1", - "html_url": "https://github.com/orgs/github/teams/justice-league/discussions/1/comments/1", - "node_id": "MDIxOlRlYW1EaXNjdXNzaW9uQ29tbWVudDE=", - "number": 1, - "updated_at": "2018-01-26T18:22:20Z", - "url": "https://api.github.com/teams/2403582/discussions/1/comments/1", - "reactions": { - "url": "https://api.github.com/teams/2403582/discussions/1/reactions", - "total_count": 5, - "+1": 3, - "-1": 1, - "laugh": 0, - "confused": 0, - "heart": 1, - "hooray": 0, - "eyes": 1, - "rocket": 1 - } - } - }, - "reaction-items": { - "value": [ - { - "id": 1, - "node_id": "MDg6UmVhY3Rpb24x", - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "content": "heart", - "created_at": "2016-05-20T20:09:31Z" - } - ] - }, - "reaction": { - "value": { - "id": 1, - "node_id": "MDg6UmVhY3Rpb24x", - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "content": "heart", - "created_at": "2016-05-20T20:09:31Z" - } - }, - "team-membership-response-if-user-is-a-team-maintainer": { - "summary": "Response if user is a team maintainer", - "value": { - "url": "https://api.github.com/teams/1/memberships/octocat", - "role": "maintainer", - "state": "active" - } - }, - "team-membership-response-if-users-membership-with-team-is-now-pending": { - "summary": "Response if user's membership with team is now pending", - "value": { - "url": "https://api.github.com/teams/1/memberships/octocat", - "role": "member", - "state": "pending" - } - }, - "team-project-items": { - "value": [ - { - "owner_url": "https://api.github.com/orgs/octocat", - "url": "https://api.github.com/projects/1002605", - "html_url": "https://github.com/orgs/api-playground/projects/1", - "columns_url": "https://api.github.com/projects/1002605/columns", - "id": 1002605, - "node_id": "MDc6UHJvamVjdDEwMDI2MDU=", - "name": "Organization Roadmap", - "body": "High-level roadmap for the upcoming year.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-11T20:09:31Z", - "updated_at": "2014-03-04T18:58:10Z", - "organization_permission": "write", - "private": false, - "permissions": { "read": true, "write": true, "admin": false } - } - ] - }, - "team-project": { - "value": { - "owner_url": "https://api.github.com/orgs/octocat", - "url": "https://api.github.com/projects/1002605", - "html_url": "https://github.com/orgs/api-playground/projects/1", - "columns_url": "https://api.github.com/projects/1002605/columns", - "id": 1002605, - "node_id": "MDc6UHJvamVjdDEwMDI2MDU=", - "name": "Organization Roadmap", - "body": "High-level roadmap for the upcoming year.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-11T20:09:31Z", - "updated_at": "2014-03-04T18:58:10Z", - "organization_permission": "write", - "private": false, - "permissions": { "read": true, "write": true, "admin": false } - } - }, - "team-repository-alternative-response-with-repository-permissions": { - "value": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "git_url": "git:github.com/octocat/Hello-World.git", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "ssh_url": "git@github.com:octocat/Hello-World.git", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "clone_url": "https://github.com/octocat/Hello-World.git", - "mirror_url": "git:git.example.com/octocat/Hello-World", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", - "svn_url": "https://svn.github.com/octocat/Hello-World", - "homepage": "https://github.com", - "language": null, - "forks_count": 9, - "stargazers_count": 80, - "watchers_count": 80, - "size": 108, - "default_branch": "master", - "open_issues_count": 0, - "is_template": false, - "topics": ["octocat", "atom", "electron", "api"], - "has_issues": true, - "has_projects": true, - "has_wiki": true, - "has_pages": false, - "has_downloads": true, - "archived": false, - "disabled": false, - "visibility": "public", - "pushed_at": "2011-01-26T19:06:43Z", - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:14:43Z", - "permissions": { - "admin": false, - "maintain": false, - "push": false, - "triage": false, - "pull": true - }, - "role_name": "read", - "allow_rebase_merge": true, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "allow_squash_merge": true, - "allow_auto_merge": false, - "delete_branch_on_merge": true, - "allow_merge_commit": true, - "subscribers_count": 42, - "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://api.github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 - } - }, - "team-items-response-if-child-teams-exist": { - "value": [ - { - "id": 2, - "node_id": "MDQ6VGVhbTI=", - "url": "https://api.github.com/teams/2", - "name": "Original Roster", - "slug": "original-roster", - "description": "Started it all.", - "privacy": "closed", - "notification_setting": "notifications_enabled", - "permission": "admin", - "members_url": "https://api.github.com/teams/2/members{/member}", - "repositories_url": "https://api.github.com/teams/2/repos", - "parent": { - "id": 1, - "node_id": "MDQ6VGVhbTE=", - "url": "https://api.github.com/teams/1", - "html_url": "https://github.com/orgs/github/teams/justice-league", - "name": "Justice League", - "slug": "justice-league", - "description": "A great team.", - "privacy": "closed", - "notification_setting": "notifications_enabled", - "permission": "admin", - "members_url": "https://api.github.com/teams/1/members{/member}", - "repositories_url": "https://api.github.com/teams/1/repos" - }, - "html_url": "https://github.com/orgs/rails/teams/core" - } - ] - }, - "project-card": { - "value": { - "url": "https://api.github.com/projects/columns/cards/1478", - "id": 1478, - "node_id": "MDExOlByb2plY3RDYXJkMTQ3OA==", - "note": "Add payload for delete Project column", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2016-09-05T14:21:06Z", - "updated_at": "2016-09-05T14:20:22Z", - "archived": false, - "column_url": "https://api.github.com/projects/columns/367", - "content_url": "https://api.github.com/repos/api-playground/projects-test/issues/3", - "project_url": "https://api.github.com/projects/120" - } - }, - "project-column": { - "value": { - "url": "https://api.github.com/projects/columns/367", - "project_url": "https://api.github.com/projects/120", - "cards_url": "https://api.github.com/projects/columns/367/cards", - "id": 367, - "node_id": "MDEzOlByb2plY3RDb2x1bW4zNjc=", - "name": "To Do", - "created_at": "2016-09-05T14:18:44Z", - "updated_at": "2016-09-05T14:22:28Z" - } - }, - "project-card-items": { - "value": [ - { - "url": "https://api.github.com/projects/columns/cards/1478", - "id": 1478, - "node_id": "MDExOlByb2plY3RDYXJkMTQ3OA==", - "note": "Add payload for delete Project column", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2016-09-05T14:21:06Z", - "updated_at": "2016-09-05T14:20:22Z", - "archived": false, - "column_url": "https://api.github.com/projects/columns/367", - "content_url": "https://api.github.com/repos/api-playground/projects-test/issues/3", - "project_url": "https://api.github.com/projects/120" - } - ] - }, - "project-3": { - "value": { - "owner_url": "https://api.github.com/repos/api-playground/projects-test", - "url": "https://api.github.com/projects/1002604", - "html_url": "https://github.com/api-playground/projects-test/projects/1", - "columns_url": "https://api.github.com/projects/1002604/columns", - "id": 1002604, - "node_id": "MDc6UHJvamVjdDEwMDI2MDQ=", - "name": "Projects Documentation", - "body": "Developer documentation project for the developer site.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z" - } - }, - "project-collaborator-permission": { - "value": { - "permission": "admin", - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - }, - "project-column-items": { - "value": [ - { - "url": "https://api.github.com/projects/columns/367", - "project_url": "https://api.github.com/projects/120", - "cards_url": "https://api.github.com/projects/columns/367/cards", - "id": 367, - "node_id": "MDEzOlByb2plY3RDb2x1bW4zNjc=", - "name": "To Do", - "created_at": "2016-09-05T14:18:44Z", - "updated_at": "2016-09-05T14:22:28Z" - } - ] - }, - "rate-limit-overview": { - "value": { - "resources": { - "core": { - "limit": 5000, - "used": 1, - "remaining": 4999, - "reset": 1691591363 - }, - "search": { - "limit": 30, - "used": 12, - "remaining": 18, - "reset": 1691591091 - }, - "graphql": { - "limit": 5000, - "used": 7, - "remaining": 4993, - "reset": 1691593228 - }, - "integration_manifest": { - "limit": 5000, - "used": 1, - "remaining": 4999, - "reset": 1691594631 - }, - "source_import": { - "limit": 100, - "used": 1, - "remaining": 99, - "reset": 1691591091 - }, - "code_scanning_upload": { - "limit": 500, - "used": 1, - "remaining": 499, - "reset": 1691594631 - }, - "actions_runner_registration": { - "limit": 10000, - "used": 0, - "remaining": 10000, - "reset": 1691594631 - }, - "scim": { - "limit": 15000, - "used": 0, - "remaining": 15000, - "reset": 1691594631 - }, - "dependency_snapshots": { - "limit": 100, - "used": 0, - "remaining": 100, - "reset": 1691591091 - }, - "code_search": { - "limit": 10, - "used": 0, - "remaining": 10, - "reset": 1691591091 - }, - "code_scanning_autofix": { - "limit": 10, - "used": 0, - "remaining": 10, - "reset": 1691591091 - } - }, - "rate": { - "limit": 5000, - "used": 1, - "remaining": 4999, - "reset": 1372700873 - } - } - }, - "full-repository-default-response": { - "summary": "Default response", - "value": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "git_url": "git:github.com/octocat/Hello-World.git", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "ssh_url": "git@github.com:octocat/Hello-World.git", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "clone_url": "https://github.com/octocat/Hello-World.git", - "mirror_url": "git:git.example.com/octocat/Hello-World", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", - "svn_url": "https://svn.github.com/octocat/Hello-World", - "homepage": "https://github.com", - "forks_count": 9, - "forks": 9, - "stargazers_count": 80, - "watchers_count": 80, - "watchers": 80, - "size": 108, - "default_branch": "master", - "open_issues_count": 0, - "open_issues": 0, - "is_template": false, - "topics": ["octocat", "atom", "electron", "api"], - "has_issues": true, - "has_projects": true, - "has_wiki": true, - "has_pages": false, - "has_downloads": true, - "has_discussions": false, - "archived": false, - "disabled": false, - "visibility": "public", - "pushed_at": "2011-01-26T19:06:43Z", - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:14:43Z", - "permissions": { "pull": true, "push": false, "admin": false }, - "allow_rebase_merge": true, - "template_repository": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World-Template", - "full_name": "octocat/Hello-World-Template", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World-Template", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World-Template", - "archive_url": "https://api.github.com/repos/octocat/Hello-World-Template/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World-Template/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World-Template/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World-Template/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World-Template/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World-Template/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World-Template/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World-Template/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World-Template/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World-Template/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World-Template/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World-Template/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World-Template/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/tags{/sha}", - "git_url": "git:github.com/octocat/Hello-World-Template.git", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World-Template/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World-Template/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World-Template/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World-Template/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World-Template/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World-Template/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World-Template/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World-Template/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World-Template/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World-Template/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World-Template/releases{/id}", - "ssh_url": "git@github.com:octocat/Hello-World-Template.git", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World-Template/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World-Template/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World-Template/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World-Template/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World-Template/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World-Template/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/trees{/sha}", - "clone_url": "https://github.com/octocat/Hello-World-Template.git", - "mirror_url": "git:git.example.com/octocat/Hello-World-Template", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World-Template/hooks", - "svn_url": "https://svn.github.com/octocat/Hello-World-Template", - "homepage": "https://github.com", - "language": null, - "forks": 9, - "forks_count": 9, - "stargazers_count": 80, - "watchers_count": 80, - "watchers": 80, - "size": 108, - "default_branch": "master", - "open_issues": 0, - "open_issues_count": 0, - "is_template": true, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://api.github.com/licenses/mit" - }, - "topics": ["octocat", "atom", "electron", "api"], - "has_issues": true, - "has_projects": true, - "has_wiki": true, - "has_pages": false, - "has_downloads": true, - "archived": false, - "disabled": false, - "visibility": "public", - "pushed_at": "2011-01-26T19:06:43Z", - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:14:43Z", - "permissions": { "admin": false, "push": false, "pull": true }, - "allow_rebase_merge": true, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "allow_squash_merge": true, - "allow_auto_merge": false, - "delete_branch_on_merge": true, - "allow_merge_commit": true, - "subscribers_count": 42, - "network_count": 0 - }, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "allow_squash_merge": true, - "allow_auto_merge": false, - "delete_branch_on_merge": true, - "allow_merge_commit": true, - "allow_forking": true, - "subscribers_count": 42, - "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZW1pdA==" - }, - "organization": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "Organization", - "site_admin": false - }, - "parent": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "git_url": "git:github.com/octocat/Hello-World.git", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "ssh_url": "git@github.com:octocat/Hello-World.git", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "clone_url": "https://github.com/octocat/Hello-World.git", - "mirror_url": "git:git.example.com/octocat/Hello-World", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", - "svn_url": "https://svn.github.com/octocat/Hello-World", - "homepage": "https://github.com", - "language": null, - "forks_count": 9, - "stargazers_count": 80, - "watchers_count": 80, - "size": 108, - "default_branch": "master", - "open_issues_count": 0, - "is_template": true, - "topics": ["octocat", "atom", "electron", "api"], - "has_issues": true, - "has_projects": true, - "has_wiki": true, - "has_pages": false, - "has_downloads": true, - "archived": false, - "disabled": false, - "visibility": "public", - "pushed_at": "2011-01-26T19:06:43Z", - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:14:43Z", - "permissions": { "admin": false, "push": false, "pull": true }, - "allow_rebase_merge": true, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "allow_squash_merge": true, - "allow_auto_merge": false, - "delete_branch_on_merge": true, - "allow_merge_commit": true, - "subscribers_count": 42, - "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://api.github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 - }, - "source": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "git_url": "git:github.com/octocat/Hello-World.git", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "ssh_url": "git@github.com:octocat/Hello-World.git", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "clone_url": "https://github.com/octocat/Hello-World.git", - "mirror_url": "git:git.example.com/octocat/Hello-World", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", - "svn_url": "https://svn.github.com/octocat/Hello-World", - "homepage": "https://github.com", - "forks_count": 9, - "stargazers_count": 80, - "watchers_count": 80, - "size": 108, - "default_branch": "master", - "open_issues_count": 0, - "is_template": true, - "topics": ["octocat", "atom", "electron", "api"], - "has_issues": true, - "has_projects": true, - "has_wiki": true, - "has_pages": false, - "has_downloads": true, - "archived": false, - "disabled": false, - "visibility": "public", - "pushed_at": "2011-01-26T19:06:43Z", - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:14:43Z", - "permissions": { "admin": false, "push": false, "pull": true }, - "allow_rebase_merge": true, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "allow_squash_merge": true, - "allow_auto_merge": false, - "delete_branch_on_merge": true, - "allow_merge_commit": true, - "subscribers_count": 42, - "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://api.github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1, - "security_and_analysis": { - "advanced_security": { "status": "enabled" }, - "secret_scanning": { "status": "enabled" }, - "secret_scanning_push_protection": { "status": "disabled" } - } - } - } - }, - "artifact-paginated": { - "value": { - "total_count": 2, - "artifacts": [ - { - "id": 11, - "node_id": "MDg6QXJ0aWZhY3QxMQ==", - "name": "Rails", - "size_in_bytes": 556, - "url": "https://api.github.com/repos/octo-org/octo-docs/actions/artifacts/11", - "archive_download_url": "https://api.github.com/repos/octo-org/octo-docs/actions/artifacts/11/zip", - "expired": false, - "created_at": "2020-01-10T14:59:22Z", - "expires_at": "2020-03-21T14:59:22Z", - "updated_at": "2020-02-21T14:59:22Z", - "workflow_run": { - "id": 2332938, - "repository_id": 1296269, - "head_repository_id": 1296269, - "head_branch": "main", - "head_sha": "328faa0536e6fef19753d9d91dc96a9931694ce3" - } - }, - { - "id": 13, - "node_id": "MDg6QXJ0aWZhY3QxMw==", - "name": "Test output", - "size_in_bytes": 453, - "url": "https://api.github.com/repos/octo-org/octo-docs/actions/artifacts/13", - "archive_download_url": "https://api.github.com/repos/octo-org/octo-docs/actions/artifacts/13/zip", - "expired": false, - "created_at": "2020-01-10T14:59:22Z", - "expires_at": "2020-03-21T14:59:22Z", - "updated_at": "2020-02-21T14:59:22Z", - "workflow_run": { - "id": 2332942, - "repository_id": 1296269, - "head_repository_id": 1296269, - "head_branch": "main", - "head_sha": "178f4f6090b3fccad4a65b3e83d076a622d59652" - } - } - ] - } - }, - "artifact": { - "value": { - "id": 11, - "node_id": "MDg6QXJ0aWZhY3QxMQ==", - "name": "Rails", - "size_in_bytes": 556, - "url": "https://api.github.com/repos/octo-org/octo-docs/actions/artifacts/11", - "archive_download_url": "https://api.github.com/repos/octo-org/octo-docs/actions/artifacts/11/zip", - "expired": false, - "created_at": "2020-01-10T14:59:22Z", - "expires_at": "2020-01-21T14:59:22Z", - "updated_at": "2020-01-21T14:59:22Z", - "workflow_run": { - "id": 2332938, - "repository_id": 1296269, - "head_repository_id": 1296269, - "head_branch": "main", - "head_sha": "328faa0536e6fef19753d9d91dc96a9931694ce3" - } - } - }, - "actions-cache-usage": { - "value": { - "full_name": "octo-org/Hello-World", - "active_caches_size_in_bytes": 2322142, - "active_caches_count": 3 - } - }, - "actions-cache-usage-policy": { - "value": { "repo_cache_size_limit_in_gb": 14 } - }, - "actions-cache-list": { - "value": { - "total_count": 1, - "actions_caches": [ - { - "id": 505, - "ref": "refs/heads/main", - "key": "Linux-node-958aff96db2d75d67787d1e634ae70b659de937b", - "version": "73885106f58cc52a7df9ec4d4a5622a5614813162cb516c759a30af6bf56e6f0", - "last_accessed_at": "2019-01-24T22:45:36.000Z", - "created_at": "2019-01-24T22:45:36.000Z", - "size_in_bytes": 1024 - } - ] - } - }, - "job": { - "value": { - "id": 399444496, - "run_id": 29679449, - "run_url": "https://api.github.com/repos/octo-org/octo-repo/actions/runs/29679449", - "node_id": "MDEyOldvcmtmbG93IEpvYjM5OTQ0NDQ5Ng==", - "head_sha": "f83a356604ae3c5d03e1b46ef4d1ca77d64a90b0", - "url": "https://api.github.com/repos/octo-org/octo-repo/actions/jobs/399444496", - "html_url": "https://github.com/octo-org/octo-repo/runs/29679449/jobs/399444496", - "status": "completed", - "conclusion": "success", - "started_at": "2020-01-20T17:42:40Z", - "completed_at": "2020-01-20T17:44:39Z", - "name": "build", - "steps": [ - { - "name": "Set up job", - "status": "completed", - "conclusion": "success", - "number": 1, - "started_at": "2020-01-20T09:42:40.000-08:00", - "completed_at": "2020-01-20T09:42:41.000-08:00" - }, - { - "name": "Run actions/checkout@v2", - "status": "completed", - "conclusion": "success", - "number": 2, - "started_at": "2020-01-20T09:42:41.000-08:00", - "completed_at": "2020-01-20T09:42:45.000-08:00" - }, - { - "name": "Set up Ruby", - "status": "completed", - "conclusion": "success", - "number": 3, - "started_at": "2020-01-20T09:42:45.000-08:00", - "completed_at": "2020-01-20T09:42:45.000-08:00" - }, - { - "name": "Run actions/cache@v3", - "status": "completed", - "conclusion": "success", - "number": 4, - "started_at": "2020-01-20T09:42:45.000-08:00", - "completed_at": "2020-01-20T09:42:48.000-08:00" - }, - { - "name": "Install Bundler", - "status": "completed", - "conclusion": "success", - "number": 5, - "started_at": "2020-01-20T09:42:48.000-08:00", - "completed_at": "2020-01-20T09:42:52.000-08:00" - }, - { - "name": "Install Gems", - "status": "completed", - "conclusion": "success", - "number": 6, - "started_at": "2020-01-20T09:42:52.000-08:00", - "completed_at": "2020-01-20T09:42:53.000-08:00" - }, - { - "name": "Run Tests", - "status": "completed", - "conclusion": "success", - "number": 7, - "started_at": "2020-01-20T09:42:53.000-08:00", - "completed_at": "2020-01-20T09:42:59.000-08:00" - }, - { - "name": "Deploy to Heroku", - "status": "completed", - "conclusion": "success", - "number": 8, - "started_at": "2020-01-20T09:42:59.000-08:00", - "completed_at": "2020-01-20T09:44:39.000-08:00" - }, - { - "name": "Post actions/cache@v3", - "status": "completed", - "conclusion": "success", - "number": 16, - "started_at": "2020-01-20T09:44:39.000-08:00", - "completed_at": "2020-01-20T09:44:39.000-08:00" - }, - { - "name": "Complete job", - "status": "completed", - "conclusion": "success", - "number": 17, - "started_at": "2020-01-20T09:44:39.000-08:00", - "completed_at": "2020-01-20T09:44:39.000-08:00" - } - ], - "check_run_url": "https://api.github.com/repos/octo-org/octo-repo/check-runs/399444496", - "labels": ["self-hosted", "foo", "bar"], - "runner_id": 1, - "runner_name": "my runner", - "runner_group_id": 2, - "runner_group_name": "my runner group", - "workflow_name": "CI", - "head_branch": "main" - } - }, - "oidc-custom-sub-repo": { - "value": { - "use_default": false, - "include_claim_keys": ["repo", "context"] - } - }, - "actions-secret-paginated": { - "value": { - "total_count": 2, - "secrets": [ - { - "name": "GH_TOKEN", - "created_at": "2019-08-10T14:59:22Z", - "updated_at": "2020-01-10T14:59:22Z" - }, - { - "name": "GIST_ID", - "created_at": "2020-01-10T10:59:22Z", - "updated_at": "2020-01-11T11:59:22Z" - } - ] - } - }, - "actions-variables-paginated": { - "value": { - "total_count": 2, - "variables": [ - { - "name": "USERNAME", - "value": "octocat", - "created_at": "2019-08-10T14:59:22Z", - "updated_at": "2020-01-10T14:59:22Z" - }, - { - "name": "EMAIL", - "value": "octocat@github.com", - "created_at": "2020-01-10T10:59:22Z", - "updated_at": "2020-01-11T11:59:22Z" - } - ] - } - }, - "actions-repository-permissions": { - "value": { - "enabled": true, - "allowed_actions": "selected", - "selected_actions_url": "https://api.github.com/repositories/42/actions/permissions/selected-actions" - } - }, - "actions-workflow-access-to-repository": { - "value": { "access_level": "organization" } - }, - "workflow-run-paginated": { - "value": { - "total_count": 1, - "workflow_runs": [ - { - "id": 30433642, - "name": "Build", - "node_id": "MDEyOldvcmtmbG93IFJ1bjI2OTI4OQ==", - "check_suite_id": 42, - "check_suite_node_id": "MDEwOkNoZWNrU3VpdGU0Mg==", - "head_branch": "master", - "head_sha": "acb5820ced9479c074f688cc328bf03f341a511d", - "path": ".github/workflows/build.yml@main", - "run_number": 562, - "event": "push", - "display_title": "Update README.md", - "status": "queued", - "conclusion": null, - "workflow_id": 159038, - "url": "https://api.github.com/repos/octo-org/octo-repo/actions/runs/30433642", - "html_url": "https://github.com/octo-org/octo-repo/actions/runs/30433642", - "pull_requests": [], - "created_at": "2020-01-22T19:33:08Z", - "updated_at": "2020-01-22T19:33:08Z", - "actor": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "run_attempt": 1, - "run_started_at": "2020-01-22T19:33:08Z", - "triggering_actor": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "jobs_url": "https://api.github.com/repos/octo-org/octo-repo/actions/runs/30433642/jobs", - "logs_url": "https://api.github.com/repos/octo-org/octo-repo/actions/runs/30433642/logs", - "check_suite_url": "https://api.github.com/repos/octo-org/octo-repo/check-suites/414944374", - "artifacts_url": "https://api.github.com/repos/octo-org/octo-repo/actions/runs/30433642/artifacts", - "cancel_url": "https://api.github.com/repos/octo-org/octo-repo/actions/runs/30433642/cancel", - "rerun_url": "https://api.github.com/repos/octo-org/octo-repo/actions/runs/30433642/rerun", - "workflow_url": "https://api.github.com/repos/octo-org/octo-repo/actions/workflows/159038", - "head_commit": { - "id": "acb5820ced9479c074f688cc328bf03f341a511d", - "tree_id": "d23f6eedb1e1b9610bbc754ddb5197bfe7271223", - "message": "Create linter.yaml", - "timestamp": "2020-01-22T19:33:05Z", - "author": { "name": "Octo Cat", "email": "octocat@github.com" }, - "committer": { "name": "GitHub", "email": "noreply@github.com" } - }, - "repository": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "git_url": "git:github.com/octocat/Hello-World.git", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "ssh_url": "git@github.com:octocat/Hello-World.git", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks" - }, - "head_repository": { - "id": 217723378, - "node_id": "MDEwOlJlcG9zaXRvcnkyMTc3MjMzNzg=", - "name": "octo-repo", - "full_name": "octo-org/octo-repo", - "private": true, - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://github.com/octo-org/octo-repo", - "description": null, - "fork": false, - "url": "https://api.github.com/repos/octo-org/octo-repo", - "forks_url": "https://api.github.com/repos/octo-org/octo-repo/forks", - "keys_url": "https://api.github.com/repos/octo-org/octo-repo/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/octo-org/octo-repo/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/octo-org/octo-repo/teams", - "hooks_url": "https://api.github.com/repos/octo-org/octo-repo/hooks", - "issue_events_url": "https://api.github.com/repos/octo-org/octo-repo/issues/events{/number}", - "events_url": "https://api.github.com/repos/octo-org/octo-repo/events", - "assignees_url": "https://api.github.com/repos/octo-org/octo-repo/assignees{/user}", - "branches_url": "https://api.github.com/repos/octo-org/octo-repo/branches{/branch}", - "tags_url": "https://api.github.com/repos/octo-org/octo-repo/tags", - "blobs_url": "https://api.github.com/repos/octo-org/octo-repo/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/octo-org/octo-repo/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/octo-org/octo-repo/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/octo-org/octo-repo/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/octo-org/octo-repo/statuses/{sha}", - "languages_url": "https://api.github.com/repos/octo-org/octo-repo/languages", - "stargazers_url": "https://api.github.com/repos/octo-org/octo-repo/stargazers", - "contributors_url": "https://api.github.com/repos/octo-org/octo-repo/contributors", - "subscribers_url": "https://api.github.com/repos/octo-org/octo-repo/subscribers", - "subscription_url": "https://api.github.com/repos/octo-org/octo-repo/subscription", - "commits_url": "https://api.github.com/repos/octo-org/octo-repo/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/octo-org/octo-repo/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/octo-org/octo-repo/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/octo-org/octo-repo/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/octo-org/octo-repo/contents/{+path}", - "compare_url": "https://api.github.com/repos/octo-org/octo-repo/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/octo-org/octo-repo/merges", - "archive_url": "https://api.github.com/repos/octo-org/octo-repo/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/octo-org/octo-repo/downloads", - "issues_url": "https://api.github.com/repos/octo-org/octo-repo/issues{/number}", - "pulls_url": "https://api.github.com/repos/octo-org/octo-repo/pulls{/number}", - "milestones_url": "https://api.github.com/repos/octo-org/octo-repo/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octo-org/octo-repo/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/octo-org/octo-repo/labels{/name}", - "releases_url": "https://api.github.com/repos/octo-org/octo-repo/releases{/id}", - "deployments_url": "https://api.github.com/repos/octo-org/octo-repo/deployments" - } - } - ] - } - }, - "workflow-run": { - "value": { - "id": 30433642, - "name": "Build", - "node_id": "MDEyOldvcmtmbG93IFJ1bjI2OTI4OQ==", - "check_suite_id": 42, - "check_suite_node_id": "MDEwOkNoZWNrU3VpdGU0Mg==", - "head_branch": "main", - "head_sha": "acb5820ced9479c074f688cc328bf03f341a511d", - "path": ".github/workflows/build.yml@main", - "run_number": 562, - "event": "push", - "display_title": "Update README.md", - "status": "queued", - "conclusion": null, - "workflow_id": 159038, - "url": "https://api.github.com/repos/octo-org/octo-repo/actions/runs/30433642", - "html_url": "https://github.com/octo-org/octo-repo/actions/runs/30433642", - "pull_requests": [], - "created_at": "2020-01-22T19:33:08Z", - "updated_at": "2020-01-22T19:33:08Z", - "actor": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "run_attempt": 1, - "referenced_workflows": [ - { - "path": "octocat/Hello-World/.github/workflows/deploy.yml@main", - "sha": "86e8bc9ecf7d38b1ed2d2cfb8eb87ba9b35b01db", - "ref": "refs/heads/main" - }, - { - "path": "octo-org/octo-repo/.github/workflows/report.yml@v2", - "sha": "79e9790903e1c3373b1a3e3a941d57405478a232", - "ref": "refs/tags/v2" - }, - { - "path": "octo-org/octo-repo/.github/workflows/secure.yml@1595d4b6de6a9e9751fb270a41019ce507d4099e", - "sha": "1595d4b6de6a9e9751fb270a41019ce507d4099e" - } - ], - "run_started_at": "2020-01-22T19:33:08Z", - "triggering_actor": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "jobs_url": "https://api.github.com/repos/octo-org/octo-repo/actions/runs/30433642/jobs", - "logs_url": "https://api.github.com/repos/octo-org/octo-repo/actions/runs/30433642/logs", - "check_suite_url": "https://api.github.com/repos/octo-org/octo-repo/check-suites/414944374", - "artifacts_url": "https://api.github.com/repos/octo-org/octo-repo/actions/runs/30433642/artifacts", - "cancel_url": "https://api.github.com/repos/octo-org/octo-repo/actions/runs/30433642/cancel", - "rerun_url": "https://api.github.com/repos/octo-org/octo-repo/actions/runs/30433642/rerun", - "previous_attempt_url": "https://api.github.com/repos/octo-org/octo-repo/actions/runs/30433642/attempts/1", - "workflow_url": "https://api.github.com/repos/octo-org/octo-repo/actions/workflows/159038", - "head_commit": { - "id": "acb5820ced9479c074f688cc328bf03f341a511d", - "tree_id": "d23f6eedb1e1b9610bbc754ddb5197bfe7271223", - "message": "Create linter.yaml", - "timestamp": "2020-01-22T19:33:05Z", - "author": { "name": "Octo Cat", "email": "octocat@github.com" }, - "committer": { "name": "GitHub", "email": "noreply@github.com" } - }, - "repository": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "git_url": "git:github.com/octocat/Hello-World.git", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "ssh_url": "git@github.com:octocat/Hello-World.git", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks" - }, - "head_repository": { - "id": 217723378, - "node_id": "MDEwOlJlcG9zaXRvcnkyMTc3MjMzNzg=", - "name": "octo-repo", - "full_name": "octo-org/octo-repo", - "private": true, - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://github.com/octo-org/octo-repo", - "description": null, - "fork": false, - "url": "https://api.github.com/repos/octo-org/octo-repo", - "forks_url": "https://api.github.com/repos/octo-org/octo-repo/forks", - "keys_url": "https://api.github.com/repos/octo-org/octo-repo/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/octo-org/octo-repo/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/octo-org/octo-repo/teams", - "hooks_url": "https://api.github.com/repos/octo-org/octo-repo/hooks", - "issue_events_url": "https://api.github.com/repos/octo-org/octo-repo/issues/events{/number}", - "events_url": "https://api.github.com/repos/octo-org/octo-repo/events", - "assignees_url": "https://api.github.com/repos/octo-org/octo-repo/assignees{/user}", - "branches_url": "https://api.github.com/repos/octo-org/octo-repo/branches{/branch}", - "tags_url": "https://api.github.com/repos/octo-org/octo-repo/tags", - "blobs_url": "https://api.github.com/repos/octo-org/octo-repo/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/octo-org/octo-repo/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/octo-org/octo-repo/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/octo-org/octo-repo/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/octo-org/octo-repo/statuses/{sha}", - "languages_url": "https://api.github.com/repos/octo-org/octo-repo/languages", - "stargazers_url": "https://api.github.com/repos/octo-org/octo-repo/stargazers", - "contributors_url": "https://api.github.com/repos/octo-org/octo-repo/contributors", - "subscribers_url": "https://api.github.com/repos/octo-org/octo-repo/subscribers", - "subscription_url": "https://api.github.com/repos/octo-org/octo-repo/subscription", - "commits_url": "https://api.github.com/repos/octo-org/octo-repo/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/octo-org/octo-repo/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/octo-org/octo-repo/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/octo-org/octo-repo/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/octo-org/octo-repo/contents/{+path}", - "compare_url": "https://api.github.com/repos/octo-org/octo-repo/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/octo-org/octo-repo/merges", - "archive_url": "https://api.github.com/repos/octo-org/octo-repo/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/octo-org/octo-repo/downloads", - "issues_url": "https://api.github.com/repos/octo-org/octo-repo/issues{/number}", - "pulls_url": "https://api.github.com/repos/octo-org/octo-repo/pulls{/number}", - "milestones_url": "https://api.github.com/repos/octo-org/octo-repo/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octo-org/octo-repo/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/octo-org/octo-repo/labels{/name}", - "releases_url": "https://api.github.com/repos/octo-org/octo-repo/releases{/id}", - "deployments_url": "https://api.github.com/repos/octo-org/octo-repo/deployments" - } - } - }, - "environment-approvals-items": { - "value": [ - { - "state": "approved", - "comment": "Ship it!", - "environments": [ - { - "id": 161088068, - "node_id": "MDExOkVudmlyb25tZW50MTYxMDg4MDY4", - "name": "staging", - "url": "https://api.github.com/repos/github/hello-world/environments/staging", - "html_url": "https://github.com/github/hello-world/deployments/activity_log?environments_filter=staging", - "created_at": "2020-11-23T22:00:40Z", - "updated_at": "2020-11-23T22:00:40Z" - } - ], - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - ] - }, - "job-paginated": { - "value": { - "total_count": 1, - "jobs": [ - { - "id": 399444496, - "run_id": 29679449, - "run_url": "https://api.github.com/repos/octo-org/octo-repo/actions/runs/29679449", - "node_id": "MDEyOldvcmtmbG93IEpvYjM5OTQ0NDQ5Ng==", - "head_sha": "f83a356604ae3c5d03e1b46ef4d1ca77d64a90b0", - "url": "https://api.github.com/repos/octo-org/octo-repo/actions/jobs/399444496", - "html_url": "https://github.com/octo-org/octo-repo/runs/29679449/jobs/399444496", - "status": "completed", - "conclusion": "success", - "started_at": "2020-01-20T17:42:40Z", - "completed_at": "2020-01-20T17:44:39Z", - "name": "build", - "steps": [ - { - "name": "Set up job", - "status": "completed", - "conclusion": "success", - "number": 1, - "started_at": "2020-01-20T09:42:40.000-08:00", - "completed_at": "2020-01-20T09:42:41.000-08:00" - }, - { - "name": "Run actions/checkout@v2", - "status": "completed", - "conclusion": "success", - "number": 2, - "started_at": "2020-01-20T09:42:41.000-08:00", - "completed_at": "2020-01-20T09:42:45.000-08:00" - }, - { - "name": "Set up Ruby", - "status": "completed", - "conclusion": "success", - "number": 3, - "started_at": "2020-01-20T09:42:45.000-08:00", - "completed_at": "2020-01-20T09:42:45.000-08:00" - }, - { - "name": "Run actions/cache@v3", - "status": "completed", - "conclusion": "success", - "number": 4, - "started_at": "2020-01-20T09:42:45.000-08:00", - "completed_at": "2020-01-20T09:42:48.000-08:00" - }, - { - "name": "Install Bundler", - "status": "completed", - "conclusion": "success", - "number": 5, - "started_at": "2020-01-20T09:42:48.000-08:00", - "completed_at": "2020-01-20T09:42:52.000-08:00" - }, - { - "name": "Install Gems", - "status": "completed", - "conclusion": "success", - "number": 6, - "started_at": "2020-01-20T09:42:52.000-08:00", - "completed_at": "2020-01-20T09:42:53.000-08:00" - }, - { - "name": "Run Tests", - "status": "completed", - "conclusion": "success", - "number": 7, - "started_at": "2020-01-20T09:42:53.000-08:00", - "completed_at": "2020-01-20T09:42:59.000-08:00" - }, - { - "name": "Deploy to Heroku", - "status": "completed", - "conclusion": "success", - "number": 8, - "started_at": "2020-01-20T09:42:59.000-08:00", - "completed_at": "2020-01-20T09:44:39.000-08:00" - }, - { - "name": "Post actions/cache@v3", - "status": "completed", - "conclusion": "success", - "number": 16, - "started_at": "2020-01-20T09:44:39.000-08:00", - "completed_at": "2020-01-20T09:44:39.000-08:00" - }, - { - "name": "Complete job", - "status": "completed", - "conclusion": "success", - "number": 17, - "started_at": "2020-01-20T09:44:39.000-08:00", - "completed_at": "2020-01-20T09:44:39.000-08:00" - } - ], - "check_run_url": "https://api.github.com/repos/octo-org/octo-repo/check-runs/399444496", - "labels": ["self-hosted", "foo", "bar"], - "runner_id": 1, - "runner_name": "my runner", - "runner_group_id": 2, - "runner_group_name": "my runner group", - "workflow_name": "CI", - "head_branch": "main" - } - ] - } - }, - "pending-deployment-items": { - "value": [ - { - "environment": { - "id": 161088068, - "node_id": "MDExOkVudmlyb25tZW50MTYxMDg4MDY4", - "name": "staging", - "url": "https://api.github.com/repos/github/hello-world/environments/staging", - "html_url": "https://github.com/github/hello-world/deployments/activity_log?environments_filter=staging" - }, - "wait_timer": 30, - "wait_timer_started_at": "2020-11-23T22:00:40Z", - "current_user_can_approve": true, - "reviewers": [ - { - "type": "User", - "reviewer": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - }, - { - "type": "Team", - "reviewer": { - "id": 1, - "node_id": "MDQ6VGVhbTE=", - "url": "https://api.github.com/teams/1", - "html_url": "https://github.com/orgs/github/teams/justice-league", - "name": "Justice League", - "slug": "justice-league", - "description": "A great team.", - "privacy": "closed", - "notification_setting": "notifications_enabled", - "permission": "admin", - "members_url": "https://api.github.com/teams/1/members{/member}", - "repositories_url": "https://api.github.com/teams/1/repos", - "parent": null - } - } - ] - } - ] - }, - "deployment-items": { - "value": [ - { - "url": "https://api.github.com/repos/octocat/example/deployments/1", - "id": 1, - "node_id": "MDEwOkRlcGxveW1lbnQx", - "sha": "a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d", - "ref": "topic-branch", - "task": "deploy", - "payload": {}, - "original_environment": "staging", - "environment": "production", - "description": "Deploy request from hubot", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2012-07-20T01:19:13Z", - "updated_at": "2012-07-20T01:19:13Z", - "statuses_url": "https://api.github.com/repos/octocat/example/deployments/1/statuses", - "repository_url": "https://api.github.com/repos/octocat/example", - "transient_environment": false, - "production_environment": true - } - ] - }, - "actions-secret": { - "value": { - "name": "GH_TOKEN", - "created_at": "2019-08-10T14:59:22Z", - "updated_at": "2020-01-10T14:59:22Z" - } - }, - "actions-variable": { - "value": { - "name": "USERNAME", - "value": "octocat", - "created_at": "2021-08-10T14:59:22Z", - "updated_at": "2022-01-10T14:59:22Z" - } - }, - "workflow-paginated": { - "value": { - "total_count": 2, - "workflows": [ - { - "id": 161335, - "node_id": "MDg6V29ya2Zsb3cxNjEzMzU=", - "name": "CI", - "path": ".github/workflows/blank.yaml", - "state": "active", - "created_at": "2020-01-08T23:48:37.000-08:00", - "updated_at": "2020-01-08T23:50:21.000-08:00", - "url": "https://api.github.com/repos/octo-org/octo-repo/actions/workflows/161335", - "html_url": "https://github.com/octo-org/octo-repo/blob/master/.github/workflows/161335", - "badge_url": "https://github.com/octo-org/octo-repo/workflows/CI/badge.svg" - }, - { - "id": 269289, - "node_id": "MDE4OldvcmtmbG93IFNlY29uZGFyeTI2OTI4OQ==", - "name": "Linter", - "path": ".github/workflows/linter.yaml", - "state": "active", - "created_at": "2020-01-08T23:48:37.000-08:00", - "updated_at": "2020-01-08T23:50:21.000-08:00", - "url": "https://api.github.com/repos/octo-org/octo-repo/actions/workflows/269289", - "html_url": "https://github.com/octo-org/octo-repo/blob/master/.github/workflows/269289", - "badge_url": "https://github.com/octo-org/octo-repo/workflows/Linter/badge.svg" - } - ] - } - }, - "workflow": { - "value": { - "id": 161335, - "node_id": "MDg6V29ya2Zsb3cxNjEzMzU=", - "name": "CI", - "path": ".github/workflows/blank.yaml", - "state": "active", - "created_at": "2020-01-08T23:48:37.000-08:00", - "updated_at": "2020-01-08T23:50:21.000-08:00", - "url": "https://api.github.com/repos/octo-org/octo-repo/actions/workflows/161335", - "html_url": "https://github.com/octo-org/octo-repo/blob/master/.github/workflows/161335", - "badge_url": "https://github.com/octo-org/octo-repo/workflows/CI/badge.svg" - } - }, - "activity-items": { - "value": [ - { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "before": "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "after": "827efc6d56897b048c772eb4087f854f46256132", - "ref": "refs/heads/main", - "pushed_at": "2011-01-26T19:06:43Z", - "push_type": "normal", - "pusher": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - ] - }, - "autolink-items": { - "value": [ - { - "id": 1, - "key_prefix": "TICKET-", - "url_template": "https://example.com/TICKET?query=", - "is_alphanumeric": true - } - ] - }, - "autolink": { - "value": { - "id": 1, - "key_prefix": "TICKET-", - "url_template": "https://example.com/TICKET?query=", - "is_alphanumeric": true - } - }, - "short-branch-with-protection-items": { - "value": [ - { - "name": "master", - "commit": { - "sha": "c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc", - "url": "https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc" - }, - "protected": true, - "protection": { - "required_status_checks": { - "enforcement_level": "non_admins", - "contexts": ["ci-test", "linter"] - } - }, - "protection_url": "https://api.github.com/repos/octocat/hello-world/branches/master/protection" - } - ] - }, - "branch-get": { - "value": { - "name": "main", - "commit": { - "sha": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d", - "node_id": "MDY6Q29tbWl0MTI5NjI2OTo3ZmQxYTYwYjAxZjkxYjMxNGY1OTk1NWE0ZTRkNGU4MGQ4ZWRmMTFk", - "commit": { - "author": { - "name": "The Octocat", - "email": "octocat@nowhere.com", - "date": "2012-03-06T23:06:50Z" - }, - "committer": { - "name": "The Octocat", - "email": "octocat@nowhere.com", - "date": "2012-03-06T23:06:50Z" - }, - "message": "Merge pull request #6 from Spaceghost/patch-1\n\nNew line at end of file.", - "tree": { - "sha": "b4eecafa9be2f2006ce1b709d6857b07069b4608", - "url": "https://api.github.com/repos/octocat/Hello-World/git/trees/b4eecafa9be2f2006ce1b709d6857b07069b4608" - }, - "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d", - "comment_count": 77, - "verification": { "verified": false, "reason": "unsigned" } - }, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d", - "html_url": "https://github.com/octocat/Hello-World/commit/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d/comments", - "author": { - "login": "octocat", - "id": 583231, - "node_id": "MDQ6VXNlcjU4MzIzMQ==", - "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "committer": { - "login": "octocat", - "id": 583231, - "node_id": "MDQ6VXNlcjU4MzIzMQ==", - "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "parents": [ - { - "sha": "553c2077f0edc3d5dc5d17262f6aa498e69d6f8e", - "url": "https://api.github.com/repos/octocat/Hello-World/commits/553c2077f0edc3d5dc5d17262f6aa498e69d6f8e", - "html_url": "https://github.com/octocat/Hello-World/commit/553c2077f0edc3d5dc5d17262f6aa498e69d6f8e" - }, - { - "sha": "762941318ee16e59dabbacb1b4049eec22f0d303", - "url": "https://api.github.com/repos/octocat/Hello-World/commits/762941318ee16e59dabbacb1b4049eec22f0d303", - "html_url": "https://github.com/octocat/Hello-World/commit/762941318ee16e59dabbacb1b4049eec22f0d303" - } - ] - }, - "_links": { - "self": "https://api.github.com/repos/octocat/Hello-World/branches/main", - "html": "https://github.com/octocat/Hello-World/tree/main" - }, - "protected": false, - "protection": { - "enabled": false, - "required_status_checks": { - "enforcement_level": "off", - "contexts": [], - "checks": [] - } - }, - "protection_url": "https://api.github.com/repos/octocat/Hello-World/branches/main/protection" - } - }, - "branch-protection": { - "value": { - "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection", - "required_status_checks": { - "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks", - "contexts": ["continuous-integration/travis-ci"], - "contexts_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks/contexts", - "enforcement_level": "non_admins" - }, - "enforce_admins": { - "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins", - "enabled": true - }, - "required_pull_request_reviews": { - "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews", - "dismissal_restrictions": { - "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/dismissal_restrictions", - "users_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/dismissal_restrictions/users", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/dismissal_restrictions/teams", - "users": [ - { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - ], - "teams": [ - { - "id": 1, - "node_id": "MDQ6VGVhbTE=", - "url": "https://api.github.com/teams/1", - "html_url": "https://github.com/orgs/github/teams/justice-league", - "name": "Justice League", - "slug": "justice-league", - "description": "A great team.", - "privacy": "closed", - "notification_setting": "notifications_enabled", - "permission": "admin", - "members_url": "https://api.github.com/teams/1/members{/member}", - "repositories_url": "https://api.github.com/teams/1/repos", - "parent": null - } - ], - "apps": [ - { - "id": 1, - "slug": "octoapp", - "node_id": "MDExOkludGVncmF0aW9uMQ==", - "owner": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization" - }, - "name": "Octocat App", - "description": "", - "external_url": "https://example.com", - "html_url": "https://github.com/apps/octoapp", - "created_at": "2017-07-08T16:18:44-04:00", - "updated_at": "2017-07-08T16:18:44-04:00", - "permissions": { - "metadata": "read", - "contents": "read", - "issues": "write", - "single_file": "write" - }, - "events": ["push", "pull_request"] - } - ] - }, - "dismiss_stale_reviews": true, - "require_code_owner_reviews": true, - "required_approving_review_count": 2, - "require_last_push_approval": true - }, - "restrictions": { - "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions", - "users_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/users", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/teams", - "apps_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/apps", - "users": [ - { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - ], - "teams": [ - { - "id": 1, - "node_id": "MDQ6VGVhbTE=", - "url": "https://api.github.com/teams/1", - "html_url": "https://github.com/orgs/github/teams/justice-league", - "name": "Justice League", - "slug": "justice-league", - "description": "A great team.", - "privacy": "closed", - "notification_setting": "notifications_enabled", - "permission": "admin", - "members_url": "https://api.github.com/teams/1/members{/member}", - "repositories_url": "https://api.github.com/teams/1/repos", - "parent": null - } - ], - "apps": [ - { - "id": 1, - "slug": "octoapp", - "node_id": "MDExOkludGVncmF0aW9uMQ==", - "owner": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization" - }, - "name": "Octocat App", - "description": "", - "external_url": "https://example.com", - "html_url": "https://github.com/apps/octoapp", - "created_at": "2017-07-08T16:18:44-04:00", - "updated_at": "2017-07-08T16:18:44-04:00", - "permissions": { - "metadata": "read", - "contents": "read", - "issues": "write", - "single_file": "write" - }, - "events": ["push", "pull_request"] - } - ] - }, - "required_linear_history": { "enabled": true }, - "allow_force_pushes": { "enabled": true }, - "allow_deletions": { "enabled": true }, - "required_conversation_resolution": { "enabled": true }, - "lock_branch": { "enabled": true }, - "allow_fork_syncing": { "enabled": true } - } - }, - "branch-protection-update": { - "value": { - "url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection", - "required_status_checks": { - "url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_status_checks", - "strict": true, - "contexts": ["continuous-integration/travis-ci"], - "contexts_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_status_checks/contexts", - "checks": [ - { "context": "continuous-integration/travis-ci", "app_id": null } - ] - }, - "restrictions": { - "url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions", - "users_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/users", - "teams_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/teams", - "apps_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/apps", - "users": [], - "teams": [], - "apps": [] - }, - "required_pull_request_reviews": { - "url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_pull_request_reviews", - "dismiss_stale_reviews": true, - "require_code_owner_reviews": true, - "required_approving_review_count": 2, - "require_last_push_approval": true, - "dismissal_restrictions": { - "url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions", - "users_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions/users", - "teams_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions/teams", - "users": [], - "teams": [], - "apps": [] - } - }, - "required_signatures": { - "url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_signatures", - "enabled": false - }, - "enforce_admins": { - "url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/enforce_admins", - "enabled": true - }, - "required_linear_history": { "enabled": true }, - "allow_force_pushes": { "enabled": true }, - "allow_deletions": { "enabled": true }, - "block_creations": { "enabled": true }, - "required_conversation_resolution": { "enabled": true }, - "lock_branch": { "enabled": true }, - "allow_fork_syncing": { "enabled": true } - } - }, - "protected-branch-admin-enforced-2": { - "value": { - "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins", - "enabled": true - } - }, - "protected-branch-pull-request-review": { - "value": { - "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews", - "dismissal_restrictions": { - "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/dismissal_restrictions", - "users_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/dismissal_restrictions/users", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/dismissal_restrictions/teams", - "users": [ - { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - ], - "teams": [ - { - "id": 1, - "node_id": "MDQ6VGVhbTE=", - "url": "https://api.github.com/teams/1", - "html_url": "https://github.com/orgs/github/teams/justice-league", - "name": "Justice League", - "slug": "justice-league", - "description": "A great team.", - "privacy": "closed", - "notification_setting": "notifications_enabled", - "permission": "admin", - "members_url": "https://api.github.com/teams/1/members{/member}", - "repositories_url": "https://api.github.com/teams/1/repos", - "parent": null - } - ], - "apps": [ - { - "id": 1, - "slug": "octoapp", - "node_id": "MDExOkludGVncmF0aW9uMQ==", - "owner": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization" - }, - "name": "Octocat App", - "description": "", - "external_url": "https://example.com", - "html_url": "https://github.com/apps/octoapp", - "created_at": "2017-07-08T16:18:44-04:00", - "updated_at": "2017-07-08T16:18:44-04:00", - "permissions": { - "metadata": "read", - "contents": "read", - "issues": "write", - "single_file": "write" - }, - "events": ["push", "pull_request"] - } - ] - }, - "dismiss_stale_reviews": true, - "require_code_owner_reviews": true, - "required_approving_review_count": 2, - "require_last_push_approval": true - } - }, - "protected-branch-admin-enforced": { - "value": { - "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures", - "enabled": true - } - }, - "status-check-policy": { - "value": { - "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks", - "strict": true, - "contexts": ["continuous-integration/travis-ci"], - "contexts_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks/contexts" - } - }, - "branch-restriction-policy": { - "value": { - "url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions", - "users_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/users", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/teams", - "apps_url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/restrictions/apps", - "users": [ - { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - ], - "teams": [ - { - "id": 1, - "node_id": "MDQ6VGVhbTE=", - "url": "https://api.github.com/teams/1", - "html_url": "https://github.com/orgs/github/teams/justice-league", - "name": "Justice League", - "slug": "justice-league", - "description": "A great team.", - "privacy": "closed", - "notification_setting": "notifications_enabled", - "permission": "admin", - "members_url": "https://api.github.com/teams/1/members{/member}", - "repositories_url": "https://api.github.com/teams/1/repos", - "parent": null - } - ], - "apps": [ - { - "id": 1, - "slug": "octoapp", - "node_id": "MDExOkludGVncmF0aW9uMQ==", - "owner": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization" - }, - "name": "Octocat App", - "description": "", - "external_url": "https://example.com", - "html_url": "https://github.com/apps/octoapp", - "created_at": "2017-07-08T16:18:44-04:00", - "updated_at": "2017-07-08T16:18:44-04:00", - "permissions": { - "metadata": "read", - "contents": "read", - "issues": "write", - "single_file": "write" - }, - "events": ["push", "pull_request"] - } - ] - } - }, - "integration-items": { - "value": [ - { - "id": 1, - "slug": "octoapp", - "node_id": "MDExOkludGVncmF0aW9uMQ==", - "owner": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "name": "Octocat App", - "description": "", - "external_url": "https://example.com", - "html_url": "https://github.com/apps/octoapp", - "created_at": "2017-07-08T16:18:44-04:00", - "updated_at": "2017-07-08T16:18:44-04:00", - "permissions": { - "metadata": "read", - "contents": "read", - "issues": "write", - "single_file": "write" - }, - "events": ["push", "pull_request"] - } - ] - }, - "branch-with-protection": { - "value": { - "name": "master", - "commit": { - "sha": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d", - "node_id": "MDY6Q29tbWl0N2ZkMWE2MGIwMWY5MWIzMTRmNTk5NTVhNGU0ZDRlODBkOGVkZjExZA==", - "commit": { - "author": { - "name": "The Octocat", - "date": "2012-03-06T15:06:50-08:00", - "email": "octocat@nowhere.com" - }, - "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d", - "message": "Merge pull request #6 from Spaceghost/patch-1\n\nNew line at end of file.", - "tree": { - "sha": "b4eecafa9be2f2006ce1b709d6857b07069b4608", - "url": "https://api.github.com/repos/octocat/Hello-World/git/trees/b4eecafa9be2f2006ce1b709d6857b07069b4608" - }, - "committer": { - "name": "The Octocat", - "date": "2012-03-06T15:06:50-08:00", - "email": "octocat@nowhere.com" - }, - "verification": { "verified": false, "reason": "unsigned" }, - "comment_count": 0 - }, - "author": { - "gravatar_id": "", - "avatar_url": "https://secure.gravatar.com/avatar/7ad39074b0584bc555d0417ae3e7d974?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png", - "url": "https://api.github.com/users/octocat", - "id": 583231, - "login": "octocat", - "node_id": "MDQ6VXNlcjE=", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "parents": [ - { - "sha": "553c2077f0edc3d5dc5d17262f6aa498e69d6f8e", - "url": "https://api.github.com/repos/octocat/Hello-World/commits/553c2077f0edc3d5dc5d17262f6aa498e69d6f8e" - }, - { - "sha": "762941318ee16e59dabbacb1b4049eec22f0d303", - "url": "https://api.github.com/repos/octocat/Hello-World/commits/762941318ee16e59dabbacb1b4049eec22f0d303" - } - ], - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d", - "committer": { - "gravatar_id": "", - "avatar_url": "https://secure.gravatar.com/avatar/7ad39074b0584bc555d0417ae3e7d974?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png", - "url": "https://api.github.com/users/octocat", - "id": 583231, - "login": "octocat", - "node_id": "MDQ6VXNlcjE=", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "html_url": "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e/comments" - }, - "_links": { - "html": "https://github.com/octocat/Hello-World/tree/master", - "self": "https://api.github.com/repos/octocat/Hello-World/branches/master" - }, - "protected": true, - "protection": { - "required_status_checks": { - "enforcement_level": "non_admins", - "contexts": ["ci-test", "linter"] - } - }, - "protection_url": "https://api.github.com/repos/octocat/hello-world/branches/master/protection" - } - }, - "check-run-example-of-completed-conclusion": { - "summary": "Response for completed conclusion", - "value": { - "id": 4, - "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", - "node_id": "MDg6Q2hlY2tSdW40", - "external_id": "42", - "url": "https://api.github.com/repos/github/hello-world/check-runs/4", - "html_url": "https://github.com/github/hello-world/runs/4", - "details_url": "https://example.com", - "status": "completed", - "conclusion": "neutral", - "started_at": "2018-05-04T01:14:52Z", - "completed_at": "2018-05-04T01:14:52Z", - "output": { - "title": "Mighty Readme report", - "summary": "There are 0 failures, 2 warnings, and 1 notice.", - "text": "You may have some misspelled words on lines 2 and 4. You also may want to add a section in your README about how to install your app.", - "annotations_count": 2, - "annotations_url": "https://api.github.com/repos/github/hello-world/check-runs/4/annotations" - }, - "name": "mighty_readme", - "check_suite": { "id": 5 }, - "app": { - "id": 1, - "slug": "octoapp", - "node_id": "MDExOkludGVncmF0aW9uMQ==", - "owner": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "name": "Octocat App", - "description": "", - "external_url": "https://example.com", - "html_url": "https://github.com/apps/octoapp", - "created_at": "2017-07-08T16:18:44-04:00", - "updated_at": "2017-07-08T16:18:44-04:00", - "permissions": { - "metadata": "read", - "contents": "read", - "issues": "write", - "single_file": "write" - }, - "events": ["push", "pull_request"] - }, - "pull_requests": [ - { - "url": "https://api.github.com/repos/github/hello-world/pulls/1", - "id": 1934, - "number": 3956, - "head": { - "ref": "say-hello", - "sha": "3dca65fa3e8d4b3da3f3d056c59aee1c50f41390", - "repo": { - "id": 526, - "url": "https://api.github.com/repos/github/hello-world", - "name": "hello-world" - } - }, - "base": { - "ref": "master", - "sha": "e7fdf7640066d71ad16a86fbcbb9c6a10a18af4f", - "repo": { - "id": 526, - "url": "https://api.github.com/repos/github/hello-world", - "name": "hello-world" - } - } - } - ] - } - }, - "check-run-example-of-in-progress-conclusion": { - "summary": "Response for in_progress conclusion", - "value": { - "id": 4, - "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", - "node_id": "MDg6Q2hlY2tSdW40", - "external_id": "42", - "url": "https://api.github.com/repos/github/hello-world/check-runs/4", - "html_url": "https://github.com/github/hello-world/runs/4", - "details_url": "https://example.com", - "status": "in_progress", - "conclusion": null, - "started_at": "2018-05-04T01:14:52Z", - "completed_at": null, - "output": { - "title": "Mighty Readme report", - "summary": "There are 0 failures, 2 warnings, and 1 notice.", - "text": "You may have some misspelled words on lines 2 and 4. You also may want to add a section in your README about how to install your app.", - "annotations_count": 2, - "annotations_url": "https://api.github.com/repos/github/hello-world/check-runs/4/annotations" - }, - "name": "mighty_readme", - "check_suite": { "id": 5 }, - "app": { - "id": 1, - "slug": "octoapp", - "node_id": "MDExOkludGVncmF0aW9uMQ==", - "owner": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "name": "Octocat App", - "description": "", - "external_url": "https://example.com", - "html_url": "https://github.com/apps/octoapp", - "created_at": "2017-07-08T16:18:44-04:00", - "updated_at": "2017-07-08T16:18:44-04:00", - "permissions": { - "metadata": "read", - "contents": "read", - "issues": "write", - "single_file": "write" - }, - "events": ["push", "pull_request"] - }, - "pull_requests": [ - { - "url": "https://api.github.com/repos/github/hello-world/pulls/1", - "id": 1934, - "number": 3956, - "head": { - "ref": "say-hello", - "sha": "3dca65fa3e8d4b3da3f3d056c59aee1c50f41390", - "repo": { - "id": 526, - "url": "https://api.github.com/repos/github/hello-world", - "name": "hello-world" - } - }, - "base": { - "ref": "master", - "sha": "e7fdf7640066d71ad16a86fbcbb9c6a10a18af4f", - "repo": { - "id": 526, - "url": "https://api.github.com/repos/github/hello-world", - "name": "hello-world" - } - } - } - ] - } - }, - "check-run": { - "value": { - "id": 4, - "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", - "node_id": "MDg6Q2hlY2tSdW40", - "external_id": "", - "url": "https://api.github.com/repos/github/hello-world/check-runs/4", - "html_url": "https://github.com/github/hello-world/runs/4", - "details_url": "https://example.com", - "status": "completed", - "conclusion": "neutral", - "started_at": "2018-05-04T01:14:52Z", - "completed_at": "2018-05-04T01:14:52Z", - "output": { - "title": "Mighty Readme report", - "summary": "There are 0 failures, 2 warnings, and 1 notice.", - "text": "You may have some misspelled words on lines 2 and 4. You also may want to add a section in your README about how to install your app.", - "annotations_count": 2, - "annotations_url": "https://api.github.com/repos/github/hello-world/check-runs/4/annotations" - }, - "name": "mighty_readme", - "check_suite": { "id": 5 }, - "app": { - "id": 1, - "slug": "octoapp", - "node_id": "MDExOkludGVncmF0aW9uMQ==", - "owner": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "name": "Octocat App", - "description": "", - "external_url": "https://example.com", - "html_url": "https://github.com/apps/octoapp", - "created_at": "2017-07-08T16:18:44-04:00", - "updated_at": "2017-07-08T16:18:44-04:00", - "permissions": { - "metadata": "read", - "contents": "read", - "issues": "write", - "single_file": "write" - }, - "events": ["push", "pull_request"] - }, - "pull_requests": [ - { - "url": "https://api.github.com/repos/github/hello-world/pulls/1", - "id": 1934, - "number": 3956, - "head": { - "ref": "say-hello", - "sha": "3dca65fa3e8d4b3da3f3d056c59aee1c50f41390", - "repo": { - "id": 526, - "url": "https://api.github.com/repos/github/hello-world", - "name": "hello-world" - } - }, - "base": { - "ref": "master", - "sha": "e7fdf7640066d71ad16a86fbcbb9c6a10a18af4f", - "repo": { - "id": 526, - "url": "https://api.github.com/repos/github/hello-world", - "name": "hello-world" - } - } - } - ] - } - }, - "check-annotation-items": { - "value": [ - { - "path": "README.md", - "start_line": 2, - "end_line": 2, - "start_column": 5, - "end_column": 10, - "annotation_level": "warning", - "title": "Spell Checker", - "message": "Check your spelling for 'banaas'.", - "raw_details": "Do you mean 'bananas' or 'banana'?", - "blob_href": "https://api.github.com/repos/github/rest-api-description/git/blobs/abc" - } - ] - }, - "check-suite": { - "value": { - "id": 5, - "node_id": "MDEwOkNoZWNrU3VpdGU1", - "head_branch": "master", - "head_sha": "d6fde92930d4715a2b49857d24b940956b26d2d3", - "status": "completed", - "conclusion": "neutral", - "url": "https://api.github.com/repos/github/hello-world/check-suites/5", - "before": "146e867f55c26428e5f9fade55a9bbf5e95a7912", - "after": "d6fde92930d4715a2b49857d24b940956b26d2d3", - "pull_requests": [], - "created_at": "2017-07-08T16:18:44-04:00", - "updated_at": "2017-07-08T16:18:44-04:00", - "app": { - "id": 1, - "slug": "octoapp", - "node_id": "MDExOkludGVncmF0aW9uMQ==", - "owner": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "name": "Octocat App", - "description": "", - "external_url": "https://example.com", - "html_url": "https://github.com/apps/octoapp", - "created_at": "2017-07-08T16:18:44-04:00", - "updated_at": "2017-07-08T16:18:44-04:00", - "permissions": { - "metadata": "read", - "contents": "read", - "issues": "write", - "single_file": "write" - }, - "events": ["push", "pull_request"] - }, - "repository": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "template_repository": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World-Template", - "full_name": "octocat/Hello-World-Template", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World-Template", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World-Template", - "archive_url": "https://api.github.com/repos/octocat/Hello-World-Template/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World-Template/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World-Template/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World-Template/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World-Template/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World-Template/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World-Template/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World-Template/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World-Template/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World-Template/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World-Template/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World-Template/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World-Template/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/tags{/sha}", - "git_url": "git:github.com/octocat/Hello-World-Template.git", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World-Template/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World-Template/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World-Template/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World-Template/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World-Template/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World-Template/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World-Template/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World-Template/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World-Template/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World-Template/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World-Template/releases{/id}", - "ssh_url": "git@github.com:octocat/Hello-World-Template.git", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World-Template/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World-Template/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World-Template/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World-Template/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World-Template/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World-Template/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/trees{/sha}", - "clone_url": "https://github.com/octocat/Hello-World-Template.git", - "mirror_url": "git:git.example.com/octocat/Hello-World-Template", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World-Template/hooks", - "svn_url": "https://svn.github.com/octocat/Hello-World-Template", - "homepage": "https://github.com", - "language": null, - "forks": 9, - "forks_count": 9, - "stargazers_count": 80, - "watchers_count": 80, - "watchers": 80, - "size": 108, - "default_branch": "master", - "open_issues": 0, - "open_issues_count": 0, - "is_template": true, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://api.github.com/licenses/mit" - }, - "topics": ["octocat", "atom", "electron", "api"], - "has_issues": true, - "has_projects": true, - "has_wiki": true, - "has_pages": false, - "has_downloads": true, - "archived": false, - "disabled": false, - "visibility": "public", - "pushed_at": "2011-01-26T19:06:43Z", - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:14:43Z", - "permissions": { "admin": false, "push": false, "pull": true }, - "allow_rebase_merge": true, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "allow_squash_merge": true, - "allow_auto_merge": false, - "delete_branch_on_merge": true, - "allow_merge_commit": true, - "subscribers_count": 42, - "network_count": 0 - }, - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "git_url": "git:github.com/octocat/Hello-World.git", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "ssh_url": "git@github.com:octocat/Hello-World.git", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "clone_url": "https://github.com/octocat/Hello-World.git", - "mirror_url": "git:git.example.com/octocat/Hello-World", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", - "svn_url": "https://svn.github.com/octocat/Hello-World", - "homepage": "https://github.com", - "language": null, - "forks_count": 9, - "stargazers_count": 80, - "watchers_count": 80, - "size": 108, - "default_branch": "master", - "open_issues_count": 0, - "is_template": false, - "topics": ["octocat", "atom", "electron", "api"], - "has_issues": true, - "has_projects": true, - "has_wiki": true, - "has_pages": false, - "has_downloads": true, - "archived": false, - "disabled": false, - "visibility": "public", - "pushed_at": "2011-01-26T19:06:43Z", - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:14:43Z", - "permissions": { "admin": false, "push": false, "pull": true }, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "delete_branch_on_merge": true, - "subscribers_count": 42, - "network_count": 0 - }, - "head_commit": { - "id": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d", - "tree_id": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d", - "message": "Merge pull request #6 from Spaceghost/patch-1\n\nNew line at end of file.", - "timestamp": "2016-10-10T00:00:00Z", - "author": { "name": "The Octocat", "email": "octocat@nowhere.com" }, - "committer": { - "name": "The Octocat", - "email": "octocat@nowhere.com" - } - }, - "latest_check_runs_count": 1, - "check_runs_url": "https://api.github.com/repos/octocat/Hello-World/check-suites/5/check-runs" - } - }, - "check-suite-preference": { - "value": { - "preferences": { - "auto_trigger_checks": [ - { "app_id": 2, "setting": true }, - { "app_id": 4, "setting": false } - ] - }, - "repository": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "git_url": "git:github.com/octocat/Hello-World.git", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "ssh_url": "git@github.com:octocat/Hello-World.git", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "clone_url": "https://github.com/octocat/Hello-World.git", - "mirror_url": "git:git.example.com/octocat/Hello-World", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", - "svn_url": "https://svn.github.com/octocat/Hello-World", - "homepage": "https://github.com", - "language": null, - "forks_count": 9, - "stargazers_count": 80, - "watchers_count": 80, - "size": 108, - "default_branch": "master", - "open_issues_count": 0, - "is_template": false, - "topics": ["octocat", "atom", "electron", "api"], - "has_issues": true, - "has_projects": true, - "has_wiki": true, - "has_pages": false, - "has_downloads": true, - "archived": false, - "disabled": false, - "visibility": "public", - "pushed_at": "2011-01-26T19:06:43Z", - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:14:43Z", - "permissions": { "admin": false, "push": false, "pull": true }, - "template_repository": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World-Template", - "full_name": "octocat/Hello-World-Template", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World-Template", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World-Template", - "archive_url": "https://api.github.com/repos/octocat/Hello-World-Template/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World-Template/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World-Template/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World-Template/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World-Template/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World-Template/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World-Template/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World-Template/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World-Template/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World-Template/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World-Template/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World-Template/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World-Template/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/tags{/sha}", - "git_url": "git:github.com/octocat/Hello-World-Template.git", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World-Template/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World-Template/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World-Template/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World-Template/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World-Template/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World-Template/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World-Template/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World-Template/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World-Template/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World-Template/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World-Template/releases{/id}", - "ssh_url": "git@github.com:octocat/Hello-World-Template.git", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World-Template/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World-Template/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World-Template/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World-Template/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World-Template/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World-Template/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/trees{/sha}", - "clone_url": "https://github.com/octocat/Hello-World-Template.git", - "mirror_url": "git:git.example.com/octocat/Hello-World-Template", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World-Template/hooks", - "svn_url": "https://svn.github.com/octocat/Hello-World-Template", - "homepage": "https://github.com", - "language": null, - "forks": 9, - "forks_count": 9, - "stargazers_count": 80, - "watchers_count": 80, - "watchers": 80, - "size": 108, - "default_branch": "master", - "open_issues": 0, - "open_issues_count": 0, - "is_template": true, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://api.github.com/licenses/mit" - }, - "topics": ["octocat", "atom", "electron", "api"], - "has_issues": true, - "has_projects": true, - "has_wiki": true, - "has_pages": false, - "has_downloads": true, - "archived": false, - "disabled": false, - "visibility": "public", - "pushed_at": "2011-01-26T19:06:43Z", - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:14:43Z", - "permissions": { "admin": false, "push": false, "pull": true }, - "allow_rebase_merge": true, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "allow_squash_merge": true, - "allow_auto_merge": false, - "delete_branch_on_merge": true, - "allow_merge_commit": true, - "subscribers_count": 42, - "network_count": 0 - } - } - } - }, - "check-run-paginated": { - "value": { - "total_count": 1, - "check_runs": [ - { - "id": 4, - "head_sha": "ce587453ced02b1526dfb4cb910479d431683101", - "node_id": "MDg6Q2hlY2tSdW40", - "external_id": "", - "url": "https://api.github.com/repos/github/hello-world/check-runs/4", - "html_url": "https://github.com/github/hello-world/runs/4", - "details_url": "https://example.com", - "status": "completed", - "conclusion": "neutral", - "started_at": "2018-05-04T01:14:52Z", - "completed_at": "2018-05-04T01:14:52Z", - "output": { - "title": "Mighty Readme report", - "summary": "There are 0 failures, 2 warnings, and 1 notice.", - "text": "You may have some misspelled words on lines 2 and 4. You also may want to add a section in your README about how to install your app.", - "annotations_count": 2, - "annotations_url": "https://api.github.com/repos/github/hello-world/check-runs/4/annotations" - }, - "name": "mighty_readme", - "check_suite": { "id": 5 }, - "app": { - "id": 1, - "slug": "octoapp", - "node_id": "MDExOkludGVncmF0aW9uMQ==", - "owner": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "name": "Octocat App", - "description": "", - "external_url": "https://example.com", - "html_url": "https://github.com/apps/octoapp", - "created_at": "2017-07-08T16:18:44-04:00", - "updated_at": "2017-07-08T16:18:44-04:00", - "permissions": { - "metadata": "read", - "contents": "read", - "issues": "write", - "single_file": "write" - }, - "events": ["push", "pull_request"] - }, - "pull_requests": [ - { - "url": "https://api.github.com/repos/github/hello-world/pulls/1", - "id": 1934, - "number": 3956, - "head": { - "ref": "say-hello", - "sha": "3dca65fa3e8d4b3da3f3d056c59aee1c50f41390", - "repo": { - "id": 526, - "url": "https://api.github.com/repos/github/hello-world", - "name": "hello-world" - } - }, - "base": { - "ref": "master", - "sha": "e7fdf7640066d71ad16a86fbcbb9c6a10a18af4f", - "repo": { - "id": 526, - "url": "https://api.github.com/repos/github/hello-world", - "name": "hello-world" - } - } - } - ] - } - ] - } - }, - "code-scanning-alert-items": { - "value": [ - { - "number": 4, - "created_at": "2020-02-13T12:29:18Z", - "url": "https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/4", - "html_url": "https://github.com/octocat/hello-world/code-scanning/4", - "state": "open", - "fixed_at": null, - "dismissed_by": null, - "dismissed_at": null, - "dismissed_reason": null, - "dismissed_comment": null, - "rule": { - "id": "js/zipslip", - "severity": "error", - "tags": ["security", "external/cwe/cwe-022"], - "description": "Arbitrary file write during zip extraction", - "name": "js/zipslip" - }, - "tool": { "name": "CodeQL", "guid": null, "version": "2.4.0" }, - "most_recent_instance": { - "ref": "refs/heads/main", - "analysis_key": ".github/workflows/codeql-analysis.yml:CodeQL-Build", - "category": ".github/workflows/codeql-analysis.yml:CodeQL-Build", - "environment": "{}", - "state": "open", - "commit_sha": "39406e42cb832f683daa691dd652a8dc36ee8930", - "message": { - "text": "This path depends on a user-provided value." - }, - "location": { - "path": "spec-main/api-session-spec.ts", - "start_line": 917, - "end_line": 917, - "start_column": 7, - "end_column": 18 - }, - "classifications": ["test"] - }, - "instances_url": "https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/4/instances" - }, - { - "number": 3, - "created_at": "2020-02-13T12:29:18Z", - "url": "https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3", - "html_url": "https://github.com/octocat/hello-world/code-scanning/3", - "state": "dismissed", - "fixed_at": null, - "dismissed_by": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "dismissed_at": "2020-02-14T12:29:18Z", - "dismissed_reason": "false positive", - "dismissed_comment": "This alert is not actually correct, because there's a sanitizer included in the library.", - "rule": { - "id": "js/zipslip", - "severity": "error", - "tags": ["security", "external/cwe/cwe-022"], - "description": "Arbitrary file write during zip extraction", - "name": "js/zipslip" - }, - "tool": { "name": "CodeQL", "guid": null, "version": "2.4.0" }, - "most_recent_instance": { - "ref": "refs/heads/main", - "analysis_key": ".github/workflows/codeql-analysis.yml:CodeQL-Build", - "category": ".github/workflows/codeql-analysis.yml:CodeQL-Build", - "environment": "{}", - "state": "open", - "commit_sha": "39406e42cb832f683daa691dd652a8dc36ee8930", - "message": { - "text": "This path depends on a user-provided value." - }, - "location": { - "path": "lib/ab12-gen.js", - "start_line": 917, - "end_line": 917, - "start_column": 7, - "end_column": 18 - }, - "classifications": [] - }, - "instances_url": "https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances" - } - ] - }, - "code-scanning-alert": { - "value": { - "number": 42, - "created_at": "2020-06-19T11:21:34Z", - "url": "https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42", - "html_url": "https://github.com/octocat/hello-world/code-scanning/42", - "state": "dismissed", - "fixed_at": null, - "dismissed_by": { - "login": "octocat", - "id": 54933897, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "dismissed_at": "2020-02-14T12:29:18Z", - "dismissed_reason": "false positive", - "dismissed_comment": "This alert is not actually correct, because there's a sanitizer included in the library.", - "rule": { - "id": "js/zipslip", - "severity": "error", - "security_severity_level": "high", - "description": "Arbitrary file write during zip extraction (\"Zip Slip\")", - "name": "js/zipslip", - "full_description": "Extracting files from a malicious zip archive without validating that the destination file path is within the destination directory can cause files outside the destination directory to be overwritten.", - "tags": ["security", "external/cwe/cwe-022"], - "help": "# Arbitrary file write during zip extraction (\"Zip Slip\")\\nExtracting files from a malicious zip archive without validating that the destination file path is within the destination directory can cause files outside the destination directory to be overwritten ...", - "help_uri": "https://codeql.github.com/" - }, - "tool": { "name": "CodeQL", "guid": null, "version": "2.4.0" }, - "most_recent_instance": { - "ref": "refs/heads/main", - "analysis_key": ".github/workflows/codeql-analysis.yml:CodeQL-Build", - "category": ".github/workflows/codeql-analysis.yml:CodeQL-Build", - "environment": "{}", - "state": "dismissed", - "commit_sha": "39406e42cb832f683daa691dd652a8dc36ee8930", - "message": { - "text": "This path depends on a user-provided value." - }, - "location": { - "path": "spec-main/api-session-spec.ts", - "start_line": 917, - "end_line": 917, - "start_column": 7, - "end_column": 18 - }, - "classifications": ["test"] - }, - "instances_url": "https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances" - } - }, - "code-scanning-alert-dismissed": { - "value": { - "number": 42, - "created_at": "2020-08-25T21:28:36Z", - "url": "https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42", - "html_url": "https://github.com/octocat/hello-world/code-scanning/42", - "state": "dismissed", - "fixed_at": null, - "dismissed_by": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "dismissed_at": "2020-09-02T22:34:56Z", - "dismissed_reason": "false positive", - "dismissed_comment": "This alert is not actually correct, because there's a sanitizer included in the library.", - "rule": { - "id": "js/zipslip", - "severity": "error", - "security_severity_level": "high", - "description": "Arbitrary file write during zip extraction (\"Zip Slip\")", - "name": "js/zipslip", - "full_description": "Extracting files from a malicious zip archive without validating that the destination file path is within the destination directory can cause files outside the destination directory to be overwritten.", - "tags": ["security", "external/cwe/cwe-022"], - "help": "# Arbitrary file write during zip extraction (\"Zip Slip\")\\nExtracting files from a malicious zip archive without validating that the destination file path is within the destination directory can cause files outside the destination directory to be overwritten ...", - "help_uri": "https://codeql.github.com/" - }, - "tool": { "name": "CodeQL", "guid": null, "version": "2.4.0" }, - "most_recent_instance": { - "ref": "refs/heads/main", - "analysis_key": ".github/workflows/codeql-analysis.yml:CodeQL-Build", - "category": ".github/workflows/codeql-analysis.yml:CodeQL-Build", - "environment": "{}", - "state": "dismissed", - "commit_sha": "39406e42cb832f683daa691dd652a8dc36ee8930", - "message": { - "text": "This path depends on a user-provided value." - }, - "location": { - "path": "spec-main/api-session-spec.ts", - "start_line": 917, - "end_line": 917, - "start_column": 7, - "end_column": 18 - }, - "classifications": ["test"] - }, - "instances_url": "https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances" - } - }, - "code-scanning-alert-instances": { - "value": [ - { - "ref": "refs/heads/main", - "analysis_key": ".github/workflows/codeql-analysis.yml:CodeQL-Build", - "environment": "", - "category": ".github/workflows/codeql-analysis.yml:CodeQL-Build", - "state": "open", - "fixed_at": null, - "commit_sha": "39406e42cb832f683daa691dd652a8dc36ee8930", - "message": { - "text": "This path depends on a user-provided value." - }, - "location": { - "path": "lib/ab12-gen.js", - "start_line": 917, - "end_line": 917, - "start_column": 7, - "end_column": 18 - }, - "classifications": ["library"] - }, - { - "ref": "refs/pull/3740/merge", - "analysis_key": ".github/workflows/codeql-analysis.yml:CodeQL-Build", - "environment": "", - "category": ".github/workflows/codeql-analysis.yml:CodeQL-Build", - "state": "fixed", - "fixed_at": "2020-02-14T12:29:18Z", - "commit_sha": "b09da05606e27f463a2b49287684b4ae777092f2", - "message": { - "text": "This suffix check is missing a length comparison to correctly handle lastIndexOf returning -1." - }, - "location": { - "path": "app/script.js", - "start_line": 2, - "end_line": 2, - "start_column": 10, - "end_column": 50 - }, - "classifications": ["source"] - } - ] - }, - "code-scanning-analysis-items": { - "value": [ - { - "ref": "refs/heads/main", - "commit_sha": "d99612c3e1f2970085cfbaeadf8f010ef69bad83", - "analysis_key": ".github/workflows/codeql-analysis.yml:analyze", - "environment": "{\"language\":\"python\"}", - "error": "", - "category": ".github/workflows/codeql-analysis.yml:analyze/language:python", - "created_at": "2020-08-27T15:05:21Z", - "results_count": 17, - "rules_count": 49, - "id": 201, - "url": "https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/201", - "sarif_id": "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53", - "tool": { "name": "CodeQL", "guid": null, "version": "2.4.0" }, - "deletable": true, - "warning": "" - }, - { - "ref": "refs/heads/my-branch", - "commit_sha": "c8cff6510d4d084fb1b4aa13b64b97ca12b07321", - "analysis_key": ".github/workflows/shiftleft.yml:build", - "environment": "{}", - "error": "", - "category": ".github/workflows/shiftleft.yml:build/", - "created_at": "2020-08-31T22:46:44Z", - "results_count": 17, - "rules_count": 32, - "id": 200, - "url": "https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/200", - "sarif_id": "8981cd8e-b078-4ac3-a3be-1dad7dbd0b582", - "tool": { - "name": "Python Security Analysis", - "guid": null, - "version": "1.2.0" - }, - "deletable": true, - "warning": "" - } - ] - }, - "code-scanning-analysis-default": { - "summary": "application/json response", - "value": { - "ref": "refs/heads/main", - "commit_sha": "c18c69115654ff0166991962832dc2bd7756e655", - "analysis_key": ".github/workflows/codeql-analysis.yml:analyze", - "environment": "{\"language\":\"javascript\"}", - "error": "", - "category": ".github/workflows/codeql-analysis.yml:analyze/language:javascript", - "created_at": "2021-01-13T11:55:49Z", - "results_count": 3, - "rules_count": 67, - "id": 3602840, - "url": "https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/201", - "sarif_id": "47177e22-5596-11eb-80a1-c1e54ef945c6", - "tool": { "name": "CodeQL", "guid": null, "version": "2.4.0" }, - "deletable": true, - "warning": "" - } - }, - "code-scanning-analysis-sarif": { - "summary": "application/json+sarif response", - "value": { - "runs": [ - { - "tool": { - "driver": { - "name": "CodeQL", - "organization": "GitHub", - "semanticVersion": "1.0.0", - "rules": [ - { - "id": "js/unused-local-variable", - "name": "js/unused-local-variable" - } - ] - } - }, - "results": [ - { - "guid": "326aa09f-9af8-13cf-9851-3d0e5183ec38", - "message": { "text": "Unused variable foo." }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { "uri": "file1.js" }, - "region": { "startLine": 1 } - } - } - ], - "ruleId": "js/unused-local-variable", - "properties": [ - { "github/alertNumber": 2 }, - { - "github/alertUrl": "https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2" - } - ] - } - ] - } - ] - } - }, - "code-scanning-analysis-deletion": { - "summary": "Default response", - "value": { - "next_analysis_url": "https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41", - "confirm_delete_url": "https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete" - } - }, - "code-scanning-default-setup": { - "value": { - "state": "configured", - "languages": ["ruby", "python"], - "query_suite": "default", - "updated_at": "2023-01-19T11:21:34Z", - "schedule": "weekly" - } - }, - "code-scanning-default-setup-update": { - "value": { "state": "configured" } - }, - "code-scanning-default-setup-update-response": { - "value": { - "run_id": 42, - "run_url": "https://api.github.com/repos/octoorg/octocat/actions/runs/42" - } - }, - "code-scanning-sarif-upload": { - "summary": "Default response", - "value": { - "id": "47177e22-5596-11eb-80a1-c1e54ef945c6", - "url": "https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6" - } - }, - "code-scanning-sarif-upload-status": { - "summary": "Default response", - "value": { - "processing_status": "complete", - "analyses_url": "https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6" - } - }, - "codeowners-errors": { - "value": { - "errors": [ - { - "line": 3, - "column": 1, - "kind": "Invalid pattern", - "source": "***/*.rb @monalisa", - "suggestion": "Did you mean `**/*.rb`?", - "message": "Invalid pattern on line 3: Did you mean `**/*.rb`?\n\n ***/*.rb @monalisa\n ^", - "path": ".github/CODEOWNERS" - }, - { - "line": 7, - "column": 7, - "kind": "Invalid owner", - "source": "*.txt docs@", - "suggestion": null, - "message": "Invalid owner on line 7:\n\n *.txt docs@\n ^", - "path": ".github/CODEOWNERS" - } - ] - } - }, - "collaborator-items": { - "value": [ - { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false, - "permissions": { - "pull": true, - "triage": true, - "push": true, - "maintain": false, - "admin": false - }, - "role_name": "write" - } - ] - }, - "repository-collaborator-permission-response-if-user-has-admin-permissions": { - "value": { - "permission": "admin", - "role_name": "admin", - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - }, - "commit-comment-items": { - "value": [ - { - "html_url": "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1", - "url": "https://api.github.com/repos/octocat/Hello-World/comments/1", - "id": 1, - "node_id": "MDEzOkNvbW1pdENvbW1lbnQx", - "body": "Great stuff", - "path": "file1.txt", - "position": 4, - "line": 14, - "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-14T16:00:49Z", - "updated_at": "2011-04-14T16:00:49Z", - "author_association": "COLLABORATOR" - } - ] - }, - "commit-comment": { - "value": { - "html_url": "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1", - "url": "https://api.github.com/repos/octocat/Hello-World/comments/1", - "id": 1, - "node_id": "MDEzOkNvbW1pdENvbW1lbnQx", - "body": "Great stuff", - "path": "file1.txt", - "position": 4, - "line": 14, - "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "author_association": "COLLABORATOR", - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-14T16:00:49Z", - "updated_at": "2011-04-14T16:00:49Z" - } - }, - "commit-comment-2": { - "value": { - "html_url": "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1", - "url": "https://api.github.com/repos/octocat/Hello-World/comments/1", - "id": 1, - "node_id": "MDEzOkNvbW1pdENvbW1lbnQx", - "body": "Nice change", - "path": "file1.txt", - "position": 4, - "line": 14, - "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "author_association": "COLLABORATOR", - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-14T16:00:49Z", - "updated_at": "2011-04-14T16:00:49Z" - } - }, - "commit-items": { - "value": [ - { - "url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e", - "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "node_id": "MDY6Q29tbWl0NmRjYjA5YjViNTc4NzVmMzM0ZjYxYWViZWQ2OTVlMmU0MTkzZGI1ZQ==", - "html_url": "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e/comments", - "commit": { - "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e", - "author": { - "name": "Monalisa Octocat", - "email": "support@github.com", - "date": "2011-04-14T16:00:49Z" - }, - "committer": { - "name": "Monalisa Octocat", - "email": "support@github.com", - "date": "2011-04-14T16:00:49Z" - }, - "message": "Fix all the bugs", - "tree": { - "url": "https://api.github.com/repos/octocat/Hello-World/tree/6dcb09b5b57875f334f61aebed695e2e4193db5e", - "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" - }, - "comment_count": 0, - "verification": { - "verified": false, - "reason": "unsigned", - "signature": null, - "payload": null - } - }, - "author": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "committer": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "parents": [ - { - "url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e", - "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" - } - ] - } - ] - }, - "branch-short-items": { - "value": [ - { - "name": "branch_5", - "commit": { - "sha": "c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc", - "url": "https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc" - }, - "protected": false - } - ] - }, - "pull-request-simple-items": { - "value": [ - { - "url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347", - "id": 1, - "node_id": "MDExOlB1bGxSZXF1ZXN0MQ==", - "html_url": "https://github.com/octocat/Hello-World/pull/1347", - "diff_url": "https://github.com/octocat/Hello-World/pull/1347.diff", - "patch_url": "https://github.com/octocat/Hello-World/pull/1347.patch", - "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits", - "review_comments_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments", - "review_comment_url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e", - "number": 1347, - "state": "open", - "locked": true, - "title": "Amazing new feature", - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "body": "Please pull these awesome changes in!", - "labels": [ - { - "id": 208045946, - "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", - "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug", - "name": "bug", - "description": "Something isn't working", - "color": "f29513", - "default": true - } - ], - "milestone": { - "url": "https://api.github.com/repos/octocat/Hello-World/milestones/1", - "html_url": "https://github.com/octocat/Hello-World/milestones/v1.0", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels", - "id": 1002604, - "node_id": "MDk6TWlsZXN0b25lMTAwMjYwNA==", - "number": 1, - "state": "open", - "title": "v1.0", - "description": "Tracking milestone for version 1.0", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "open_issues": 4, - "closed_issues": 8, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z", - "closed_at": "2013-02-12T13:22:01Z", - "due_on": "2012-10-09T23:39:01Z" - }, - "active_lock_reason": "too heated", - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:01:12Z", - "closed_at": "2011-01-26T19:01:12Z", - "merged_at": "2011-01-26T19:01:12Z", - "merge_commit_sha": "e5bd3914e2e596debea16f433f57875b5b90bcd6", - "assignee": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [ - { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - { - "login": "hubot", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/hubot_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/hubot", - "html_url": "https://github.com/hubot", - "followers_url": "https://api.github.com/users/hubot/followers", - "following_url": "https://api.github.com/users/hubot/following{/other_user}", - "gists_url": "https://api.github.com/users/hubot/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hubot/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hubot/subscriptions", - "organizations_url": "https://api.github.com/users/hubot/orgs", - "repos_url": "https://api.github.com/users/hubot/repos", - "events_url": "https://api.github.com/users/hubot/events{/privacy}", - "received_events_url": "https://api.github.com/users/hubot/received_events", - "type": "User", - "site_admin": true - } - ], - "requested_reviewers": [ - { - "login": "other_user", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/other_user_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/other_user", - "html_url": "https://github.com/other_user", - "followers_url": "https://api.github.com/users/other_user/followers", - "following_url": "https://api.github.com/users/other_user/following{/other_user}", - "gists_url": "https://api.github.com/users/other_user/gists{/gist_id}", - "starred_url": "https://api.github.com/users/other_user/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/other_user/subscriptions", - "organizations_url": "https://api.github.com/users/other_user/orgs", - "repos_url": "https://api.github.com/users/other_user/repos", - "events_url": "https://api.github.com/users/other_user/events{/privacy}", - "received_events_url": "https://api.github.com/users/other_user/received_events", - "type": "User", - "site_admin": false - } - ], - "requested_teams": [ - { - "id": 1, - "node_id": "MDQ6VGVhbTE=", - "url": "https://api.github.com/teams/1", - "html_url": "https://github.com/orgs/github/teams/justice-league", - "name": "Justice League", - "slug": "justice-league", - "description": "A great team.", - "privacy": "closed", - "permission": "admin", - "notification_setting": "notifications_enabled", - "members_url": "https://api.github.com/teams/1/members{/member}", - "repositories_url": "https://api.github.com/teams/1/repos", - "parent": null - } - ], - "head": { - "label": "octocat:new-topic", - "ref": "new-topic", - "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "git_url": "git:github.com/octocat/Hello-World.git", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "ssh_url": "git@github.com:octocat/Hello-World.git", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "clone_url": "https://github.com/octocat/Hello-World.git", - "mirror_url": "git:git.example.com/octocat/Hello-World", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", - "svn_url": "https://svn.github.com/octocat/Hello-World", - "homepage": "https://github.com", - "language": null, - "forks_count": 9, - "stargazers_count": 80, - "watchers_count": 80, - "size": 108, - "default_branch": "master", - "open_issues_count": 0, - "is_template": true, - "topics": ["octocat", "atom", "electron", "api"], - "has_issues": true, - "has_projects": true, - "has_wiki": true, - "has_pages": false, - "has_downloads": true, - "archived": false, - "disabled": false, - "visibility": "public", - "pushed_at": "2011-01-26T19:06:43Z", - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:14:43Z", - "permissions": { "admin": false, "push": false, "pull": true }, - "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "allow_squash_merge": true, - "allow_auto_merge": false, - "delete_branch_on_merge": true, - "allow_merge_commit": true, - "subscribers_count": 42, - "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 - } - }, - "base": { - "label": "octocat:master", - "ref": "master", - "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "git_url": "git:github.com/octocat/Hello-World.git", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "ssh_url": "git@github.com:octocat/Hello-World.git", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "clone_url": "https://github.com/octocat/Hello-World.git", - "mirror_url": "git:git.example.com/octocat/Hello-World", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", - "svn_url": "https://svn.github.com/octocat/Hello-World", - "homepage": "https://github.com", - "language": null, - "forks_count": 9, - "stargazers_count": 80, - "watchers_count": 80, - "size": 108, - "default_branch": "master", - "open_issues_count": 0, - "is_template": true, - "topics": ["octocat", "atom", "electron", "api"], - "has_issues": true, - "has_projects": true, - "has_wiki": true, - "has_pages": false, - "has_downloads": true, - "archived": false, - "disabled": false, - "visibility": "public", - "pushed_at": "2011-01-26T19:06:43Z", - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:14:43Z", - "permissions": { "admin": false, "push": false, "pull": true }, - "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "allow_squash_merge": true, - "allow_auto_merge": false, - "delete_branch_on_merge": true, - "allow_merge_commit": true, - "subscribers_count": 42, - "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 - } - }, - "_links": { - "self": { - "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347" - }, - "html": { - "href": "https://github.com/octocat/Hello-World/pull/1347" - }, - "issue": { - "href": "https://api.github.com/repos/octocat/Hello-World/issues/1347" - }, - "comments": { - "href": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments" - }, - "review_comments": { - "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments" - }, - "review_comment": { - "href": "https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}" - }, - "commits": { - "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits" - }, - "statuses": { - "href": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e" - } - }, - "author_association": "OWNER", - "auto_merge": null, - "draft": false - } - ] - }, - "commit": { - "value": { - "url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e", - "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "node_id": "MDY6Q29tbWl0NmRjYjA5YjViNTc4NzVmMzM0ZjYxYWViZWQ2OTVlMmU0MTkzZGI1ZQ==", - "html_url": "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e/comments", - "commit": { - "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e", - "author": { - "name": "Monalisa Octocat", - "email": "mona@github.com", - "date": "2011-04-14T16:00:49Z" - }, - "committer": { - "name": "Monalisa Octocat", - "email": "mona@github.com", - "date": "2011-04-14T16:00:49Z" - }, - "message": "Fix all the bugs", - "tree": { - "url": "https://api.github.com/repos/octocat/Hello-World/tree/6dcb09b5b57875f334f61aebed695e2e4193db5e", - "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" - }, - "comment_count": 0, - "verification": { "verified": false, "reason": "unsigned" } - }, - "author": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "committer": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "parents": [ - { - "url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e", - "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" - } - ], - "stats": { "additions": 104, "deletions": 4, "total": 108 }, - "files": [ - { - "filename": "file1.txt", - "additions": 10, - "deletions": 2, - "changes": 12, - "status": "modified", - "raw_url": "https://github.com/octocat/Hello-World/raw/7ca483543807a51b6079e54ac4cc392bc29ae284/file1.txt", - "blob_url": "https://github.com/octocat/Hello-World/blob/7ca483543807a51b6079e54ac4cc392bc29ae284/file1.txt", - "patch": "@@ -29,7 +29,7 @@\n....." - } - ] - } - }, - "check-suite-paginated": { - "value": { - "total_count": 1, - "check_suites": [ - { - "id": 5, - "node_id": "MDEwOkNoZWNrU3VpdGU1", - "head_branch": "master", - "head_sha": "d6fde92930d4715a2b49857d24b940956b26d2d3", - "status": "completed", - "conclusion": "neutral", - "url": "https://api.github.com/repos/github/hello-world/check-suites/5", - "before": "146e867f55c26428e5f9fade55a9bbf5e95a7912", - "after": "d6fde92930d4715a2b49857d24b940956b26d2d3", - "pull_requests": [], - "app": { - "id": 1, - "slug": "octoapp", - "node_id": "MDExOkludGVncmF0aW9uMQ==", - "owner": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "name": "Octocat App", - "description": "", - "external_url": "https://example.com", - "html_url": "https://github.com/apps/octoapp", - "created_at": "2017-07-08T16:18:44-04:00", - "updated_at": "2017-07-08T16:18:44-04:00", - "permissions": { - "metadata": "read", - "contents": "read", - "issues": "write", - "single_file": "write" - }, - "events": ["push", "pull_request"] - }, - "repository": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "git_url": "git:github.com/octocat/Hello-World.git", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "ssh_url": "git@github.com:octocat/Hello-World.git", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "clone_url": "https://github.com/octocat/Hello-World.git", - "mirror_url": "git:git.example.com/octocat/Hello-World", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", - "svn_url": "https://svn.github.com/octocat/Hello-World", - "homepage": "https://github.com", - "language": null, - "forks_count": 9, - "stargazers_count": 80, - "watchers_count": 80, - "size": 108, - "default_branch": "master", - "open_issues_count": 0, - "is_template": true, - "topics": ["octocat", "atom", "electron", "api"], - "has_issues": true, - "has_projects": true, - "has_wiki": true, - "has_pages": false, - "has_downloads": true, - "archived": false, - "disabled": false, - "visibility": "public", - "pushed_at": "2011-01-26T19:06:43Z", - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:14:43Z", - "permissions": { "admin": false, "push": false, "pull": true }, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "delete_branch_on_merge": true, - "subscribers_count": 42, - "network_count": 0 - }, - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:14:43Z", - "head_commit": { - "id": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d", - "tree_id": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d", - "message": "Merge pull request #6 from Spaceghost/patch-1\n\nNew line at end of file.", - "timestamp": "2016-10-10T00:00:00Z", - "author": { - "name": "The Octocat", - "email": "octocat@nowhere.com" - }, - "committer": { - "name": "The Octocat", - "email": "octocat@nowhere.com" - } - }, - "latest_check_runs_count": 1, - "check_runs_url": "https://api.github.com/repos/octocat/Hello-World/check-suites/5/check-runs" - } - ] - } - }, - "combined-commit-status": { - "value": { - "state": "success", - "statuses": [ - { - "url": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e", - "avatar_url": "https://github.com/images/error/hubot_happy.gif", - "id": 1, - "node_id": "MDY6U3RhdHVzMQ==", - "state": "success", - "description": "Build has completed successfully", - "target_url": "https://ci.example.com/1000/output", - "context": "continuous-integration/jenkins", - "created_at": "2012-07-20T01:19:13Z", - "updated_at": "2012-07-20T01:19:13Z" - }, - { - "url": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e", - "avatar_url": "https://github.com/images/error/other_user_happy.gif", - "id": 2, - "node_id": "MDY6U3RhdHVzMg==", - "state": "success", - "description": "Testing has completed successfully", - "target_url": "https://ci.example.com/2000/output", - "context": "security/brakeman", - "created_at": "2012-08-20T01:19:13Z", - "updated_at": "2012-08-20T01:19:13Z" - } - ], - "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "total_count": 2, - "repository": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "git_url": "git:github.com/octocat/Hello-World.git", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "ssh_url": "git@github.com:octocat/Hello-World.git", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks" - }, - "commit_url": "https://api.github.com/repos/octocat/Hello-World/6dcb09b5b57875f334f61aebed695e2e4193db5e", - "url": "https://api.github.com/repos/octocat/Hello-World/6dcb09b5b57875f334f61aebed695e2e4193db5e/status" - } - }, - "status-items": { - "value": [ - { - "url": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e", - "avatar_url": "https://github.com/images/error/hubot_happy.gif", - "id": 1, - "node_id": "MDY6U3RhdHVzMQ==", - "state": "success", - "description": "Build has completed successfully", - "target_url": "https://ci.example.com/1000/output", - "context": "continuous-integration/jenkins", - "created_at": "2012-07-20T01:19:13Z", - "updated_at": "2012-07-20T01:19:13Z", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - ] - }, - "commit-comparison": { - "value": { - "url": "https://api.github.com/repos/octocat/Hello-World/compare/master...topic", - "html_url": "https://github.com/octocat/Hello-World/compare/master...topic", - "permalink_url": "https://github.com/octocat/Hello-World/compare/octocat:bbcd538c8e72b8c175046e27cc8f907076331401...octocat:0328041d1152db8ae77652d1618a02e57f745f17", - "diff_url": "https://github.com/octocat/Hello-World/compare/master...topic.diff", - "patch_url": "https://github.com/octocat/Hello-World/compare/master...topic.patch", - "base_commit": { - "url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e", - "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "node_id": "MDY6Q29tbWl0NmRjYjA5YjViNTc4NzVmMzM0ZjYxYWViZWQ2OTVlMmU0MTkzZGI1ZQ==", - "html_url": "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e/comments", - "commit": { - "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e", - "author": { - "name": "Monalisa Octocat", - "email": "mona@github.com", - "date": "2011-04-14T16:00:49Z" - }, - "committer": { - "name": "Monalisa Octocat", - "email": "mona@github.com", - "date": "2011-04-14T16:00:49Z" - }, - "message": "Fix all the bugs", - "tree": { - "url": "https://api.github.com/repos/octocat/Hello-World/tree/6dcb09b5b57875f334f61aebed695e2e4193db5e", - "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" - }, - "comment_count": 0, - "verification": { "verified": false, "reason": "unsigned" } - }, - "author": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "committer": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "parents": [ - { - "url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e", - "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" - } - ] - }, - "merge_base_commit": { - "url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e", - "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "node_id": "MDY6Q29tbWl0NmRjYjA5YjViNTc4NzVmMzM0ZjYxYWViZWQ2OTVlMmU0MTkzZGI1ZQ==", - "html_url": "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e/comments", - "commit": { - "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e", - "author": { - "name": "Monalisa Octocat", - "email": "mona@github.com", - "date": "2011-04-14T16:00:49Z" - }, - "committer": { - "name": "Monalisa Octocat", - "email": "mona@github.com", - "date": "2011-04-14T16:00:49Z" - }, - "message": "Fix all the bugs", - "tree": { - "url": "https://api.github.com/repos/octocat/Hello-World/tree/6dcb09b5b57875f334f61aebed695e2e4193db5e", - "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" - }, - "comment_count": 0, - "verification": { "verified": false, "reason": "unsigned" } - }, - "author": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "committer": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "parents": [ - { - "url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e", - "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" - } - ] - }, - "status": "behind", - "ahead_by": 1, - "behind_by": 2, - "total_commits": 1, - "commits": [ - { - "url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e", - "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "node_id": "MDY6Q29tbWl0NmRjYjA5YjViNTc4NzVmMzM0ZjYxYWViZWQ2OTVlMmU0MTkzZGI1ZQ==", - "html_url": "https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e/comments", - "commit": { - "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e", - "author": { - "name": "Monalisa Octocat", - "email": "mona@github.com", - "date": "2011-04-14T16:00:49Z" - }, - "committer": { - "name": "Monalisa Octocat", - "email": "mona@github.com", - "date": "2011-04-14T16:00:49Z" - }, - "message": "Fix all the bugs", - "tree": { - "url": "https://api.github.com/repos/octocat/Hello-World/tree/6dcb09b5b57875f334f61aebed695e2e4193db5e", - "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" - }, - "comment_count": 0, - "verification": { - "verified": false, - "reason": "unsigned", - "signature": null, - "payload": null - } - }, - "author": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "committer": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "parents": [ - { - "url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e", - "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e" - } - ] - } - ], - "files": [ - { - "sha": "bbcd538c8e72b8c175046e27cc8f907076331401", - "filename": "file1.txt", - "status": "added", - "additions": 103, - "deletions": 21, - "changes": 124, - "blob_url": "https://github.com/octocat/Hello-World/blob/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt", - "raw_url": "https://github.com/octocat/Hello-World/raw/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/file1.txt?ref=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "patch": "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" - } - ] - } - }, - "content-file-response-if-content-is-a-file": { - "summary": "Response if content is a file", - "value": { - "type": "file", - "encoding": "base64", - "size": 5362, - "name": "README.md", - "path": "README.md", - "content": "IyBZb2dhIEJvmsgaW4gcHJvZ3Jlc3MhIEZlZWwgdAoKOndhcm5pbmc6IFdvc\\nZnJlZSBmUgdG8gY0byBjaGVjayBvdXQgdGhlIGFwcCwgYnV0IGJlIHN1c29t\\nZSBiYWNrIG9uY2UgaXQgaXMgY29tcGxldGUuCgpBIHdlYiBhcHAgdGhhdCBs\\nZWFkcyB5b3UgdGhyb3VnaCBhIHlvZ2Egc2Vzc2lvbi4KCltXb3Jrb3V0IG5v\\ndyFdKGh0dHBzOi8vc2tlZHdhcmRzODguZ2l0aHViLmlvL3lvZ2EvKQoKPGlt\\nZyBzcmM9InNyYy9pbWFnZXMvbWFza2FibGVfaWNvbl81MTIucG5nIiBhbHQ9\\nImJvdCBsaWZ0aW5nIHdlaWdodHMiIHdpZHRoPSIxMDAiLz4KCkRvIHlvdSBo\\nYXZlIGZlZWRiYWNrIG9yIGlkZWFzIGZvciBpbXByb3ZlbWVudD8gW09wZW4g\\nYW4gaXNzdWVdKGh0dHBzOi8vZ2l0aHViLmNvbS9za2Vkd2FyZHM4OC95b2dh\\nL2lzc3Vlcy9uZXcpLgoKV2FudCBtb3JlIGdhbWVzPyBWaXNpdCBbQ25TIEdh\\nbWVzXShodHRwczovL3NrZWR3YXJkczg4LmdpdGh1Yi5pby9wb3J0Zm9saW8v\\nKS4KCiMjIERldmVsb3BtZW50CgpUbyBhZGQgYSBuZXcgcG9zZSwgYWRkIGFu\\nIGVudHJ5IHRvIHRoZSByZWxldmFudCBmaWxlIGluIGBzcmMvYXNhbmFzYC4K\\nClRvIGJ1aWxkLCBydW4gYG5wbSBydW4gYnVpbGRgLgoKVG8gcnVuIGxvY2Fs\\nbHkgd2l0aCBsaXZlIHJlbG9hZGluZyBhbmQgbm8gc2VydmljZSB3b3JrZXIs\\nIHJ1biBgbnBtIHJ1biBkZXZgLiAoSWYgYSBzZXJ2aWNlIHdvcmtlciB3YXMg\\ncHJldmlvdXNseSByZWdpc3RlcmVkLCB5b3UgY2FuIHVucmVnaXN0ZXIgaXQg\\naW4gY2hyb21lIGRldmVsb3BlciB0b29sczogYEFwcGxpY2F0aW9uYCA+IGBT\\nZXJ2aWNlIHdvcmtlcnNgID4gYFVucmVnaXN0ZXJgLikKClRvIHJ1biBsb2Nh\\nbGx5IGFuZCByZWdpc3RlciB0aGUgc2VydmljZSB3b3JrZXIsIHJ1biBgbnBt\\nIHN0YXJ0YC4KClRvIGRlcGxveSwgcHVzaCB0byBgbWFpbmAgb3IgbWFudWFs\\nbHkgdHJpZ2dlciB0aGUgYC5naXRodWIvd29ya2Zsb3dzL2RlcGxveS55bWxg\\nIHdvcmtmbG93Lgo=\\n", - "sha": "3d21ec53a331a6f037a91c368710b99387d012c1", - "url": "https://api.github.com/repos/octokit/octokit.rb/contents/README.md", - "git_url": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1", - "html_url": "https://github.com/octokit/octokit.rb/blob/master/README.md", - "download_url": "https://raw.githubusercontent.com/octokit/octokit.rb/master/README.md", - "_links": { - "git": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1", - "self": "https://api.github.com/repos/octokit/octokit.rb/contents/README.md", - "html": "https://github.com/octokit/octokit.rb/blob/master/README.md" - } - } - }, - "content-file-response-if-content-is-a-directory-object": { - "summary": "Response if content is a directory and the application/vnd.github.v3.object media type is requested", - "value": { - "type": "dir", - "size": 0, - "name": "src", - "path": "src", - "sha": "2962be1c94eaae9794b3080790ec9d74b2fa8358", - "url": "https://api.github.com/repos/octocat/octorepo/contents/src?ref=main", - "git_url": "https://api.github.com/repos/octocat/octorepo/git/blobs/fff6fe3a23bf1c8ea0692b4a883af99bee26fd3b", - "html_url": "https://github.com/octocat/octorepo/blob/main/src", - "download_url": "https://raw.githubusercontent.com/octocat/octorepo/main/src", - "_links": { - "self": "https://api.github.com/repos/octocat/octorepo/contents/src", - "git": "https://api.github.com/repos/octocat/octorepo/git/blobs/fff6fe3a23bf1c8ea0692b4a883af99bee26fd3b", - "html": "https://github.com/octocat/octorepo/blob/main/src" - }, - "entries": [ - { - "type": "file", - "size": 625, - "name": "app.js", - "path": "src/app.js", - "sha": "fff6fe3a23bf1c8ea0692b4a883af99bee26fd3b", - "url": "https://api.github.com/repos/octocat/octorepo/contents/src/app.js", - "git_url": "https://api.github.com/repos/octocat/octorepo/git/blobs/fff6fe3a23bf1c8ea0692b4a883af99bee26fd3b", - "html_url": "https://github.com/octocat/octorepo/blob/main/src/app.js", - "download_url": "https://raw.githubusercontent.com/octocat/octorepo/main/src/app.js", - "_links": { - "self": "https://api.github.com/repos/octocat/octorepo/contents/src/app.js", - "git": "https://api.github.com/repos/octocat/octorepo/git/blobs/fff6fe3a23bf1c8ea0692b4a883af99bee26fd3b", - "html": "https://github.com/octocat/octorepo/blob/main/src/app.js" - } - }, - { - "type": "dir", - "size": 0, - "name": "images", - "path": "src/images", - "sha": "a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d", - "url": "https://api.github.com/repos/octocat/octorepo/contents/src/images", - "git_url": "https://api.github.com/repos/octocat/octorepo/git/trees/a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d", - "html_url": "https://github.com/octocat/octorepo/tree/main/src/images", - "download_url": null, - "_links": { - "self": "https://api.github.com/repos/octocat/octorepo/contents/src/images", - "git": "https://api.github.com/repos/octocat/octorepo/git/trees/a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d", - "html": "https://github.com/octocat/octorepo/tree/main/src/images" - } - } - ] - } - }, - "content-file-response-if-content-is-a-directory": { - "summary": "Response if content is a directory and the application/json media type is requested", - "value": [ - { - "type": "file", - "size": 625, - "name": "octokit.rb", - "path": "lib/octokit.rb", - "sha": "fff6fe3a23bf1c8ea0692b4a883af99bee26fd3b", - "url": "https://api.github.com/repos/octokit/octokit.rb/contents/lib/octokit.rb", - "git_url": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/fff6fe3a23bf1c8ea0692b4a883af99bee26fd3b", - "html_url": "https://github.com/octokit/octokit.rb/blob/master/lib/octokit.rb", - "download_url": "https://raw.githubusercontent.com/octokit/octokit.rb/master/lib/octokit.rb", - "_links": { - "self": "https://api.github.com/repos/octokit/octokit.rb/contents/lib/octokit.rb", - "git": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/fff6fe3a23bf1c8ea0692b4a883af99bee26fd3b", - "html": "https://github.com/octokit/octokit.rb/blob/master/lib/octokit.rb" - } - }, - { - "type": "dir", - "size": 0, - "name": "octokit", - "path": "lib/octokit", - "sha": "a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d", - "url": "https://api.github.com/repos/octokit/octokit.rb/contents/lib/octokit", - "git_url": "https://api.github.com/repos/octokit/octokit.rb/git/trees/a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d", - "html_url": "https://github.com/octokit/octokit.rb/tree/master/lib/octokit", - "download_url": null, - "_links": { - "self": "https://api.github.com/repos/octokit/octokit.rb/contents/lib/octokit", - "git": "https://api.github.com/repos/octokit/octokit.rb/git/trees/a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d", - "html": "https://github.com/octokit/octokit.rb/tree/master/lib/octokit" - } - } - ] - }, - "content-file-response-if-content-is-a-symlink": { - "summary": "Response if content is a symlink and the application/json media type is requested", - "value": { - "type": "symlink", - "target": "/path/to/symlink/target", - "size": 23, - "name": "some-symlink", - "path": "bin/some-symlink", - "sha": "452a98979c88e093d682cab404a3ec82babebb48", - "url": "https://api.github.com/repos/octokit/octokit.rb/contents/bin/some-symlink", - "git_url": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/452a98979c88e093d682cab404a3ec82babebb48", - "html_url": "https://github.com/octokit/octokit.rb/blob/master/bin/some-symlink", - "download_url": "https://raw.githubusercontent.com/octokit/octokit.rb/master/bin/some-symlink", - "_links": { - "git": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/452a98979c88e093d682cab404a3ec82babebb48", - "self": "https://api.github.com/repos/octokit/octokit.rb/contents/bin/some-symlink", - "html": "https://github.com/octokit/octokit.rb/blob/master/bin/some-symlink" - } - } - }, - "content-file-response-if-content-is-a-submodule": { - "summary": "Response if content is a submodule and the application/json media type is requested", - "value": { - "type": "submodule", - "submodule_git_url": "git://github.com/jquery/qunit.git", - "size": 0, - "name": "qunit", - "path": "test/qunit", - "sha": "6ca3721222109997540bd6d9ccd396902e0ad2f9", - "url": "https://api.github.com/repos/jquery/jquery/contents/test/qunit?ref=master", - "git_url": "https://api.github.com/repos/jquery/qunit/git/trees/6ca3721222109997540bd6d9ccd396902e0ad2f9", - "html_url": "https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9", - "download_url": null, - "_links": { - "git": "https://api.github.com/repos/jquery/qunit/git/trees/6ca3721222109997540bd6d9ccd396902e0ad2f9", - "self": "https://api.github.com/repos/jquery/jquery/contents/test/qunit?ref=master", - "html": "https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9" - } - } - }, - "file-commit-example-for-updating-a-file": { - "value": { - "content": { - "name": "hello.txt", - "path": "notes/hello.txt", - "sha": "a56507ed892d05a37c6d6128c260937ea4d287bd", - "size": 9, - "url": "https://api.github.com/repos/octocat/Hello-World/contents/notes/hello.txt", - "html_url": "https://github.com/octocat/Hello-World/blob/master/notes/hello.txt", - "git_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/a56507ed892d05a37c6d6128c260937ea4d287bd", - "download_url": "https://raw.githubusercontent.com/octocat/HelloWorld/master/notes/hello.txt", - "type": "file", - "_links": { - "self": "https://api.github.com/repos/octocat/Hello-World/contents/notes/hello.txt", - "git": "https://api.github.com/repos/octocat/Hello-World/git/blobs/a56507ed892d05a37c6d6128c260937ea4d287bd", - "html": "https://github.com/octocat/Hello-World/blob/master/notes/hello.txt" - } - }, - "commit": { - "sha": "18a43cd8e1e3a79c786e3d808a73d23b6d212b16", - "node_id": "MDY6Q29tbWl0MThhNDNjZDhlMWUzYTc5Yzc4NmUzZDgwOGE3M2QyM2I2ZDIxMmIxNg==", - "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/18a43cd8e1e3a79c786e3d808a73d23b6d212b16", - "html_url": "https://github.com/octocat/Hello-World/git/commit/18a43cd8e1e3a79c786e3d808a73d23b6d212b16", - "author": { - "date": "2014-11-07T22:01:45Z", - "name": "Monalisa Octocat", - "email": "octocat@github.com" - }, - "committer": { - "date": "2014-11-07T22:01:45Z", - "name": "Monalisa Octocat", - "email": "octocat@github.com" - }, - "message": "my commit message", - "tree": { - "url": "https://api.github.com/repos/octocat/Hello-World/git/trees/9a21f8e2018f42ffcf369b24d2cd20bc25c9e66f", - "sha": "9a21f8e2018f42ffcf369b24d2cd20bc25c9e66f" - }, - "parents": [ - { - "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/da5a433788da5c255edad7979b328b67d79f53f6", - "html_url": "https://github.com/octocat/Hello-World/git/commit/da5a433788da5c255edad7979b328b67d79f53f6", - "sha": "da5a433788da5c255edad7979b328b67d79f53f6" - } - ], - "verification": { "verified": false, "reason": "unsigned" } - } - } - }, - "file-commit-example-for-creating-a-file": { - "value": { - "content": { - "name": "hello.txt", - "path": "notes/hello.txt", - "sha": "95b966ae1c166bd92f8ae7d1c313e738c731dfc3", - "size": 9, - "url": "https://api.github.com/repos/octocat/Hello-World/contents/notes/hello.txt", - "html_url": "https://github.com/octocat/Hello-World/blob/master/notes/hello.txt", - "git_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/95b966ae1c166bd92f8ae7d1c313e738c731dfc3", - "download_url": "https://raw.githubusercontent.com/octocat/HelloWorld/master/notes/hello.txt", - "type": "file", - "_links": { - "self": "https://api.github.com/repos/octocat/Hello-World/contents/notes/hello.txt", - "git": "https://api.github.com/repos/octocat/Hello-World/git/blobs/95b966ae1c166bd92f8ae7d1c313e738c731dfc3", - "html": "https://github.com/octocat/Hello-World/blob/master/notes/hello.txt" - } - }, - "commit": { - "sha": "7638417db6d59f3c431d3e1f261cc637155684cd", - "node_id": "MDY6Q29tbWl0NzYzODQxN2RiNmQ1OWYzYzQzMWQzZTFmMjYxY2M2MzcxNTU2ODRjZA==", - "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/7638417db6d59f3c431d3e1f261cc637155684cd", - "html_url": "https://github.com/octocat/Hello-World/git/commit/7638417db6d59f3c431d3e1f261cc637155684cd", - "author": { - "date": "2014-11-07T22:01:45Z", - "name": "Monalisa Octocat", - "email": "octocat@github.com" - }, - "committer": { - "date": "2014-11-07T22:01:45Z", - "name": "Monalisa Octocat", - "email": "octocat@github.com" - }, - "message": "my commit message", - "tree": { - "url": "https://api.github.com/repos/octocat/Hello-World/git/trees/691272480426f78a0138979dd3ce63b77f706feb", - "sha": "691272480426f78a0138979dd3ce63b77f706feb" - }, - "parents": [ - { - "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/1acc419d4d6a9ce985db7be48c6349a0475975b5", - "html_url": "https://github.com/octocat/Hello-World/git/commit/1acc419d4d6a9ce985db7be48c6349a0475975b5", - "sha": "1acc419d4d6a9ce985db7be48c6349a0475975b5" - } - ], - "verification": { "verified": false, "reason": "unsigned" } - } - } - }, - "file-commit": { - "value": { - "commit": { - "sha": "7638417db6d59f3c431d3e1f261cc637155684cd", - "node_id": "MDY6Q29tbWl0NzYzODQxN2RiNmQ1OWYzYzQzMWQzZTFmMjYxY2M2MzcxNTU2ODRjZA==", - "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/7638417db6d59f3c431d3e1f261cc637155684cd", - "html_url": "https://github.com/octocat/Hello-World/git/commit/7638417db6d59f3c431d3e1f261cc637155684cd", - "author": { - "date": "2014-11-07T22:01:45Z", - "name": "Monalisa Octocat", - "email": "octocat@github.com" - }, - "committer": { - "date": "2014-11-07T22:01:45Z", - "name": "Monalisa Octocat", - "email": "octocat@github.com" - }, - "message": "my commit message", - "tree": { - "url": "https://api.github.com/repos/octocat/Hello-World/git/trees/691272480426f78a0138979dd3ce63b77f706feb", - "sha": "691272480426f78a0138979dd3ce63b77f706feb" - }, - "parents": [ - { - "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/1acc419d4d6a9ce985db7be48c6349a0475975b5", - "html_url": "https://github.com/octocat/Hello-World/git/commit/1acc419d4d6a9ce985db7be48c6349a0475975b5", - "sha": "1acc419d4d6a9ce985db7be48c6349a0475975b5" - } - ], - "verification": { "verified": false, "reason": "unsigned" } - } - } - }, - "contributor-items-response-if-repository-contains-content": { - "value": [ - { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false, - "contributions": 32 - } - ] - }, - "dependabot-alerts-for-repository": { - "value": [ - { - "number": 2, - "state": "dismissed", - "dependency": { - "package": { "ecosystem": "pip", "name": "django" }, - "manifest_path": "path/to/requirements.txt", - "scope": "runtime" - }, - "security_advisory": { - "ghsa_id": "GHSA-rf4j-j272-fj86", - "cve_id": "CVE-2018-6188", - "summary": "Django allows remote attackers to obtain potentially sensitive information by leveraging data exposure from the confirm_login_allowed() method, as demonstrated by discovering whether a user account is inactive", - "description": "django.contrib.auth.forms.AuthenticationForm in Django 2.0 before 2.0.2, and 1.11.8 and 1.11.9, allows remote attackers to obtain potentially sensitive information by leveraging data exposure from the confirm_login_allowed() method, as demonstrated by discovering whether a user account is inactive.", - "vulnerabilities": [ - { - "package": { "ecosystem": "pip", "name": "django" }, - "severity": "high", - "vulnerable_version_range": ">= 2.0.0, < 2.0.2", - "first_patched_version": { "identifier": "2.0.2" } - }, - { - "package": { "ecosystem": "pip", "name": "django" }, - "severity": "high", - "vulnerable_version_range": ">= 1.11.8, < 1.11.10", - "first_patched_version": { "identifier": "1.11.10" } - } - ], - "severity": "high", - "cvss": { - "vector_string": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", - "score": 7.5 - }, - "cvss_severities": { - "cvss_v3": { - "vector_string": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", - "score": 7.5 - }, - "cvss_v4": { - "vector_string": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N", - "score": 8.7 - } - }, - "cwes": [ - { - "cwe_id": "CWE-200", - "name": "Exposure of Sensitive Information to an Unauthorized Actor" - } - ], - "identifiers": [ - { "type": "GHSA", "value": "GHSA-rf4j-j272-fj86" }, - { "type": "CVE", "value": "CVE-2018-6188" } - ], - "references": [ - { "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-6188" }, - { "url": "https://github.com/advisories/GHSA-rf4j-j272-fj86" }, - { "url": "https://usn.ubuntu.com/3559-1/" }, - { - "url": "https://www.djangoproject.com/weblog/2018/feb/01/security-releases/" - }, - { "url": "http://www.securitytracker.com/id/1040422" } - ], - "published_at": "2018-10-03T21:13:54Z", - "updated_at": "2022-04-26T18:35:37Z", - "withdrawn_at": null - }, - "security_vulnerability": { - "package": { "ecosystem": "pip", "name": "django" }, - "severity": "high", - "vulnerable_version_range": ">= 2.0.0, < 2.0.2", - "first_patched_version": { "identifier": "2.0.2" } - }, - "url": "https://api.github.com/repos/octocat/hello-world/dependabot/alerts/2", - "html_url": "https://github.com/octocat/hello-world/security/dependabot/2", - "created_at": "2022-06-15T07:43:03Z", - "updated_at": "2022-08-23T14:29:47Z", - "dismissed_at": "2022-08-23T14:29:47Z", - "dismissed_by": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "dismissed_reason": "tolerable_risk", - "dismissed_comment": "This alert is accurate but we use a sanitizer.", - "fixed_at": null - }, - { - "number": 1, - "state": "open", - "dependency": { - "package": { "ecosystem": "pip", "name": "ansible" }, - "manifest_path": "path/to/requirements.txt", - "scope": "runtime" - }, - "security_advisory": { - "ghsa_id": "GHSA-8f4m-hccc-8qph", - "cve_id": "CVE-2021-20191", - "summary": "Insertion of Sensitive Information into Log File in ansible", - "description": "A flaw was found in ansible. Credentials, such as secrets, are being disclosed in console log by default and not protected by no_log feature when using those modules. An attacker can take advantage of this information to steal those credentials. The highest threat from this vulnerability is to data confidentiality.", - "vulnerabilities": [ - { - "package": { "ecosystem": "pip", "name": "ansible" }, - "severity": "medium", - "vulnerable_version_range": ">= 2.9.0, < 2.9.18", - "first_patched_version": { "identifier": "2.9.18" } - }, - { - "package": { "ecosystem": "pip", "name": "ansible" }, - "severity": "medium", - "vulnerable_version_range": "< 2.8.19", - "first_patched_version": { "identifier": "2.8.19" } - }, - { - "package": { "ecosystem": "pip", "name": "ansible" }, - "severity": "medium", - "vulnerable_version_range": ">= 2.10.0, < 2.10.7", - "first_patched_version": { "identifier": "2.10.7" } - } - ], - "severity": "medium", - "cvss": { - "vector_string": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", - "score": 5.5 - }, - "cvss_severities": { - "cvss_v3": { - "vector_string": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", - "score": 5.5 - }, - "cvss_v4": { - "vector_string": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N", - "score": 8.5 - } - }, - "cwes": [ - { - "cwe_id": "CWE-532", - "name": "Insertion of Sensitive Information into Log File" - } - ], - "identifiers": [ - { "type": "GHSA", "value": "GHSA-8f4m-hccc-8qph" }, - { "type": "CVE", "value": "CVE-2021-20191" } - ], - "references": [ - { "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-20191" }, - { - "url": "https://access.redhat.com/security/cve/cve-2021-20191" - }, - { "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1916813" } - ], - "published_at": "2021-06-01T17:38:00Z", - "updated_at": "2021-08-12T23:06:00Z", - "withdrawn_at": null - }, - "security_vulnerability": { - "package": { "ecosystem": "pip", "name": "ansible" }, - "severity": "medium", - "vulnerable_version_range": "< 2.8.19", - "first_patched_version": { "identifier": "2.8.19" } - }, - "url": "https://api.github.com/repos/octocat/hello-world/dependabot/alerts/1", - "html_url": "https://github.com/octocat/hello-world/security/dependabot/1", - "created_at": "2022-06-14T15:21:52Z", - "updated_at": "2022-06-14T15:21:52Z", - "dismissed_at": null, - "dismissed_by": null, - "dismissed_reason": null, - "dismissed_comment": null, - "fixed_at": null - } - ] - }, - "dependabot-alert-open": { - "value": { - "number": 1, - "state": "open", - "dependency": { - "package": { "ecosystem": "pip", "name": "ansible" }, - "manifest_path": "path/to/requirements.txt", - "scope": "runtime" - }, - "security_advisory": { - "ghsa_id": "GHSA-8f4m-hccc-8qph", - "cve_id": "CVE-2021-20191", - "summary": "Insertion of Sensitive Information into Log File in ansible", - "description": "A flaw was found in ansible. Credentials, such as secrets, are being disclosed in console log by default and not protected by no_log feature when using those modules. An attacker can take advantage of this information to steal those credentials. The highest threat from this vulnerability is to data confidentiality.", - "vulnerabilities": [ - { - "package": { "ecosystem": "pip", "name": "ansible" }, - "severity": "medium", - "vulnerable_version_range": ">= 2.9.0, < 2.9.18", - "first_patched_version": { "identifier": "2.9.18" } - }, - { - "package": { "ecosystem": "pip", "name": "ansible" }, - "severity": "medium", - "vulnerable_version_range": "< 2.8.19", - "first_patched_version": { "identifier": "2.8.19" } - }, - { - "package": { "ecosystem": "pip", "name": "ansible" }, - "severity": "medium", - "vulnerable_version_range": ">= 2.10.0, < 2.10.7", - "first_patched_version": { "identifier": "2.10.7" } - } - ], - "severity": "medium", - "cvss": { - "vector_string": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", - "score": 5.5 - }, - "cvss_severities": { - "cvss_v3": { - "vector_string": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", - "score": 5.5 - }, - "cvss_v4": { - "vector_string": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N", - "score": 8.5 - } - }, - "cwes": [ - { - "cwe_id": "CWE-532", - "name": "Insertion of Sensitive Information into Log File" - } - ], - "identifiers": [ - { "type": "GHSA", "value": "GHSA-8f4m-hccc-8qph" }, - { "type": "CVE", "value": "CVE-2021-20191" } - ], - "references": [ - { "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-20191" }, - { - "url": "https://access.redhat.com/security/cve/cve-2021-20191" - }, - { "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1916813" } - ], - "published_at": "2021-06-01T17:38:00Z", - "updated_at": "2021-08-12T23:06:00Z" - }, - "security_vulnerability": { - "package": { "ecosystem": "pip", "name": "ansible" }, - "severity": "medium", - "vulnerable_version_range": "< 2.8.19", - "first_patched_version": { "identifier": "2.8.19" } - }, - "url": "https://api.github.com/repos/octocat/hello-world/dependabot/alerts/1", - "html_url": "https://github.com/octocat/hello-world/security/dependabot/1", - "created_at": "2022-06-14T15:21:52Z", - "updated_at": "2022-06-14T15:21:52Z" - } - }, - "dependabot-alert-dismissed": { - "value": { - "number": 2, - "state": "dismissed", - "dependency": { - "package": { "ecosystem": "pip", "name": "django" }, - "manifest_path": "path/to/requirements.txt", - "scope": "runtime" - }, - "security_advisory": { - "ghsa_id": "GHSA-rf4j-j272-fj86", - "cve_id": "CVE-2018-6188", - "summary": "Django allows remote attackers to obtain potentially sensitive information by leveraging data exposure from the confirm_login_allowed() method, as demonstrated by discovering whether a user account is inactive", - "description": "django.contrib.auth.forms.AuthenticationForm in Django 2.0 before 2.0.2, and 1.11.8 and 1.11.9, allows remote attackers to obtain potentially sensitive information by leveraging data exposure from the confirm_login_allowed() method, as demonstrated by discovering whether a user account is inactive.", - "vulnerabilities": [ - { - "package": { "ecosystem": "pip", "name": "django" }, - "severity": "high", - "vulnerable_version_range": ">= 2.0.0, < 2.0.2", - "first_patched_version": { "identifier": "2.0.2" } - }, - { - "package": { "ecosystem": "pip", "name": "django" }, - "severity": "high", - "vulnerable_version_range": ">= 1.11.8, < 1.11.10", - "first_patched_version": { "identifier": "1.11.10" } - } - ], - "severity": "high", - "cvss": { - "vector_string": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", - "score": 7.5 - }, - "cvss_severities": { - "cvss_v3": { - "vector_string": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", - "score": 7.5 - }, - "cvss_v4": { - "vector_string": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N", - "score": 8.7 - } - }, - "cwes": [ - { - "cwe_id": "CWE-200", - "name": "Exposure of Sensitive Information to an Unauthorized Actor" - } - ], - "identifiers": [ - { "type": "GHSA", "value": "GHSA-rf4j-j272-fj86" }, - { "type": "CVE", "value": "CVE-2018-6188" } - ], - "references": [ - { "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-6188" }, - { "url": "https://github.com/advisories/GHSA-rf4j-j272-fj86" }, - { "url": "https://usn.ubuntu.com/3559-1/" }, - { - "url": "https://www.djangoproject.com/weblog/2018/feb/01/security-releases/" - }, - { "url": "http://www.securitytracker.com/id/1040422" } - ], - "published_at": "2018-10-03T21:13:54Z", - "updated_at": "2022-04-26T18:35:37Z", - "withdrawn_at": null - }, - "security_vulnerability": { - "package": { "ecosystem": "pip", "name": "django" }, - "severity": "high", - "vulnerable_version_range": ">= 2.0.0, < 2.0.2", - "first_patched_version": { "identifier": "2.0.2" } - }, - "url": "https://api.github.com/repos/octocat/hello-world/dependabot/alerts/2", - "html_url": "https://github.com/octocat/hello-world/security/dependabot/2", - "created_at": "2022-06-15T07:43:03Z", - "updated_at": "2022-08-23T14:29:47Z", - "dismissed_at": "2022-08-23T14:29:47Z", - "dismissed_by": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "dismissed_reason": "tolerable_risk", - "dismissed_comment": "This alert is accurate but we use a sanitizer.", - "fixed_at": null - } - }, - "dependabot-secret-paginated": { - "value": { - "total_count": 2, - "secrets": [ - { - "name": "AZURE_DEVOPS_PAT", - "created_at": "2019-08-10T14:59:22Z", - "updated_at": "2020-01-10T14:59:22Z" - }, - { - "name": "MY_ARTIFACTORY_PASSWORD", - "created_at": "2020-01-10T10:59:22Z", - "updated_at": "2020-01-11T11:59:22Z" - } - ] - } - }, - "dependabot-secret": { - "value": { - "name": "MY_ARTIFACTORY_PASSWORD", - "created_at": "2019-08-10T14:59:22Z", - "updated_at": "2020-01-10T14:59:22Z" - } - }, - "diff-range-response": { - "value": [ - { - "change_type": "removed", - "manifest": "package.json", - "ecosystem": "npm", - "name": "helmet", - "version": "4.6.0", - "package_url": "pkg:npm/helmet@4.6.0", - "license": "MIT", - "source_repository_url": "https://github.com/helmetjs/helmet", - "vulnerabilities": [] - }, - { - "change_type": "added", - "manifest": "package.json", - "ecosystem": "npm", - "name": "helmet", - "version": "5.0.0", - "package_url": "pkg:npm/helmet@5.0.0", - "license": "MIT", - "source_repository_url": "https://github.com/helmetjs/helmet", - "vulnerabilities": [] - }, - { - "change_type": "added", - "manifest": "Gemfile", - "ecosystem": "rubygems", - "name": "ruby-openid", - "version": "2.7.0", - "package_url": "pkg:gem/ruby-openid@2.7.0", - "license": null, - "source_repository_url": "https://github.com/openid/ruby-openid", - "vulnerabilities": [ - { - "severity": "critical", - "advisory_ghsa_id": "GHSA-fqfj-cmh6-hj49", - "advisory_summary": "Ruby OpenID", - "advisory_url": "https://github.com/advisories/GHSA-fqfj-cmh6-hj49" - } - ] - } - ] - }, - "dependency-graph-export-sbom-response": { - "value": { - "sbom": { - "SPDXID": "SPDXRef-DOCUMENT", - "spdxVersion": "SPDX-2.3", - "creationInfo": { - "created": "2021-09-01T00:00:00Z", - "creators": ["Tool: GitHub.com-Dependency-Graph"] - }, - "name": "github/example", - "dataLicense": "CC0-1.0", - "documentNamespace": "https://spdx.org/spdxdocs/protobom/15e41dd2-f961-4f4d-b8dc-f8f57ad70d57", - "packages": [ - { - "SPDXID": "SPDXRef-Package", - "name": "rubygems:rails", - "versionInfo": "1.0.0", - "downloadLocation": "NOASSERTION", - "filesAnalyzed": false, - "licenseConcluded": "NOASSERTION", - "licenseDeclared": "NOASSERTION" - } - ], - "relationships": [ - { - "relationshipType": "DEPENDS_ON", - "spdxElementId": "SPDXRef-Repository", - "relatedSpdxElement": "SPDXRef-Package" - }, - { - "relationshipType": "DESCRIBES", - "spdxElementId": "SPDXRef-DOCUMENT", - "relatedSpdxElement": "SPDXRef-Repository" - } - ] - } - } - }, - "dependency-graph-create-snapshot-request": { - "value": { - "version": 0, - "sha": "ce587453ced02b1526dfb4cb910479d431683101", - "ref": "refs/heads/main", - "job": { - "correlator": "yourworkflowname_youractionname", - "id": "yourrunid" - }, - "detector": { - "name": "octo-detector", - "version": "0.0.1", - "url": "https://github.com/octo-org/octo-repo" - }, - "scanned": "2022-06-14T20:25:00Z", - "manifests": { - "package-lock.json": { - "name": "package-lock.json", - "file": { "source_location": "src/package-lock.json" }, - "resolved": { - "@actions/core": { - "package_url": "pkg:/npm/%40actions/core@1.1.9", - "dependencies": ["@actions/http-client"] - }, - "@actions/http-client": { - "package_url": "pkg:/npm/%40actions/http-client@1.0.7", - "dependencies": ["tunnel"] - }, - "tunnel": { "package_url": "pkg:/npm/tunnel@0.0.6" } - } - } - } - } - }, - "dependency-graph-create-snapshot-success": { - "value": { - "id": 12345, - "created_at": "2018-05-04T01:14:52Z", - "message": "Dependency results for the repo have been successfully updated.", - "result": "SUCCESS" - } - }, - "deployment-simple-example": { - "summary": "Simple example", - "value": { - "url": "https://api.github.com/repos/octocat/example/deployments/1", - "id": 1, - "node_id": "MDEwOkRlcGxveW1lbnQx", - "sha": "a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d", - "ref": "topic-branch", - "task": "deploy", - "payload": {}, - "original_environment": "staging", - "environment": "production", - "description": "Deploy request from hubot", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2012-07-20T01:19:13Z", - "updated_at": "2012-07-20T01:19:13Z", - "statuses_url": "https://api.github.com/repos/octocat/example/deployments/1/statuses", - "repository_url": "https://api.github.com/repos/octocat/example", - "transient_environment": false, - "production_environment": true - } - }, - "deployment": { - "value": { - "url": "https://api.github.com/repos/octocat/example/deployments/1", - "id": 1, - "node_id": "MDEwOkRlcGxveW1lbnQx", - "sha": "a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d", - "ref": "topic-branch", - "task": "deploy", - "payload": {}, - "original_environment": "staging", - "environment": "production", - "description": "Deploy request from hubot", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2012-07-20T01:19:13Z", - "updated_at": "2012-07-20T01:19:13Z", - "statuses_url": "https://api.github.com/repos/octocat/example/deployments/1/statuses", - "repository_url": "https://api.github.com/repos/octocat/example", - "transient_environment": false, - "production_environment": true - } - }, - "deployment-status-items": { - "value": [ - { - "url": "https://api.github.com/repos/octocat/example/deployments/42/statuses/1", - "id": 1, - "node_id": "MDE2OkRlcGxveW1lbnRTdGF0dXMx", - "state": "success", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "description": "Deployment finished successfully.", - "environment": "production", - "target_url": "https://example.com/deployment/42/output", - "created_at": "2012-07-20T01:19:13Z", - "updated_at": "2012-07-20T01:19:13Z", - "deployment_url": "https://api.github.com/repos/octocat/example/deployments/42", - "repository_url": "https://api.github.com/repos/octocat/example", - "environment_url": "https://test-branch.lab.acme.com", - "log_url": "https://example.com/deployment/42/output" - } - ] - }, - "deployment-status": { - "value": { - "url": "https://api.github.com/repos/octocat/example/deployments/42/statuses/1", - "id": 1, - "node_id": "MDE2OkRlcGxveW1lbnRTdGF0dXMx", - "state": "success", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "description": "Deployment finished successfully.", - "environment": "production", - "target_url": "https://example.com/deployment/42/output", - "created_at": "2012-07-20T01:19:13Z", - "updated_at": "2012-07-20T01:19:13Z", - "deployment_url": "https://api.github.com/repos/octocat/example/deployments/42", - "repository_url": "https://api.github.com/repos/octocat/example", - "environment_url": "https://test-branch.lab.acme.com", - "log_url": "https://example.com/deployment/42/output" - } - }, - "environments": { - "value": { - "total_count": 1, - "environments": [ - { - "id": 161088068, - "node_id": "MDExOkVudmlyb25tZW50MTYxMDg4MDY4", - "name": "staging", - "url": "https://api.github.com/repos/github/hello-world/environments/staging", - "html_url": "https://github.com/github/hello-world/deployments/activity_log?environments_filter=staging", - "created_at": "2020-11-23T22:00:40Z", - "updated_at": "2020-11-23T22:00:40Z", - "protection_rules": [ - { - "id": 3736, - "node_id": "MDQ6R2F0ZTM3MzY=", - "type": "wait_timer", - "wait_timer": 30 - }, - { - "id": 3755, - "node_id": "MDQ6R2F0ZTM3NTU=", - "prevent_self_review": false, - "type": "required_reviewers", - "reviewers": [ - { - "type": "User", - "reviewer": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - }, - { - "type": "Team", - "reviewer": { - "id": 1, - "node_id": "MDQ6VGVhbTE=", - "url": "https://api.github.com/teams/1", - "html_url": "https://github.com/orgs/github/teams/justice-league", - "name": "Justice League", - "slug": "justice-league", - "description": "A great team.", - "privacy": "closed", - "permission": "admin", - "members_url": "https://api.github.com/teams/1/members{/member}", - "repositories_url": "https://api.github.com/teams/1/repos", - "parent": null - } - } - ] - }, - { - "id": 3756, - "node_id": "MDQ6R2F0ZTM3NTY=", - "type": "branch_policy" - } - ], - "deployment_branch_policy": { - "protected_branches": false, - "custom_branch_policies": "trues" - } - } - ] - } - }, - "environment": { - "value": { - "id": 161088068, - "node_id": "MDExOkVudmlyb25tZW50MTYxMDg4MDY4", - "name": "staging", - "url": "https://api.github.com/repos/github/hello-world/environments/staging", - "html_url": "https://github.com/github/hello-world/deployments/activity_log?environments_filter=staging", - "created_at": "2020-11-23T22:00:40Z", - "updated_at": "2020-11-23T22:00:40Z", - "protection_rules": [ - { - "id": 3736, - "node_id": "MDQ6R2F0ZTM3MzY=", - "type": "wait_timer", - "wait_timer": 30 - }, - { - "id": 3755, - "node_id": "MDQ6R2F0ZTM3NTU=", - "prevent_self_review": false, - "type": "required_reviewers", - "reviewers": [ - { - "type": "User", - "reviewer": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - }, - { - "type": "Team", - "reviewer": { - "id": 1, - "node_id": "MDQ6VGVhbTE=", - "url": "https://api.github.com/teams/1", - "html_url": "https://github.com/orgs/github/teams/justice-league", - "name": "Justice League", - "slug": "justice-league", - "description": "A great team.", - "privacy": "closed", - "permission": "admin", - "members_url": "https://api.github.com/teams/1/members{/member}", - "repositories_url": "https://api.github.com/teams/1/repos", - "parent": null - } - } - ] - }, - { - "id": 3756, - "node_id": "MDQ6R2F0ZTM3NTY=", - "type": "branch_policy" - } - ], - "deployment_branch_policy": { - "protected_branches": false, - "custom_branch_policies": true - } - } - }, - "deployment-branch-policies-list": { - "value": { - "total_count": 2, - "branch_policies": [ - { - "id": 361471, - "node_id": "MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjE0NzE=", - "name": "release/*" - }, - { - "id": 361472, - "node_id": "MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjE0NzI=", - "name": "main" - } - ] - } - }, - "deployment-branch-policy-wildcard": { - "value": { - "id": 364662, - "node_id": "MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI=", - "name": "release/*" - } - }, - "deployment-branch-policy-single-branch": { - "value": { - "id": 364663, - "node_id": "MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjM=", - "name": "main" - } - }, - "deployment-branch-policy-single-tag": { - "value": { - "id": 364663, - "node_id": "MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjM=", - "name": "v1", - "type": "tag" - } - }, - "deployment-protection-rules": { - "value": [ - { "total_count": 2 }, - { - "custom_deployment_protection_rules": [ - { - "id": 3, - "node_id": "IEH37kRlcGxveW1lbnRTdGF0ddiv", - "enabled": true, - "app": { - "id": 1, - "node_id": "GHT58kRlcGxveW1lbnRTdTY!bbcy", - "slug": "a-custom-app", - "integration_url": "https://api.github.com/apps/a-custom-app" - } - }, - { - "id": 4, - "node_id": "MDE2OkRlcGxveW1lbnRTdHJ41128", - "enabled": true, - "app": { - "id": 1, - "node_id": "UHVE67RlcGxveW1lbnRTdTY!jfeuy", - "slug": "another-custom-app", - "integration_url": "https://api.github.com/apps/another-custom-app" - } - } - ] - } - ] - }, - "deployment-protection-rule": { - "value": { - "id": 3, - "node_id": "IEH37kRlcGxveW1lbnRTdGF0ddiv", - "enabled": true, - "app": { - "id": 1, - "node_id": "GHT58kRlcGxveW1lbnRTdTY!bbcy", - "slug": "a-custom-app", - "integration_url": "https://api.github.com/apps/a-custom-app" - } - } - }, - "custom-deployment-protection-rule-apps": { - "value": [ - { "total_count": 2 }, - { - "available_custom_deployment_protection_rule_integrations": [ - { - "id": 1, - "node_id": "GHT58kRlcGxveW1lbnRTdTY!bbcy", - "slug": "a-custom-app", - "integration_url": "https://api.github.com/apps/a-custom-app" - }, - { - "id": 2, - "node_id": "UHVE67RlcGxveW1lbnRTdTY!jfeuy", - "slug": "another-custom-app", - "integration_url": "https://api.github.com/apps/another-custom-app" - } - ] - } - ] - }, - "repo-events-items": { - "value": [ - { - "id": "22249084964", - "type": "PushEvent", - "actor": { - "id": 583231, - "login": "octocat", - "display_login": "octocat", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4" - }, - "repo": { - "id": 1296269, - "name": "octocat/Hello-World", - "url": "https://api.github.com/repos/octocat/Hello-World" - }, - "payload": { - "push_id": 10115855396, - "size": 1, - "distinct_size": 1, - "ref": "refs/heads/master", - "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] - }, - "public": true, - "created_at": "2022-06-09T12:47:28Z" - }, - { - "id": "22237752260", - "type": "WatchEvent", - "actor": { - "id": 583231, - "login": "octocat", - "display_login": "octocat", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4" - }, - "repo": { - "id": 1296269, - "name": "octocat/Hello-World", - "url": "https://api.github.com/repos/octocat/Hello-World" - }, - "payload": { "action": "started" }, - "public": true, - "created_at": "2022-06-08T23:29:25Z" - } - ] - }, - "minimal-repository-items-2": { - "value": [ - { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": true, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "git_url": "git:github.com/octocat/Hello-World.git", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "ssh_url": "git@github.com:octocat/Hello-World.git", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "clone_url": "https://github.com/octocat/Hello-World.git", - "mirror_url": "git:git.example.com/octocat/Hello-World", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", - "svn_url": "https://svn.github.com/octocat/Hello-World", - "homepage": "https://github.com", - "language": null, - "forks_count": 9, - "stargazers_count": 80, - "watchers_count": 80, - "size": 108, - "default_branch": "master", - "open_issues_count": 0, - "is_template": true, - "topics": ["octocat", "atom", "electron", "api"], - "has_issues": true, - "has_projects": true, - "has_wiki": true, - "has_pages": false, - "has_downloads": true, - "archived": false, - "disabled": false, - "visibility": "public", - "pushed_at": "2011-01-26T19:06:43Z", - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:14:43Z", - "permissions": { "admin": false, "push": false, "pull": true }, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "delete_branch_on_merge": true, - "subscribers_count": 42, - "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZW1pdA==" - } - } - ] - }, - "short-blob": { - "value": { - "url": "https://api.github.com/repos/octocat/example/git/blobs/3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15", - "sha": "3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15" - } - }, - "blob": { - "value": { - "content": "Q29udGVudCBvZiB0aGUgYmxvYg==", - "encoding": "base64", - "url": "https://api.github.com/repos/octocat/example/git/blobs/3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15", - "sha": "3a0f86fb8db8eea7ccbb9a95f325ddbedfb25e15", - "size": 19, - "node_id": "Q29udGVudCBvZiB0aGUgYmxvYg==" - } - }, - "git-commit": { - "value": { - "sha": "7638417db6d59f3c431d3e1f261cc637155684cd", - "node_id": "MDY6Q29tbWl0NzYzODQxN2RiNmQ1OWYzYzQzMWQzZTFmMjYxY2M2MzcxNTU2ODRjZA==", - "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/7638417db6d59f3c431d3e1f261cc637155684cd", - "author": { - "date": "2014-11-07T22:01:45Z", - "name": "Monalisa Octocat", - "email": "octocat@github.com" - }, - "committer": { - "date": "2014-11-07T22:01:45Z", - "name": "Monalisa Octocat", - "email": "octocat@github.com" - }, - "message": "my commit message", - "tree": { - "url": "https://api.github.com/repos/octocat/Hello-World/git/trees/827efc6d56897b048c772eb4087f854f46256132", - "sha": "827efc6d56897b048c772eb4087f854f46256132" - }, - "parents": [ - { - "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/7d1b31e74ee336d15cbd21741bc88a537ed063a0", - "sha": "7d1b31e74ee336d15cbd21741bc88a537ed063a0", - "html_url": "https://github.com/octocat/Hello-World/commit/7d1b31e74ee336d15cbd21741bc88a537ed063a0" - } - ], - "verification": { "verified": false, "reason": "unsigned" }, - "html_url": "https://github.com/octocat/Hello-World/commit/7638417db6d59f3c431d3e1f261cc637155684cd" - } - }, - "git-commit-2": { - "value": { - "sha": "7638417db6d59f3c431d3e1f261cc637155684cd", - "node_id": "MDY6Q29tbWl0NmRjYjA5YjViNTc4NzVmMzM0ZjYxYWViZWQ2OTVlMmU0MTkzZGI1ZQ==", - "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/7638417db6d59f3c431d3e1f261cc637155684cd", - "html_url": "https://github.com/octocat/Hello-World/commit/7638417db6d59f3c431d3e1f261cc637155684cd", - "author": { - "date": "2014-11-07T22:01:45Z", - "name": "Monalisa Octocat", - "email": "octocat@github.com" - }, - "committer": { - "date": "2014-11-07T22:01:45Z", - "name": "Monalisa Octocat", - "email": "octocat@github.com" - }, - "message": "added readme, because im a good github citizen", - "tree": { - "url": "https://api.github.com/repos/octocat/Hello-World/git/trees/691272480426f78a0138979dd3ce63b77f706feb", - "sha": "691272480426f78a0138979dd3ce63b77f706feb" - }, - "parents": [ - { - "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/1acc419d4d6a9ce985db7be48c6349a0475975b5", - "sha": "1acc419d4d6a9ce985db7be48c6349a0475975b5", - "html_url": "https://github.com/octocat/Hello-World/commit/7638417db6d59f3c431d3e1f261cc637155684cd" - } - ], - "verification": { "verified": false, "reason": "unsigned" } - } - }, - "git-ref-items": { - "value": [ - { - "ref": "refs/heads/feature-a", - "node_id": "MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlLWE=", - "url": "https://api.github.com/repos/octocat/Hello-World/git/refs/heads/feature-a", - "object": { - "type": "commit", - "sha": "aa218f56b14c9653891f9e74264a383fa43fefbd", - "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd" - } - }, - { - "ref": "refs/heads/feature-b", - "node_id": "MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlLWI=", - "url": "https://api.github.com/repos/octocat/Hello-World/git/refs/heads/feature-b", - "object": { - "type": "commit", - "sha": "612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac", - "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac" - } - } - ] - }, - "git-ref": { - "value": { - "ref": "refs/heads/featureA", - "node_id": "MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ==", - "url": "https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA", - "object": { - "type": "commit", - "sha": "aa218f56b14c9653891f9e74264a383fa43fefbd", - "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd" - } - } - }, - "git-tag": { - "value": { - "node_id": "MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw==", - "tag": "v0.0.1", - "sha": "940bd336248efae0f9ee5bc7b2d5c985887b16ac", - "url": "https://api.github.com/repos/octocat/Hello-World/git/tags/940bd336248efae0f9ee5bc7b2d5c985887b16ac", - "message": "initial version", - "tagger": { - "name": "Monalisa Octocat", - "email": "octocat@github.com", - "date": "2014-11-07T22:01:45Z" - }, - "object": { - "type": "commit", - "sha": "c3d0be41ecbe669545ee3e94d31ed9a4bc91ee3c", - "url": "https://api.github.com/repos/octocat/Hello-World/git/commits/c3d0be41ecbe669545ee3e94d31ed9a4bc91ee3c" - }, - "verification": { "verified": false, "reason": "unsigned" } - } - }, - "git-tree": { - "value": { - "sha": "cd8274d15fa3ae2ab983129fb037999f264ba9a7", - "url": "https://api.github.com/repos/octocat/Hello-World/trees/cd8274d15fa3ae2ab983129fb037999f264ba9a7", - "tree": [ - { - "path": "file.rb", - "mode": "100644", - "type": "blob", - "size": 132, - "sha": "7c258a9869f33c1e1e1f74fbb32f07c86cb5a75b", - "url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/7c258a9869f33c1e1e1f74fbb32f07c86cb5a75b" - } - ], - "truncated": true - } - }, - "git-tree-default-response": { - "summary": "Default response", - "value": { - "sha": "9fb037999f264ba9a7fc6274d15fa3ae2ab98312", - "url": "https://api.github.com/repos/octocat/Hello-World/trees/9fb037999f264ba9a7fc6274d15fa3ae2ab98312", - "tree": [ - { - "path": "file.rb", - "mode": "100644", - "type": "blob", - "size": 30, - "sha": "44b4fc6d56897b048c772eb4087f854f46256132", - "url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/44b4fc6d56897b048c772eb4087f854f46256132" - }, - { - "path": "subdir", - "mode": "040000", - "type": "tree", - "sha": "f484d249c660418515fb01c2b9662073663c242e", - "url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/f484d249c660418515fb01c2b9662073663c242e" - }, - { - "path": "exec_file", - "mode": "100755", - "type": "blob", - "size": 75, - "sha": "45b983be36b73c0788dc9cbcb76cbb80fc7bb057", - "url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/45b983be36b73c0788dc9cbcb76cbb80fc7bb057" - } - ], - "truncated": false - } - }, - "git-tree-response-recursively-retrieving-a-tree": { - "summary": "Response recursively retrieving a tree", - "value": { - "sha": "fc6274d15fa3ae2ab983129fb037999f264ba9a7", - "url": "https://api.github.com/repos/octocat/Hello-World/trees/fc6274d15fa3ae2ab983129fb037999f264ba9a7", - "tree": [ - { - "path": "subdir/file.txt", - "mode": "100644", - "type": "blob", - "size": 132, - "sha": "7c258a9869f33c1e1e1f74fbb32f07c86cb5a75b", - "url": "https://api.github.com/repos/octocat/Hello-World/git/7c258a9869f33c1e1e1f74fbb32f07c86cb5a75b" - } - ], - "truncated": false - } - }, - "hook-items": { - "value": [ - { - "type": "Repository", - "id": 12345678, - "name": "web", - "active": true, - "events": ["push", "pull_request"], - "config": { - "content_type": "json", - "insecure_ssl": "0", - "url": "https://example.com/webhook" - }, - "updated_at": "2019-06-03T00:57:16Z", - "created_at": "2019-06-03T00:57:16Z", - "url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678", - "test_url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678/test", - "ping_url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678/pings", - "deliveries_url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678/deliveries", - "last_response": { - "code": null, - "status": "unused", - "message": null - } - } - ] - }, - "hook": { - "value": { - "type": "Repository", - "id": 12345678, - "name": "web", - "active": true, - "events": ["push", "pull_request"], - "config": { - "content_type": "json", - "insecure_ssl": "0", - "url": "https://example.com/webhook" - }, - "updated_at": "2019-06-03T00:57:16Z", - "created_at": "2019-06-03T00:57:16Z", - "url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678", - "test_url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678/test", - "ping_url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678/pings", - "deliveries_url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678/deliveries", - "last_response": { "code": null, "status": "unused", "message": null } - } - }, - "repository-invitation-items": { - "value": [ - { - "id": 1, - "repository": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "git_url": "git:github.com/octocat/Hello-World.git", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "ssh_url": "git@github.com:octocat/Hello-World.git", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks" - }, - "invitee": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "inviter": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "permissions": "write", - "created_at": "2016-06-13T14:52:50-05:00", - "url": "https://api.github.com/user/repository_invitations/1296269", - "html_url": "https://github.com/octocat/Hello-World/invitations", - "node_id": "MDQ6VXNlcjE=" - } - ] - }, - "repository-invitation": { - "value": { - "id": 1, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "repository": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "git_url": "git:github.com/octocat/Hello-World.git", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "ssh_url": "git@github.com:octocat/Hello-World.git", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks" - }, - "invitee": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "inviter": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "permissions": "write", - "created_at": "2016-06-13T14:52:50-05:00", - "expired": false, - "url": "https://api.github.com/user/repository_invitations/1296269", - "html_url": "https://github.com/octocat/Hello-World/invitations" - } - }, - "issue-items": { - "value": [ - { - "id": 1, - "node_id": "MDU6SXNzdWUx", - "url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", - "repository_url": "https://api.github.com/repos/octocat/Hello-World", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/labels{/name}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments", - "events_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/events", - "html_url": "https://github.com/octocat/Hello-World/issues/1347", - "number": 1347, - "state": "open", - "title": "Found a bug", - "body": "I'm having a problem with this.", - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 208045946, - "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", - "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug", - "name": "bug", - "description": "Something isn't working", - "color": "f29513", - "default": true - } - ], - "assignee": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [ - { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - ], - "milestone": { - "url": "https://api.github.com/repos/octocat/Hello-World/milestones/1", - "html_url": "https://github.com/octocat/Hello-World/milestones/v1.0", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels", - "id": 1002604, - "node_id": "MDk6TWlsZXN0b25lMTAwMjYwNA==", - "number": 1, - "state": "open", - "title": "v1.0", - "description": "Tracking milestone for version 1.0", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "open_issues": 4, - "closed_issues": 8, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z", - "closed_at": "2013-02-12T13:22:01Z", - "due_on": "2012-10-09T23:39:01Z" - }, - "locked": true, - "active_lock_reason": "too heated", - "comments": 0, - "pull_request": { - "url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347", - "html_url": "https://github.com/octocat/Hello-World/pull/1347", - "diff_url": "https://github.com/octocat/Hello-World/pull/1347.diff", - "patch_url": "https://github.com/octocat/Hello-World/pull/1347.patch" - }, - "closed_at": null, - "created_at": "2011-04-22T13:33:48Z", - "updated_at": "2011-04-22T13:33:48Z", - "closed_by": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "author_association": "COLLABORATOR", - "state_reason": "completed" - } - ] - }, - "issue": { - "value": { - "id": 1, - "node_id": "MDU6SXNzdWUx", - "url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", - "repository_url": "https://api.github.com/repos/octocat/Hello-World", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/labels{/name}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments", - "events_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/events", - "html_url": "https://github.com/octocat/Hello-World/issues/1347", - "number": 1347, - "state": "open", - "title": "Found a bug", - "body": "I'm having a problem with this.", - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 208045946, - "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", - "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug", - "name": "bug", - "description": "Something isn't working", - "color": "f29513", - "default": true - } - ], - "assignee": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [ - { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - ], - "milestone": { - "url": "https://api.github.com/repos/octocat/Hello-World/milestones/1", - "html_url": "https://github.com/octocat/Hello-World/milestones/v1.0", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels", - "id": 1002604, - "node_id": "MDk6TWlsZXN0b25lMTAwMjYwNA==", - "number": 1, - "state": "open", - "title": "v1.0", - "description": "Tracking milestone for version 1.0", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "open_issues": 4, - "closed_issues": 8, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z", - "closed_at": "2013-02-12T13:22:01Z", - "due_on": "2012-10-09T23:39:01Z" - }, - "locked": true, - "active_lock_reason": "too heated", - "comments": 0, - "pull_request": { - "url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347", - "html_url": "https://github.com/octocat/Hello-World/pull/1347", - "diff_url": "https://github.com/octocat/Hello-World/pull/1347.diff", - "patch_url": "https://github.com/octocat/Hello-World/pull/1347.patch" - }, - "closed_at": null, - "created_at": "2011-04-22T13:33:48Z", - "updated_at": "2011-04-22T13:33:48Z", - "closed_by": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "author_association": "COLLABORATOR", - "state_reason": "completed" - } - }, - "issue-comment-items": { - "value": [ - { - "id": 1, - "node_id": "MDEyOklzc3VlQ29tbWVudDE=", - "url": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1", - "html_url": "https://github.com/octocat/Hello-World/issues/1347#issuecomment-1", - "body": "Me too", - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-14T16:00:49Z", - "updated_at": "2011-04-14T16:00:49Z", - "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", - "author_association": "COLLABORATOR" - } - ] - }, - "issue-comment": { - "value": { - "id": 1, - "node_id": "MDEyOklzc3VlQ29tbWVudDE=", - "url": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1", - "html_url": "https://github.com/octocat/Hello-World/issues/1347#issuecomment-1", - "body": "Me too", - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-14T16:00:49Z", - "updated_at": "2011-04-14T16:00:49Z", - "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", - "author_association": "COLLABORATOR" - } - }, - "issue-event-items": { - "value": [ - { - "id": 1, - "node_id": "MDEwOklzc3VlRXZlbnQx", - "url": "https://api.github.com/repos/octocat/Hello-World/issues/events/1", - "actor": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "event": "closed", - "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "commit_url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e", - "created_at": "2011-04-14T16:00:49Z", - "issue": { - "id": 1, - "node_id": "MDU6SXNzdWUx", - "url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", - "repository_url": "https://api.github.com/repos/octocat/Hello-World", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/labels{/name}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments", - "events_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/events", - "html_url": "https://github.com/octocat/Hello-World/issues/1347", - "number": 1347, - "state": "open", - "title": "Found a bug", - "body": "I'm having a problem with this.", - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 208045946, - "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", - "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug", - "name": "bug", - "description": "Something isn't working", - "color": "f29513", - "default": true - } - ], - "assignee": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [ - { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - ], - "milestone": { - "url": "https://api.github.com/repos/octocat/Hello-World/milestones/1", - "html_url": "https://github.com/octocat/Hello-World/milestones/v1.0", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels", - "id": 1002604, - "node_id": "MDk6TWlsZXN0b25lMTAwMjYwNA==", - "number": 1, - "state": "open", - "title": "v1.0", - "description": "Tracking milestone for version 1.0", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "open_issues": 4, - "closed_issues": 8, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z", - "closed_at": "2013-02-12T13:22:01Z", - "due_on": "2012-10-09T23:39:01Z" - }, - "locked": true, - "active_lock_reason": "too heated", - "comments": 0, - "pull_request": { - "url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347", - "html_url": "https://github.com/octocat/Hello-World/pull/1347", - "diff_url": "https://github.com/octocat/Hello-World/pull/1347.diff", - "patch_url": "https://github.com/octocat/Hello-World/pull/1347.patch" - }, - "closed_at": null, - "created_at": "2011-04-22T13:33:48Z", - "updated_at": "2011-04-22T13:33:48Z", - "author_association": "COLLABORATOR", - "state_reason": "completed" - } - } - ] - }, - "issue-event": { - "value": { - "id": 1, - "node_id": "MDEwOklzc3VlRXZlbnQx", - "url": "https://api.github.com/repos/octocat/Hello-World/issues/events/1", - "actor": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "event": "closed", - "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "commit_url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e", - "created_at": "2011-04-14T16:00:49Z", - "issue": { - "id": 1, - "node_id": "MDU6SXNzdWUx", - "url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", - "repository_url": "https://api.github.com/repos/octocat/Hello-World", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/labels{/name}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments", - "events_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/events", - "html_url": "https://github.com/octocat/Hello-World/issues/1347", - "number": 1347, - "state": "open", - "title": "Found a bug", - "body": "I'm having a problem with this.", - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "labels": [ - { - "id": 208045946, - "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", - "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug", - "name": "bug", - "description": "Something isn't working", - "color": "f29513", - "default": true - } - ], - "assignee": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [ - { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - ], - "milestone": { - "url": "https://api.github.com/repos/octocat/Hello-World/milestones/1", - "html_url": "https://github.com/octocat/Hello-World/milestones/v1.0", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels", - "id": 1002604, - "node_id": "MDk6TWlsZXN0b25lMTAwMjYwNA==", - "number": 1, - "state": "open", - "title": "v1.0", - "description": "Tracking milestone for version 1.0", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "open_issues": 4, - "closed_issues": 8, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z", - "closed_at": "2013-02-12T13:22:01Z", - "due_on": "2012-10-09T23:39:01Z" - }, - "locked": true, - "performed_via_github_app": { - "id": 1, - "slug": "octoapp", - "node_id": "MDExOkludGVncmF0aW9uMQ==", - "owner": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "name": "Octocat App", - "description": "", - "external_url": "https://example.com", - "html_url": "https://github.com/apps/octoapp", - "created_at": "2017-07-08T16:18:44-04:00", - "updated_at": "2017-07-08T16:18:44-04:00", - "permissions": { - "metadata": "read", - "contents": "read", - "issues": "write", - "single_file": "write" - }, - "events": ["push", "pull_request"] - }, - "comments": 0, - "pull_request": { - "url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347", - "html_url": "https://github.com/octocat/Hello-World/pull/1347", - "diff_url": "https://github.com/octocat/Hello-World/pull/1347.diff", - "patch_url": "https://github.com/octocat/Hello-World/pull/1347.patch" - }, - "closed_at": null, - "created_at": "2011-04-22T13:33:48Z", - "updated_at": "2011-04-22T13:33:48Z", - "author_association": "COLLABORATOR", - "state_reason": "completed" - } - } - }, - "issue-event-for-issue-items": { - "value": [ - { - "id": 1, - "node_id": "MDEwOklzc3VlRXZlbnQx", - "url": "https://api.github.com/repos/octocat/Hello-World/issues/events/1", - "actor": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "event": "closed", - "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "commit_url": "https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e", - "created_at": "2011-04-14T16:00:49Z", - "performed_via_github_app": null, - "label": { "name": "label", "color": "red" } - } - ] - }, - "label-items": { - "value": [ - { - "id": 208045946, - "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", - "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug", - "name": "bug", - "description": "Something isn't working", - "color": "f29513", - "default": true - }, - { - "id": 208045947, - "node_id": "MDU6TGFiZWwyMDgwNDU5NDc=", - "url": "https://api.github.com/repos/octocat/Hello-World/labels/enhancement", - "name": "enhancement", - "description": "New feature or request", - "color": "a2eeef", - "default": false - } - ] - }, - "label-items-2": { - "value": [ - { - "id": 208045946, - "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", - "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug", - "name": "bug", - "description": "Something isn't working", - "color": "f29513", - "default": true - } - ] - }, - "timeline-issue-events": { - "value": [ - { - "id": 6430295168, - "node_id": "LOE_lADODwFebM5HwC0kzwAAAAF_RoSA", - "url": "https://api.github.com/repos/github/roadmap/issues/events/6430295168", - "actor": { - "login": "github", - "id": 9919, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=", - "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/github", - "html_url": "https://github.com/github", - "followers_url": "https://api.github.com/users/github/followers", - "following_url": "https://api.github.com/users/github/following{/other_user}", - "gists_url": "https://api.github.com/users/github/gists{/gist_id}", - "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/github/subscriptions", - "organizations_url": "https://api.github.com/users/github/orgs", - "repos_url": "https://api.github.com/users/github/repos", - "events_url": "https://api.github.com/users/github/events{/privacy}", - "received_events_url": "https://api.github.com/users/github/received_events", - "type": "Organization", - "site_admin": false - }, - "event": "locked", - "commit_id": null, - "commit_url": null, - "created_at": "2022-04-13T20:49:13Z", - "lock_reason": null, - "performed_via_github_app": null - }, - { - "id": 6430296748, - "node_id": "LE_lADODwFebM5HwC0kzwAAAAF_Roqs", - "url": "https://api.github.com/repos/github/roadmap/issues/events/6430296748", - "actor": { - "login": "github-product-roadmap", - "id": 67656570, - "node_id": "MDQ6VXNlcjY3NjU2NTcw", - "avatar_url": "https://avatars.githubusercontent.com/u/67656570?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/github-product-roadmap", - "html_url": "https://github.com/github-product-roadmap", - "followers_url": "https://api.github.com/users/github-product-roadmap/followers", - "following_url": "https://api.github.com/users/github-product-roadmap/following{/other_user}", - "gists_url": "https://api.github.com/users/github-product-roadmap/gists{/gist_id}", - "starred_url": "https://api.github.com/users/github-product-roadmap/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/github-product-roadmap/subscriptions", - "organizations_url": "https://api.github.com/users/github-product-roadmap/orgs", - "repos_url": "https://api.github.com/users/github-product-roadmap/repos", - "events_url": "https://api.github.com/users/github-product-roadmap/events{/privacy}", - "received_events_url": "https://api.github.com/users/github-product-roadmap/received_events", - "type": "User", - "site_admin": false - }, - "event": "labeled", - "commit_id": null, - "commit_url": null, - "created_at": "2022-04-13T20:49:34Z", - "label": { "name": "beta", "color": "99dd88" }, - "performed_via_github_app": null - }, - { - "id": 6635165802, - "node_id": "RTE_lADODwFebM5HwC0kzwAAAAGLfJhq", - "url": "https://api.github.com/repos/github/roadmap/issues/events/6635165802", - "actor": { - "login": "github-product-roadmap", - "id": 67656570, - "node_id": "MDQ6VXNlcjY3NjU2NTcw", - "avatar_url": "https://avatars.githubusercontent.com/u/67656570?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/github-product-roadmap", - "html_url": "https://github.com/github-product-roadmap", - "followers_url": "https://api.github.com/users/github-product-roadmap/followers", - "following_url": "https://api.github.com/users/github-product-roadmap/following{/other_user}", - "gists_url": "https://api.github.com/users/github-product-roadmap/gists{/gist_id}", - "starred_url": "https://api.github.com/users/github-product-roadmap/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/github-product-roadmap/subscriptions", - "organizations_url": "https://api.github.com/users/github-product-roadmap/orgs", - "repos_url": "https://api.github.com/users/github-product-roadmap/repos", - "events_url": "https://api.github.com/users/github-product-roadmap/events{/privacy}", - "received_events_url": "https://api.github.com/users/github-product-roadmap/received_events", - "type": "User", - "site_admin": false - }, - "event": "renamed", - "commit_id": null, - "commit_url": null, - "created_at": "2022-05-18T19:29:01Z", - "rename": { - "from": "Secret scanning: dry-runs for enterprise-level custom patterns (cloud)", - "to": "Secret scanning: dry-runs for enterprise-level custom patterns" - }, - "performed_via_github_app": null - }, - { - "url": "https://api.github.com/repos/github/roadmap/issues/comments/1130876857", - "html_url": "https://github.com/github/roadmap/issues/493#issuecomment-1130876857", - "issue_url": "https://api.github.com/repos/github/roadmap/issues/493", - "id": 1130876857, - "node_id": "IC_kwDODwFebM5DZ8-5", - "user": { - "login": "octocat", - "id": 94867353, - "node_id": "U_kgDOBaePmQ", - "avatar_url": "https://avatars.githubusercontent.com/u/94867353?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "created_at": "2022-05-19T00:52:15Z", - "updated_at": "2022-05-19T00:52:15Z", - "author_association": "COLLABORATOR", - "body": "🚢 Shipped to the cloud: https://github.blog/changelog/2022-05-12-secret-scanning-dry-runs-for-enterprise-level-custom-patterns/", - "reactions": { - "url": "https://api.github.com/repos/github/roadmap/issues/comments/1130876857/reactions", - "total_count": 0, - "+1": 0, - "-1": 0, - "laugh": 0, - "hooray": 0, - "confused": 0, - "heart": 0, - "rocket": 0, - "eyes": 0 - }, - "performed_via_github_app": null, - "event": "commented", - "actor": { - "login": "octocat", - "id": 94867353, - "node_id": "U_kgDOBaePmQ", - "avatar_url": "https://avatars.githubusercontent.com/u/94867353?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - } - } - ] - }, - "deploy-key-items": { - "value": { - "enabled": [ - { - "id": 1, - "key": "ssh-rsa AAA...", - "url": "https://api.github.com/repos/octocat/Hello-World/keys/1", - "title": "octocat@octomac", - "verified": true, - "created_at": "2014-12-10T15:53:42Z", - "read_only": true, - "added_by": "octocat", - "last_used": "2022-01-10T15:53:42Z" - } - ] - } - }, - "deploy-key": { - "value": { - "id": 1, - "key": "ssh-rsa AAA...", - "url": "https://api.github.com/repos/octocat/Hello-World/keys/1", - "title": "octocat@octomac", - "verified": true, - "created_at": "2014-12-10T15:53:42Z", - "read_only": true, - "added_by": "octocat", - "last_used": "2022-01-10T15:53:42Z" - } - }, - "label": { - "value": { - "id": 208045946, - "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", - "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug", - "name": "bug", - "description": "Something isn't working", - "color": "f29513", - "default": true - } - }, - "label-2": { - "value": { - "id": 208045946, - "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", - "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug%20:bug:", - "name": "bug :bug:", - "description": "Small bug fix required", - "color": "b01f26", - "default": true - } - }, - "language": { "value": { "C": 78769, "Python": 7769 } }, - "license-content": { - "value": { - "name": "LICENSE", - "path": "LICENSE", - "sha": "401c59dcc4570b954dd6d345e76199e1f4e76266", - "size": 1077, - "url": "https://api.github.com/repos/benbalter/gman/contents/LICENSE?ref=master", - "html_url": "https://github.com/benbalter/gman/blob/master/LICENSE", - "git_url": "https://api.github.com/repos/benbalter/gman/git/blobs/401c59dcc4570b954dd6d345e76199e1f4e76266", - "download_url": "https://raw.githubusercontent.com/benbalter/gman/master/LICENSE?lab=true", - "type": "file", - "content": "VGhlIE1JVCBMaWNlbnNlIChNSVQpCgpDb3B5cmlnaHQgKGMpIDIwMTMgQmVu\nIEJhbHRlcgoKUGVybWlzc2lvbiBpcyBoZXJlYnkgZ3JhbnRlZCwgZnJlZSBv\nZiBjaGFyZ2UsIHRvIGFueSBwZXJzb24gb2J0YWluaW5nIGEgY29weSBvZgp0\naGlzIHNvZnR3YXJlIGFuZCBhc3NvY2lhdGVkIGRvY3VtZW50YXRpb24gZmls\nZXMgKHRoZSAiU29mdHdhcmUiKSwgdG8gZGVhbCBpbgp0aGUgU29mdHdhcmUg\nd2l0aG91dCByZXN0cmljdGlvbiwgaW5jbHVkaW5nIHdpdGhvdXQgbGltaXRh\ndGlvbiB0aGUgcmlnaHRzIHRvCnVzZSwgY29weSwgbW9kaWZ5LCBtZXJnZSwg\ncHVibGlzaCwgZGlzdHJpYnV0ZSwgc3VibGljZW5zZSwgYW5kL29yIHNlbGwg\nY29waWVzIG9mCnRoZSBTb2Z0d2FyZSwgYW5kIHRvIHBlcm1pdCBwZXJzb25z\nIHRvIHdob20gdGhlIFNvZnR3YXJlIGlzIGZ1cm5pc2hlZCB0byBkbyBzbywK\nc3ViamVjdCB0byB0aGUgZm9sbG93aW5nIGNvbmRpdGlvbnM6CgpUaGUgYWJv\ndmUgY29weXJpZ2h0IG5vdGljZSBhbmQgdGhpcyBwZXJtaXNzaW9uIG5vdGlj\nZSBzaGFsbCBiZSBpbmNsdWRlZCBpbiBhbGwKY29waWVzIG9yIHN1YnN0YW50\naWFsIHBvcnRpb25zIG9mIHRoZSBTb2Z0d2FyZS4KClRIRSBTT0ZUV0FSRSBJ\nUyBQUk9WSURFRCAiQVMgSVMiLCBXSVRIT1VUIFdBUlJBTlRZIE9GIEFOWSBL\nSU5ELCBFWFBSRVNTIE9SCklNUExJRUQsIElOQ0xVRElORyBCVVQgTk9UIExJ\nTUlURUQgVE8gVEhFIFdBUlJBTlRJRVMgT0YgTUVSQ0hBTlRBQklMSVRZLCBG\nSVRORVNTCkZPUiBBIFBBUlRJQ1VMQVIgUFVSUE9TRSBBTkQgTk9OSU5GUklO\nR0VNRU5ULiBJTiBOTyBFVkVOVCBTSEFMTCBUSEUgQVVUSE9SUyBPUgpDT1BZ\nUklHSFQgSE9MREVSUyBCRSBMSUFCTEUgRk9SIEFOWSBDTEFJTSwgREFNQUdF\nUyBPUiBPVEhFUiBMSUFCSUxJVFksIFdIRVRIRVIKSU4gQU4gQUNUSU9OIE9G\nIENPTlRSQUNULCBUT1JUIE9SIE9USEVSV0lTRSwgQVJJU0lORyBGUk9NLCBP\nVVQgT0YgT1IgSU4KQ09OTkVDVElPTiBXSVRIIFRIRSBTT0ZUV0FSRSBPUiBU\nSEUgVVNFIE9SIE9USEVSIERFQUxJTkdTIElOIFRIRSBTT0ZUV0FSRS4K\n", - "encoding": "base64", - "_links": { - "self": "https://api.github.com/repos/benbalter/gman/contents/LICENSE?ref=master", - "git": "https://api.github.com/repos/benbalter/gman/git/blobs/401c59dcc4570b954dd6d345e76199e1f4e76266", - "html": "https://github.com/benbalter/gman/blob/master/LICENSE" - }, - "license": { - "key": "mit", - "name": "MIT License", - "spdx_id": "MIT", - "url": "https://api.github.com/licenses/mit", - "node_id": "MDc6TGljZW5zZW1pdA==" - } - } - }, - "merged-upstream": { - "value": { - "message": "Successfully fetched and fast-forwarded from upstream defunkt:main", - "merge_type": "fast-forward", - "base_branch": "defunkt:main" - } - }, - "milestone-items": { - "value": [ - { - "url": "https://api.github.com/repos/octocat/Hello-World/milestones/1", - "html_url": "https://github.com/octocat/Hello-World/milestones/v1.0", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels", - "id": 1002604, - "node_id": "MDk6TWlsZXN0b25lMTAwMjYwNA==", - "number": 1, - "state": "open", - "title": "v1.0", - "description": "Tracking milestone for version 1.0", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "open_issues": 4, - "closed_issues": 8, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z", - "closed_at": "2013-02-12T13:22:01Z", - "due_on": "2012-10-09T23:39:01Z" - } - ] - }, - "milestone": { - "value": { - "url": "https://api.github.com/repos/octocat/Hello-World/milestones/1", - "html_url": "https://github.com/octocat/Hello-World/milestones/v1.0", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels", - "id": 1002604, - "node_id": "MDk6TWlsZXN0b25lMTAwMjYwNA==", - "number": 1, - "state": "open", - "title": "v1.0", - "description": "Tracking milestone for version 1.0", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "open_issues": 4, - "closed_issues": 8, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z", - "closed_at": "2013-02-12T13:22:01Z", - "due_on": "2012-10-09T23:39:01Z" - } - }, - "page": { - "value": { - "url": "https://api.github.com/repos/github/developer.github.com/pages", - "status": "built", - "cname": "developer.github.com", - "custom_404": false, - "html_url": "https://developer.github.com", - "source": { "branch": "master", "path": "/" }, - "public": true, - "pending_domain_unverified_at": "2024-04-30T19:33:31Z", - "protected_domain_state": "verified", - "https_certificate": { - "state": "approved", - "description": "Certificate is approved", - "domains": ["developer.github.com"], - "expires_at": "2021-05-22" - }, - "https_enforced": true - } - }, - "page-build-items": { - "value": [ - { - "url": "https://api.github.com/repos/github/developer.github.com/pages/builds/5472601", - "status": "built", - "error": { "message": null }, - "pusher": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "commit": "351391cdcb88ffae71ec3028c91f375a8036a26b", - "duration": 2104, - "created_at": "2014-02-10T19:00:49Z", - "updated_at": "2014-02-10T19:00:51Z" - } - ] - }, - "page-build-status": { - "value": { - "url": "https://api.github.com/repos/github/developer.github.com/pages/builds/latest", - "status": "queued" - } - }, - "page-build": { - "value": { - "url": "https://api.github.com/repos/github/developer.github.com/pages/builds/5472601", - "status": "built", - "error": { "message": null }, - "pusher": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "commit": "351391cdcb88ffae71ec3028c91f375a8036a26b", - "duration": 2104, - "created_at": "2014-02-10T19:00:49Z", - "updated_at": "2014-02-10T19:00:51Z" - } - }, - "page-deployment": { - "value": { - "id": "4fd754f7e594640989b406850d0bc8f06a121251", - "status_url": "https://api.github.com/repos/github/developer.github.com/pages/deployments/4fd754f7e594640989b406850d0bc8f06a121251/status", - "page_url": "developer.github.com" - } - }, - "pages-deployment-status": { "value": { "status": "succeed" } }, - "repository-pre-receive-hook-items": { - "value": [ - { - "id": 42, - "name": "Check Commits", - "enforcement": "disabled", - "configuration_url": "https://github.example.com/api/v3/orgs/octocat/pre-receive-hooks/42" - } - ] - }, - "repository-pre-receive-hook": { - "value": { - "id": 42, - "name": "Check Commits", - "enforcement": "disabled", - "configuration_url": "https://github.example.com/api/v3/orgs/octocat/pre-receive-hooks/42" - } - }, - "repository-pre-receive-hook-2": { - "value": { - "id": 42, - "name": "Check Commits", - "enforcement": "enabled", - "configuration_url": "https://github.example.com/api/v3/repos/octocat/hello-world/pre-receive-hooks/42" - } - }, - "project-items-2": { - "value": [ - { - "owner_url": "https://api.github.com/repos/api-playground/projects-test", - "url": "https://api.github.com/projects/1002604", - "html_url": "https://github.com/api-playground/projects-test/projects/1", - "columns_url": "https://api.github.com/projects/1002604/columns", - "id": 1002604, - "node_id": "MDc6UHJvamVjdDEwMDI2MDQ=", - "name": "Projects Documentation", - "body": "Developer documentation project for the developer site.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z" - } - ] - }, - "custom-property-values": { - "value": [ - { "property_name": "environment", "value": "production" }, - { "property_name": "service", "value": "web" }, - { "property_name": "team", "value": "octocat" } - ] - }, - "create-or-update-custom-properties-values": { - "value": { - "properties": [ - { "property_name": "environment", "value": "production" }, - { "property_name": "service", "value": "web" }, - { "property_name": "team", "value": "octocat" } - ] - } - }, - "pull-request": { - "value": { - "url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347", - "id": 1, - "node_id": "MDExOlB1bGxSZXF1ZXN0MQ==", - "html_url": "https://github.com/octocat/Hello-World/pull/1347", - "diff_url": "https://github.com/octocat/Hello-World/pull/1347.diff", - "patch_url": "https://github.com/octocat/Hello-World/pull/1347.patch", - "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits", - "review_comments_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments", - "review_comment_url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e", - "number": 1347, - "state": "open", - "locked": true, - "title": "Amazing new feature", - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "body": "Please pull these awesome changes in!", - "labels": [ - { - "id": 208045946, - "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", - "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug", - "name": "bug", - "description": "Something isn't working", - "color": "f29513", - "default": true - } - ], - "milestone": { - "url": "https://api.github.com/repos/octocat/Hello-World/milestones/1", - "html_url": "https://github.com/octocat/Hello-World/milestones/v1.0", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels", - "id": 1002604, - "node_id": "MDk6TWlsZXN0b25lMTAwMjYwNA==", - "number": 1, - "state": "open", - "title": "v1.0", - "description": "Tracking milestone for version 1.0", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "open_issues": 4, - "closed_issues": 8, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z", - "closed_at": "2013-02-12T13:22:01Z", - "due_on": "2012-10-09T23:39:01Z" - }, - "active_lock_reason": "too heated", - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:01:12Z", - "closed_at": "2011-01-26T19:01:12Z", - "merged_at": "2011-01-26T19:01:12Z", - "merge_commit_sha": "e5bd3914e2e596debea16f433f57875b5b90bcd6", - "assignee": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [ - { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - { - "login": "hubot", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/hubot_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/hubot", - "html_url": "https://github.com/hubot", - "followers_url": "https://api.github.com/users/hubot/followers", - "following_url": "https://api.github.com/users/hubot/following{/other_user}", - "gists_url": "https://api.github.com/users/hubot/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hubot/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hubot/subscriptions", - "organizations_url": "https://api.github.com/users/hubot/orgs", - "repos_url": "https://api.github.com/users/hubot/repos", - "events_url": "https://api.github.com/users/hubot/events{/privacy}", - "received_events_url": "https://api.github.com/users/hubot/received_events", - "type": "User", - "site_admin": true - } - ], - "requested_reviewers": [ - { - "login": "other_user", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/other_user_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/other_user", - "html_url": "https://github.com/other_user", - "followers_url": "https://api.github.com/users/other_user/followers", - "following_url": "https://api.github.com/users/other_user/following{/other_user}", - "gists_url": "https://api.github.com/users/other_user/gists{/gist_id}", - "starred_url": "https://api.github.com/users/other_user/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/other_user/subscriptions", - "organizations_url": "https://api.github.com/users/other_user/orgs", - "repos_url": "https://api.github.com/users/other_user/repos", - "events_url": "https://api.github.com/users/other_user/events{/privacy}", - "received_events_url": "https://api.github.com/users/other_user/received_events", - "type": "User", - "site_admin": false - } - ], - "requested_teams": [ - { - "id": 1, - "node_id": "MDQ6VGVhbTE=", - "url": "https://api.github.com/teams/1", - "html_url": "https://github.com/orgs/github/teams/justice-league", - "name": "Justice League", - "slug": "justice-league", - "description": "A great team.", - "privacy": "closed", - "notification_setting": "notifications_enabled", - "permission": "admin", - "members_url": "https://api.github.com/teams/1/members{/member}", - "repositories_url": "https://api.github.com/teams/1/repos" - } - ], - "head": { - "label": "octocat:new-topic", - "ref": "new-topic", - "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "git_url": "git:github.com/octocat/Hello-World.git", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "ssh_url": "git@github.com:octocat/Hello-World.git", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "clone_url": "https://github.com/octocat/Hello-World.git", - "mirror_url": "git:git.example.com/octocat/Hello-World", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", - "svn_url": "https://svn.github.com/octocat/Hello-World", - "homepage": "https://github.com", - "language": null, - "forks_count": 9, - "stargazers_count": 80, - "watchers_count": 80, - "size": 108, - "default_branch": "master", - "open_issues_count": 0, - "topics": ["octocat", "atom", "electron", "api"], - "has_issues": true, - "has_projects": true, - "has_wiki": true, - "has_pages": false, - "has_downloads": true, - "has_discussions": false, - "archived": false, - "disabled": false, - "pushed_at": "2011-01-26T19:06:43Z", - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:14:43Z", - "permissions": { "admin": false, "push": false, "pull": true }, - "allow_rebase_merge": true, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "allow_squash_merge": true, - "allow_merge_commit": true, - "allow_forking": true, - "forks": 123, - "open_issues": 123, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==" - }, - "watchers": 123 - } - }, - "base": { - "label": "octocat:master", - "ref": "master", - "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "git_url": "git:github.com/octocat/Hello-World.git", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "ssh_url": "git@github.com:octocat/Hello-World.git", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "clone_url": "https://github.com/octocat/Hello-World.git", - "mirror_url": "git:git.example.com/octocat/Hello-World", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", - "svn_url": "https://svn.github.com/octocat/Hello-World", - "homepage": "https://github.com", - "language": null, - "forks_count": 9, - "stargazers_count": 80, - "watchers_count": 80, - "size": 108, - "default_branch": "master", - "open_issues_count": 0, - "topics": ["octocat", "atom", "electron", "api"], - "has_issues": true, - "has_projects": true, - "has_wiki": true, - "has_pages": false, - "has_downloads": true, - "has_discussions": false, - "archived": false, - "disabled": false, - "pushed_at": "2011-01-26T19:06:43Z", - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:14:43Z", - "permissions": { "admin": false, "push": false, "pull": true }, - "allow_rebase_merge": true, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "allow_squash_merge": true, - "allow_merge_commit": true, - "forks": 123, - "open_issues": 123, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==" - }, - "watchers": 123 - } - }, - "_links": { - "self": { - "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347" - }, - "html": { - "href": "https://github.com/octocat/Hello-World/pull/1347" - }, - "issue": { - "href": "https://api.github.com/repos/octocat/Hello-World/issues/1347" - }, - "comments": { - "href": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments" - }, - "review_comments": { - "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments" - }, - "review_comment": { - "href": "https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}" - }, - "commits": { - "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits" - }, - "statuses": { - "href": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e" - } - }, - "author_association": "OWNER", - "auto_merge": null, - "draft": false, - "merged": false, - "mergeable": true, - "rebaseable": true, - "mergeable_state": "clean", - "merged_by": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "comments": 10, - "review_comments": 0, - "maintainer_can_modify": true, - "commits": 3, - "additions": 100, - "deletions": 3, - "changed_files": 5 - } - }, - "pull-request-review-comment-items": { - "value": [ - { - "url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1", - "pull_request_review_id": 42, - "id": 10, - "node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw", - "diff_hunk": "@@ -16,33 +16,40 @@ public class Connection : IConnection...", - "path": "file1.txt", - "position": 1, - "original_position": 4, - "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "original_commit_id": "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840", - "in_reply_to_id": 8, - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "body": "Great stuff!", - "created_at": "2011-04-14T16:00:49Z", - "updated_at": "2011-04-14T16:00:49Z", - "html_url": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1", - "pull_request_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1", - "author_association": "NONE", - "_links": { - "self": { - "href": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1" - }, - "html": { - "href": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1" - }, - "pull_request": { - "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1" - } - }, - "start_line": 1, - "original_start_line": 1, - "start_side": "RIGHT", - "line": 2, - "original_line": 2, - "side": "RIGHT" - } - ] - }, - "pull-request-review-comment-2": { - "value": { - "url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1", - "pull_request_review_id": 42, - "id": 10, - "node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw", - "diff_hunk": "@@ -16,33 +16,40 @@ public class Connection : IConnection...", - "path": "file1.txt", - "position": 1, - "original_position": 4, - "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "original_commit_id": "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840", - "in_reply_to_id": 8, - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "body": "Great stuff!", - "created_at": "2011-04-14T16:00:49Z", - "updated_at": "2011-04-14T16:00:49Z", - "html_url": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1", - "pull_request_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1", - "author_association": "NONE", - "_links": { - "self": { - "href": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1" - }, - "html": { - "href": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1" - }, - "pull_request": { - "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1" - } - }, - "start_line": 1, - "original_start_line": 1, - "start_side": "RIGHT", - "line": 2, - "original_line": 2, - "side": "RIGHT" - } - }, - "pull-request-review-comment-example-for-a-multi-line-comment": { - "value": { - "url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1", - "pull_request_review_id": 42, - "id": 10, - "node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw", - "diff_hunk": "@@ -16,33 +16,40 @@ public class Connection : IConnection...", - "path": "file1.txt", - "position": 1, - "original_position": 4, - "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "original_commit_id": "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840", - "in_reply_to_id": 8, - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "body": "Great stuff!", - "created_at": "2011-04-14T16:00:49Z", - "updated_at": "2011-04-14T16:00:49Z", - "html_url": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1", - "pull_request_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1", - "author_association": "NONE", - "_links": { - "self": { - "href": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1" - }, - "html": { - "href": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1" - }, - "pull_request": { - "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1" - } - }, - "start_line": 1, - "original_start_line": 1, - "start_side": "RIGHT", - "line": 2, - "original_line": 2, - "side": "RIGHT" - } - }, - "pull-request-review-comment": { - "value": { - "url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1", - "pull_request_review_id": 42, - "id": 10, - "node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw", - "diff_hunk": "@@ -16,33 +16,40 @@ public class Connection : IConnection...", - "path": "file1.txt", - "position": 1, - "original_position": 4, - "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "original_commit_id": "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840", - "in_reply_to_id": 426899381, - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "body": "Great stuff!", - "created_at": "2011-04-14T16:00:49Z", - "updated_at": "2011-04-14T16:00:49Z", - "html_url": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1", - "pull_request_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1", - "author_association": "NONE", - "_links": { - "self": { - "href": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1" - }, - "html": { - "href": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1" - }, - "pull_request": { - "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1" - } - }, - "start_line": 1, - "original_start_line": 1, - "start_side": "RIGHT", - "line": 2, - "original_line": 2, - "side": "RIGHT" - } - }, - "diff-entry-items": { - "value": [ - { - "sha": "bbcd538c8e72b8c175046e27cc8f907076331401", - "filename": "file1.txt", - "status": "added", - "additions": 103, - "deletions": 21, - "changes": 124, - "blob_url": "https://github.com/octocat/Hello-World/blob/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt", - "raw_url": "https://github.com/octocat/Hello-World/raw/6dcb09b5b57875f334f61aebed695e2e4193db5e/file1.txt", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/file1.txt?ref=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "patch": "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" - } - ] - }, - "pull-request-merge-result-response-if-merge-was-successful": { - "value": { - "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "merged": true, - "message": "Pull Request successfully merged" - } - }, - "simple-pull-request-review-request": { - "value": { - "users": [ - { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - ], - "teams": [ - { - "id": 1, - "node_id": "MDQ6VGVhbTE=", - "url": "https://api.github.com/teams/1", - "html_url": "https://github.com/orgs/github/teams/justice-league", - "name": "Justice League", - "slug": "justice-league", - "description": "A great team.", - "privacy": "closed", - "notification_setting": "notifications_enabled", - "permission": "admin", - "members_url": "https://api.github.com/teams/1/members{/member}", - "repositories_url": "https://api.github.com/teams/1/repos", - "parent": null - } - ] - } - }, - "pull-request-review-request": { - "value": { - "url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347", - "id": 1, - "node_id": "MDExOlB1bGxSZXF1ZXN0MQ==", - "html_url": "https://github.com/octocat/Hello-World/pull/1347", - "diff_url": "https://github.com/octocat/Hello-World/pull/1347.diff", - "patch_url": "https://github.com/octocat/Hello-World/pull/1347.patch", - "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits", - "review_comments_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments", - "review_comment_url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e", - "number": 1347, - "state": "open", - "locked": true, - "title": "Amazing new feature", - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "body": "Please pull these awesome changes in!", - "labels": [ - { - "id": 208045946, - "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", - "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug", - "name": "bug", - "description": "Something isn't working", - "color": "f29513", - "default": true - } - ], - "milestone": { - "url": "https://api.github.com/repos/octocat/Hello-World/milestones/1", - "html_url": "https://github.com/octocat/Hello-World/milestones/v1.0", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels", - "id": 1002604, - "node_id": "MDk6TWlsZXN0b25lMTAwMjYwNA==", - "number": 1, - "state": "open", - "title": "v1.0", - "description": "Tracking milestone for version 1.0", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "open_issues": 4, - "closed_issues": 8, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z", - "closed_at": "2013-02-12T13:22:01Z", - "due_on": "2012-10-09T23:39:01Z" - }, - "active_lock_reason": "too heated", - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:01:12Z", - "closed_at": "2011-01-26T19:01:12Z", - "merged_at": "2011-01-26T19:01:12Z", - "merge_commit_sha": "e5bd3914e2e596debea16f433f57875b5b90bcd6", - "assignee": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [ - { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - { - "login": "hubot", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/hubot_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/hubot", - "html_url": "https://github.com/hubot", - "followers_url": "https://api.github.com/users/hubot/followers", - "following_url": "https://api.github.com/users/hubot/following{/other_user}", - "gists_url": "https://api.github.com/users/hubot/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hubot/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hubot/subscriptions", - "organizations_url": "https://api.github.com/users/hubot/orgs", - "repos_url": "https://api.github.com/users/hubot/repos", - "events_url": "https://api.github.com/users/hubot/events{/privacy}", - "received_events_url": "https://api.github.com/users/hubot/received_events", - "type": "User", - "site_admin": true - } - ], - "requested_reviewers": [ - { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - { - "login": "hubot", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/hubot_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/hubot", - "html_url": "https://github.com/hubot", - "followers_url": "https://api.github.com/users/hubot/followers", - "following_url": "https://api.github.com/users/hubot/following{/other_user}", - "gists_url": "https://api.github.com/users/hubot/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hubot/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hubot/subscriptions", - "organizations_url": "https://api.github.com/users/hubot/orgs", - "repos_url": "https://api.github.com/users/hubot/repos", - "events_url": "https://api.github.com/users/hubot/events{/privacy}", - "received_events_url": "https://api.github.com/users/hubot/received_events", - "type": "User", - "site_admin": true - }, - { - "login": "other_user", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/other_user_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/other_user", - "html_url": "https://github.com/other_user", - "followers_url": "https://api.github.com/users/other_user/followers", - "following_url": "https://api.github.com/users/other_user/following{/other_user}", - "gists_url": "https://api.github.com/users/other_user/gists{/gist_id}", - "starred_url": "https://api.github.com/users/other_user/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/other_user/subscriptions", - "organizations_url": "https://api.github.com/users/other_user/orgs", - "repos_url": "https://api.github.com/users/other_user/repos", - "events_url": "https://api.github.com/users/other_user/events{/privacy}", - "received_events_url": "https://api.github.com/users/other_user/received_events", - "type": "User", - "site_admin": false - } - ], - "requested_teams": [ - { - "id": 1, - "node_id": "MDQ6VGVhbTE=", - "url": "https://api.github.com/teams/1", - "html_url": "https://github.com/orgs/github/teams/justice-league", - "name": "Justice League", - "slug": "justice-league", - "description": "A great team.", - "privacy": "closed", - "notification_setting": "notifications_enabled", - "permission": "admin", - "members_url": "https://api.github.com/teams/1/members{/member}", - "repositories_url": "https://api.github.com/teams/1/repos", - "parent": null - } - ], - "head": { - "label": "octocat:new-topic", - "ref": "new-topic", - "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "git_url": "git:github.com/octocat/Hello-World.git", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "ssh_url": "git@github.com:octocat/Hello-World.git", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "clone_url": "https://github.com/octocat/Hello-World.git", - "mirror_url": "git:git.example.com/octocat/Hello-World", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", - "svn_url": "https://svn.github.com/octocat/Hello-World", - "homepage": "https://github.com", - "language": null, - "forks_count": 9, - "stargazers_count": 80, - "watchers_count": 80, - "size": 108, - "default_branch": "master", - "open_issues_count": 0, - "is_template": true, - "topics": ["octocat", "atom", "electron", "api"], - "has_issues": true, - "has_projects": true, - "has_wiki": true, - "has_pages": false, - "has_downloads": true, - "archived": false, - "disabled": false, - "visibility": "public", - "pushed_at": "2011-01-26T19:06:43Z", - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:14:43Z", - "permissions": { "admin": false, "push": false, "pull": true }, - "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "allow_squash_merge": true, - "allow_auto_merge": false, - "delete_branch_on_merge": true, - "allow_merge_commit": true, - "subscribers_count": 42, - "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 - } - }, - "base": { - "label": "octocat:master", - "ref": "master", - "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "git_url": "git:github.com/octocat/Hello-World.git", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "ssh_url": "git@github.com:octocat/Hello-World.git", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "clone_url": "https://github.com/octocat/Hello-World.git", - "mirror_url": "git:git.example.com/octocat/Hello-World", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", - "svn_url": "https://svn.github.com/octocat/Hello-World", - "homepage": "https://github.com", - "language": null, - "forks_count": 9, - "stargazers_count": 80, - "watchers_count": 80, - "size": 108, - "default_branch": "master", - "open_issues_count": 0, - "is_template": true, - "topics": ["octocat", "atom", "electron", "api"], - "has_issues": true, - "has_projects": true, - "has_wiki": true, - "has_pages": false, - "has_downloads": true, - "archived": false, - "disabled": false, - "visibility": "public", - "pushed_at": "2011-01-26T19:06:43Z", - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:14:43Z", - "permissions": { "admin": false, "push": false, "pull": true }, - "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "allow_squash_merge": true, - "allow_auto_merge": false, - "delete_branch_on_merge": true, - "allow_merge_commit": true, - "subscribers_count": 42, - "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://api.github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 - } - }, - "_links": { - "self": { - "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347" - }, - "html": { - "href": "https://github.com/octocat/Hello-World/pull/1347" - }, - "issue": { - "href": "https://api.github.com/repos/octocat/Hello-World/issues/1347" - }, - "comments": { - "href": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments" - }, - "review_comments": { - "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments" - }, - "review_comment": { - "href": "https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}" - }, - "commits": { - "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits" - }, - "statuses": { - "href": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e" - } - }, - "author_association": "OWNER", - "auto_merge": null, - "draft": false - } - }, - "pull-request-simple": { - "value": { - "url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347", - "id": 1, - "node_id": "MDExOlB1bGxSZXF1ZXN0MQ==", - "html_url": "https://github.com/octocat/Hello-World/pull/1347", - "diff_url": "https://github.com/octocat/Hello-World/pull/1347.diff", - "patch_url": "https://github.com/octocat/Hello-World/pull/1347.patch", - "issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits", - "review_comments_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments", - "review_comment_url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e", - "number": 1347, - "state": "open", - "locked": true, - "title": "Amazing new feature", - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "body": "Please pull these awesome changes in!", - "labels": [ - { - "id": 208045946, - "node_id": "MDU6TGFiZWwyMDgwNDU5NDY=", - "url": "https://api.github.com/repos/octocat/Hello-World/labels/bug", - "name": "bug", - "description": "Something isn't working", - "color": "f29513", - "default": true - } - ], - "milestone": { - "url": "https://api.github.com/repos/octocat/Hello-World/milestones/1", - "html_url": "https://github.com/octocat/Hello-World/milestones/v1.0", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels", - "id": 1002604, - "node_id": "MDk6TWlsZXN0b25lMTAwMjYwNA==", - "number": 1, - "state": "open", - "title": "v1.0", - "description": "Tracking milestone for version 1.0", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "open_issues": 4, - "closed_issues": 8, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z", - "closed_at": "2013-02-12T13:22:01Z", - "due_on": "2012-10-09T23:39:01Z" - }, - "active_lock_reason": "too heated", - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:01:12Z", - "closed_at": "2011-01-26T19:01:12Z", - "merged_at": "2011-01-26T19:01:12Z", - "merge_commit_sha": "e5bd3914e2e596debea16f433f57875b5b90bcd6", - "assignee": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "assignees": [ - { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - { - "login": "hubot", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/hubot_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/hubot", - "html_url": "https://github.com/hubot", - "followers_url": "https://api.github.com/users/hubot/followers", - "following_url": "https://api.github.com/users/hubot/following{/other_user}", - "gists_url": "https://api.github.com/users/hubot/gists{/gist_id}", - "starred_url": "https://api.github.com/users/hubot/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/hubot/subscriptions", - "organizations_url": "https://api.github.com/users/hubot/orgs", - "repos_url": "https://api.github.com/users/hubot/repos", - "events_url": "https://api.github.com/users/hubot/events{/privacy}", - "received_events_url": "https://api.github.com/users/hubot/received_events", - "type": "User", - "site_admin": true - } - ], - "requested_reviewers": [ - { - "login": "other_user", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/other_user_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/other_user", - "html_url": "https://github.com/other_user", - "followers_url": "https://api.github.com/users/other_user/followers", - "following_url": "https://api.github.com/users/other_user/following{/other_user}", - "gists_url": "https://api.github.com/users/other_user/gists{/gist_id}", - "starred_url": "https://api.github.com/users/other_user/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/other_user/subscriptions", - "organizations_url": "https://api.github.com/users/other_user/orgs", - "repos_url": "https://api.github.com/users/other_user/repos", - "events_url": "https://api.github.com/users/other_user/events{/privacy}", - "received_events_url": "https://api.github.com/users/other_user/received_events", - "type": "User", - "site_admin": false - } - ], - "requested_teams": [ - { - "id": 1, - "node_id": "MDQ6VGVhbTE=", - "url": "https://api.github.com/teams/1", - "html_url": "https://github.com/orgs/github/teams/justice-league", - "name": "Justice League", - "slug": "justice-league", - "description": "A great team.", - "privacy": "closed", - "notification_setting": "notifications_enabled", - "permission": "admin", - "members_url": "https://api.github.com/teams/1/members{/member}", - "repositories_url": "https://api.github.com/teams/1/repos", - "parent": null - } - ], - "head": { - "label": "octocat:new-topic", - "ref": "new-topic", - "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "git_url": "git:github.com/octocat/Hello-World.git", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "ssh_url": "git@github.com:octocat/Hello-World.git", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "clone_url": "https://github.com/octocat/Hello-World.git", - "mirror_url": "git:git.example.com/octocat/Hello-World", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", - "svn_url": "https://svn.github.com/octocat/Hello-World", - "homepage": "https://github.com", - "language": null, - "forks_count": 9, - "stargazers_count": 80, - "watchers_count": 80, - "size": 108, - "default_branch": "master", - "open_issues_count": 0, - "is_template": true, - "topics": ["octocat", "atom", "electron", "api"], - "has_issues": true, - "has_projects": true, - "has_wiki": true, - "has_pages": false, - "has_downloads": true, - "archived": false, - "disabled": false, - "visibility": "public", - "pushed_at": "2011-01-26T19:06:43Z", - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:14:43Z", - "permissions": { "admin": false, "push": false, "pull": true }, - "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "allow_squash_merge": true, - "allow_auto_merge": false, - "delete_branch_on_merge": true, - "allow_merge_commit": true, - "subscribers_count": 42, - "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 - } - }, - "base": { - "label": "octocat:master", - "ref": "master", - "sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "repo": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "git_url": "git:github.com/octocat/Hello-World.git", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "ssh_url": "git@github.com:octocat/Hello-World.git", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "clone_url": "https://github.com/octocat/Hello-World.git", - "mirror_url": "git:git.example.com/octocat/Hello-World", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", - "svn_url": "https://svn.github.com/octocat/Hello-World", - "homepage": "https://github.com", - "language": null, - "forks_count": 9, - "stargazers_count": 80, - "watchers_count": 80, - "size": 108, - "default_branch": "master", - "open_issues_count": 0, - "is_template": true, - "topics": ["octocat", "atom", "electron", "api"], - "has_issues": true, - "has_projects": true, - "has_wiki": true, - "has_pages": false, - "has_downloads": true, - "archived": false, - "disabled": false, - "visibility": "public", - "pushed_at": "2011-01-26T19:06:43Z", - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:14:43Z", - "permissions": { "admin": false, "push": false, "pull": true }, - "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "allow_squash_merge": true, - "allow_auto_merge": false, - "delete_branch_on_merge": true, - "allow_merge_commit": true, - "subscribers_count": 42, - "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 - } - }, - "_links": { - "self": { - "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347" - }, - "html": { - "href": "https://github.com/octocat/Hello-World/pull/1347" - }, - "issue": { - "href": "https://api.github.com/repos/octocat/Hello-World/issues/1347" - }, - "comments": { - "href": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments" - }, - "review_comments": { - "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments" - }, - "review_comment": { - "href": "https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}" - }, - "commits": { - "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits" - }, - "statuses": { - "href": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e" - } - }, - "author_association": "OWNER", - "auto_merge": null, - "draft": false - } - }, - "pull-request-review-items": { - "value": [ - { - "id": 80, - "node_id": "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=", - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "body": "Here is the body for the review.", - "state": "APPROVED", - "html_url": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80", - "pull_request_url": "https://api.github.com/repos/octocat/Hello-World/pulls/12", - "_links": { - "html": { - "href": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80" - }, - "pull_request": { - "href": "https://api.github.com/repos/octocat/Hello-World/pulls/12" - } - }, - "submitted_at": "2019-11-17T17:43:43Z", - "commit_id": "ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091", - "author_association": "COLLABORATOR" - } - ] - }, - "pull-request-review": { - "value": { - "id": 80, - "node_id": "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=", - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "body": "This is close to perfect! Please address the suggested inline change.", - "state": "CHANGES_REQUESTED", - "html_url": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80", - "pull_request_url": "https://api.github.com/repos/octocat/Hello-World/pulls/12", - "_links": { - "html": { - "href": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80" - }, - "pull_request": { - "href": "https://api.github.com/repos/octocat/Hello-World/pulls/12" - } - }, - "submitted_at": "2019-11-17T17:43:43Z", - "commit_id": "ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091", - "author_association": "COLLABORATOR" - } - }, - "pull-request-review-4": { - "value": { - "id": 80, - "node_id": "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=", - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "body": "Here is the body for the review.", - "state": "APPROVED", - "html_url": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80", - "pull_request_url": "https://api.github.com/repos/octocat/Hello-World/pulls/12", - "_links": { - "html": { - "href": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80" - }, - "pull_request": { - "href": "https://api.github.com/repos/octocat/Hello-World/pulls/12" - } - }, - "submitted_at": "2019-11-17T17:43:43Z", - "commit_id": "ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091", - "author_association": "COLLABORATOR" - } - }, - "pull-request-review-5": { - "value": { - "id": 80, - "node_id": "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=", - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "body": "This is close to perfect! Please address the suggested inline change. And add more about this.", - "state": "CHANGES_REQUESTED", - "html_url": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80", - "pull_request_url": "https://api.github.com/repos/octocat/Hello-World/pulls/12", - "_links": { - "html": { - "href": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80" - }, - "pull_request": { - "href": "https://api.github.com/repos/octocat/Hello-World/pulls/12" - } - }, - "submitted_at": "2019-11-17T17:43:43Z", - "commit_id": "ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091", - "author_association": "COLLABORATOR" - } - }, - "review-comment-items": { - "value": [ - { - "url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1", - "pull_request_review_id": 42, - "id": 10, - "node_id": "MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDEw", - "diff_hunk": "@@ -16,33 +16,40 @@ public class Connection : IConnection...", - "path": "file1.txt", - "position": 1, - "original_position": 4, - "commit_id": "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "original_commit_id": "9c48853fa3dc5c1c3d6f1f1cd1f2743e72652840", - "in_reply_to_id": 8, - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "body": "Great stuff!", - "created_at": "2011-04-14T16:00:49Z", - "updated_at": "2011-04-14T16:00:49Z", - "html_url": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1", - "pull_request_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1", - "author_association": "NONE", - "_links": { - "self": { - "href": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/1" - }, - "html": { - "href": "https://github.com/octocat/Hello-World/pull/1#discussion-diff-1" - }, - "pull_request": { - "href": "https://api.github.com/repos/octocat/Hello-World/pulls/1" - } - } - } - ] - }, - "pull-request-review-3": { - "value": { - "id": 80, - "node_id": "MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=", - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "body": "Here is the body for the review.", - "state": "DISMISSED", - "html_url": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80", - "pull_request_url": "https://api.github.com/repos/octocat/Hello-World/pulls/12", - "_links": { - "html": { - "href": "https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80" - }, - "pull_request": { - "href": "https://api.github.com/repos/octocat/Hello-World/pulls/12" - } - }, - "submitted_at": "2019-11-17T17:43:43Z", - "commit_id": "ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091", - "author_association": "COLLABORATOR" - } - }, - "content-file": { - "value": { - "type": "file", - "encoding": "base64", - "size": 5362, - "name": "README.md", - "path": "README.md", - "content": "encoded content ...", - "sha": "3d21ec53a331a6f037a91c368710b99387d012c1", - "url": "https://api.github.com/repos/octokit/octokit.rb/contents/README.md", - "git_url": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1", - "html_url": "https://github.com/octokit/octokit.rb/blob/master/README.md", - "download_url": "https://raw.githubusercontent.com/octokit/octokit.rb/master/README.md", - "_links": { - "git": "https://api.github.com/repos/octokit/octokit.rb/git/blobs/3d21ec53a331a6f037a91c368710b99387d012c1", - "self": "https://api.github.com/repos/octokit/octokit.rb/contents/README.md", - "html": "https://github.com/octokit/octokit.rb/blob/master/README.md" - } - } - }, - "release-items": { - "value": [ - { - "url": "https://api.github.com/repos/octocat/Hello-World/releases/1", - "html_url": "https://github.com/octocat/Hello-World/releases/v1.0.0", - "assets_url": "https://api.github.com/repos/octocat/Hello-World/releases/1/assets", - "upload_url": "https://uploads.github.com/repos/octocat/Hello-World/releases/1/assets{?name,label}", - "tarball_url": "https://api.github.com/repos/octocat/Hello-World/tarball/v1.0.0", - "zipball_url": "https://api.github.com/repos/octocat/Hello-World/zipball/v1.0.0", - "id": 1, - "node_id": "MDc6UmVsZWFzZTE=", - "tag_name": "v1.0.0", - "target_commitish": "master", - "name": "v1.0.0", - "body": "Description of the release", - "draft": false, - "prerelease": false, - "created_at": "2013-02-27T19:35:32Z", - "published_at": "2013-02-27T19:35:32Z", - "author": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "assets": [ - { - "url": "https://api.github.com/repos/octocat/Hello-World/releases/assets/1", - "browser_download_url": "https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip", - "id": 1, - "node_id": "MDEyOlJlbGVhc2VBc3NldDE=", - "name": "example.zip", - "label": "short description", - "state": "uploaded", - "content_type": "application/zip", - "size": 1024, - "digest": "sha256:2151b604e3429bff440b9fbc03eb3617bc2603cda96c95b9bb05277f9ddba255", - "download_count": 42, - "created_at": "2013-02-27T19:35:32Z", - "updated_at": "2013-02-27T19:35:32Z", - "uploader": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - ] - } - ] - }, - "release": { - "value": { - "url": "https://api.github.com/repos/octocat/Hello-World/releases/1", - "html_url": "https://github.com/octocat/Hello-World/releases/v1.0.0", - "assets_url": "https://api.github.com/repos/octocat/Hello-World/releases/1/assets", - "upload_url": "https://uploads.github.com/repos/octocat/Hello-World/releases/1/assets{?name,label}", - "tarball_url": "https://api.github.com/repos/octocat/Hello-World/tarball/v1.0.0", - "zipball_url": "https://api.github.com/repos/octocat/Hello-World/zipball/v1.0.0", - "discussion_url": "https://github.com/octocat/Hello-World/discussions/90", - "id": 1, - "node_id": "MDc6UmVsZWFzZTE=", - "tag_name": "v1.0.0", - "target_commitish": "master", - "name": "v1.0.0", - "body": "Description of the release", - "draft": false, - "prerelease": false, - "created_at": "2013-02-27T19:35:32Z", - "published_at": "2013-02-27T19:35:32Z", - "author": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "assets": [ - { - "url": "https://api.github.com/repos/octocat/Hello-World/releases/assets/1", - "browser_download_url": "https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip", - "id": 1, - "node_id": "MDEyOlJlbGVhc2VBc3NldDE=", - "name": "example.zip", - "label": "short description", - "state": "uploaded", - "content_type": "application/zip", - "size": 1024, - "digest": "sha256:2151b604e3429bff440b9fbc03eb3617bc2603cda96c95b9bb05277f9ddba255", - "download_count": 42, - "created_at": "2013-02-27T19:35:32Z", - "updated_at": "2013-02-27T19:35:32Z", - "uploader": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - ] - } - }, - "release-asset": { - "value": { - "url": "https://api.github.com/repos/octocat/Hello-World/releases/assets/1", - "browser_download_url": "https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip", - "id": 1, - "node_id": "MDEyOlJlbGVhc2VBc3NldDE=", - "name": "example.zip", - "label": "short description", - "state": "uploaded", - "content_type": "application/zip", - "size": 1024, - "digest": "sha256:2151b604e3429bff440b9fbc03eb3617bc2603cda96c95b9bb05277f9ddba255", - "download_count": 42, - "created_at": "2013-02-27T19:35:32Z", - "updated_at": "2013-02-27T19:35:32Z", - "uploader": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - }, - "release-notes-content": { - "value": { - "name": "Release v1.0.0 is now available!", - "body": "##Changes in Release v1.0.0 ... ##Contributors @monalisa" - } - }, - "release-asset-items": { - "value": [ - { - "url": "https://api.github.com/repos/octocat/Hello-World/releases/assets/1", - "browser_download_url": "https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip", - "id": 1, - "node_id": "MDEyOlJlbGVhc2VBc3NldDE=", - "name": "example.zip", - "label": "short description", - "state": "uploaded", - "content_type": "application/zip", - "size": 1024, - "digest": "sha256:2151b604e3429bff440b9fbc03eb3617bc2603cda96c95b9bb05277f9ddba255", - "download_count": 42, - "created_at": "2013-02-27T19:35:32Z", - "updated_at": "2013-02-27T19:35:32Z", - "uploader": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - ] - }, - "release-asset-response-for-successful-upload": { - "value": { - "url": "https://api.github.com/repos/octocat/Hello-World/releases/assets/1", - "browser_download_url": "https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip", - "id": 1, - "node_id": "MDEyOlJlbGVhc2VBc3NldDE=", - "name": "example.zip", - "label": "short description", - "state": "uploaded", - "content_type": "application/zip", - "size": 1024, - "digest": "sha256:2151b604e3429bff440b9fbc03eb3617bc2603cda96c95b9bb05277f9ddba255", - "download_count": 42, - "created_at": "2013-02-27T19:35:32Z", - "updated_at": "2013-02-27T19:35:32Z", - "uploader": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - }, - "repository-rule-items": { - "value": [ - { - "type": "commit_message_pattern", - "ruleset_source_type": "Repository", - "ruleset_source": "monalisa/my-repo", - "ruleset_id": 42, - "parameters": { "operator": "starts_with", "pattern": "issue" } - }, - { - "type": "commit_author_email_pattern", - "ruleset_source_type": "Organization", - "ruleset_source": "my-org", - "ruleset_id": 73, - "parameters": { "operator": "contains", "pattern": "github" } - } - ] - }, - "repository-ruleset-items": { - "value": [ - { - "id": 42, - "name": "super cool ruleset", - "source_type": "Repository", - "source": "monalisa/my-repo", - "enforcement": "enabled", - "node_id": "RRS_lACkVXNlcgQB", - "_links": { - "self": { - "href": "https://api.github.com/repos/monalisa/my-repo/rulesets/42" - }, - "html": { "href": "https://github.com/monalisa/my-repo/rules/42" } - }, - "created_at": "2023-07-15T08:43:03Z", - "updated_at": "2023-08-23T16:29:47Z" - }, - { - "id": 314, - "name": "Another ruleset", - "source_type": "Repository", - "source": "monalisa/my-repo", - "enforcement": "enabled", - "node_id": "RRS_lACkVXNlcgQQ", - "_links": { - "self": { - "href": "https://api.github.com/repos/monalisa/my-repo/rulesets/314" - }, - "html": { - "href": "https://github.com/monalisa/my-repo/rules/314" - } - }, - "created_at": "2023-08-15T08:43:03Z", - "updated_at": "2023-09-23T16:29:47Z" - } - ] - }, - "repository-ruleset": { - "value": { - "id": 42, - "name": "super cool ruleset", - "target": "branch", - "source_type": "Repository", - "source": "monalisa/my-repo", - "enforcement": "active", - "bypass_actors": [ - { "actor_id": 234, "actor_type": "Team", "bypass_mode": "always" } - ], - "conditions": { - "ref_name": { - "include": ["refs/heads/main", "refs/heads/master"], - "exclude": ["refs/heads/dev*"] - } - }, - "rules": [ - { - "type": "commit_author_email_pattern", - "parameters": { "operator": "contains", "pattern": "github" } - } - ], - "node_id": "RRS_lACkVXNlcgQB", - "_links": { - "self": { - "href": "https://api.github.com/repos/monalisa/my-repo/rulesets/42" - }, - "html": { "href": "https://github.com/monalisa/my-repo/rules/42" } - }, - "created_at": "2023-07-15T08:43:03Z", - "updated_at": "2023-08-23T16:29:47Z" - } - }, - "secret-scanning-alert-list": { - "value": [ - { - "number": 2, - "created_at": "2020-11-06T18:48:51Z", - "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", - "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", - "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", - "state": "resolved", - "resolution": "false_positive", - "resolved_at": "2020-11-07T02:47:13Z", - "resolved_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "secret_type": "adafruit_io_key", - "secret_type_display_name": "Adafruit IO Key", - "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", - "push_protection_bypassed_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypassed": true, - "push_protection_bypassed_at": "2020-11-06T21:48:51Z", - "push_protection_bypass_request_reviewer": { - "login": "octocat", - "id": 3, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/3?", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypass_request_reviewer_comment": "Example response", - "push_protection_bypass_request_comment": "Example comment", - "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", - "resolution_comment": "Example comment", - "validity": "inactive" - }, - { - "number": 1, - "created_at": "2020-11-06T18:18:30Z", - "url": "https://api.github.com/repos/owner/repo/secret-scanning/alerts/1", - "html_url": "https://github.com/owner/repo/security/secret-scanning/1", - "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/1/locations", - "state": "open", - "resolution": null, - "resolved_at": null, - "resolved_by": null, - "secret_type": "mailchimp_api_key", - "secret_type_display_name": "Mailchimp API Key", - "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2", - "push_protection_bypassed_by": null, - "push_protection_bypassed": false, - "push_protection_bypassed_at": null, - "push_protection_bypass_request_reviewer": null, - "push_protection_bypass_request_reviewer_comment": null, - "push_protection_bypass_request_comment": null, - "push_protection_bypass_request_html_url": null, - "resolution_comment": null, - "validity": "unknown" - } - ] - }, - "secret-scanning-alert-open": { - "value": { - "number": 42, - "created_at": "2020-11-06T18:18:30Z", - "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/42", - "html_url": "https://github.com/owner/private-repo/security/secret-scanning/42", - "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/42/locations", - "state": "open", - "secret_type": "mailchimp_api_key", - "secret_type_display_name": "Mailchimp API Key", - "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2", - "push_protection_bypassed": false, - "validity": "unknown" - } - }, - "secret-scanning-alert-resolved": { - "value": { - "number": 42, - "created_at": "2020-11-06T18:18:30Z", - "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/42", - "html_url": "https://github.com/owner/private-repo/security/secret-scanning/42", - "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/42/locations", - "state": "resolved", - "resolution": "used_in_tests", - "resolved_at": "2020-11-16T22:42:07Z", - "resolved_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "secret_type": "mailchimp_api_key", - "secret_type_display_name": "Mailchimp API Key", - "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2", - "push_protection_bypassed": false, - "resolution_comment": "Example comment", - "validity": "unknown" - } - }, - "secret-scanning-location-list": { - "value": [ - { - "type": "commit", - "details": { - "path": "/example/secrets.txt", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 64, - "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", - "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", - "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", - "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" - } - }, - { - "type": "wiki_commit", - "details": { - "path": "/example/Home.md", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 64, - "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", - "page_url": "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5", - "commit_sha": "302c0b7e200761c9dd9b57e57db540ee0b4293a5", - "commit_url": "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - } - }, - { - "type": "issue_title", - "details": { - "issue_title_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347" - } - }, - { - "type": "issue_body", - "details": { - "issue_body_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347" - } - }, - { - "type": "issue_comment", - "details": { - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - } - }, - { - "type": "discussion_title", - "details": { - "discussion_title_url": "https://github.com/community/community/discussions/39082" - } - }, - { - "type": "discussion_body", - "details": { - "discussion_body_url": "https://github.com/community/community/discussions/39082#discussion-4566270" - } - }, - { - "type": "discussion_comment", - "details": { - "discussion_comment_url": "https://github.com/community/community/discussions/39082#discussioncomment-4158232" - } - }, - { - "type": "pull_request_title", - "details": { - "pull_request_title_url": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - } - }, - { - "type": "pull_request_body", - "details": { - "pull_request_body_url": "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - } - }, - { - "type": "pull_request_comment", - "details": { - "pull_request_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments/1825855898" - } - }, - { - "type": "pull_request_review", - "details": { - "pull_request_review_url": "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" - } - }, - { - "type": "pull_request_review_comment", - "details": { - "pull_request_review_comment_url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" - } - } - ] - }, - "simple-user-items-default-response": { - "summary": "Default response", - "value": [ - { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - ] - }, - "stargazer-items-alternative-response-with-star-creation-timestamps": { - "summary": "Alternative response with star creation timestamps", - "value": [ - { - "starred_at": "2011-01-16T19:06:43Z", - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - ] - }, - "code-frequency-stat-items": { "value": [[1302998400, 1124, -435]] }, - "commit-activity-items": { - "value": [ - { "days": [0, 3, 26, 20, 39, 1, 0], "total": 89, "week": 1336280400 } - ] - }, - "contributor-activity-items": { - "value": [ - { - "author": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "total": 135, - "weeks": [{ "w": 1367712000, "a": 6898, "d": 77, "c": 10 }] - } - ] - }, - "participation-stats": { - "value": { - "all": [ - 11, 21, 15, 2, 8, 1, 8, 23, 17, 21, 11, 10, 33, 91, 38, 34, 22, 23, - 32, 3, 43, 87, 71, 18, 13, 5, 13, 16, 66, 27, 12, 45, 110, 117, 13, - 8, 18, 9, 19, 26, 39, 12, 20, 31, 46, 91, 45, 10, 24, 9, 29, 7 - ], - "owner": [ - 3, 2, 3, 0, 2, 0, 5, 14, 7, 9, 1, 5, 0, 48, 19, 2, 0, 1, 10, 2, 23, - 40, 35, 8, 8, 2, 10, 6, 30, 0, 2, 9, 53, 104, 3, 3, 10, 4, 7, 11, - 21, 4, 4, 22, 26, 63, 11, 2, 14, 1, 10, 3 - ] - } - }, - "code-frequency-stat-items-2": { - "value": [ - [0, 0, 5], - [0, 1, 43], - [0, 2, 21] - ] - }, - "status": { - "value": { - "url": "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e", - "avatar_url": "https://github.com/images/error/hubot_happy.gif", - "id": 1, - "node_id": "MDY6U3RhdHVzMQ==", - "state": "success", - "description": "Build has completed successfully", - "target_url": "https://ci.example.com/1000/output", - "context": "continuous-integration/jenkins", - "created_at": "2012-07-20T01:19:13Z", - "updated_at": "2012-07-20T01:19:13Z", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - }, - "repository-subscription-response-if-you-subscribe-to-the-repository": { - "value": { - "subscribed": true, - "ignored": false, - "reason": null, - "created_at": "2012-10-06T21:34:12Z", - "url": "https://api.github.com/repos/octocat/example/subscription", - "repository_url": "https://api.github.com/repos/octocat/example" - } - }, - "repository-subscription": { - "value": { - "subscribed": true, - "ignored": false, - "reason": null, - "created_at": "2012-10-06T21:34:12Z", - "url": "https://api.github.com/repos/octocat/example/subscription", - "repository_url": "https://api.github.com/repos/octocat/example" - } - }, - "tag-items": { - "value": [ - { - "name": "v0.1", - "commit": { - "sha": "c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc", - "url": "https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc" - }, - "zipball_url": "https://github.com/octocat/Hello-World/zipball/v0.1", - "tarball_url": "https://github.com/octocat/Hello-World/tarball/v0.1", - "node_id": "MDQ6VXNlcjE=" - } - ] - }, - "tag-protection-items": { "value": [{ "id": 2, "pattern": "v1.*" }] }, - "tag-protection": { "value": { "enabled": true } }, - "topic": { "value": { "names": ["octocat", "atom", "electron", "api"] } }, - "minimal-repository": { - "value": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "git_url": "git:github.com/octocat/Hello-World.git", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "ssh_url": "git@github.com:octocat/Hello-World.git", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "clone_url": "https://github.com/octocat/Hello-World.git", - "mirror_url": "git:git.example.com/octocat/Hello-World", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", - "svn_url": "https://svn.github.com/octocat/Hello-World", - "homepage": "https://github.com", - "language": null, - "forks_count": 9, - "stargazers_count": 80, - "watchers_count": 80, - "size": 108, - "default_branch": "master", - "open_issues_count": 0, - "is_template": false, - "topics": ["octocat", "atom", "electron", "api"], - "has_issues": true, - "has_projects": true, - "has_wiki": true, - "has_pages": false, - "has_downloads": true, - "archived": false, - "disabled": false, - "visibility": "public", - "pushed_at": "2011-01-26T19:06:43Z", - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:14:43Z", - "permissions": { "admin": false, "push": false, "pull": true }, - "template_repository": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World-Template", - "full_name": "octocat/Hello-World-Template", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World-Template", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World-Template", - "archive_url": "https://api.github.com/repos/octocat/Hello-World-Template/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World-Template/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World-Template/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World-Template/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World-Template/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World-Template/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World-Template/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World-Template/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World-Template/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World-Template/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World-Template/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World-Template/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World-Template/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/tags{/sha}", - "git_url": "git:github.com/octocat/Hello-World-Template.git", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World-Template/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World-Template/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World-Template/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World-Template/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World-Template/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World-Template/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World-Template/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World-Template/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World-Template/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World-Template/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World-Template/releases{/id}", - "ssh_url": "git@github.com:octocat/Hello-World-Template.git", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World-Template/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World-Template/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World-Template/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World-Template/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World-Template/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World-Template/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World-Template/git/trees{/sha}", - "clone_url": "https://github.com/octocat/Hello-World-Template.git", - "mirror_url": "git:git.example.com/octocat/Hello-World-Template", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World-Template/hooks", - "svn_url": "https://svn.github.com/octocat/Hello-World-Template", - "homepage": "https://github.com", - "language": null, - "forks": 9, - "forks_count": 9, - "stargazers_count": 80, - "watchers_count": 80, - "watchers": 80, - "size": 108, - "default_branch": "master", - "open_issues": 0, - "open_issues_count": 0, - "is_template": true, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://api.github.com/licenses/mit" - }, - "topics": ["octocat", "atom", "electron", "api"], - "has_issues": true, - "has_projects": true, - "has_wiki": true, - "has_pages": false, - "has_downloads": true, - "archived": false, - "disabled": false, - "visibility": "public", - "pushed_at": "2011-01-26T19:06:43Z", - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:14:43Z", - "permissions": { "admin": false, "push": false, "pull": true }, - "allow_rebase_merge": true, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "allow_squash_merge": true, - "allow_auto_merge": false, - "delete_branch_on_merge": true, - "allow_merge_commit": true, - "allow_forking": true, - "subscribers_count": 42, - "network_count": 0 - } - } - }, - "public-repository-items": { - "value": [ - { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "git_url": "git:github.com/octocat/Hello-World.git", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "ssh_url": "git@github.com:octocat/Hello-World.git", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks" - } - ] - }, - "scim-enterprise-group-list": { - "value": { - "schemas": ["urn:ietf:params:scim:api:messages:2.0:ListResponse"], - "totalResults": 1, - "Resources": [ - { - "schemas": ["urn:ietf:params:scim:schemas:core:2.0:Group"], - "externalId": "8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159", - "id": "24b28bbb-5fc4-4686-a153-a020debb1155", - "displayName": "Engineering", - "members": [ - { - "value": "879db59-3bdf-4490-ad68-ab880a2694745", - "$+ref": "https://api.github.localhost/scim/v2/Users/879db59-3bdf-4490-ad68-ab880a2694745", - "displayName": "User 1" - }, - { - "value": "0db508eb-91e2-46e4-809c-30dcbda0c685", - "$+ref": "https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685", - "displayName": "User 2" - } - ], - "meta": { - "resourceType": "Group", - "created": "2012-03-27T19:59:26.000Z", - "lastModified": "2018-03-27T19:59:26.000Z", - "location": "https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155" - } - } - ], - "startIndex": 1, - "itemsPerPage": 20 - } - }, - "scim-enterprise-group": { - "value": { - "schemas": ["urn:ietf:params:scim:schemas:core:2.0:Group"], - "id": "abcd27f8-a9aa-11ea-8221-f59b2be9cccc", - "externalId": "8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159", - "displayName": "Engineering", - "members": [ - { - "value": "879db59-3bdf-4490-ad68-ab880a2694745", - "$+ref": "https://api.github.localhost/scim/v2/Users/879db59-3bdf-4490-ad68-ab880a2694745", - "displayName": "User 1" - }, - { - "value": "0db508eb-91e2-46e4-809c-30dcbda0c685", - "$+ref": "https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685", - "displayName": "User 2" - } - ], - "meta": { - "resourceType": "Group", - "created": "2012-03-27T19:59:26.000Z", - "lastModified": "2018-03-27T19:59:26.000Z", - "location": "https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155" - } - } - }, - "scim-enterprise-user-list": { - "value": { - "schemas": ["urn:ietf:params:scim:api:messages:2.0:ListResponse"], - "totalResults": 1, - "Resources": [ - { - "schemas": ["urn:ietf:params:scim:schemas:core:2.0:User"], - "externalId": "E012345", - "id": "7fce0092-d52e-4f76-b727-3955bd72c939", - "active": true, - "userName": "E012345", - "name": { - "formatted": "Ms. Mona Lisa Octocat", - "familyName": "Octocat", - "givenName": "Mona", - "middleName": "Lisa" - }, - "displayName": "Mona Lisa", - "emails": [ - { - "value": "mlisa@example.com", - "type": "work", - "primary": true - } - ], - "roles": [{ "value": "User", "primary": false }] - } - ], - "startIndex": 1, - "itemsPerPage": 20 - } - }, - "in-user": { - "summary": "User", - "value": { - "schemas": ["urn:ietf:params:scim:schemas:core:2.0:User"], - "externalId": "E012345", - "active": true, - "userName": "E012345", - "name": { - "formatted": "Ms. Mona Lisa Octocat", - "familyName": "Octocat", - "givenName": "Mona", - "middleName": "Lisa" - }, - "displayName": "Mona Lisa", - "emails": [ - { "value": "mlisa@example.com", "type": "work", "primary": true } - ], - "roles": [{ "value": "User", "primary": false }] - } - }, - "in-user-owner": { - "summary": "Enterprise Owner", - "value": { - "schemas": ["urn:ietf:params:scim:schemas:core:2.0:User"], - "externalId": "E012345", - "active": true, - "userName": "E012345", - "name": { - "formatted": "Ms. Mona Lisa Octocat", - "familyName": "Octocat", - "givenName": "Mona", - "middleName": "Lisa" - }, - "displayName": "Mona Lisa", - "emails": [ - { "value": "mlisa@example.com", "type": "work", "primary": true } - ], - "roles": [{ "value": "Enterprise Owner", "primary": false }] - } - }, - "scim-enterprise-user": { - "value": { - "schemas": ["urn:ietf:params:scim:schemas:core:2.0:User"], - "id": "7fce0092-d52e-4f76-b727-3955bd72c939", - "externalId": "E012345", - "active": true, - "userName": "E012345", - "name": { - "formatted": "Ms. Mona Lisa Octocat", - "familyName": "Octocat", - "givenName": "Mona", - "middleName": "Lisa" - }, - "displayName": "Mona Lisa", - "emails": [ - { "value": "mlisa@example.com", "type": "work", "primary": true } - ], - "roles": [{ "value": "User", "primary": false }], - "meta": { - "resourceType": "User", - "created": "2012-03-27T19:59:26.000Z", - "lastModified": "2018-03-27T19:59:26.000Z", - "location": "https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939" - } - } - }, - "code-search-result-item-paginated": { - "value": { - "total_count": 7, - "incomplete_results": false, - "items": [ - { - "name": "classes.js", - "path": "src/attributes/classes.js", - "sha": "d7212f9dee2dcc18f084d7df8f417b80846ded5a", - "url": "https://api.github.com/repositories/167174/contents/src/attributes/classes.js?ref=825ac3773694e0cd23ee74895fd5aeb535b27da4", - "git_url": "https://api.github.com/repositories/167174/git/blobs/d7212f9dee2dcc18f084d7df8f417b80846ded5a", - "html_url": "https://github.com/jquery/jquery/blob/825ac3773694e0cd23ee74895fd5aeb535b27da4/src/attributes/classes.js", - "repository": { - "id": 167174, - "node_id": "MDEwOlJlcG9zaXRvcnkxNjcxNzQ=", - "name": "jquery", - "full_name": "jquery/jquery", - "owner": { - "login": "jquery", - "id": 70142, - "node_id": "MDQ6VXNlcjcwMTQy", - "avatar_url": "https://0.gravatar.com/avatar/6906f317a4733f4379b06c32229ef02f?d=https%3A%2F%2Fidenticons.github.com%2Ff426f04f2f9813718fb806b30e0093de.png", - "gravatar_id": "", - "url": "https://api.github.com/users/jquery", - "html_url": "https://github.com/jquery", - "followers_url": "https://api.github.com/users/jquery/followers", - "following_url": "https://api.github.com/users/jquery/following{/other_user}", - "gists_url": "https://api.github.com/users/jquery/gists{/gist_id}", - "starred_url": "https://api.github.com/users/jquery/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/jquery/subscriptions", - "organizations_url": "https://api.github.com/users/jquery/orgs", - "repos_url": "https://api.github.com/users/jquery/repos", - "events_url": "https://api.github.com/users/jquery/events{/privacy}", - "received_events_url": "https://api.github.com/users/jquery/received_events", - "type": "Organization", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/jquery/jquery", - "description": "jQuery JavaScript Library", - "fork": false, - "url": "https://api.github.com/repos/jquery/jquery", - "forks_url": "https://api.github.com/repos/jquery/jquery/forks", - "keys_url": "https://api.github.com/repos/jquery/jquery/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/jquery/jquery/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/jquery/jquery/teams", - "hooks_url": "https://api.github.com/repos/jquery/jquery/hooks", - "issue_events_url": "https://api.github.com/repos/jquery/jquery/issues/events{/number}", - "events_url": "https://api.github.com/repos/jquery/jquery/events", - "assignees_url": "https://api.github.com/repos/jquery/jquery/assignees{/user}", - "branches_url": "https://api.github.com/repos/jquery/jquery/branches{/branch}", - "tags_url": "https://api.github.com/repos/jquery/jquery/tags", - "blobs_url": "https://api.github.com/repos/jquery/jquery/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/jquery/jquery/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/jquery/jquery/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/jquery/jquery/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/jquery/jquery/statuses/{sha}", - "languages_url": "https://api.github.com/repos/jquery/jquery/languages", - "stargazers_url": "https://api.github.com/repos/jquery/jquery/stargazers", - "contributors_url": "https://api.github.com/repos/jquery/jquery/contributors", - "subscribers_url": "https://api.github.com/repos/jquery/jquery/subscribers", - "subscription_url": "https://api.github.com/repos/jquery/jquery/subscription", - "commits_url": "https://api.github.com/repos/jquery/jquery/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/jquery/jquery/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/jquery/jquery/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/jquery/jquery/issues/comments/{number}", - "contents_url": "https://api.github.com/repos/jquery/jquery/contents/{+path}", - "compare_url": "https://api.github.com/repos/jquery/jquery/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/jquery/jquery/merges", - "archive_url": "https://api.github.com/repos/jquery/jquery/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/jquery/jquery/downloads", - "issues_url": "https://api.github.com/repos/jquery/jquery/issues{/number}", - "pulls_url": "https://api.github.com/repos/jquery/jquery/pulls{/number}", - "milestones_url": "https://api.github.com/repos/jquery/jquery/milestones{/number}", - "notifications_url": "https://api.github.com/repos/jquery/jquery/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/jquery/jquery/labels{/name}", - "deployments_url": "http://api.github.com/repos/octocat/Hello-World/deployments", - "releases_url": "http://api.github.com/repos/octocat/Hello-World/releases{/id}" - }, - "score": 1 - } - ] - } - }, - "commit-search-result-item-paginated": { - "value": { - "total_count": 1, - "incomplete_results": false, - "items": [ - { - "url": "https://api.github.com/repos/octocat/Spoon-Knife/commits/bb4cc8d3b2e14b3af5df699876dd4ff3acd00b7f", - "sha": "bb4cc8d3b2e14b3af5df699876dd4ff3acd00b7f", - "html_url": "https://github.com/octocat/Spoon-Knife/commit/bb4cc8d3b2e14b3af5df699876dd4ff3acd00b7f", - "comments_url": "https://api.github.com/repos/octocat/Spoon-Knife/commits/bb4cc8d3b2e14b3af5df699876dd4ff3acd00b7f/comments", - "commit": { - "url": "https://api.github.com/repos/octocat/Spoon-Knife/git/commits/bb4cc8d3b2e14b3af5df699876dd4ff3acd00b7f", - "author": { - "date": "2014-02-04T14:38:36-08:00", - "name": "The Octocat", - "email": "octocat@nowhere.com" - }, - "committer": { - "date": "2014-02-12T15:18:55-08:00", - "name": "The Octocat", - "email": "octocat@nowhere.com" - }, - "message": "Create styles.css and updated README", - "tree": { - "url": "https://api.github.com/repos/octocat/Spoon-Knife/git/trees/a639e96f9038797fba6e0469f94a4b0cc459fa68", - "sha": "a639e96f9038797fba6e0469f94a4b0cc459fa68" - }, - "comment_count": 8 - }, - "author": { - "login": "octocat", - "id": 583231, - "node_id": "MDQ6VXNlcjU4MzIzMQ==", - "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=3", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "committer": {}, - "parents": [ - { - "url": "https://api.github.com/repos/octocat/Spoon-Knife/commits/a30c19e3f13765a3b48829788bc1cb8b4e95cee4", - "html_url": "https://github.com/octocat/Spoon-Knife/commit/a30c19e3f13765a3b48829788bc1cb8b4e95cee4", - "sha": "a30c19e3f13765a3b48829788bc1cb8b4e95cee4" - } - ], - "repository": { - "id": 1300192, - "node_id": "MDEwOlJlcG9zaXRvcnkxMzAwMTky", - "name": "Spoon-Knife", - "full_name": "octocat/Spoon-Knife", - "owner": { - "login": "octocat", - "id": 583231, - "node_id": "MDQ6VXNlcjU4MzIzMQ==", - "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=3", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Spoon-Knife", - "description": "This repo is for demonstration purposes only.", - "fork": false, - "url": "https://api.github.com/repos/octocat/Spoon-Knife", - "forks_url": "https://api.github.com/repos/octocat/Spoon-Knife/forks", - "keys_url": "https://api.github.com/repos/octocat/Spoon-Knife/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/octocat/Spoon-Knife/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/octocat/Spoon-Knife/teams", - "hooks_url": "https://api.github.com/repos/octocat/Spoon-Knife/hooks", - "issue_events_url": "https://api.github.com/repos/octocat/Spoon-Knife/issues/events{/number}", - "events_url": "https://api.github.com/repos/octocat/Spoon-Knife/events", - "assignees_url": "https://api.github.com/repos/octocat/Spoon-Knife/assignees{/user}", - "branches_url": "https://api.github.com/repos/octocat/Spoon-Knife/branches{/branch}", - "tags_url": "https://api.github.com/repos/octocat/Spoon-Knife/tags", - "blobs_url": "https://api.github.com/repos/octocat/Spoon-Knife/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Spoon-Knife/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Spoon-Knife/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/octocat/Spoon-Knife/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/octocat/Spoon-Knife/statuses/{sha}", - "languages_url": "https://api.github.com/repos/octocat/Spoon-Knife/languages", - "stargazers_url": "https://api.github.com/repos/octocat/Spoon-Knife/stargazers", - "contributors_url": "https://api.github.com/repos/octocat/Spoon-Knife/contributors", - "subscribers_url": "https://api.github.com/repos/octocat/Spoon-Knife/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Spoon-Knife/subscription", - "commits_url": "https://api.github.com/repos/octocat/Spoon-Knife/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/octocat/Spoon-Knife/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/octocat/Spoon-Knife/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/octocat/Spoon-Knife/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/octocat/Spoon-Knife/contents/{+path}", - "compare_url": "https://api.github.com/repos/octocat/Spoon-Knife/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/octocat/Spoon-Knife/merges", - "archive_url": "https://api.github.com/repos/octocat/Spoon-Knife/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/octocat/Spoon-Knife/downloads", - "issues_url": "https://api.github.com/repos/octocat/Spoon-Knife/issues{/number}", - "pulls_url": "https://api.github.com/repos/octocat/Spoon-Knife/pulls{/number}", - "milestones_url": "https://api.github.com/repos/octocat/Spoon-Knife/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Spoon-Knife/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/octocat/Spoon-Knife/labels{/name}", - "releases_url": "https://api.github.com/repos/octocat/Spoon-Knife/releases{/id}", - "deployments_url": "https://api.github.com/repos/octocat/Spoon-Knife/deployments" - }, - "score": 1, - "node_id": "MDQ6VXNlcjU4MzIzMQ==" - } - ] - } - }, - "issue-search-result-item-paginated": { - "value": { - "total_count": 280, - "incomplete_results": false, - "items": [ - { - "url": "https://api.github.com/repos/batterseapower/pinyin-toolkit/issues/132", - "repository_url": "https://api.github.com/repos/batterseapower/pinyin-toolkit", - "labels_url": "https://api.github.com/repos/batterseapower/pinyin-toolkit/issues/132/labels{/name}", - "comments_url": "https://api.github.com/repos/batterseapower/pinyin-toolkit/issues/132/comments", - "events_url": "https://api.github.com/repos/batterseapower/pinyin-toolkit/issues/132/events", - "html_url": "https://github.com/batterseapower/pinyin-toolkit/issues/132", - "id": 35802, - "node_id": "MDU6SXNzdWUzNTgwMg==", - "number": 132, - "title": "Line Number Indexes Beyond 20 Not Displayed", - "user": { - "login": "Nick3C", - "id": 90254, - "node_id": "MDQ6VXNlcjkwMjU0", - "avatar_url": "https://secure.gravatar.com/avatar/934442aadfe3b2f4630510de416c5718?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png", - "gravatar_id": "", - "url": "https://api.github.com/users/Nick3C", - "html_url": "https://github.com/Nick3C", - "followers_url": "https://api.github.com/users/Nick3C/followers", - "following_url": "https://api.github.com/users/Nick3C/following{/other_user}", - "gists_url": "https://api.github.com/users/Nick3C/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Nick3C/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Nick3C/subscriptions", - "organizations_url": "https://api.github.com/users/Nick3C/orgs", - "repos_url": "https://api.github.com/users/Nick3C/repos", - "events_url": "https://api.github.com/users/Nick3C/events{/privacy}", - "received_events_url": "https://api.github.com/users/Nick3C/received_events", - "type": "User", - "site_admin": true - }, - "labels": [ - { - "id": 4, - "node_id": "MDU6TGFiZWw0", - "url": "https://api.github.com/repos/batterseapower/pinyin-toolkit/labels/bug", - "name": "bug", - "color": "ff0000" - } - ], - "state": "open", - "assignee": null, - "milestone": { - "url": "https://api.github.com/repos/octocat/Hello-World/milestones/1", - "html_url": "https://github.com/octocat/Hello-World/milestones/v1.0", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels", - "id": 1002604, - "node_id": "MDk6TWlsZXN0b25lMTAwMjYwNA==", - "number": 1, - "state": "open", - "title": "v1.0", - "description": "Tracking milestone for version 1.0", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "open_issues": 4, - "closed_issues": 8, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z", - "closed_at": "2013-02-12T13:22:01Z", - "due_on": "2012-10-09T23:39:01Z" - }, - "comments": 15, - "created_at": "2009-07-12T20:10:41Z", - "updated_at": "2009-07-19T09:23:43Z", - "closed_at": null, - "pull_request": { - "url": "https://api/github.com/repos/octocat/Hello-World/pull/1347", - "html_url": "https://github.com/octocat/Hello-World/pull/1347", - "diff_url": "https://github.com/octocat/Hello-World/pull/1347.diff", - "patch_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1347" - }, - "body": "...", - "score": 1, - "locked": true, - "author_association": "COLLABORATOR", - "state_reason": "completed" - } - ] - } - }, - "label-search-result-item-paginated": { - "value": { - "total_count": 2, - "incomplete_results": false, - "items": [ - { - "id": 418327088, - "node_id": "MDU6TGFiZWw0MTgzMjcwODg=", - "url": "https://api.github.com/repos/octocat/linguist/labels/enhancement", - "name": "enhancement", - "color": "84b6eb", - "default": true, - "description": "New feature or request.", - "score": 1 - }, - { - "id": 418327086, - "node_id": "MDU6TGFiZWw0MTgzMjcwODY=", - "url": "https://api.github.com/repos/octocat/linguist/labels/bug", - "name": "bug", - "color": "ee0701", - "default": true, - "description": "Something isn't working.", - "score": 1 - } - ] - } - }, - "repo-search-result-item-paginated": { - "value": { - "total_count": 40, - "incomplete_results": false, - "items": [ - { - "id": 3081286, - "node_id": "MDEwOlJlcG9zaXRvcnkzMDgxMjg2", - "name": "Tetris", - "full_name": "dtrupenn/Tetris", - "owner": { - "login": "dtrupenn", - "id": 872147, - "node_id": "MDQ6VXNlcjg3MjE0Nw==", - "avatar_url": "https://secure.gravatar.com/avatar/e7956084e75f239de85d3a31bc172ace?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png", - "gravatar_id": "", - "url": "https://api.github.com/users/dtrupenn", - "received_events_url": "https://api.github.com/users/dtrupenn/received_events", - "type": "User", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "site_admin": true - }, - "private": false, - "html_url": "https://github.com/dtrupenn/Tetris", - "description": "A C implementation of Tetris using Pennsim through LC4", - "fork": false, - "url": "https://api.github.com/repos/dtrupenn/Tetris", - "created_at": "2012-01-01T00:31:50Z", - "updated_at": "2013-01-05T17:58:47Z", - "pushed_at": "2012-01-01T00:37:02Z", - "homepage": "https://github.com", - "size": 524, - "stargazers_count": 1, - "watchers_count": 1, - "language": "Assembly", - "forks_count": 0, - "open_issues_count": 0, - "master_branch": "master", - "default_branch": "master", - "score": 1, - "archive_url": "https://api.github.com/repos/dtrupenn/Tetris/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/dtrupenn/Tetris/assignees{/user}", - "blobs_url": "https://api.github.com/repos/dtrupenn/Tetris/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/dtrupenn/Tetris/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/dtrupenn/Tetris/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/dtrupenn/Tetris/comments{/number}", - "commits_url": "https://api.github.com/repos/dtrupenn/Tetris/commits{/sha}", - "compare_url": "https://api.github.com/repos/dtrupenn/Tetris/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/dtrupenn/Tetris/contents/{+path}", - "contributors_url": "https://api.github.com/repos/dtrupenn/Tetris/contributors", - "deployments_url": "https://api.github.com/repos/dtrupenn/Tetris/deployments", - "downloads_url": "https://api.github.com/repos/dtrupenn/Tetris/downloads", - "events_url": "https://api.github.com/repos/dtrupenn/Tetris/events", - "forks_url": "https://api.github.com/repos/dtrupenn/Tetris/forks", - "git_commits_url": "https://api.github.com/repos/dtrupenn/Tetris/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/dtrupenn/Tetris/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/dtrupenn/Tetris/git/tags{/sha}", - "git_url": "git:github.com/dtrupenn/Tetris.git", - "issue_comment_url": "https://api.github.com/repos/dtrupenn/Tetris/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/dtrupenn/Tetris/issues/events{/number}", - "issues_url": "https://api.github.com/repos/dtrupenn/Tetris/issues{/number}", - "keys_url": "https://api.github.com/repos/dtrupenn/Tetris/keys{/key_id}", - "labels_url": "https://api.github.com/repos/dtrupenn/Tetris/labels{/name}", - "languages_url": "https://api.github.com/repos/dtrupenn/Tetris/languages", - "merges_url": "https://api.github.com/repos/dtrupenn/Tetris/merges", - "milestones_url": "https://api.github.com/repos/dtrupenn/Tetris/milestones{/number}", - "notifications_url": "https://api.github.com/repos/dtrupenn/Tetris/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/dtrupenn/Tetris/pulls{/number}", - "releases_url": "https://api.github.com/repos/dtrupenn/Tetris/releases{/id}", - "ssh_url": "git@github.com:dtrupenn/Tetris.git", - "stargazers_url": "https://api.github.com/repos/dtrupenn/Tetris/stargazers", - "statuses_url": "https://api.github.com/repos/dtrupenn/Tetris/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/dtrupenn/Tetris/subscribers", - "subscription_url": "https://api.github.com/repos/dtrupenn/Tetris/subscription", - "tags_url": "https://api.github.com/repos/dtrupenn/Tetris/tags", - "teams_url": "https://api.github.com/repos/dtrupenn/Tetris/teams", - "trees_url": "https://api.github.com/repos/dtrupenn/Tetris/git/trees{/sha}", - "clone_url": "https://github.com/dtrupenn/Tetris.git", - "mirror_url": "git:git.example.com/dtrupenn/Tetris", - "hooks_url": "https://api.github.com/repos/dtrupenn/Tetris/hooks", - "svn_url": "https://svn.github.com/dtrupenn/Tetris", - "forks": 1, - "open_issues": 1, - "watchers": 1, - "has_issues": true, - "has_projects": true, - "has_pages": true, - "has_wiki": true, - "has_downloads": true, - "archived": true, - "disabled": true, - "visibility": "private", - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://api.github.com/licenses/mit" - } - } - ] - } - }, - "topic-search-result-item-paginated": { - "value": { - "total_count": 6, - "incomplete_results": false, - "items": [ - { - "name": "ruby", - "display_name": "Ruby", - "short_description": "Ruby is a scripting language designed for simplified object-oriented programming.", - "description": "Ruby was developed by Yukihiro \"Matz\" Matsumoto in 1995 with the intent of having an easily readable programming language. It is integrated with the Rails framework to create dynamic web-applications. Ruby's syntax is similar to that of Perl and Python.", - "created_by": "Yukihiro Matsumoto", - "released": "December 21, 1995", - "created_at": "2016-11-28T22:03:59Z", - "updated_at": "2017-10-30T18:16:32Z", - "featured": true, - "curated": true, - "score": 1 - }, - { - "name": "rails", - "display_name": "Rails", - "short_description": "Ruby on Rails (Rails) is a web application framework written in Ruby.", - "description": "Ruby on Rails (Rails) is a web application framework written in Ruby. It is meant to help simplify the building of complex websites.", - "created_by": "David Heinemeier Hansson", - "released": "December 13 2005", - "created_at": "2016-12-09T17:03:50Z", - "updated_at": "2017-10-30T16:20:19Z", - "featured": true, - "curated": true, - "score": 1 - }, - { - "name": "python", - "display_name": "Python", - "short_description": "Python is a dynamically typed programming language.", - "description": "Python is a dynamically typed programming language designed by Guido Van Rossum. Much like the programming language Ruby, Python was designed to be easily read by programmers. Because of its large following and many libraries, Python can be implemented and used to do anything from webpages to scientific research.", - "created_by": "Guido van Rossum", - "released": "February 20, 1991", - "created_at": "2016-12-07T00:07:02Z", - "updated_at": "2017-10-27T22:45:43Z", - "featured": true, - "curated": true, - "score": 1 - }, - { - "name": "jekyll", - "display_name": "Jekyll", - "short_description": "Jekyll is a simple, blog-aware static site generator.", - "description": "Jekyll is a blog-aware, site generator written in Ruby. It takes raw text files, runs it through a renderer and produces a publishable static website.", - "created_by": "Tom Preston-Werner", - "released": "2008", - "created_at": "2016-12-16T21:53:08Z", - "updated_at": "2017-10-27T19:00:24Z", - "featured": true, - "curated": true, - "score": 1 - }, - { - "name": "sass", - "display_name": "Sass", - "short_description": "Sass is a stable extension to classic CSS.", - "description": "Sass is a stylesheet language with a main implementation in Ruby. It is an extension of CSS that makes improvements to the old stylesheet format, such as being able to declare variables and using a cleaner nesting syntax.", - "created_by": "Hampton Catlin, Natalie Weizenbaum, Chris Eppstein", - "released": "November 28, 2006", - "created_at": "2016-12-16T21:53:45Z", - "updated_at": "2018-01-16T16:30:40Z", - "featured": true, - "curated": true, - "score": 1 - }, - { - "name": "homebrew", - "display_name": "Homebrew", - "short_description": "Homebrew is a package manager for macOS.", - "description": "Homebrew is a package manager for Apple's macOS operating system. It simplifies the installation of software and is popular in the Ruby on Rails community.", - "created_by": "Max Howell", - "released": "2009", - "created_at": "2016-12-17T20:30:44Z", - "updated_at": "2018-02-06T16:14:56Z", - "featured": true, - "curated": true, - "score": 1 - } - ] - } - }, - "user-search-result-item-paginated": { - "value": { - "total_count": 12, - "incomplete_results": false, - "items": [ - { - "login": "mojombo", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://secure.gravatar.com/avatar/25c7c18223fb42a4c6ae1c8db6f50f9b?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png", - "gravatar_id": "", - "url": "https://api.github.com/users/mojombo", - "html_url": "https://github.com/mojombo", - "followers_url": "https://api.github.com/users/mojombo/followers", - "subscriptions_url": "https://api.github.com/users/mojombo/subscriptions", - "organizations_url": "https://api.github.com/users/mojombo/orgs", - "repos_url": "https://api.github.com/users/mojombo/repos", - "received_events_url": "https://api.github.com/users/mojombo/received_events", - "type": "User", - "score": 1, - "following_url": "https://api.github.com/users/mojombo/following{/other_user}", - "gists_url": "https://api.github.com/users/mojombo/gists{/gist_id}", - "starred_url": "https://api.github.com/users/mojombo/starred{/owner}{/repo}", - "events_url": "https://api.github.com/users/mojombo/events{/privacy}", - "site_admin": true - } - ] - } - }, - "configuration-status": { - "value": { - "status": "running", - "progress": [ - { "status": "DONE", "key": "Appliance core components" }, - { "status": "DONE", "key": "GitHub utilities" }, - { "status": "DONE", "key": "GitHub applications" }, - { "status": "CONFIGURING", "key": "GitHub services" }, - { "status": "PENDING", "key": "Reloading appliance services" } - ] - } - }, - "maintenance-status": { - "value": { - "status": "scheduled", - "scheduled_time": "Tuesday, January 22 at 15:34 -0800", - "connection_services": [ - { "name": "git operations", "number": 0 }, - { "name": "mysql queries", "number": 233 }, - { "name": "aqueduct jobs", "number": 34 }, - { "name": "resque jobs", "number": 54 } - ] - } - }, - "enterprise-settings": { - "value": { - "enterprise": { - "private_mode": false, - "public_pages": false, - "subdomain_isolation": true, - "signup_enabled": false, - "github_hostname": "ghe.local", - "identicons_host": "dotcom", - "http_proxy": null, - "auth_mode": "default", - "expire_sessions": false, - "admin_password": null, - "configuration_id": 1401777404, - "configuration_run_count": 4, - "avatar": { "enabled": false, "uri": "" }, - "customer": { - "name": "GitHub", - "email": "stannis@themannis.biz", - "uuid": "af6cac80-e4e1-012e-d822-1231380e52e9", - "secret_key_data": "-----BEGIN PGP PRIVATE KEY BLOCK-----\nVersion: GnuPG v1.4.10 (GNU/Linux)\n\nlQcYBE5TCgsBEACk4yHpUcapplebaumBMXYMiLF+nCQ0lxpx...\n-----END PGP PRIVATE KEY BLOCK-----\n", - "public_key_data": "-----BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v1.4.10 (GNU/Linux)\n\nmI0ETqzZYgEEALSe6snowdenXyqvLfSQ34HWD6C7....\n-----END PGP PUBLIC KEY BLOCK-----\n" - }, - "license": { - "seats": 0, - "evaluation": false, - "perpetual": false, - "unlimited_seating": true, - "support_key": "ssh-rsa AAAAB3N....", - "ssh_allowed": true, - "cluster_support": false, - "expire_at": "2016-04-27T00:00:00-07:00" - }, - "github_ssl": { "enabled": false, "cert": null, "key": null }, - "ldap": { - "host": null, - "port": 0, - "base": [], - "uid": null, - "bind_dn": null, - "password": null, - "method": "Plain", - "search_strategy": "detect", - "user_groups": [], - "admin_group": null, - "virtual_attribute_enabled": false, - "recursive_group_search": false, - "posix_support": true, - "user_sync_emails": false, - "user_sync_keys": false, - "user_sync_interval": 4, - "team_sync_interval": 4, - "sync_enabled": false, - "reconciliation": { "user": null, "org": null }, - "profile": { - "uid": "uid", - "name": null, - "mail": null, - "key": null - } - }, - "cas": { "url": null }, - "saml": { - "sso_url": null, - "certificate": null, - "certificate_path": null, - "issuer": null, - "idp_initiated_sso": false, - "disable_admin_demote": false - }, - "github_oauth": { - "client_id": "12313412", - "client_secret": "kj123131132", - "organization_name": "Homestar Runners", - "organization_team": "homestarrunners/characters" - }, - "smtp": { - "enabled": true, - "address": "smtp.example.com", - "authentication": "plain", - "port": "1234", - "domain": "blah", - "username": "foo", - "user_name": "mr_foo", - "enable_starttls_auto": true, - "password": "bar", - "discard-to-noreply-address": true, - "support_address": "enterprise@github.com", - "support_address_type": "email", - "noreply_address": "noreply@github.com" - }, - "ntp": { - "primary_server": "0.pool.ntp.org", - "secondary_server": "1.pool.ntp.org" - }, - "timezone": null, - "snmp": { "enabled": false, "community": "" }, - "syslog": { - "enabled": false, - "server": null, - "protocol_name": "udp" - }, - "assets": null, - "pages": { "enabled": true }, - "collectd": { - "enabled": false, - "server": null, - "port": 0, - "encryption": null, - "username": null, - "password": null - }, - "mapping": { - "enabled": true, - "tileserver": null, - "basemap": "company.map-qsz2zrvs", - "token": null - }, - "load_balancer": null - }, - "run_list": ["recipe[enterprise-configure]"] - } - }, - "ssh-key-items": { - "value": [ - { - "key": "ssh-rsa AAAAB3NzaC1yc2EAAAAB...", - "pretty-print": "ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64" - }, - { - "key": "ssh-rsa AAAAB3NzaC1yc2EAAAAB...", - "pretty-print": "ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64" - }, - { - "key": "ssh-rsa AAAAB3NzaC1yc2EAAAAB...", - "pretty-print": "ssh-rsa 01:14:0f:f2:0f:e2:fe:e8:f4:72:62:af:75:f7:1a:88:3e:04:92:64" - } - ] - }, - "team-repository-alternative-response-with-extra-repository-information": { - "value": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "git_url": "git:github.com/octocat/Hello-World.git", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "ssh_url": "git@github.com:octocat/Hello-World.git", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "clone_url": "https://github.com/octocat/Hello-World.git", - "mirror_url": "git:git.example.com/octocat/Hello-World", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", - "svn_url": "https://svn.github.com/octocat/Hello-World", - "homepage": "https://github.com", - "language": null, - "forks_count": 9, - "stargazers_count": 80, - "watchers_count": 80, - "size": 108, - "default_branch": "master", - "open_issues_count": 0, - "is_template": false, - "topics": ["octocat", "atom", "electron", "api"], - "has_issues": true, - "has_projects": true, - "has_wiki": true, - "has_pages": false, - "has_downloads": true, - "archived": false, - "disabled": false, - "visibility": "public", - "pushed_at": "2011-01-26T19:06:43Z", - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:14:43Z", - "permissions": { - "admin": false, - "maintain": false, - "push": false, - "triage": false, - "pull": true - }, - "role_name": "read", - "allow_rebase_merge": true, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "allow_squash_merge": true, - "allow_auto_merge": false, - "delete_branch_on_merge": true, - "allow_merge_commit": true, - "subscribers_count": 42, - "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://api.github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 - } - }, - "private-user-response-with-public-and-private-profile-information": { - "summary": "Response with public and private profile information", - "value": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false, - "name": "monalisa octocat", - "company": "GitHub", - "blog": "https://github.com/blog", - "location": "San Francisco", - "email": "octocat@github.com", - "hireable": false, - "bio": "There once was...", - "public_repos": 2, - "public_gists": 1, - "followers": 20, - "following": 0, - "created_at": "2008-01-14T04:33:35Z", - "updated_at": "2008-01-14T04:33:35Z", - "private_gists": 81, - "total_private_repos": 100, - "owned_private_repos": 100, - "disk_usage": 10000, - "collaborators": 8, - "two_factor_authentication": true, - "plan": { - "name": "Medium", - "space": 400, - "private_repos": 20, - "collaborators": 0 - } - } - }, - "private-user-response-with-public-profile-information": { - "summary": "Response with public profile information", - "value": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false, - "name": "monalisa octocat", - "company": "GitHub", - "blog": "https://github.com/blog", - "location": "San Francisco", - "email": "octocat@github.com", - "hireable": false, - "bio": "There once was...", - "public_repos": 2, - "public_gists": 1, - "followers": 20, - "following": 0, - "created_at": "2008-01-14T04:33:35Z", - "updated_at": "2008-01-14T04:33:35Z" - } - }, - "private-user": { - "value": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false, - "name": "monalisa octocat", - "company": "GitHub", - "blog": "https://github.com/blog", - "location": "San Francisco", - "email": "octocat@github.com", - "hireable": false, - "bio": "There once was...", - "public_repos": 2, - "public_gists": 1, - "followers": 20, - "following": 0, - "created_at": "2008-01-14T04:33:35Z", - "updated_at": "2008-01-14T04:33:35Z", - "private_gists": 81, - "total_private_repos": 100, - "owned_private_repos": 100, - "disk_usage": 10000, - "collaborators": 8, - "two_factor_authentication": true, - "plan": { - "name": "Medium", - "space": 400, - "private_repos": 20, - "collaborators": 0 - } - } - }, - "packages-for-user": { - "value": [ - { - "id": 197, - "name": "hello_docker", - "package_type": "container", - "owner": { - "login": "octocat", - "id": 9919, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=", - "avatar_url": "https://avatars.octocatusercontent.com/u/9919?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/github", - "followers_url": "https://api.github.com/users/github/followers", - "following_url": "https://api.github.com/users/github/following{/other_user}", - "gists_url": "https://api.github.com/users/github/gists{/gist_id}", - "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/github/subscriptions", - "organizations_url": "https://api.github.com/users/github/orgs", - "repos_url": "https://api.github.com/users/github/repos", - "events_url": "https://api.github.com/users/github/events{/privacy}", - "received_events_url": "https://api.github.com/users/github/received_events", - "type": "User", - "site_admin": false - }, - "version_count": 1, - "visibility": "private", - "url": "https://api.github.com/orgs/github/packages/container/hello_docker", - "created_at": "2020-05-19T22:19:11Z", - "updated_at": "2020-05-19T22:19:11Z", - "html_url": "https://github.com/orgs/github/packages/container/package/hello_docker" - }, - { - "id": 198, - "name": "goodbye_docker", - "package_type": "container", - "owner": { - "login": "github", - "id": 9919, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=", - "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/github", - "followers_url": "https://api.github.com/users/github/followers", - "following_url": "https://api.github.com/users/github/following{/other_user}", - "gists_url": "https://api.github.com/users/github/gists{/gist_id}", - "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/github/subscriptions", - "organizations_url": "https://api.github.com/users/github/orgs", - "repos_url": "https://api.github.com/users/github/repos", - "events_url": "https://api.github.com/users/github/events{/privacy}", - "received_events_url": "https://api.github.com/users/github/received_events", - "type": "User", - "site_admin": false - }, - "version_count": 2, - "visibility": "private", - "url": "https://api.github.com/user/octocat/packages/container/goodbye_docker", - "created_at": "2020-05-20T22:19:11Z", - "updated_at": "2020-05-20T22:19:11Z", - "html_url": "https://github.com/user/octocat/packages/container/package/goodbye_docker" - } - ] - }, - "email-items-2": { - "value": [ - { - "email": "octocat@github.com", - "verified": true, - "primary": true, - "visibility": "public" - } - ] - }, - "email-items": { - "value": [ - { - "email": "octocat@octocat.org", - "primary": false, - "verified": false, - "visibility": "public" - }, - { - "email": "octocat@github.com", - "primary": false, - "verified": false, - "visibility": null - }, - { - "email": "mona@github.com", - "primary": false, - "verified": false, - "visibility": null - } - ] - }, - "gpg-key-items": { - "value": [ - { - "id": 3, - "name": "Octocat's GPG Key", - "primary_key_id": 2, - "key_id": "3262EFF25BA0D270", - "public_key": "xsBNBFayYZ...", - "emails": [ - { "email": "octocat@users.noreply.github.com", "verified": true } - ], - "subkeys": [ - { - "id": 4, - "primary_key_id": 3, - "key_id": "4A595D4C72EE49C7", - "public_key": "zsBNBFayYZ...", - "emails": [], - "can_sign": false, - "can_encrypt_comms": true, - "can_encrypt_storage": true, - "can_certify": false, - "created_at": "2016-03-24T11:31:04-06:00", - "expires_at": "2016-03-24T11:31:04-07:00", - "revoked": false - } - ], - "can_sign": true, - "can_encrypt_comms": false, - "can_encrypt_storage": false, - "can_certify": true, - "created_at": "2016-03-24T11:31:04-06:00", - "expires_at": "2016-03-24T11:31:04-07:00", - "revoked": false, - "raw_key": "string" - } - ] - }, - "gpg-key": { - "value": { - "id": 3, - "name": "Octocat's GPG Key", - "primary_key_id": 2, - "key_id": "3262EFF25BA0D270", - "public_key": "xsBNBFayYZ...", - "emails": [ - { "email": "octocat@users.noreply.github.com", "verified": true } - ], - "subkeys": [ - { - "id": 4, - "primary_key_id": 3, - "key_id": "4A595D4C72EE49C7", - "public_key": "zsBNBFayYZ...", - "emails": [], - "can_sign": false, - "can_encrypt_comms": true, - "can_encrypt_storage": true, - "can_certify": false, - "created_at": "2016-03-24T11:31:04-06:00", - "expires_at": "2016-03-24T11:31:04-07:00", - "revoked": false - } - ], - "can_sign": true, - "can_encrypt_comms": false, - "can_encrypt_storage": false, - "can_certify": true, - "created_at": "2016-03-24T11:31:04-06:00", - "expires_at": "2016-03-24T11:31:04-07:00", - "revoked": false, - "raw_key": "\"-----BEGIN PGP PUBLIC KEY BLOCK-----\\nVersion: GnuPG v2\\n\\nmQENBFayYZ0BCAC4hScoJXXpyR+MXGcrBxElqw3FzCVvkViuyeko+Jp76QJhg8kr\\nucRTxbnOoHfda/FmilEa/wxf9ch5/PSrrL26FxEoPHhJolp8fnIDLQeITn94NYdB\\nZtnnEKslpPrG97qSUWIchvyqCPtvOb8+8fWvGx9K/ZWcEEdh1X8+WFR2jMENMeoX\\nwxHWQoPnS7LpX/85/M7VUcJxvDVfv+eHsnQupmE5bGarKNih0oMe3LbdN3qA5PTz\\nSCm6Iudar1VsQ+xTz08ymL7t4pnEtLguQ7EyatFHCjxNblv5RzxoL0tDgN3HqoDz\\nc7TEA+q4RtDQl9amcvQ95emnXmZ974u7UkYdABEBAAG0HlNvbWUgVXNlciA8c29t\\nZXVzZXJAZ21haWwuY29tPokBOAQTAQIAIgUCVrJhnQIbAwYLCQgHAwIGFQgCCQoL\\nBBYCAwECHgECF4AACgkQMmLv8lug0nAViQgArWjI55+7p48URr2z9Jvak+yrBTx1\\nzkufltQAnHTJkq+Kl9dySSmTnOop8o3rE4++IOpYV5Y36PkKf9EZMk4n1RQiDPKE\\nAFtRVTkRaoWzOir9KQXJPfhKrl01j/QzY+utfiMvUoBJZ9ybq8Pa885SljW9lbaX\\nIYw+hl8ZdJ2KStvGrEyfQvRyq3aN5c9TV//4BdGnwx7Qabq/U+G18lizG6f/yq15\\ned7t0KELaCfeKPvytp4VE9/z/Ksah/h3+Qilx07/oG2Ae5kC1bEC9coD/ogPUhbv\\nb2bsBIoY9E9YwsLoif2lU+o1t76zLgUktuNscRRUKobW028H1zuFS/XQhrkBDQRW\\nsmGdAQgApnyyv3i144OLYy0O4UKQxd3e10Y3WpDwfnGIBefAI1m7RxnUxBag/DsU\\n7gi9qLEC4VHSfq4eiNfr1LJOyCL2edTgCWFgBhVjbXjZe6YAOrAnhxwCErnN0Y7N\\n6s8wVh9fObSOyf8ZE6G7JeKpcq9Q6gd/KxagfD48a1v+fyRHpyQc6J9pUEmtrDJ7\\nBjmsd2VWzLBvNWdHyxDNtZweIaqIO9VUYYpr1mtTliNBOZLUelmgrt7HBRcJpWMA\\nS8muVVbuP5MK0trLBq/JB8qUH3zRzB/PhMgzmkIfjEK1VYDWm4E8DYyTWEJcHqkb\\neqFsNjrIlwPaA122BWC6gUOPwwH+oQARAQABiQEfBBgBAgAJBQJWsmGdAhsMAAoJ\\nEDJi7/JboNJwAyAIALd4xcdmGbZD98gScJzqwzkOMcO8zFHqHNvJ42xIFvGny7c0\\n1Rx7iyrdypOby5AxE+viQcjG4rpLZW/xKYBNGrCfDyQO7511I0v8x20EICMlMfD/\\nNrWQCzesEPcUlKTP07d+sFyP8AyseOidbzY/92CpskTgdSBjY/ntLSaoknl/fjJE\\nQM8OkPqU7IraO1Jzzdnm20d5PZL9+PIwIWdSTedU/vBMTJyNcoqvSfKf1wNC66XP\\nhqfYgXJE564AdWZKA3C0IyCqiv+LHwxLnUHio1a4/r91C8KPzxs6tGxRDjXLd7ms\\nuYFGWymiUGOE/giHlcxdYcHzwLnPDliMQOLiTkK5AQ0EVuxMygEIAOD+bW1cDTmE\\nBxh5JECoqeHuwgl6DlLhnubWPkQ4ZeRzBRAsFcEJQlwlJjrzFDicL+lnm6Qq4tt0\\n560TwHdf15/AKTZIZu7H25axvGNzgeaUkJEJdYAq9zTKWwX7wKyzBszi485nQg97\\nMfAqwhMpDW0Qqf8+7Ug+WEmfBSGv9uL3aQC6WEeIsHfri0n0n8v4XgwhfShXguxO\\nCsOztEsuW7WWKW9P4TngKKv4lCHdPlV6FwxeMzODBJvc2fkHVHnqc0PqszJ5xcF8\\n6gZCpMM027SbpeYWCAD5zwJyYP9ntfO1p2HjnQ1dZaP9FeNcO7uIV1Lnd1eGCu6I\\nsrVp5k1f3isAEQEAAYkCPgQYAQIACQUCVuxMygIbAgEpCRAyYu/yW6DScMBdIAQZ\\nAQIABgUCVuxMygAKCRCKohN4dhq2b4tcCACHxmOHVXNpu47OvUGYQydLgMACUlXN\\nlj+HfE0VReqShxdDmpasAY9IRpuMB2RsGK8GbNP+4SlOlAiPf5SMhS7nZNkNDgQQ\\naZ3HFpgrFmFwmE10BKT4iQtoxELLM57z0qGOAfTsEjWFQa4sF+6IHAQR/ptkdkkI\\nBUEXiMnAwVwBysLIJiLO8qdjB6qp52QkT074JVrwywT/P+DkMfC2k4r/AfEbf6eF\\ndmPDuPk6KD87+hJZsSa5MaMUBQVvRO/mgEkhJRITVu58eWGaBOcQJ8gqurhCqM5P\\nDfUA4TJ7wiqM6sS764vV1rOioTTXkszzhClQqET7hPVnVQjenYgv0EZHNyQH/1f1\\n/CYqvV1vFjM9vJjMbxXsATCkZe6wvBVKD8vLsJAr8N+onKQz+4OPc3kmKq7aESu3\\nCi/iuie5KKVwnuNhr9AzT61vEkKxwHcVFEvHB77F6ZAAInhRvjzmQbD2dlPLLQCC\\nqDj71ODSSAPTEmUy6969bgD9PfWei7kNkBIx7s3eBv8yzytSc2EcuUgopqFazquw\\nFs1+tqGHjBvQfTo6bqbJjp/9Ci2pvde3ElV2rAgUlb3lqXyXjRDqrXosh5GcRPQj\\nK8Nhj1BNhnrCVskE4BP0LYbOHuzgm86uXwGCFsY+w2VOsSm16Jx5GHyG5S5WU3+D\\nIts/HFYRLiFgDLmTlxo=\\n=+OzK\\n-----END PGP PUBLIC KEY BLOCK-----\"" - } - }, - "base-installation-for-auth-user-paginated": { - "value": { - "total_count": 2, - "installations": [ - { - "id": 1, - "account": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "access_tokens_url": "https://api.github.com/app/installations/1/access_tokens", - "repositories_url": "https://api.github.com/installation/repositories", - "html_url": "https://github.com/organizations/github/settings/installations/1", - "app_id": 1, - "target_id": 1, - "target_type": "Organization", - "permissions": { - "checks": "write", - "metadata": "read", - "contents": "read" - }, - "events": ["push", "pull_request"], - "single_file_name": "config.yaml", - "has_multiple_single_files": true, - "single_file_paths": ["config.yml", ".github/issue_TEMPLATE.md"], - "repository_selection": "all", - "created_at": "2017-07-08T16:18:44-04:00", - "updated_at": "2017-07-08T16:18:44-04:00", - "app_slug": "github-actions", - "suspended_at": null, - "suspended_by": null - }, - { - "id": 3, - "account": { - "login": "octocat", - "id": 2, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "access_tokens_url": "https://api.github.com/app/installations/1/access_tokens", - "repositories_url": "https://api.github.com/installation/repositories", - "html_url": "https://github.com/organizations/github/settings/installations/1", - "app_id": 1, - "target_id": 1, - "target_type": "Organization", - "permissions": { - "checks": "write", - "metadata": "read", - "contents": "read" - }, - "events": ["push", "pull_request"], - "single_file_name": "config.yaml", - "has_multiple_single_files": true, - "single_file_paths": ["config.yml", ".github/issue_TEMPLATE.md"], - "repository_selection": "all", - "created_at": "2017-07-08T16:18:44-04:00", - "updated_at": "2017-07-08T16:18:44-04:00", - "app_slug": "github-actions", - "suspended_at": null, - "suspended_by": null - } - ] - } - }, - "key-items": { - "value": [ - { - "key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234", - "id": 2, - "url": "https://api.github.com/user/keys/2", - "title": "ssh-rsa AAAAB3NzaC1yc2EAAA", - "created_at": "2020-06-11T21:31:57Z", - "verified": false, - "read_only": false - }, - { - "key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJy931234", - "id": 3, - "url": "https://api.github.com/user/keys/3", - "title": "ssh-rsa AAAAB3NzaC1yc2EAAB", - "created_at": "2020-07-11T21:31:57Z", - "verified": false, - "read_only": false - } - ] - }, - "key": { - "value": { - "key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234", - "id": 2, - "url": "https://api.github.com/user/keys/2", - "title": "ssh-rsa AAAAB3NzaC1yc2EAAA", - "created_at": "2020-06-11T21:31:57Z", - "verified": false, - "read_only": false - } - }, - "org-membership-items": { - "value": [ - { - "url": "https://api.github.com/orgs/octocat/memberships/defunkt", - "state": "active", - "role": "admin", - "organization_url": "https://api.github.com/orgs/octocat", - "organization": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization" - }, - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - }, - { - "url": "https://api.github.com/orgs/invitocat/memberships/defunkt", - "state": "pending", - "role": "admin", - "organization_url": "https://api.github.com/orgs/invitocat", - "organization": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization" - }, - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - ] - }, - "org-membership": { - "value": { - "url": "https://api.github.com/orgs/invitocat/memberships/defunkt", - "state": "pending", - "role": "admin", - "organization_url": "https://api.github.com/orgs/invitocat", - "organization": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization" - }, - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - }, - "org-membership-2": { - "value": { - "url": "https://api.github.com/orgs/octocat/memberships/defunkt", - "state": "active", - "role": "admin", - "organization_url": "https://api.github.com/orgs/octocat", - "organization": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization" - }, - "user": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - }, - "migration-items": { - "value": [ - { - "id": 79, - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "guid": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "state": "pending", - "lock_repositories": true, - "exclude_attachments": false, - "exclude_releases": false, - "exclude_owner_projects": false, - "repositories": [ - { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "git_url": "git:github.com/octocat/Hello-World.git", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "ssh_url": "git@github.com:octocat/Hello-World.git", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "clone_url": "https://github.com/octocat/Hello-World.git", - "mirror_url": "git:git.example.com/octocat/Hello-World", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", - "svn_url": "https://svn.github.com/octocat/Hello-World", - "homepage": "https://github.com", - "language": null, - "forks_count": 9, - "stargazers_count": 80, - "watchers_count": 80, - "size": 108, - "default_branch": "master", - "open_issues_count": 0, - "is_template": true, - "topics": ["octocat", "atom", "electron", "api"], - "has_issues": true, - "has_projects": true, - "has_wiki": true, - "has_pages": false, - "has_downloads": true, - "archived": false, - "disabled": false, - "visibility": "public", - "pushed_at": "2011-01-26T19:06:43Z", - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:14:43Z", - "permissions": { "admin": false, "push": false, "pull": true }, - "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "allow_squash_merge": true, - "allow_auto_merge": false, - "delete_branch_on_merge": true, - "allow_merge_commit": true, - "subscribers_count": 42, - "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://api.github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 - } - ], - "url": "https://api.github.com/orgs/octo-org/migrations/79", - "created_at": "2015-07-06T15:33:38-07:00", - "updated_at": "2015-07-06T15:33:38-07:00", - "node_id": "MDQ6VXNlcjE=" - } - ] - }, - "migration-2": { - "value": { - "id": 79, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "guid": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "state": "pending", - "lock_repositories": true, - "exclude_attachments": false, - "exclude_releases": false, - "exclude_owner_projects": false, - "repositories": [ - { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "git_url": "git:github.com/octocat/Hello-World.git", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "ssh_url": "git@github.com:octocat/Hello-World.git", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "clone_url": "https://github.com/octocat/Hello-World.git", - "mirror_url": "git:git.example.com/octocat/Hello-World", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", - "svn_url": "https://svn.github.com/octocat/Hello-World", - "homepage": "https://github.com", - "language": null, - "forks_count": 9, - "stargazers_count": 80, - "watchers_count": 80, - "size": 108, - "default_branch": "master", - "open_issues_count": 0, - "is_template": true, - "topics": ["octocat", "atom", "electron", "api"], - "has_issues": true, - "has_projects": true, - "has_wiki": true, - "has_pages": false, - "has_downloads": true, - "archived": false, - "disabled": false, - "visibility": "public", - "pushed_at": "2011-01-26T19:06:43Z", - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:14:43Z", - "permissions": { "admin": false, "push": false, "pull": true }, - "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "allow_squash_merge": true, - "allow_auto_merge": false, - "delete_branch_on_merge": true, - "allow_merge_commit": true, - "subscribers_count": 42, - "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://api.github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 - } - ], - "url": "https://api.github.com/orgs/octo-org/migrations/79", - "created_at": "2015-07-06T15:33:38-07:00", - "updated_at": "2015-07-06T15:33:38-07:00" - } - }, - "package-user": { - "value": { - "id": 40201, - "name": "octo-name", - "package_type": "rubygems", - "owner": { - "login": "octocat", - "id": 209477, - "node_id": "MDQ6VXNlcjIwOTQ3Nw==", - "avatar_url": "https://avatars.githubusercontent.com/u/209477?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "version_count": 3, - "visibility": "public", - "url": "https://api.github.com/users/octocat/packages/rubygems/octo-name", - "created_at": "2019-10-20T14:17:14Z", - "updated_at": "2019-10-20T14:17:14Z", - "repository": { - "id": 216219492, - "node_id": "MDEwOlJlcG9zaXRvcnkyMTYyMTk0OTI=", - "name": "octo-name-repo", - "full_name": "octocat/octo-name-repo", - "private": false, - "owner": { - "login": "octocat", - "id": 209477, - "node_id": "MDQ6VXNlcjIwOTQ3Nw==", - "avatar_url": "https://avatars.githubusercontent.com/u/209477?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "html_url": "https://github.com/octocat/octo-name-repo", - "description": "Project for octocats", - "fork": false, - "url": "https://api.github.com/repos/octocat/octo-name-repo", - "forks_url": "https://api.github.com/repos/octocat/octo-name-repo/forks", - "keys_url": "https://api.github.com/repos/octocat/octo-name-repo/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/octocat/octo-name-repo/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/octocat/octo-name-repo/teams", - "hooks_url": "https://api.github.com/repos/octocat/octo-name-repo/hooks", - "issue_events_url": "https://api.github.com/repos/octocat/octo-name-repo/issues/events{/number}", - "events_url": "https://api.github.com/repos/octocat/octo-name-repo/events", - "assignees_url": "https://api.github.com/repos/octocat/octo-name-repo/assignees{/user}", - "branches_url": "https://api.github.com/repos/octocat/octo-name-repo/branches{/branch}", - "tags_url": "https://api.github.com/repos/octocat/octo-name-repo/tags", - "blobs_url": "https://api.github.com/repos/octocat/octo-name-repo/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/octo-name-repo/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/octo-name-repo/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/octocat/octo-name-repo/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/octocat/octo-name-repo/statuses/{sha}", - "languages_url": "https://api.github.com/repos/octocat/octo-name-repo/languages", - "stargazers_url": "https://api.github.com/repos/octocat/octo-name-repo/stargazers", - "contributors_url": "https://api.github.com/repos/octocat/octo-name-repo/contributors", - "subscribers_url": "https://api.github.com/repos/octocat/octo-name-repo/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/octo-name-repo/subscription", - "commits_url": "https://api.github.com/repos/octocat/octo-name-repo/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/octocat/octo-name-repo/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/octocat/octo-name-repo/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/octocat/octo-name-repo/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/octocat/octo-name-repo/contents/{+path}", - "compare_url": "https://api.github.com/repos/octocat/octo-name-repo/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/octocat/octo-name-repo/merges", - "archive_url": "https://api.github.com/repos/octocat/octo-name-repo/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/octocat/octo-name-repo/downloads", - "issues_url": "https://api.github.com/repos/octocat/octo-name-repo/issues{/number}", - "pulls_url": "https://api.github.com/repos/octocat/octo-name-repo/pulls{/number}", - "milestones_url": "https://api.github.com/repos/octocat/octo-name-repo/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/octo-name-repo/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/octocat/octo-name-repo/labels{/name}", - "releases_url": "https://api.github.com/repos/octocat/octo-name-repo/releases{/id}", - "deployments_url": "https://api.github.com/repos/octocat/octo-name-repo/deployments" - }, - "html_url": "https://github.com/octocat/octo-name-repo/packages/40201" - } - }, - "package-versions-for-authenticated-user": { - "value": [ - { - "id": 45763, - "name": "sha256:08a44bab0bddaddd8837a8b381aebc2e4b933768b981685a9e088360af0d3dd9", - "url": "https://api.github.com/users/octocat/packages/container/hello_docker/versions/45763", - "package_html_url": "https://github.com/users/octocat/packages/container/package/hello_docker", - "created_at": "2020-09-11T21:56:40Z", - "updated_at": "2021-02-05T21:32:32Z", - "html_url": "https://github.com/users/octocat/packages/container/hello_docker/45763", - "metadata": { - "package_type": "container", - "container": { "tags": ["latest"] } - } - }, - { - "id": 881, - "name": "sha256:b3d3e366b55f9a54599220198b3db5da8f53592acbbb7dc7e4e9878762fc5344", - "url": "https://api.github.com/users/octocat/packages/container/hello_docker/versions/881", - "package_html_url": "https://github.com/users/octocat/packages/container/package/hello_docker", - "created_at": "2020-05-21T22:22:20Z", - "updated_at": "2021-02-05T21:32:32Z", - "html_url": "https://github.com/users/octocat/packages/container/hello_docker/881", - "metadata": { - "package_type": "container", - "container": { "tags": [] } - } - } - ] - }, - "package-version-authenticated-user": { - "value": { - "id": 214, - "name": "sha256:3561f0cff06caccddb99c93bd26e712fcc56a811de0f8ea7a17bb865f30b176a", - "url": "https://api.github.com/users/octocat/packages/container/hello_docker/versions/214", - "package_html_url": "https://github.com/users/octocat/packages/container/package/hello_docker", - "created_at": "2020-05-15T03:46:45Z", - "updated_at": "2020-05-15T03:46:45Z", - "html_url": "https://github.com/users/octocat/packages/container/hello_docker/214", - "metadata": { - "package_type": "container", - "container": { "tags": ["1.13.6"] } - } - } - }, - "project": { - "value": { - "owner_url": "https://api.github.com/users/octocat", - "url": "https://api.github.com/projects/1002603", - "html_url": "https://github.com/users/octocat/projects/1", - "columns_url": "https://api.github.com/projects/1002603/columns", - "id": 1002603, - "node_id": "MDc6UHJvamVjdDEwMDI2MDM=", - "name": "My Projects", - "body": "A board to manage my personal projects.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z" - } - }, - "repository-items-default-response": { - "summary": "Default response", - "value": [ - { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "git_url": "git:github.com/octocat/Hello-World.git", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "ssh_url": "git@github.com:octocat/Hello-World.git", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "clone_url": "https://github.com/octocat/Hello-World.git", - "mirror_url": "git:git.example.com/octocat/Hello-World", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", - "svn_url": "https://svn.github.com/octocat/Hello-World", - "homepage": "https://github.com", - "language": null, - "forks_count": 9, - "stargazers_count": 80, - "watchers_count": 80, - "size": 108, - "default_branch": "master", - "open_issues_count": 0, - "is_template": true, - "topics": ["octocat", "atom", "electron", "api"], - "has_issues": true, - "has_projects": true, - "has_wiki": true, - "has_pages": false, - "has_downloads": true, - "archived": false, - "disabled": false, - "visibility": "public", - "pushed_at": "2011-01-26T19:06:43Z", - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:14:43Z", - "permissions": { "admin": false, "push": false, "pull": true }, - "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "allow_squash_merge": true, - "allow_auto_merge": false, - "delete_branch_on_merge": true, - "allow_merge_commit": true, - "subscribers_count": 42, - "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 - } - ] - }, - "social-account-items": { - "value": [ - { "provider": "twitter", "url": "https://twitter.com/github" } - ] - }, - "ssh-signing-key-items": { - "value": [ - { - "key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234", - "id": 2, - "url": "https://api.github.com/user/keys/2", - "title": "ssh-rsa AAAAB3NzaC1yc2EAAA", - "created_at": "2020-06-11T21:31:57Z" - }, - { - "key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJy931234", - "id": 3, - "url": "https://api.github.com/user/keys/3", - "title": "ssh-rsa AAAAB3NzaC1yc2EAAB", - "created_at": "2020-07-11T21:31:57Z" - } - ] - }, - "ssh-signing-key": { - "value": { - "key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234", - "id": 2, - "url": "https://api.github.com/user/keys/2", - "title": "ssh-rsa AAAAB3NzaC1yc2EAAA", - "created_at": "2020-06-11T21:31:57Z" - } - }, - "starred-repository-items-alternative-response-with-star-creation-timestamps": { - "summary": "Alternative response with star creation timestamps", - "value": [ - { - "starred_at": "2011-01-16T19:06:43Z", - "repo": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "git_url": "git:github.com/octocat/Hello-World.git", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "ssh_url": "git@github.com:octocat/Hello-World.git", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "clone_url": "https://github.com/octocat/Hello-World.git", - "mirror_url": "git:git.example.com/octocat/Hello-World", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", - "svn_url": "https://svn.github.com/octocat/Hello-World", - "homepage": "https://github.com", - "language": null, - "forks_count": 9, - "stargazers_count": 80, - "watchers_count": 80, - "size": 108, - "default_branch": "master", - "open_issues_count": 0, - "is_template": true, - "topics": ["octocat", "atom", "electron", "api"], - "has_issues": true, - "has_projects": true, - "has_wiki": true, - "has_pages": false, - "has_downloads": true, - "archived": false, - "disabled": false, - "visibility": "public", - "pushed_at": "2011-01-26T19:06:43Z", - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:14:43Z", - "permissions": { "admin": false, "push": false, "pull": true }, - "allow_rebase_merge": true, - "template_repository": null, - "temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O", - "allow_squash_merge": true, - "allow_auto_merge": false, - "delete_branch_on_merge": true, - "allow_merge_commit": true, - "subscribers_count": 42, - "network_count": 0, - "license": { - "key": "mit", - "name": "MIT License", - "url": "https://api.github.com/licenses/mit", - "spdx_id": "MIT", - "node_id": "MDc6TGljZW5zZW1pdA==", - "html_url": "https://github.com/licenses/mit" - }, - "forks": 1, - "open_issues": 1, - "watchers": 1 - } - } - ] - }, - "team-full-items": { - "value": [ - { - "id": 1, - "node_id": "MDQ6VGVhbTE=", - "url": "https://api.github.com/teams/1", - "html_url": "https://github.com/orgs/github/teams/justice-league", - "name": "Justice League", - "slug": "justice-league", - "description": "A great team.", - "privacy": "closed", - "permission": "admin", - "members_url": "https://api.github.com/teams/1/members{/member}", - "repositories_url": "https://api.github.com/teams/1/repos", - "parent": null, - "members_count": 3, - "repos_count": 10, - "created_at": "2017-07-14T16:53:42Z", - "updated_at": "2017-08-17T12:37:15Z", - "organization": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization", - "name": "github", - "company": "GitHub", - "blog": "https://github.com/blog", - "location": "San Francisco", - "email": "octocat@github.com", - "has_organization_projects": true, - "has_repository_projects": true, - "public_repos": 2, - "public_gists": 1, - "followers": 20, - "following": 0, - "html_url": "https://github.com/octocat", - "created_at": "2008-01-14T04:33:35Z", - "type": "Organization" - }, - "ldap_dn": "uid=asdf,ou=users,dc=github,dc=com" - } - ] - }, - "public-user-default-response": { - "summary": "Default response", - "value": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false, - "name": "monalisa octocat", - "company": "GitHub", - "blog": "https://github.com/blog", - "location": "San Francisco", - "email": "octocat@github.com", - "hireable": false, - "bio": "There once was...", - "twitter_username": "monatheoctocat", - "public_repos": 2, - "public_gists": 1, - "followers": 20, - "following": 0, - "created_at": "2008-01-14T04:33:35Z", - "updated_at": "2008-01-14T04:33:35Z" - } - }, - "public-user-response-with-git-hub-plan-information": { - "summary": "Response with GitHub plan information", - "value": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false, - "name": "monalisa octocat", - "company": "GitHub", - "blog": "https://github.com/blog", - "location": "San Francisco", - "email": "octocat@github.com", - "hireable": false, - "bio": "There once was...", - "twitter_username": "monatheoctocat", - "public_repos": 2, - "public_gists": 1, - "followers": 20, - "following": 0, - "created_at": "2008-01-14T04:33:35Z", - "updated_at": "2008-01-14T04:33:35Z", - "plan": { - "name": "pro", - "space": 976562499, - "collaborators": 0, - "private_repos": 9999 - } - } - }, - "user-events-items": { - "value": [ - { - "id": "22249084947", - "type": "WatchEvent", - "actor": { - "id": 583231, - "login": "octocat", - "display_login": "octocat", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4" - }, - "repo": { - "id": 1296269, - "name": "octocat/Hello-World", - "url": "https://api.github.com/repos/octocat/Hello-World" - }, - "payload": { "action": "started" }, - "public": true, - "created_at": "2022-06-09T12:47:28Z" - }, - { - "id": "22249084964", - "type": "PushEvent", - "actor": { - "id": 583231, - "login": "octocat", - "display_login": "octocat", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4" - }, - "repo": { - "id": 1296269, - "name": "octocat/Hello-World", - "url": "https://api.github.com/repos/octocat/Hello-World" - }, - "payload": { - "push_id": 10115855396, - "size": 1, - "distinct_size": 1, - "ref": "refs/heads/master", - "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] - }, - "public": false, - "created_at": "2022-06-07T07:50:26Z" - } - ] - }, - "user-org-events-items": { - "value": [ - { - "id": "22249084964", - "type": "PushEvent", - "actor": { - "id": 583231, - "login": "octocat", - "display_login": "octocat", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4" - }, - "repo": { - "id": 1296269, - "name": "octocat/Hello-World", - "url": "https://api.github.com/repos/octocat/Hello-World" - }, - "payload": { - "push_id": 10115855396, - "size": 1, - "distinct_size": 1, - "ref": "refs/heads/master", - "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] - }, - "public": false, - "created_at": "2022-06-09T12:47:28Z" - }, - { - "id": "22196946742", - "type": "CreateEvent", - "actor": { - "id": 583231, - "login": "octocat", - "display_login": "octocat", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4" - }, - "repo": { - "id": 1296269, - "name": "octocat/Hello-World", - "url": "https://api.github.com/repos/octocat/Hello-World" - }, - "payload": { - "ref": null, - "ref_type": "repository", - "master_branch": "master", - "description": null, - "pusher_type": "user" - }, - "public": false, - "created_at": "2022-06-07T07:50:26Z", - "org": { - "id": 9919, - "login": "github", - "gravatar_id": "", - "url": "https://api.github.com/orgs/github", - "avatar_url": "https://avatars.githubusercontent.com/u/9919?" - } - } - ] - }, - "user-public-events-items": { - "value": [ - { - "id": "22249084947", - "type": "WatchEvent", - "actor": { - "id": 583231, - "login": "octocat", - "display_login": "octocat", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4" - }, - "repo": { - "id": 1296269, - "name": "octocat/Hello-World", - "url": "https://api.github.com/repos/octocat/Hello-World" - }, - "payload": { "action": "started" }, - "public": true, - "created_at": "2022-06-09T12:47:28Z" - }, - { - "id": "22249084964", - "type": "PushEvent", - "actor": { - "id": 583231, - "login": "octocat", - "display_login": "octocat", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4" - }, - "repo": { - "id": 1296269, - "name": "octocat/Hello-World", - "url": "https://api.github.com/repos/octocat/Hello-World" - }, - "payload": { - "push_id": 10115855396, - "size": 1, - "distinct_size": 1, - "ref": "refs/heads/master", - "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] - }, - "public": true, - "created_at": "2022-06-08T23:29:25Z" - } - ] - }, - "hovercard": { - "value": { - "contexts": [{ "message": "Owns this repository", "octicon": "repo" }] - } - }, - "key-simple-items": { "value": [{ "id": 1, "key": "ssh-rsa AAA..." }] }, - "package-versions-for-user": { - "value": [ - { - "id": 3497268, - "name": "0.3.0", - "url": "https://api.github.com/users/octocat/packages/rubygems/octo-name/versions/3497268", - "package_html_url": "https://github.com/octocat/octo-name-repo/packages/40201", - "license": "MIT", - "created_at": "2020-08-31T15:22:11Z", - "updated_at": "2020-08-31T15:22:12Z", - "description": "Project for octocats", - "html_url": "https://github.com/octocat/octo-name-repo/packages/40201?version=0.3.0", - "metadata": { "package_type": "rubygems" } - }, - { - "id": 387039, - "name": "0.2.0", - "url": "https://api.github.com/users/octocat/packages/rubygems/octo-name/versions/387039", - "package_html_url": "https://github.com/octocat/octo-name-repo/packages/40201", - "license": "MIT", - "created_at": "2019-12-01T20:49:29Z", - "updated_at": "2019-12-01T20:49:30Z", - "description": "Project for octocats", - "html_url": "https://github.com/octocat/octo-name-repo/packages/40201?version=0.2.0", - "metadata": { "package_type": "rubygems" } - }, - { - "id": 169770, - "name": "0.1.0", - "url": "https://api.github.com/users/octocat/packages/rubygems/octo-name/versions/169770", - "package_html_url": "https://github.com/octocat/octo-name-repo/packages/40201", - "license": "MIT", - "created_at": "2019-10-20T14:17:14Z", - "updated_at": "2019-10-20T14:17:15Z", - "html_url": "https://github.com/octocat/octo-name-repo/packages/40201?version=0.1.0", - "metadata": { "package_type": "rubygems" } - } - ] - }, - "package-version-user": { - "value": { - "id": 387039, - "name": "0.2.0", - "url": "https://api.github.com/users/octocat/packages/rubygems/octo-name/versions/387039", - "package_html_url": "https://github.com/octocat/octo-name-repo/packages/40201", - "license": "MIT", - "created_at": "2019-12-01T20:49:29Z", - "updated_at": "2019-12-01T20:49:30Z", - "description": "Octo-name client for Ruby", - "html_url": "https://github.com/octocat/octo-name-repo/packages/40201?version=0.2.0", - "metadata": { "package_type": "rubygems" } - } - }, - "project-items-3": { - "value": [ - { - "owner_url": "https://api.github.com/users/octocat", - "url": "https://api.github.com/projects/1002603", - "html_url": "https://github.com/users/octocat/projects/1", - "columns_url": "https://api.github.com/projects/1002603/columns", - "id": 1002603, - "node_id": "MDc6UHJvamVjdDEwMDI2MDM=", - "name": "My Projects", - "body": "A board to manage my personal projects.", - "number": 1, - "state": "open", - "creator": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "created_at": "2011-04-10T20:09:31Z", - "updated_at": "2014-03-03T18:58:10Z" - } - ] - }, - "user-received-events-items": { - "value": [ - { - "id": "22249084964", - "type": "PushEvent", - "actor": { - "id": 583231, - "login": "octocat", - "display_login": "octocat", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4" - }, - "repo": { - "id": 1296269, - "name": "octocat/Hello-World", - "url": "https://api.github.com/repos/octocat/Hello-World" - }, - "payload": { - "push_id": 10115855396, - "size": 1, - "distinct_size": 1, - "ref": "refs/heads/master", - "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] - }, - "public": true, - "created_at": "2022-06-09T12:47:28Z" - }, - { - "id": "22196946742", - "type": "CreateEvent", - "actor": { - "id": 583231, - "login": "octocat", - "display_login": "octocat", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4" - }, - "repo": { - "id": 1296269, - "name": "octocat/Hello-World", - "url": "https://api.github.com/repos/octocat/Hello-World" - }, - "payload": { - "ref": null, - "ref_type": "repository", - "master_branch": "master", - "description": null, - "pusher_type": "user" - }, - "public": false, - "created_at": "2022-06-07T07:50:26Z", - "org": { - "id": 9919, - "login": "github", - "gravatar_id": "", - "url": "https://api.github.com/orgs/github", - "avatar_url": "https://avatars.githubusercontent.com/u/9919?" - } - } - ] - }, - "user-received-public-events-items": { - "value": [ - { - "id": "22249084964", - "type": "PushEvent", - "actor": { - "id": 583231, - "login": "octocat", - "display_login": "octocat", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4" - }, - "repo": { - "id": 1296269, - "name": "octocat/Hello-World", - "url": "https://api.github.com/repos/octocat/Hello-World" - }, - "payload": { - "push_id": 10115855396, - "size": 1, - "distinct_size": 1, - "ref": "refs/heads/master", - "head": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "before": "883efe034920928c47fe18598c01249d1a9fdabd", - "commits": [ - { - "sha": "7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300", - "author": { - "email": "octocat@github.com", - "name": "Monalisa Octocat" - }, - "message": "commit", - "distinct": true, - "url": "https://api.github.com/repos/octocat/Hello-World/commits/7a8f3ac80e2ad2f6842cb86f576d4bfe2c03e300" - } - ] - }, - "public": true, - "created_at": "2022-06-09T12:47:28Z" - }, - { - "id": "22196946742", - "type": "CreateEvent", - "actor": { - "id": 583231, - "login": "octocat", - "display_login": "octocat", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4" - }, - "repo": { - "id": 1296269, - "name": "octocat/Hello-World", - "url": "https://api.github.com/repos/octocat/Hello-World" - }, - "payload": { - "ref": null, - "ref_type": "repository", - "master_branch": "master", - "description": null, - "pusher_type": "user" - }, - "public": false, - "created_at": "2022-06-07T07:50:26Z", - "org": { - "id": 9919, - "login": "github", - "gravatar_id": "", - "url": "https://api.github.com/orgs/github", - "avatar_url": "https://avatars.githubusercontent.com/u/9919?" - } - } - ] - }, - "check-run-completed": { - "value": { - "action": "completed", - "check_run": { - "id": 128620228, - "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", - "head_sha": "ec26c3e57ca3a959ca5aad62de7213c562f8c821", - "external_id": "", - "url": "https://api.github.com/repos/Codertocat/Hello-World/check-runs/128620228", - "html_url": "https://github.com/Codertocat/Hello-World/runs/128620228", - "details_url": "https://octocoders.github.io", - "status": "completed", - "conclusion": "success", - "started_at": "2019-05-15T15:21:12Z", - "completed_at": "2019-05-15T15:21:45Z", - "output": { - "title": null, - "summary": null, - "text": null, - "annotations_count": 0, - "annotations_url": "https://api.github.com/repos/Codertocat/Hello-World/check-runs/128620228/annotations" - }, - "name": "Octocoders-linter", - "check_suite": { - "id": 118578147, - "node_id": "MDEwOkNoZWNrU3VpdGUxMTg1NzgxNDc=", - "head_branch": "changes", - "head_sha": "ec26c3e57ca3a959ca5aad62de7213c562f8c821", - "status": "completed", - "conclusion": null, - "url": "https://api.github.com/repos/Codertocat/Hello-World/check-suites/118578147", - "before": "6113728f27ae82c7b1a177c8d03f9e96e0adf246", - "after": "ec26c3e57ca3a959ca5aad62de7213c562f8c821", - "pull_requests": [ - { - "url": "https://api.github.com/repos/Codertocat/Hello-World/pulls/2", - "id": 279147437, - "number": 2, - "head": { - "ref": "changes", - "sha": "ec26c3e57ca3a959ca5aad62de7213c562f8c821", - "repo": { - "id": 186853002, - "url": "https://api.github.com/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - }, - "base": { - "ref": "master", - "sha": "f95f852bd8fca8fcc58a9a2d6c842781e32a215e", - "repo": { - "id": 186853002, - "url": "https://api.github.com/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - } - } - ], - "deployment": { - "url": "https://api.github.com/repos/Codertocat/Hello-World/deployments/326191728", - "id": 326191728, - "node_id": "MDEwOkRlcGxveW1lbnQzMjYxOTE3Mjg=", - "task": "deploy", - "original_environment": "lab", - "environment": "lab", - "description": null, - "created_at": "2021-02-18T08:22:48Z", - "updated_at": "2021-02-18T09:47:16Z", - "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments/326191728/statuses", - "repository_url": "https://api.github.com/repos/Codertocat/Hello-World" - }, - "app": { - "id": 29310, - "node_id": "MDM6QXBwMjkzMTA=", - "owner": { - "login": "Octocoders", - "id": 38302899, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjM4MzAyODk5", - "avatar_url": "https://avatars1.githubusercontent.com/u/38302899?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Octocoders", - "html_url": "https://github.com/Octocoders", - "followers_url": "https://api.github.com/users/Octocoders/followers", - "following_url": "https://api.github.com/users/Octocoders/following{/other_user}", - "gists_url": "https://api.github.com/users/Octocoders/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Octocoders/subscriptions", - "organizations_url": "https://api.github.com/users/Octocoders/orgs", - "repos_url": "https://api.github.com/users/Octocoders/repos", - "events_url": "https://api.github.com/users/Octocoders/events{/privacy}", - "received_events_url": "https://api.github.com/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "name": "octocoders-linter", - "description": "", - "external_url": "https://octocoders.github.io", - "html_url": "https://github.com/apps/octocoders-linter", - "created_at": "2019-04-19T19:36:24Z", - "updated_at": "2019-04-19T19:36:56Z", - "permissions": { - "administration": "write", - "checks": "write", - "contents": "write", - "deployments": "write", - "issues": "write", - "members": "write", - "metadata": "read", - "organization_administration": "write", - "organization_hooks": "write", - "organization_plan": "read", - "organization_projects": "write", - "organization_user_blocking": "write", - "pages": "write", - "pull_requests": "write", - "repository_hooks": "write", - "repository_projects": "write", - "statuses": "write", - "team_discussions": "write", - "vulnerability_alerts": "read" - }, - "events": [] - }, - "created_at": "2019-05-15T15:20:31Z", - "updated_at": "2019-05-15T15:20:31Z" - }, - "app": { - "id": 29310, - "node_id": "MDM6QXBwMjkzMTA=", - "owner": { - "login": "Octocoders", - "id": 38302899, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjM4MzAyODk5", - "avatar_url": "https://avatars1.githubusercontent.com/u/38302899?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Octocoders", - "html_url": "https://github.com/Octocoders", - "followers_url": "https://api.github.com/users/Octocoders/followers", - "following_url": "https://api.github.com/users/Octocoders/following{/other_user}", - "gists_url": "https://api.github.com/users/Octocoders/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Octocoders/subscriptions", - "organizations_url": "https://api.github.com/users/Octocoders/orgs", - "repos_url": "https://api.github.com/users/Octocoders/repos", - "events_url": "https://api.github.com/users/Octocoders/events{/privacy}", - "received_events_url": "https://api.github.com/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "name": "octocoders-linter", - "description": "", - "external_url": "https://octocoders.github.io", - "html_url": "https://github.com/apps/octocoders-linter", - "created_at": "2019-04-19T19:36:24Z", - "updated_at": "2019-04-19T19:36:56Z", - "permissions": { - "administration": "write", - "checks": "write", - "contents": "write", - "deployments": "write", - "issues": "write", - "members": "write", - "metadata": "read", - "organization_administration": "write", - "organization_hooks": "write", - "organization_plan": "read", - "organization_projects": "write", - "organization_user_blocking": "write", - "pages": "write", - "pull_requests": "write", - "repository_hooks": "write", - "repository_projects": "write", - "statuses": "write", - "team_discussions": "write", - "vulnerability_alerts": "read" - }, - "events": [] - }, - "pull_requests": [ - { - "url": "https://api.github.com/repos/Codertocat/Hello-World/pulls/2", - "id": 279147437, - "number": 2, - "head": { - "ref": "changes", - "sha": "ec26c3e57ca3a959ca5aad62de7213c562f8c821", - "repo": { - "id": 186853002, - "url": "https://api.github.com/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - }, - "base": { - "ref": "master", - "sha": "f95f852bd8fca8fcc58a9a2d6c842781e32a215e", - "repo": { - "id": 186853002, - "url": "https://api.github.com/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - } - } - ] - }, - "repository": { - "id": 186853002, - "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 21031067, - "node_id": "MDQ6VXNlcjIxMDMxMDY3", - "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Codertocat", - "html_url": "https://github.com/Codertocat", - "followers_url": "https://api.github.com/users/Codertocat/followers", - "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", - "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", - "organizations_url": "https://api.github.com/users/Codertocat/orgs", - "repos_url": "https://api.github.com/users/Codertocat/repos", - "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://github.com/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://api.github.com/repos/Codertocat/Hello-World", - "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks", - "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events", - "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges", - "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T15:19:25Z", - "updated_at": "2019-05-15T15:21:03Z", - "pushed_at": "2019-05-15T15:20:57Z", - "git_url": "git://github.com/Codertocat/Hello-World.git", - "ssh_url": "git@github.com:Codertocat/Hello-World.git", - "clone_url": "https://github.com/Codertocat/Hello-World.git", - "svn_url": "https://github.com/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 1, - "open_issues": 2, - "watchers": 0, - "default_branch": "master", - "is_template": false - }, - "sender": { - "login": "Codertocat", - "id": 21031067, - "node_id": "MDQ6VXNlcjIxMDMxMDY3", - "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Codertocat", - "html_url": "https://github.com/Codertocat", - "followers_url": "https://api.github.com/users/Codertocat/followers", - "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", - "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", - "organizations_url": "https://api.github.com/users/Codertocat/orgs", - "repos_url": "https://api.github.com/users/Codertocat/repos", - "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - } - }, - "check-run-completed-form-encoded": { - "value": { - "payload": "%7B%22action%22%3A%22completed%22%2C%22check_run%22%3A%7B%22id%22%3A128620228%2C%22node_id%22%3A%22MDg6Q2hlY2tSdW4xMjg2MjAyMjg%3D%22%2C%22head_sha%22%3A%22ec26c3e57ca3a959ca5aad62de7213c562f8c821%22%2C%22external_id%22%3A%22%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcheck-runs%2F128620228%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2FCodertocat%2FHello-World%2Fruns%2F128620228%22%2C%22details_url%22%3A%22https%3A%2F%2Foctocoders.github.io%22%2C%22status%22%3A%22completed%22%2C%22conclusion%22%3A%22success%22%2C%22started_at%22%3A%222019-05-15T15%3A21%3A12Z%22%2C%22completed_at%22%3A%222019-05-15T15%3A21%3A45Z%22%2C%22output%22%3A%7B%22title%22%3Anull%2C%22summary%22%3Anull%2C%22text%22%3Anull%2C%22annotations_count%22%3A0%2C%22annotations_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcheck-runs%2F128620228%2Fannotations%22%7D%2C%22name%22%3A%22Octocoders-linter%22%2C%22check_suite%22%3A%7B%22id%22%3A118578147%2C%22node_id%22%3A%22MDEwOkNoZWNrU3VpdGUxMTg1NzgxNDc%3D%22%2C%22head_branch%22%3A%22changes%22%2C%22head_sha%22%3A%22ec26c3e57ca3a959ca5aad62de7213c562f8c821%22%2C%22status%22%3A%22completed%22%2C%22conclusion%22%3Anull%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcheck-suites%2F118578147%22%2C%22before%22%3A%226113728f27ae82c7b1a177c8d03f9e96e0adf246%22%2C%22after%22%3A%22ec26c3e57ca3a959ca5aad62de7213c562f8c821%22%2C%22pull_requests%22%3A%5B%7B%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fpulls%2F2%22%2C%22id%22%3A279147437%2C%22number%22%3A2%2C%22head%22%3A%7B%22ref%22%3A%22changes%22%2C%22sha%22%3A%22ec26c3e57ca3a959ca5aad62de7213c562f8c821%22%2C%22repo%22%3A%7B%22id%22%3A186853002%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%22%2C%22name%22%3A%22Hello-World%22%7D%7D%2C%22base%22%3A%7B%22ref%22%3A%22master%22%2C%22sha%22%3A%22f95f852bd8fca8fcc58a9a2d6c842781e32a215e%22%2C%22repo%22%3A%7B%22id%22%3A186853002%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%22%2C%22name%22%3A%22Hello-World%22%7D%7D%7D%5D%2C%22deployment%22%3A%7B%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fdeployments%2F326191728%22%2C%22id%22%3A326191728%2C%22node_id%22%3A%22MDEwOkRlcGxveW1lbnQzMjYxOTE3Mjg%3D%22%2C%22task%22%3A%22deploy%22%2C%22original_environment%22%3A%22lab%22%2C%22environment%22%3A%22lab%22%2C%22description%22%3Anull%2C%22created_at%22%3A%222021-02-18T08%3A22%3A48Z%22%2C%22updated_at%22%3A%222021-02-18T09%3A47%3A16Z%22%2C%22statuses_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fdeployments%2F326191728%2Fstatuses%22%2C%22repository_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%22%7D%2C%22app%22%3A%7B%22id%22%3A29310%2C%22node_id%22%3A%22MDM6QXBwMjkzMTA%3D%22%2C%22owner%22%3A%7B%22login%22%3A%22Octocoders%22%2C%22id%22%3A38302899%2C%22node_id%22%3A%22MDEyOk9yZ2FuaXphdGlvbjM4MzAyODk5%22%2C%22avatar_url%22%3A%22https%3A%2F%2Favatars1.githubusercontent.com%2Fu%2F38302899%3Fv%3D4%22%2C%22gravatar_id%22%3A%22%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2FOctocoders%22%2C%22followers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Ffollowers%22%2C%22following_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Ffollowing%7B%2Fother_user%7D%22%2C%22gists_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fgists%7B%2Fgist_id%7D%22%2C%22starred_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%22%2C%22subscriptions_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fsubscriptions%22%2C%22organizations_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Forgs%22%2C%22repos_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Frepos%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fevents%7B%2Fprivacy%7D%22%2C%22received_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Freceived_events%22%2C%22type%22%3A%22Organization%22%2C%22site_admin%22%3Afalse%7D%2C%22name%22%3A%22octocoders-linter%22%2C%22description%22%3A%22%22%2C%22external_url%22%3A%22https%3A%2F%2Foctocoders.github.io%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2Fapps%2Foctocoders-linter%22%2C%22created_at%22%3A%222019-04-19T19%3A36%3A24Z%22%2C%22updated_at%22%3A%222019-04-19T19%3A36%3A56Z%22%2C%22permissions%22%3A%7B%22administration%22%3A%22write%22%2C%22checks%22%3A%22write%22%2C%22contents%22%3A%22write%22%2C%22deployments%22%3A%22write%22%2C%22issues%22%3A%22write%22%2C%22members%22%3A%22write%22%2C%22metadata%22%3A%22read%22%2C%22organization_administration%22%3A%22write%22%2C%22organization_hooks%22%3A%22write%22%2C%22organization_plan%22%3A%22read%22%2C%22organization_projects%22%3A%22write%22%2C%22organization_user_blocking%22%3A%22write%22%2C%22pages%22%3A%22write%22%2C%22pull_requests%22%3A%22write%22%2C%22repository_hooks%22%3A%22write%22%2C%22repository_projects%22%3A%22write%22%2C%22statuses%22%3A%22write%22%2C%22team_discussions%22%3A%22write%22%2C%22vulnerability_alerts%22%3A%22read%22%7D%2C%22events%22%3A%5B%5D%7D%2C%22created_at%22%3A%222019-05-15T15%3A20%3A31Z%22%2C%22updated_at%22%3A%222019-05-15T15%3A20%3A31Z%22%7D%2C%22app%22%3A%7B%22id%22%3A29310%2C%22node_id%22%3A%22MDM6QXBwMjkzMTA%3D%22%2C%22owner%22%3A%7B%22login%22%3A%22Octocoders%22%2C%22id%22%3A38302899%2C%22node_id%22%3A%22MDEyOk9yZ2FuaXphdGlvbjM4MzAyODk5%22%2C%22avatar_url%22%3A%22https%3A%2F%2Favatars1.githubusercontent.com%2Fu%2F38302899%3Fv%3D4%22%2C%22gravatar_id%22%3A%22%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2FOctocoders%22%2C%22followers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Ffollowers%22%2C%22following_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Ffollowing%7B%2Fother_user%7D%22%2C%22gists_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fgists%7B%2Fgist_id%7D%22%2C%22starred_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%22%2C%22subscriptions_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fsubscriptions%22%2C%22organizations_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Forgs%22%2C%22repos_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Frepos%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fevents%7B%2Fprivacy%7D%22%2C%22received_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Freceived_events%22%2C%22type%22%3A%22Organization%22%2C%22site_admin%22%3Afalse%7D%2C%22name%22%3A%22octocoders-linter%22%2C%22description%22%3A%22%22%2C%22external_url%22%3A%22https%3A%2F%2Foctocoders.github.io%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2Fapps%2Foctocoders-linter%22%2C%22created_at%22%3A%222019-04-19T19%3A36%3A24Z%22%2C%22updated_at%22%3A%222019-04-19T19%3A36%3A56Z%22%2C%22permissions%22%3A%7B%22administration%22%3A%22write%22%2C%22checks%22%3A%22write%22%2C%22contents%22%3A%22write%22%2C%22deployments%22%3A%22write%22%2C%22issues%22%3A%22write%22%2C%22members%22%3A%22write%22%2C%22metadata%22%3A%22read%22%2C%22organization_administration%22%3A%22write%22%2C%22organization_hooks%22%3A%22write%22%2C%22organization_plan%22%3A%22read%22%2C%22organization_projects%22%3A%22write%22%2C%22organization_user_blocking%22%3A%22write%22%2C%22pages%22%3A%22write%22%2C%22pull_requests%22%3A%22write%22%2C%22repository_hooks%22%3A%22write%22%2C%22repository_projects%22%3A%22write%22%2C%22statuses%22%3A%22write%22%2C%22team_discussions%22%3A%22write%22%2C%22vulnerability_alerts%22%3A%22read%22%7D%2C%22events%22%3A%5B%5D%7D%2C%22pull_requests%22%3A%5B%7B%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fpulls%2F2%22%2C%22id%22%3A279147437%2C%22number%22%3A2%2C%22head%22%3A%7B%22ref%22%3A%22changes%22%2C%22sha%22%3A%22ec26c3e57ca3a959ca5aad62de7213c562f8c821%22%2C%22repo%22%3A%7B%22id%22%3A186853002%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%22%2C%22name%22%3A%22Hello-World%22%7D%7D%2C%22base%22%3A%7B%22ref%22%3A%22master%22%2C%22sha%22%3A%22f95f852bd8fca8fcc58a9a2d6c842781e32a215e%22%2C%22repo%22%3A%7B%22id%22%3A186853002%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%22%2C%22name%22%3A%22Hello-World%22%7D%7D%7D%5D%7D%2C%22repository%22%3A%7B%22id%22%3A186853002%2C%22node_id%22%3A%22MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI%3D%22%2C%22name%22%3A%22Hello-World%22%2C%22full_name%22%3A%22Codertocat%2FHello-World%22%2C%22private%22%3Afalse%2C%22owner%22%3A%7B%22login%22%3A%22Codertocat%22%2C%22id%22%3A21031067%2C%22node_id%22%3A%22MDQ6VXNlcjIxMDMxMDY3%22%2C%22avatar_url%22%3A%22https%3A%2F%2Favatars1.githubusercontent.com%2Fu%2F21031067%3Fv%3D4%22%2C%22gravatar_id%22%3A%22%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2FCodertocat%22%2C%22followers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Ffollowers%22%2C%22following_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Ffollowing%7B%2Fother_user%7D%22%2C%22gists_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fgists%7B%2Fgist_id%7D%22%2C%22starred_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%22%2C%22subscriptions_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fsubscriptions%22%2C%22organizations_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Forgs%22%2C%22repos_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Frepos%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fevents%7B%2Fprivacy%7D%22%2C%22received_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Freceived_events%22%2C%22type%22%3A%22User%22%2C%22site_admin%22%3Afalse%7D%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2FCodertocat%2FHello-World%22%2C%22description%22%3Anull%2C%22fork%22%3Afalse%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%22%2C%22forks_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fforks%22%2C%22keys_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fkeys%7B%2Fkey_id%7D%22%2C%22collaborators_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcollaborators%7B%2Fcollaborator%7D%22%2C%22teams_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fteams%22%2C%22hooks_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fhooks%22%2C%22issue_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fissues%2Fevents%7B%2Fnumber%7D%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fevents%22%2C%22assignees_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fassignees%7B%2Fuser%7D%22%2C%22branches_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fbranches%7B%2Fbranch%7D%22%2C%22tags_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Ftags%22%2C%22blobs_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fgit%2Fblobs%7B%2Fsha%7D%22%2C%22git_tags_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fgit%2Ftags%7B%2Fsha%7D%22%2C%22git_refs_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fgit%2Frefs%7B%2Fsha%7D%22%2C%22trees_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fgit%2Ftrees%7B%2Fsha%7D%22%2C%22statuses_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fstatuses%2F%7Bsha%7D%22%2C%22languages_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Flanguages%22%2C%22stargazers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fstargazers%22%2C%22contributors_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcontributors%22%2C%22subscribers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fsubscribers%22%2C%22subscription_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fsubscription%22%2C%22commits_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcommits%7B%2Fsha%7D%22%2C%22git_commits_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fgit%2Fcommits%7B%2Fsha%7D%22%2C%22comments_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcomments%7B%2Fnumber%7D%22%2C%22issue_comment_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fissues%2Fcomments%7B%2Fnumber%7D%22%2C%22contents_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcontents%2F%7B%2Bpath%7D%22%2C%22compare_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcompare%2F%7Bbase%7D...%7Bhead%7D%22%2C%22merges_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fmerges%22%2C%22archive_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2F%7Barchive_format%7D%7B%2Fref%7D%22%2C%22downloads_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fdownloads%22%2C%22issues_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fissues%7B%2Fnumber%7D%22%2C%22pulls_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fpulls%7B%2Fnumber%7D%22%2C%22milestones_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fmilestones%7B%2Fnumber%7D%22%2C%22notifications_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fnotifications%7B%3Fsince%2Call%2Cparticipating%7D%22%2C%22labels_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Flabels%7B%2Fname%7D%22%2C%22releases_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Freleases%7B%2Fid%7D%22%2C%22deployments_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fdeployments%22%2C%22created_at%22%3A%222019-05-15T15%3A19%3A25Z%22%2C%22updated_at%22%3A%222019-05-15T15%3A21%3A03Z%22%2C%22pushed_at%22%3A%222019-05-15T15%3A20%3A57Z%22%2C%22git_url%22%3A%22git%3A%2F%2Fgithub.com%2FCodertocat%2FHello-World.git%22%2C%22ssh_url%22%3A%22git%40github.com%3ACodertocat%2FHello-World.git%22%2C%22clone_url%22%3A%22https%3A%2F%2Fgithub.com%2FCodertocat%2FHello-World.git%22%2C%22svn_url%22%3A%22https%3A%2F%2Fgithub.com%2FCodertocat%2FHello-World%22%2C%22homepage%22%3Anull%2C%22size%22%3A0%2C%22stargazers_count%22%3A0%2C%22watchers_count%22%3A0%2C%22language%22%3A%22Ruby%22%2C%22has_issues%22%3Atrue%2C%22has_projects%22%3Atrue%2C%22has_downloads%22%3Atrue%2C%22has_wiki%22%3Atrue%2C%22has_pages%22%3Atrue%2C%22forks_count%22%3A1%2C%22mirror_url%22%3Anull%2C%22archived%22%3Afalse%2C%22disabled%22%3Afalse%2C%22open_issues_count%22%3A2%2C%22license%22%3Anull%2C%22forks%22%3A1%2C%22open_issues%22%3A2%2C%22watchers%22%3A0%2C%22default_branch%22%3A%22master%22%2C%22is_template%22%3Afalse%7D%2C%22sender%22%3A%7B%22login%22%3A%22Codertocat%22%2C%22id%22%3A21031067%2C%22node_id%22%3A%22MDQ6VXNlcjIxMDMxMDY3%22%2C%22avatar_url%22%3A%22https%3A%2F%2Favatars1.githubusercontent.com%2Fu%2F21031067%3Fv%3D4%22%2C%22gravatar_id%22%3A%22%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2FCodertocat%22%2C%22followers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Ffollowers%22%2C%22following_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Ffollowing%7B%2Fother_user%7D%22%2C%22gists_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fgists%7B%2Fgist_id%7D%22%2C%22starred_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%22%2C%22subscriptions_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fsubscriptions%22%2C%22organizations_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Forgs%22%2C%22repos_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Frepos%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fevents%7B%2Fprivacy%7D%22%2C%22received_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Freceived_events%22%2C%22type%22%3A%22User%22%2C%22site_admin%22%3Afalse%7D%7D" - } - }, - "check-run-created": { - "value": { - "action": "created", - "check_run": { - "id": 128620228, - "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", - "head_sha": "ec26c3e57ca3a959ca5aad62de7213c562f8c821", - "external_id": "", - "url": "https://api.github.com/repos/Codertocat/Hello-World/check-runs/128620228", - "html_url": "https://github.com/Codertocat/Hello-World/runs/128620228", - "details_url": "https://octocoders.github.io", - "status": "queued", - "conclusion": null, - "started_at": "2019-05-15T15:21:12Z", - "completed_at": null, - "output": { - "title": null, - "summary": null, - "text": null, - "annotations_count": 0, - "annotations_url": "https://api.github.com/repos/Codertocat/Hello-World/check-runs/128620228/annotations" - }, - "name": "Octocoders-linter", - "check_suite": { - "id": 118578147, - "node_id": "MDEwOkNoZWNrU3VpdGUxMTg1NzgxNDc=", - "head_branch": "changes", - "head_sha": "ec26c3e57ca3a959ca5aad62de7213c562f8c821", - "status": "queued", - "conclusion": null, - "url": "https://api.github.com/repos/Codertocat/Hello-World/check-suites/118578147", - "before": "6113728f27ae82c7b1a177c8d03f9e96e0adf246", - "after": "ec26c3e57ca3a959ca5aad62de7213c562f8c821", - "pull_requests": [ - { - "url": "https://api.github.com/repos/Codertocat/Hello-World/pulls/2", - "id": 279147437, - "number": 2, - "head": { - "ref": "changes", - "sha": "ec26c3e57ca3a959ca5aad62de7213c562f8c821", - "repo": { - "id": 186853002, - "url": "https://api.github.com/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - }, - "base": { - "ref": "master", - "sha": "f95f852bd8fca8fcc58a9a2d6c842781e32a215e", - "repo": { - "id": 186853002, - "url": "https://api.github.com/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - } - } - ], - "deployment": { - "url": "https://api.github.com/repos/Codertocat/Hello-World/deployments/326191728", - "id": 326191728, - "node_id": "MDEwOkRlcGxveW1lbnQzMjYxOTE3Mjg=", - "task": "deploy", - "original_environment": "lab", - "environment": "lab", - "description": null, - "created_at": "2021-02-18T08:22:48Z", - "updated_at": "2021-02-18T09:47:16Z", - "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments/326191728/statuses", - "repository_url": "https://api.github.com/repos/Codertocat/Hello-World" - }, - "app": { - "id": 29310, - "node_id": "MDM6QXBwMjkzMTA=", - "owner": { - "login": "Octocoders", - "id": 38302899, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjM4MzAyODk5", - "avatar_url": "https://avatars1.githubusercontent.com/u/38302899?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Octocoders", - "html_url": "https://github.com/Octocoders", - "followers_url": "https://api.github.com/users/Octocoders/followers", - "following_url": "https://api.github.com/users/Octocoders/following{/other_user}", - "gists_url": "https://api.github.com/users/Octocoders/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Octocoders/subscriptions", - "organizations_url": "https://api.github.com/users/Octocoders/orgs", - "repos_url": "https://api.github.com/users/Octocoders/repos", - "events_url": "https://api.github.com/users/Octocoders/events{/privacy}", - "received_events_url": "https://api.github.com/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "name": "octocoders-linter", - "description": "", - "external_url": "https://octocoders.github.io", - "html_url": "https://github.com/apps/octocoders-linter", - "created_at": "2019-04-19T19:36:24Z", - "updated_at": "2019-04-19T19:36:56Z", - "permissions": { - "administration": "write", - "checks": "write", - "contents": "write", - "deployments": "write", - "issues": "write", - "members": "write", - "metadata": "read", - "organization_administration": "write", - "organization_hooks": "write", - "organization_plan": "read", - "organization_projects": "write", - "organization_user_blocking": "write", - "pages": "write", - "pull_requests": "write", - "repository_hooks": "write", - "repository_projects": "write", - "statuses": "write", - "team_discussions": "write", - "vulnerability_alerts": "read" - }, - "events": [] - }, - "created_at": "2019-05-15T15:20:31Z", - "updated_at": "2019-05-15T15:20:31Z" - }, - "app": { - "id": 29310, - "node_id": "MDM6QXBwMjkzMTA=", - "owner": { - "login": "Octocoders", - "id": 38302899, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjM4MzAyODk5", - "avatar_url": "https://avatars1.githubusercontent.com/u/38302899?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Octocoders", - "html_url": "https://github.com/Octocoders", - "followers_url": "https://api.github.com/users/Octocoders/followers", - "following_url": "https://api.github.com/users/Octocoders/following{/other_user}", - "gists_url": "https://api.github.com/users/Octocoders/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Octocoders/subscriptions", - "organizations_url": "https://api.github.com/users/Octocoders/orgs", - "repos_url": "https://api.github.com/users/Octocoders/repos", - "events_url": "https://api.github.com/users/Octocoders/events{/privacy}", - "received_events_url": "https://api.github.com/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "name": "octocoders-linter", - "description": "", - "external_url": "https://octocoders.github.io", - "html_url": "https://github.com/apps/octocoders-linter", - "created_at": "2019-04-19T19:36:24Z", - "updated_at": "2019-04-19T19:36:56Z", - "permissions": { - "administration": "write", - "checks": "write", - "contents": "write", - "deployments": "write", - "issues": "write", - "members": "write", - "metadata": "read", - "organization_administration": "write", - "organization_hooks": "write", - "organization_plan": "read", - "organization_projects": "write", - "organization_user_blocking": "write", - "pages": "write", - "pull_requests": "write", - "repository_hooks": "write", - "repository_projects": "write", - "statuses": "write", - "team_discussions": "write", - "vulnerability_alerts": "read" - }, - "events": [] - }, - "pull_requests": [ - { - "url": "https://api.github.com/repos/Codertocat/Hello-World/pulls/2", - "id": 279147437, - "number": 2, - "head": { - "ref": "changes", - "sha": "ec26c3e57ca3a959ca5aad62de7213c562f8c821", - "repo": { - "id": 186853002, - "url": "https://api.github.com/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - }, - "base": { - "ref": "master", - "sha": "f95f852bd8fca8fcc58a9a2d6c842781e32a215e", - "repo": { - "id": 186853002, - "url": "https://api.github.com/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - } - } - ] - }, - "repository": { - "id": 186853002, - "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 21031067, - "node_id": "MDQ6VXNlcjIxMDMxMDY3", - "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Codertocat", - "html_url": "https://github.com/Codertocat", - "followers_url": "https://api.github.com/users/Codertocat/followers", - "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", - "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", - "organizations_url": "https://api.github.com/users/Codertocat/orgs", - "repos_url": "https://api.github.com/users/Codertocat/repos", - "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://github.com/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://api.github.com/repos/Codertocat/Hello-World", - "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks", - "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events", - "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges", - "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T15:19:25Z", - "updated_at": "2019-05-15T15:21:03Z", - "pushed_at": "2019-05-15T15:20:57Z", - "git_url": "git://github.com/Codertocat/Hello-World.git", - "ssh_url": "git@github.com:Codertocat/Hello-World.git", - "clone_url": "https://github.com/Codertocat/Hello-World.git", - "svn_url": "https://github.com/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 1, - "open_issues": 2, - "watchers": 0, - "default_branch": "master", - "is_template": false - }, - "sender": { - "login": "Codertocat", - "id": 21031067, - "node_id": "MDQ6VXNlcjIxMDMxMDY3", - "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Codertocat", - "html_url": "https://github.com/Codertocat", - "followers_url": "https://api.github.com/users/Codertocat/followers", - "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", - "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", - "organizations_url": "https://api.github.com/users/Codertocat/orgs", - "repos_url": "https://api.github.com/users/Codertocat/repos", - "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - } - }, - "check-run-created-form-encoded": { - "value": { - "payload": "%7B%22action%22%3A%22created%22%2C%22check_run%22%3A%7B%22id%22%3A128620228%2C%22node_id%22%3A%22MDg6Q2hlY2tSdW4xMjg2MjAyMjg%3D%22%2C%22head_sha%22%3A%22ec26c3e57ca3a959ca5aad62de7213c562f8c821%22%2C%22external_id%22%3A%22%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcheck-runs%2F128620228%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2FCodertocat%2FHello-World%2Fruns%2F128620228%22%2C%22details_url%22%3A%22https%3A%2F%2Foctocoders.github.io%22%2C%22status%22%3A%22queued%22%2C%22conclusion%22%3Anull%2C%22started_at%22%3A%222019-05-15T15%3A21%3A12Z%22%2C%22completed_at%22%3Anull%2C%22output%22%3A%7B%22title%22%3Anull%2C%22summary%22%3Anull%2C%22text%22%3Anull%2C%22annotations_count%22%3A0%2C%22annotations_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcheck-runs%2F128620228%2Fannotations%22%7D%2C%22name%22%3A%22Octocoders-linter%22%2C%22check_suite%22%3A%7B%22id%22%3A118578147%2C%22node_id%22%3A%22MDEwOkNoZWNrU3VpdGUxMTg1NzgxNDc%3D%22%2C%22head_branch%22%3A%22changes%22%2C%22head_sha%22%3A%22ec26c3e57ca3a959ca5aad62de7213c562f8c821%22%2C%22status%22%3A%22queued%22%2C%22conclusion%22%3Anull%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcheck-suites%2F118578147%22%2C%22before%22%3A%226113728f27ae82c7b1a177c8d03f9e96e0adf246%22%2C%22after%22%3A%22ec26c3e57ca3a959ca5aad62de7213c562f8c821%22%2C%22pull_requests%22%3A%5B%7B%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fpulls%2F2%22%2C%22id%22%3A279147437%2C%22number%22%3A2%2C%22head%22%3A%7B%22ref%22%3A%22changes%22%2C%22sha%22%3A%22ec26c3e57ca3a959ca5aad62de7213c562f8c821%22%2C%22repo%22%3A%7B%22id%22%3A186853002%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%22%2C%22name%22%3A%22Hello-World%22%7D%7D%2C%22base%22%3A%7B%22ref%22%3A%22master%22%2C%22sha%22%3A%22f95f852bd8fca8fcc58a9a2d6c842781e32a215e%22%2C%22repo%22%3A%7B%22id%22%3A186853002%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%22%2C%22name%22%3A%22Hello-World%22%7D%7D%7D%5D%2C%22deployment%22%3A%7B%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fdeployments%2F326191728%22%2C%22id%22%3A326191728%2C%22node_id%22%3A%22MDEwOkRlcGxveW1lbnQzMjYxOTE3Mjg%3D%22%2C%22task%22%3A%22deploy%22%2C%22original_environment%22%3A%22lab%22%2C%22environment%22%3A%22lab%22%2C%22description%22%3Anull%2C%22created_at%22%3A%222021-02-18T08%3A22%3A48Z%22%2C%22updated_at%22%3A%222021-02-18T09%3A47%3A16Z%22%2C%22statuses_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fdeployments%2F326191728%2Fstatuses%22%2C%22repository_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%22%7D%2C%22app%22%3A%7B%22id%22%3A29310%2C%22node_id%22%3A%22MDM6QXBwMjkzMTA%3D%22%2C%22owner%22%3A%7B%22login%22%3A%22Octocoders%22%2C%22id%22%3A38302899%2C%22node_id%22%3A%22MDEyOk9yZ2FuaXphdGlvbjM4MzAyODk5%22%2C%22avatar_url%22%3A%22https%3A%2F%2Favatars1.githubusercontent.com%2Fu%2F38302899%3Fv%3D4%22%2C%22gravatar_id%22%3A%22%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2FOctocoders%22%2C%22followers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Ffollowers%22%2C%22following_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Ffollowing%7B%2Fother_user%7D%22%2C%22gists_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fgists%7B%2Fgist_id%7D%22%2C%22starred_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%22%2C%22subscriptions_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fsubscriptions%22%2C%22organizations_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Forgs%22%2C%22repos_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Frepos%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fevents%7B%2Fprivacy%7D%22%2C%22received_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Freceived_events%22%2C%22type%22%3A%22Organization%22%2C%22site_admin%22%3Afalse%7D%2C%22name%22%3A%22octocoders-linter%22%2C%22description%22%3A%22%22%2C%22external_url%22%3A%22https%3A%2F%2Foctocoders.github.io%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2Fapps%2Foctocoders-linter%22%2C%22created_at%22%3A%222019-04-19T19%3A36%3A24Z%22%2C%22updated_at%22%3A%222019-04-19T19%3A36%3A56Z%22%2C%22permissions%22%3A%7B%22administration%22%3A%22write%22%2C%22checks%22%3A%22write%22%2C%22contents%22%3A%22write%22%2C%22deployments%22%3A%22write%22%2C%22issues%22%3A%22write%22%2C%22members%22%3A%22write%22%2C%22metadata%22%3A%22read%22%2C%22organization_administration%22%3A%22write%22%2C%22organization_hooks%22%3A%22write%22%2C%22organization_plan%22%3A%22read%22%2C%22organization_projects%22%3A%22write%22%2C%22organization_user_blocking%22%3A%22write%22%2C%22pages%22%3A%22write%22%2C%22pull_requests%22%3A%22write%22%2C%22repository_hooks%22%3A%22write%22%2C%22repository_projects%22%3A%22write%22%2C%22statuses%22%3A%22write%22%2C%22team_discussions%22%3A%22write%22%2C%22vulnerability_alerts%22%3A%22read%22%7D%2C%22events%22%3A%5B%5D%7D%2C%22created_at%22%3A%222019-05-15T15%3A20%3A31Z%22%2C%22updated_at%22%3A%222019-05-15T15%3A20%3A31Z%22%7D%2C%22app%22%3A%7B%22id%22%3A29310%2C%22node_id%22%3A%22MDM6QXBwMjkzMTA%3D%22%2C%22owner%22%3A%7B%22login%22%3A%22Octocoders%22%2C%22id%22%3A38302899%2C%22node_id%22%3A%22MDEyOk9yZ2FuaXphdGlvbjM4MzAyODk5%22%2C%22avatar_url%22%3A%22https%3A%2F%2Favatars1.githubusercontent.com%2Fu%2F38302899%3Fv%3D4%22%2C%22gravatar_id%22%3A%22%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2FOctocoders%22%2C%22followers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Ffollowers%22%2C%22following_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Ffollowing%7B%2Fother_user%7D%22%2C%22gists_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fgists%7B%2Fgist_id%7D%22%2C%22starred_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%22%2C%22subscriptions_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fsubscriptions%22%2C%22organizations_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Forgs%22%2C%22repos_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Frepos%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fevents%7B%2Fprivacy%7D%22%2C%22received_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Freceived_events%22%2C%22type%22%3A%22Organization%22%2C%22site_admin%22%3Afalse%7D%2C%22name%22%3A%22octocoders-linter%22%2C%22description%22%3A%22%22%2C%22external_url%22%3A%22https%3A%2F%2Foctocoders.github.io%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2Fapps%2Foctocoders-linter%22%2C%22created_at%22%3A%222019-04-19T19%3A36%3A24Z%22%2C%22updated_at%22%3A%222019-04-19T19%3A36%3A56Z%22%2C%22permissions%22%3A%7B%22administration%22%3A%22write%22%2C%22checks%22%3A%22write%22%2C%22contents%22%3A%22write%22%2C%22deployments%22%3A%22write%22%2C%22issues%22%3A%22write%22%2C%22members%22%3A%22write%22%2C%22metadata%22%3A%22read%22%2C%22organization_administration%22%3A%22write%22%2C%22organization_hooks%22%3A%22write%22%2C%22organization_plan%22%3A%22read%22%2C%22organization_projects%22%3A%22write%22%2C%22organization_user_blocking%22%3A%22write%22%2C%22pages%22%3A%22write%22%2C%22pull_requests%22%3A%22write%22%2C%22repository_hooks%22%3A%22write%22%2C%22repository_projects%22%3A%22write%22%2C%22statuses%22%3A%22write%22%2C%22team_discussions%22%3A%22write%22%2C%22vulnerability_alerts%22%3A%22read%22%7D%2C%22events%22%3A%5B%5D%7D%2C%22pull_requests%22%3A%5B%7B%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fpulls%2F2%22%2C%22id%22%3A279147437%2C%22number%22%3A2%2C%22head%22%3A%7B%22ref%22%3A%22changes%22%2C%22sha%22%3A%22ec26c3e57ca3a959ca5aad62de7213c562f8c821%22%2C%22repo%22%3A%7B%22id%22%3A186853002%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%22%2C%22name%22%3A%22Hello-World%22%7D%7D%2C%22base%22%3A%7B%22ref%22%3A%22master%22%2C%22sha%22%3A%22f95f852bd8fca8fcc58a9a2d6c842781e32a215e%22%2C%22repo%22%3A%7B%22id%22%3A186853002%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%22%2C%22name%22%3A%22Hello-World%22%7D%7D%7D%5D%7D%2C%22repository%22%3A%7B%22id%22%3A186853002%2C%22node_id%22%3A%22MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI%3D%22%2C%22name%22%3A%22Hello-World%22%2C%22full_name%22%3A%22Codertocat%2FHello-World%22%2C%22private%22%3Afalse%2C%22owner%22%3A%7B%22login%22%3A%22Codertocat%22%2C%22id%22%3A21031067%2C%22node_id%22%3A%22MDQ6VXNlcjIxMDMxMDY3%22%2C%22avatar_url%22%3A%22https%3A%2F%2Favatars1.githubusercontent.com%2Fu%2F21031067%3Fv%3D4%22%2C%22gravatar_id%22%3A%22%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2FCodertocat%22%2C%22followers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Ffollowers%22%2C%22following_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Ffollowing%7B%2Fother_user%7D%22%2C%22gists_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fgists%7B%2Fgist_id%7D%22%2C%22starred_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%22%2C%22subscriptions_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fsubscriptions%22%2C%22organizations_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Forgs%22%2C%22repos_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Frepos%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fevents%7B%2Fprivacy%7D%22%2C%22received_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Freceived_events%22%2C%22type%22%3A%22User%22%2C%22site_admin%22%3Afalse%7D%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2FCodertocat%2FHello-World%22%2C%22description%22%3Anull%2C%22fork%22%3Afalse%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%22%2C%22forks_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fforks%22%2C%22keys_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fkeys%7B%2Fkey_id%7D%22%2C%22collaborators_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcollaborators%7B%2Fcollaborator%7D%22%2C%22teams_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fteams%22%2C%22hooks_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fhooks%22%2C%22issue_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fissues%2Fevents%7B%2Fnumber%7D%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fevents%22%2C%22assignees_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fassignees%7B%2Fuser%7D%22%2C%22branches_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fbranches%7B%2Fbranch%7D%22%2C%22tags_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Ftags%22%2C%22blobs_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fgit%2Fblobs%7B%2Fsha%7D%22%2C%22git_tags_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fgit%2Ftags%7B%2Fsha%7D%22%2C%22git_refs_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fgit%2Frefs%7B%2Fsha%7D%22%2C%22trees_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fgit%2Ftrees%7B%2Fsha%7D%22%2C%22statuses_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fstatuses%2F%7Bsha%7D%22%2C%22languages_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Flanguages%22%2C%22stargazers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fstargazers%22%2C%22contributors_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcontributors%22%2C%22subscribers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fsubscribers%22%2C%22subscription_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fsubscription%22%2C%22commits_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcommits%7B%2Fsha%7D%22%2C%22git_commits_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fgit%2Fcommits%7B%2Fsha%7D%22%2C%22comments_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcomments%7B%2Fnumber%7D%22%2C%22issue_comment_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fissues%2Fcomments%7B%2Fnumber%7D%22%2C%22contents_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcontents%2F%7B%2Bpath%7D%22%2C%22compare_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcompare%2F%7Bbase%7D...%7Bhead%7D%22%2C%22merges_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fmerges%22%2C%22archive_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2F%7Barchive_format%7D%7B%2Fref%7D%22%2C%22downloads_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fdownloads%22%2C%22issues_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fissues%7B%2Fnumber%7D%22%2C%22pulls_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fpulls%7B%2Fnumber%7D%22%2C%22milestones_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fmilestones%7B%2Fnumber%7D%22%2C%22notifications_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fnotifications%7B%3Fsince%2Call%2Cparticipating%7D%22%2C%22labels_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Flabels%7B%2Fname%7D%22%2C%22releases_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Freleases%7B%2Fid%7D%22%2C%22deployments_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fdeployments%22%2C%22created_at%22%3A%222019-05-15T15%3A19%3A25Z%22%2C%22updated_at%22%3A%222019-05-15T15%3A21%3A03Z%22%2C%22pushed_at%22%3A%222019-05-15T15%3A20%3A57Z%22%2C%22git_url%22%3A%22git%3A%2F%2Fgithub.com%2FCodertocat%2FHello-World.git%22%2C%22ssh_url%22%3A%22git%40github.com%3ACodertocat%2FHello-World.git%22%2C%22clone_url%22%3A%22https%3A%2F%2Fgithub.com%2FCodertocat%2FHello-World.git%22%2C%22svn_url%22%3A%22https%3A%2F%2Fgithub.com%2FCodertocat%2FHello-World%22%2C%22homepage%22%3Anull%2C%22size%22%3A0%2C%22stargazers_count%22%3A0%2C%22watchers_count%22%3A0%2C%22language%22%3A%22Ruby%22%2C%22has_issues%22%3Atrue%2C%22has_projects%22%3Atrue%2C%22has_downloads%22%3Atrue%2C%22has_wiki%22%3Atrue%2C%22has_pages%22%3Atrue%2C%22forks_count%22%3A1%2C%22mirror_url%22%3Anull%2C%22archived%22%3Afalse%2C%22disabled%22%3Afalse%2C%22open_issues_count%22%3A2%2C%22license%22%3Anull%2C%22forks%22%3A1%2C%22open_issues%22%3A2%2C%22watchers%22%3A0%2C%22default_branch%22%3A%22master%22%2C%22is_template%22%3Afalse%7D%2C%22sender%22%3A%7B%22login%22%3A%22Codertocat%22%2C%22id%22%3A21031067%2C%22node_id%22%3A%22MDQ6VXNlcjIxMDMxMDY3%22%2C%22avatar_url%22%3A%22https%3A%2F%2Favatars1.githubusercontent.com%2Fu%2F21031067%3Fv%3D4%22%2C%22gravatar_id%22%3A%22%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2FCodertocat%22%2C%22followers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Ffollowers%22%2C%22following_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Ffollowing%7B%2Fother_user%7D%22%2C%22gists_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fgists%7B%2Fgist_id%7D%22%2C%22starred_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%22%2C%22subscriptions_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fsubscriptions%22%2C%22organizations_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Forgs%22%2C%22repos_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Frepos%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fevents%7B%2Fprivacy%7D%22%2C%22received_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Freceived_events%22%2C%22type%22%3A%22User%22%2C%22site_admin%22%3Afalse%7D%7D" - } - }, - "check-run-requested-action": { - "value": { - "action": "requested_action", - "check_run": { - "id": 128620228, - "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", - "head_sha": "ec26c3e57ca3a959ca5aad62de7213c562f8c821", - "external_id": "", - "url": "https://api.github.com/repos/Codertocat/Hello-World/check-runs/128620228", - "html_url": "https://github.com/Codertocat/Hello-World/runs/128620228", - "details_url": "https://octocoders.github.io", - "status": "queued", - "conclusion": null, - "started_at": "2019-05-15T15:21:12Z", - "completed_at": null, - "output": { - "title": null, - "summary": null, - "text": null, - "annotations_count": 0, - "annotations_url": "https://api.github.com/repos/Codertocat/Hello-World/check-runs/128620228/annotations" - }, - "name": "Octocoders-linter", - "check_suite": { - "id": 118578147, - "node_id": "MDEwOkNoZWNrU3VpdGUxMTg1NzgxNDc=", - "head_branch": "changes", - "head_sha": "ec26c3e57ca3a959ca5aad62de7213c562f8c821", - "status": "queued", - "conclusion": null, - "url": "https://api.github.com/repos/Codertocat/Hello-World/check-suites/118578147", - "before": "6113728f27ae82c7b1a177c8d03f9e96e0adf246", - "after": "ec26c3e57ca3a959ca5aad62de7213c562f8c821", - "pull_requests": [ - { - "url": "https://api.github.com/repos/Codertocat/Hello-World/pulls/2", - "id": 279147437, - "number": 2, - "head": { - "ref": "changes", - "sha": "ec26c3e57ca3a959ca5aad62de7213c562f8c821", - "repo": { - "id": 186853002, - "url": "https://api.github.com/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - }, - "base": { - "ref": "master", - "sha": "f95f852bd8fca8fcc58a9a2d6c842781e32a215e", - "repo": { - "id": 186853002, - "url": "https://api.github.com/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - } - } - ], - "app": { - "id": 29310, - "node_id": "MDM6QXBwMjkzMTA=", - "owner": { - "login": "Octocoders", - "id": 38302899, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjM4MzAyODk5", - "avatar_url": "https://avatars1.githubusercontent.com/u/38302899?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Octocoders", - "html_url": "https://github.com/Octocoders", - "followers_url": "https://api.github.com/users/Octocoders/followers", - "following_url": "https://api.github.com/users/Octocoders/following{/other_user}", - "gists_url": "https://api.github.com/users/Octocoders/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Octocoders/subscriptions", - "organizations_url": "https://api.github.com/users/Octocoders/orgs", - "repos_url": "https://api.github.com/users/Octocoders/repos", - "events_url": "https://api.github.com/users/Octocoders/events{/privacy}", - "received_events_url": "https://api.github.com/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "name": "octocoders-linter", - "description": "", - "external_url": "https://octocoders.github.io", - "html_url": "https://github.com/apps/octocoders-linter", - "created_at": "2019-04-19T19:36:24Z", - "updated_at": "2019-04-19T19:36:56Z", - "permissions": { - "administration": "write", - "checks": "write", - "contents": "write", - "deployments": "write", - "issues": "write", - "members": "write", - "metadata": "read", - "organization_administration": "write", - "organization_hooks": "write", - "organization_plan": "read", - "organization_projects": "write", - "organization_user_blocking": "write", - "pages": "write", - "pull_requests": "write", - "repository_hooks": "write", - "repository_projects": "write", - "statuses": "write", - "team_discussions": "write", - "vulnerability_alerts": "read" - }, - "events": [] - }, - "created_at": "2019-05-15T15:20:31Z", - "updated_at": "2019-05-15T15:20:31Z" - }, - "app": { - "id": 29310, - "node_id": "MDM6QXBwMjkzMTA=", - "owner": { - "login": "Octocoders", - "id": 38302899, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjM4MzAyODk5", - "avatar_url": "https://avatars1.githubusercontent.com/u/38302899?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Octocoders", - "html_url": "https://github.com/Octocoders", - "followers_url": "https://api.github.com/users/Octocoders/followers", - "following_url": "https://api.github.com/users/Octocoders/following{/other_user}", - "gists_url": "https://api.github.com/users/Octocoders/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Octocoders/subscriptions", - "organizations_url": "https://api.github.com/users/Octocoders/orgs", - "repos_url": "https://api.github.com/users/Octocoders/repos", - "events_url": "https://api.github.com/users/Octocoders/events{/privacy}", - "received_events_url": "https://api.github.com/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "name": "octocoders-linter", - "description": "", - "external_url": "https://octocoders.github.io", - "html_url": "https://github.com/apps/octocoders-linter", - "created_at": "2019-04-19T19:36:24Z", - "updated_at": "2019-04-19T19:36:56Z", - "permissions": { - "administration": "write", - "checks": "write", - "contents": "write", - "deployments": "write", - "issues": "write", - "members": "write", - "metadata": "read", - "organization_administration": "write", - "organization_hooks": "write", - "organization_plan": "read", - "organization_projects": "write", - "organization_user_blocking": "write", - "pages": "write", - "pull_requests": "write", - "repository_hooks": "write", - "repository_projects": "write", - "statuses": "write", - "team_discussions": "write", - "vulnerability_alerts": "read" - }, - "events": [] - }, - "pull_requests": [ - { - "url": "https://api.github.com/repos/Codertocat/Hello-World/pulls/2", - "id": 279147437, - "number": 2, - "head": { - "ref": "changes", - "sha": "ec26c3e57ca3a959ca5aad62de7213c562f8c821", - "repo": { - "id": 186853002, - "url": "https://api.github.com/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - }, - "base": { - "ref": "master", - "sha": "f95f852bd8fca8fcc58a9a2d6c842781e32a215e", - "repo": { - "id": 186853002, - "url": "https://api.github.com/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - } - } - ], - "deployment": { - "url": "https://api.github.com/repos/Codertocat/Hello-World/deployments/326191728", - "id": 326191728, - "node_id": "MDEwOkRlcGxveW1lbnQzMjYxOTE3Mjg=", - "task": "deploy", - "original_environment": "lab", - "environment": "lab", - "description": null, - "created_at": "2021-02-18T08:22:48Z", - "updated_at": "2021-02-18T09:47:16Z", - "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments/326191728/statuses", - "repository_url": "https://api.github.com/repos/Codertocat/Hello-World" - } - }, - "requested_action": { "identifier": "lgtm|1234" }, - "repository": { - "id": 186853002, - "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 21031067, - "node_id": "MDQ6VXNlcjIxMDMxMDY3", - "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Codertocat", - "html_url": "https://github.com/Codertocat", - "followers_url": "https://api.github.com/users/Codertocat/followers", - "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", - "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", - "organizations_url": "https://api.github.com/users/Codertocat/orgs", - "repos_url": "https://api.github.com/users/Codertocat/repos", - "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://github.com/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://api.github.com/repos/Codertocat/Hello-World", - "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks", - "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events", - "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges", - "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T15:19:25Z", - "updated_at": "2019-05-15T15:21:03Z", - "pushed_at": "2019-05-15T15:20:57Z", - "git_url": "git://github.com/Codertocat/Hello-World.git", - "ssh_url": "git@github.com:Codertocat/Hello-World.git", - "clone_url": "https://github.com/Codertocat/Hello-World.git", - "svn_url": "https://github.com/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 1, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "sender": { - "login": "Codertocat", - "id": 21031067, - "node_id": "MDQ6VXNlcjIxMDMxMDY3", - "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Codertocat", - "html_url": "https://github.com/Codertocat", - "followers_url": "https://api.github.com/users/Codertocat/followers", - "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", - "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", - "organizations_url": "https://api.github.com/users/Codertocat/orgs", - "repos_url": "https://api.github.com/users/Codertocat/repos", - "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - } - }, - "check-run-requested-action-form-encoded": { - "value": { - "payload": "%7B%22action%22%3A%22requested_action%22%2C%22check_run%22%3A%7B%22id%22%3A128620228%2C%22node_id%22%3A%22MDg6Q2hlY2tSdW4xMjg2MjAyMjg%3D%22%2C%22head_sha%22%3A%22ec26c3e57ca3a959ca5aad62de7213c562f8c821%22%2C%22external_id%22%3A%22%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcheck-runs%2F128620228%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2FCodertocat%2FHello-World%2Fruns%2F128620228%22%2C%22details_url%22%3A%22https%3A%2F%2Foctocoders.github.io%22%2C%22status%22%3A%22queued%22%2C%22conclusion%22%3Anull%2C%22started_at%22%3A%222019-05-15T15%3A21%3A12Z%22%2C%22completed_at%22%3Anull%2C%22output%22%3A%7B%22title%22%3Anull%2C%22summary%22%3Anull%2C%22text%22%3Anull%2C%22annotations_count%22%3A0%2C%22annotations_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcheck-runs%2F128620228%2Fannotations%22%7D%2C%22name%22%3A%22Octocoders-linter%22%2C%22check_suite%22%3A%7B%22id%22%3A118578147%2C%22node_id%22%3A%22MDEwOkNoZWNrU3VpdGUxMTg1NzgxNDc%3D%22%2C%22head_branch%22%3A%22changes%22%2C%22head_sha%22%3A%22ec26c3e57ca3a959ca5aad62de7213c562f8c821%22%2C%22status%22%3A%22queued%22%2C%22conclusion%22%3Anull%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcheck-suites%2F118578147%22%2C%22before%22%3A%226113728f27ae82c7b1a177c8d03f9e96e0adf246%22%2C%22after%22%3A%22ec26c3e57ca3a959ca5aad62de7213c562f8c821%22%2C%22pull_requests%22%3A%5B%7B%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fpulls%2F2%22%2C%22id%22%3A279147437%2C%22number%22%3A2%2C%22head%22%3A%7B%22ref%22%3A%22changes%22%2C%22sha%22%3A%22ec26c3e57ca3a959ca5aad62de7213c562f8c821%22%2C%22repo%22%3A%7B%22id%22%3A186853002%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%22%2C%22name%22%3A%22Hello-World%22%7D%7D%2C%22base%22%3A%7B%22ref%22%3A%22master%22%2C%22sha%22%3A%22f95f852bd8fca8fcc58a9a2d6c842781e32a215e%22%2C%22repo%22%3A%7B%22id%22%3A186853002%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%22%2C%22name%22%3A%22Hello-World%22%7D%7D%7D%5D%2C%22app%22%3A%7B%22id%22%3A29310%2C%22node_id%22%3A%22MDM6QXBwMjkzMTA%3D%22%2C%22owner%22%3A%7B%22login%22%3A%22Octocoders%22%2C%22id%22%3A38302899%2C%22node_id%22%3A%22MDEyOk9yZ2FuaXphdGlvbjM4MzAyODk5%22%2C%22avatar_url%22%3A%22https%3A%2F%2Favatars1.githubusercontent.com%2Fu%2F38302899%3Fv%3D4%22%2C%22gravatar_id%22%3A%22%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2FOctocoders%22%2C%22followers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Ffollowers%22%2C%22following_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Ffollowing%7B%2Fother_user%7D%22%2C%22gists_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fgists%7B%2Fgist_id%7D%22%2C%22starred_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%22%2C%22subscriptions_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fsubscriptions%22%2C%22organizations_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Forgs%22%2C%22repos_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Frepos%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fevents%7B%2Fprivacy%7D%22%2C%22received_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Freceived_events%22%2C%22type%22%3A%22Organization%22%2C%22site_admin%22%3Afalse%7D%2C%22name%22%3A%22octocoders-linter%22%2C%22description%22%3A%22%22%2C%22external_url%22%3A%22https%3A%2F%2Foctocoders.github.io%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2Fapps%2Foctocoders-linter%22%2C%22created_at%22%3A%222019-04-19T19%3A36%3A24Z%22%2C%22updated_at%22%3A%222019-04-19T19%3A36%3A56Z%22%2C%22permissions%22%3A%7B%22administration%22%3A%22write%22%2C%22checks%22%3A%22write%22%2C%22contents%22%3A%22write%22%2C%22deployments%22%3A%22write%22%2C%22issues%22%3A%22write%22%2C%22members%22%3A%22write%22%2C%22metadata%22%3A%22read%22%2C%22organization_administration%22%3A%22write%22%2C%22organization_hooks%22%3A%22write%22%2C%22organization_plan%22%3A%22read%22%2C%22organization_projects%22%3A%22write%22%2C%22organization_user_blocking%22%3A%22write%22%2C%22pages%22%3A%22write%22%2C%22pull_requests%22%3A%22write%22%2C%22repository_hooks%22%3A%22write%22%2C%22repository_projects%22%3A%22write%22%2C%22statuses%22%3A%22write%22%2C%22team_discussions%22%3A%22write%22%2C%22vulnerability_alerts%22%3A%22read%22%7D%2C%22events%22%3A%5B%5D%7D%2C%22created_at%22%3A%222019-05-15T15%3A20%3A31Z%22%2C%22updated_at%22%3A%222019-05-15T15%3A20%3A31Z%22%7D%2C%22app%22%3A%7B%22id%22%3A29310%2C%22node_id%22%3A%22MDM6QXBwMjkzMTA%3D%22%2C%22owner%22%3A%7B%22login%22%3A%22Octocoders%22%2C%22id%22%3A38302899%2C%22node_id%22%3A%22MDEyOk9yZ2FuaXphdGlvbjM4MzAyODk5%22%2C%22avatar_url%22%3A%22https%3A%2F%2Favatars1.githubusercontent.com%2Fu%2F38302899%3Fv%3D4%22%2C%22gravatar_id%22%3A%22%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2FOctocoders%22%2C%22followers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Ffollowers%22%2C%22following_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Ffollowing%7B%2Fother_user%7D%22%2C%22gists_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fgists%7B%2Fgist_id%7D%22%2C%22starred_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%22%2C%22subscriptions_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fsubscriptions%22%2C%22organizations_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Forgs%22%2C%22repos_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Frepos%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fevents%7B%2Fprivacy%7D%22%2C%22received_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Freceived_events%22%2C%22type%22%3A%22Organization%22%2C%22site_admin%22%3Afalse%7D%2C%22name%22%3A%22octocoders-linter%22%2C%22description%22%3A%22%22%2C%22external_url%22%3A%22https%3A%2F%2Foctocoders.github.io%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2Fapps%2Foctocoders-linter%22%2C%22created_at%22%3A%222019-04-19T19%3A36%3A24Z%22%2C%22updated_at%22%3A%222019-04-19T19%3A36%3A56Z%22%2C%22permissions%22%3A%7B%22administration%22%3A%22write%22%2C%22checks%22%3A%22write%22%2C%22contents%22%3A%22write%22%2C%22deployments%22%3A%22write%22%2C%22issues%22%3A%22write%22%2C%22members%22%3A%22write%22%2C%22metadata%22%3A%22read%22%2C%22organization_administration%22%3A%22write%22%2C%22organization_hooks%22%3A%22write%22%2C%22organization_plan%22%3A%22read%22%2C%22organization_projects%22%3A%22write%22%2C%22organization_user_blocking%22%3A%22write%22%2C%22pages%22%3A%22write%22%2C%22pull_requests%22%3A%22write%22%2C%22repository_hooks%22%3A%22write%22%2C%22repository_projects%22%3A%22write%22%2C%22statuses%22%3A%22write%22%2C%22team_discussions%22%3A%22write%22%2C%22vulnerability_alerts%22%3A%22read%22%7D%2C%22events%22%3A%5B%5D%7D%2C%22pull_requests%22%3A%5B%7B%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fpulls%2F2%22%2C%22id%22%3A279147437%2C%22number%22%3A2%2C%22head%22%3A%7B%22ref%22%3A%22changes%22%2C%22sha%22%3A%22ec26c3e57ca3a959ca5aad62de7213c562f8c821%22%2C%22repo%22%3A%7B%22id%22%3A186853002%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%22%2C%22name%22%3A%22Hello-World%22%7D%7D%2C%22base%22%3A%7B%22ref%22%3A%22master%22%2C%22sha%22%3A%22f95f852bd8fca8fcc58a9a2d6c842781e32a215e%22%2C%22repo%22%3A%7B%22id%22%3A186853002%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%22%2C%22name%22%3A%22Hello-World%22%7D%7D%7D%5D%2C%22deployment%22%3A%7B%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fdeployments%2F326191728%22%2C%22id%22%3A326191728%2C%22node_id%22%3A%22MDEwOkRlcGxveW1lbnQzMjYxOTE3Mjg%3D%22%2C%22task%22%3A%22deploy%22%2C%22original_environment%22%3A%22lab%22%2C%22environment%22%3A%22lab%22%2C%22description%22%3Anull%2C%22created_at%22%3A%222021-02-18T08%3A22%3A48Z%22%2C%22updated_at%22%3A%222021-02-18T09%3A47%3A16Z%22%2C%22statuses_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fdeployments%2F326191728%2Fstatuses%22%2C%22repository_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%22%7D%7D%2C%22requested_action%22%3A%7B%22identifier%22%3A%22lgtm%7C1234%22%7D%2C%22repository%22%3A%7B%22id%22%3A186853002%2C%22node_id%22%3A%22MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI%3D%22%2C%22name%22%3A%22Hello-World%22%2C%22full_name%22%3A%22Codertocat%2FHello-World%22%2C%22private%22%3Afalse%2C%22owner%22%3A%7B%22login%22%3A%22Codertocat%22%2C%22id%22%3A21031067%2C%22node_id%22%3A%22MDQ6VXNlcjIxMDMxMDY3%22%2C%22avatar_url%22%3A%22https%3A%2F%2Favatars1.githubusercontent.com%2Fu%2F21031067%3Fv%3D4%22%2C%22gravatar_id%22%3A%22%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2FCodertocat%22%2C%22followers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Ffollowers%22%2C%22following_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Ffollowing%7B%2Fother_user%7D%22%2C%22gists_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fgists%7B%2Fgist_id%7D%22%2C%22starred_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%22%2C%22subscriptions_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fsubscriptions%22%2C%22organizations_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Forgs%22%2C%22repos_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Frepos%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fevents%7B%2Fprivacy%7D%22%2C%22received_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Freceived_events%22%2C%22type%22%3A%22User%22%2C%22site_admin%22%3Afalse%7D%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2FCodertocat%2FHello-World%22%2C%22description%22%3Anull%2C%22fork%22%3Afalse%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%22%2C%22forks_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fforks%22%2C%22keys_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fkeys%7B%2Fkey_id%7D%22%2C%22collaborators_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcollaborators%7B%2Fcollaborator%7D%22%2C%22teams_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fteams%22%2C%22hooks_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fhooks%22%2C%22issue_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fissues%2Fevents%7B%2Fnumber%7D%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fevents%22%2C%22assignees_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fassignees%7B%2Fuser%7D%22%2C%22branches_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fbranches%7B%2Fbranch%7D%22%2C%22tags_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Ftags%22%2C%22blobs_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fgit%2Fblobs%7B%2Fsha%7D%22%2C%22git_tags_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fgit%2Ftags%7B%2Fsha%7D%22%2C%22git_refs_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fgit%2Frefs%7B%2Fsha%7D%22%2C%22trees_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fgit%2Ftrees%7B%2Fsha%7D%22%2C%22statuses_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fstatuses%2F%7Bsha%7D%22%2C%22languages_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Flanguages%22%2C%22stargazers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fstargazers%22%2C%22contributors_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcontributors%22%2C%22subscribers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fsubscribers%22%2C%22subscription_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fsubscription%22%2C%22commits_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcommits%7B%2Fsha%7D%22%2C%22git_commits_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fgit%2Fcommits%7B%2Fsha%7D%22%2C%22comments_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcomments%7B%2Fnumber%7D%22%2C%22issue_comment_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fissues%2Fcomments%7B%2Fnumber%7D%22%2C%22contents_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcontents%2F%7B%2Bpath%7D%22%2C%22compare_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcompare%2F%7Bbase%7D...%7Bhead%7D%22%2C%22merges_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fmerges%22%2C%22archive_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2F%7Barchive_format%7D%7B%2Fref%7D%22%2C%22downloads_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fdownloads%22%2C%22issues_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fissues%7B%2Fnumber%7D%22%2C%22pulls_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fpulls%7B%2Fnumber%7D%22%2C%22milestones_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fmilestones%7B%2Fnumber%7D%22%2C%22notifications_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fnotifications%7B%3Fsince%2Call%2Cparticipating%7D%22%2C%22labels_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Flabels%7B%2Fname%7D%22%2C%22releases_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Freleases%7B%2Fid%7D%22%2C%22deployments_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fdeployments%22%2C%22created_at%22%3A%222019-05-15T15%3A19%3A25Z%22%2C%22updated_at%22%3A%222019-05-15T15%3A21%3A03Z%22%2C%22pushed_at%22%3A%222019-05-15T15%3A20%3A57Z%22%2C%22git_url%22%3A%22git%3A%2F%2Fgithub.com%2FCodertocat%2FHello-World.git%22%2C%22ssh_url%22%3A%22git%40github.com%3ACodertocat%2FHello-World.git%22%2C%22clone_url%22%3A%22https%3A%2F%2Fgithub.com%2FCodertocat%2FHello-World.git%22%2C%22svn_url%22%3A%22https%3A%2F%2Fgithub.com%2FCodertocat%2FHello-World%22%2C%22homepage%22%3Anull%2C%22size%22%3A0%2C%22stargazers_count%22%3A0%2C%22watchers_count%22%3A0%2C%22language%22%3A%22Ruby%22%2C%22has_issues%22%3Atrue%2C%22has_projects%22%3Atrue%2C%22has_downloads%22%3Atrue%2C%22has_wiki%22%3Atrue%2C%22has_pages%22%3Atrue%2C%22forks_count%22%3A1%2C%22mirror_url%22%3Anull%2C%22archived%22%3Afalse%2C%22disabled%22%3Afalse%2C%22open_issues_count%22%3A2%2C%22license%22%3Anull%2C%22forks%22%3A1%2C%22open_issues%22%3A2%2C%22watchers%22%3A0%2C%22default_branch%22%3A%22master%22%7D%2C%22sender%22%3A%7B%22login%22%3A%22Codertocat%22%2C%22id%22%3A21031067%2C%22node_id%22%3A%22MDQ6VXNlcjIxMDMxMDY3%22%2C%22avatar_url%22%3A%22https%3A%2F%2Favatars1.githubusercontent.com%2Fu%2F21031067%3Fv%3D4%22%2C%22gravatar_id%22%3A%22%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2FCodertocat%22%2C%22followers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Ffollowers%22%2C%22following_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Ffollowing%7B%2Fother_user%7D%22%2C%22gists_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fgists%7B%2Fgist_id%7D%22%2C%22starred_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%22%2C%22subscriptions_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fsubscriptions%22%2C%22organizations_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Forgs%22%2C%22repos_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Frepos%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fevents%7B%2Fprivacy%7D%22%2C%22received_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Freceived_events%22%2C%22type%22%3A%22User%22%2C%22site_admin%22%3Afalse%7D%7D" - } - }, - "check-run-rerequested": { - "value": { - "action": "rerequested", - "check_run": { - "id": 128620228, - "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", - "head_sha": "ec26c3e57ca3a959ca5aad62de7213c562f8c821", - "external_id": "", - "url": "https://api.github.com/repos/Codertocat/Hello-World/check-runs/128620228", - "html_url": "https://github.com/Codertocat/Hello-World/runs/128620228", - "details_url": "https://octocoders.github.io", - "status": "completed", - "conclusion": "success", - "started_at": "2019-05-15T15:21:12Z", - "completed_at": "2019-05-15T15:21:45Z", - "output": { - "title": null, - "summary": null, - "text": null, - "annotations_count": 0, - "annotations_url": "https://api.github.com/repos/Codertocat/Hello-World/check-runs/128620228/annotations" - }, - "name": "Octocoders-linter", - "check_suite": { - "id": 118578147, - "node_id": "MDEwOkNoZWNrU3VpdGUxMTg1NzgxNDc=", - "head_branch": "changes", - "head_sha": "ec26c3e57ca3a959ca5aad62de7213c562f8c821", - "status": "completed", - "conclusion": null, - "url": "https://api.github.com/repos/Codertocat/Hello-World/check-suites/118578147", - "before": "6113728f27ae82c7b1a177c8d03f9e96e0adf246", - "after": "ec26c3e57ca3a959ca5aad62de7213c562f8c821", - "pull_requests": [ - { - "url": "https://api.github.com/repos/Codertocat/Hello-World/pulls/2", - "id": 279147437, - "number": 2, - "head": { - "ref": "changes", - "sha": "ec26c3e57ca3a959ca5aad62de7213c562f8c821", - "repo": { - "id": 186853002, - "url": "https://api.github.com/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - }, - "base": { - "ref": "master", - "sha": "f95f852bd8fca8fcc58a9a2d6c842781e32a215e", - "repo": { - "id": 186853002, - "url": "https://api.github.com/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - } - } - ], - "deployment": { - "url": "https://api.github.com/repos/Codertocat/Hello-World/deployments/326191728", - "id": 326191728, - "node_id": "MDEwOkRlcGxveW1lbnQzMjYxOTE3Mjg=", - "task": "deploy", - "original_environment": "lab", - "environment": "lab", - "description": null, - "created_at": "2021-02-18T08:22:48Z", - "updated_at": "2021-02-18T09:47:16Z", - "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments/326191728/statuses", - "repository_url": "https://api.github.com/repos/Codertocat/Hello-World" - }, - "app": { - "id": 29310, - "node_id": "MDM6QXBwMjkzMTA=", - "owner": { - "login": "Octocoders", - "id": 38302899, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjM4MzAyODk5", - "avatar_url": "https://avatars1.githubusercontent.com/u/38302899?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Octocoders", - "html_url": "https://github.com/Octocoders", - "followers_url": "https://api.github.com/users/Octocoders/followers", - "following_url": "https://api.github.com/users/Octocoders/following{/other_user}", - "gists_url": "https://api.github.com/users/Octocoders/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Octocoders/subscriptions", - "organizations_url": "https://api.github.com/users/Octocoders/orgs", - "repos_url": "https://api.github.com/users/Octocoders/repos", - "events_url": "https://api.github.com/users/Octocoders/events{/privacy}", - "received_events_url": "https://api.github.com/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "name": "octocoders-linter", - "description": "", - "external_url": "https://octocoders.github.io", - "html_url": "https://github.com/apps/octocoders-linter", - "created_at": "2019-04-19T19:36:24Z", - "updated_at": "2019-04-19T19:36:56Z", - "permissions": { - "administration": "write", - "checks": "write", - "contents": "write", - "deployments": "write", - "issues": "write", - "members": "write", - "metadata": "read", - "organization_administration": "write", - "organization_hooks": "write", - "organization_plan": "read", - "organization_projects": "write", - "organization_user_blocking": "write", - "pages": "write", - "pull_requests": "write", - "repository_hooks": "write", - "repository_projects": "write", - "statuses": "write", - "team_discussions": "write", - "vulnerability_alerts": "read" - }, - "events": [] - }, - "created_at": "2019-05-15T15:20:31Z", - "updated_at": "2019-05-15T15:20:31Z" - }, - "app": { - "id": 29310, - "node_id": "MDM6QXBwMjkzMTA=", - "owner": { - "login": "Octocoders", - "id": 38302899, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjM4MzAyODk5", - "avatar_url": "https://avatars1.githubusercontent.com/u/38302899?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Octocoders", - "html_url": "https://github.com/Octocoders", - "followers_url": "https://api.github.com/users/Octocoders/followers", - "following_url": "https://api.github.com/users/Octocoders/following{/other_user}", - "gists_url": "https://api.github.com/users/Octocoders/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Octocoders/subscriptions", - "organizations_url": "https://api.github.com/users/Octocoders/orgs", - "repos_url": "https://api.github.com/users/Octocoders/repos", - "events_url": "https://api.github.com/users/Octocoders/events{/privacy}", - "received_events_url": "https://api.github.com/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "name": "octocoders-linter", - "description": "", - "external_url": "https://octocoders.github.io", - "html_url": "https://github.com/apps/octocoders-linter", - "created_at": "2019-04-19T19:36:24Z", - "updated_at": "2019-04-19T19:36:56Z", - "permissions": { - "administration": "write", - "checks": "write", - "contents": "write", - "deployments": "write", - "issues": "write", - "members": "write", - "metadata": "read", - "organization_administration": "write", - "organization_hooks": "write", - "organization_plan": "read", - "organization_projects": "write", - "organization_user_blocking": "write", - "pages": "write", - "pull_requests": "write", - "repository_hooks": "write", - "repository_projects": "write", - "statuses": "write", - "team_discussions": "write", - "vulnerability_alerts": "read" - }, - "events": [] - }, - "pull_requests": [ - { - "url": "https://api.github.com/repos/Codertocat/Hello-World/pulls/2", - "id": 279147437, - "number": 2, - "head": { - "ref": "changes", - "sha": "ec26c3e57ca3a959ca5aad62de7213c562f8c821", - "repo": { - "id": 186853002, - "url": "https://api.github.com/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - }, - "base": { - "ref": "master", - "sha": "f95f852bd8fca8fcc58a9a2d6c842781e32a215e", - "repo": { - "id": 186853002, - "url": "https://api.github.com/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - } - } - ] - }, - "repository": { - "id": 186853002, - "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 21031067, - "node_id": "MDQ6VXNlcjIxMDMxMDY3", - "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Codertocat", - "html_url": "https://github.com/Codertocat", - "followers_url": "https://api.github.com/users/Codertocat/followers", - "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", - "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", - "organizations_url": "https://api.github.com/users/Codertocat/orgs", - "repos_url": "https://api.github.com/users/Codertocat/repos", - "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://github.com/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://api.github.com/repos/Codertocat/Hello-World", - "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks", - "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events", - "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges", - "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T15:19:25Z", - "updated_at": "2019-05-15T15:21:03Z", - "pushed_at": "2019-05-15T15:20:57Z", - "git_url": "git://github.com/Codertocat/Hello-World.git", - "ssh_url": "git@github.com:Codertocat/Hello-World.git", - "clone_url": "https://github.com/Codertocat/Hello-World.git", - "svn_url": "https://github.com/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 1, - "open_issues": 2, - "watchers": 0, - "default_branch": "master", - "is_template": false - }, - "sender": { - "login": "Codertocat", - "id": 21031067, - "node_id": "MDQ6VXNlcjIxMDMxMDY3", - "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Codertocat", - "html_url": "https://github.com/Codertocat", - "followers_url": "https://api.github.com/users/Codertocat/followers", - "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", - "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", - "organizations_url": "https://api.github.com/users/Codertocat/orgs", - "repos_url": "https://api.github.com/users/Codertocat/repos", - "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - } - }, - "check-run-rerequested-form-encoded": { - "value": { - "payload": "%7B%22action%22%3A%22rerequested%22%2C%22check_run%22%3A%7B%22id%22%3A128620228%2C%22node_id%22%3A%22MDg6Q2hlY2tSdW4xMjg2MjAyMjg%3D%22%2C%22head_sha%22%3A%22ec26c3e57ca3a959ca5aad62de7213c562f8c821%22%2C%22external_id%22%3A%22%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcheck-runs%2F128620228%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2FCodertocat%2FHello-World%2Fruns%2F128620228%22%2C%22details_url%22%3A%22https%3A%2F%2Foctocoders.github.io%22%2C%22status%22%3A%22completed%22%2C%22conclusion%22%3A%22success%22%2C%22started_at%22%3A%222019-05-15T15%3A21%3A12Z%22%2C%22completed_at%22%3A%222019-05-15T15%3A21%3A45Z%22%2C%22output%22%3A%7B%22title%22%3Anull%2C%22summary%22%3Anull%2C%22text%22%3Anull%2C%22annotations_count%22%3A0%2C%22annotations_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcheck-runs%2F128620228%2Fannotations%22%7D%2C%22name%22%3A%22Octocoders-linter%22%2C%22check_suite%22%3A%7B%22id%22%3A118578147%2C%22node_id%22%3A%22MDEwOkNoZWNrU3VpdGUxMTg1NzgxNDc%3D%22%2C%22head_branch%22%3A%22changes%22%2C%22head_sha%22%3A%22ec26c3e57ca3a959ca5aad62de7213c562f8c821%22%2C%22status%22%3A%22completed%22%2C%22conclusion%22%3Anull%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcheck-suites%2F118578147%22%2C%22before%22%3A%226113728f27ae82c7b1a177c8d03f9e96e0adf246%22%2C%22after%22%3A%22ec26c3e57ca3a959ca5aad62de7213c562f8c821%22%2C%22pull_requests%22%3A%5B%7B%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fpulls%2F2%22%2C%22id%22%3A279147437%2C%22number%22%3A2%2C%22head%22%3A%7B%22ref%22%3A%22changes%22%2C%22sha%22%3A%22ec26c3e57ca3a959ca5aad62de7213c562f8c821%22%2C%22repo%22%3A%7B%22id%22%3A186853002%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%22%2C%22name%22%3A%22Hello-World%22%7D%7D%2C%22base%22%3A%7B%22ref%22%3A%22master%22%2C%22sha%22%3A%22f95f852bd8fca8fcc58a9a2d6c842781e32a215e%22%2C%22repo%22%3A%7B%22id%22%3A186853002%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%22%2C%22name%22%3A%22Hello-World%22%7D%7D%7D%5D%2C%22deployment%22%3A%7B%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fdeployments%2F326191728%22%2C%22id%22%3A326191728%2C%22node_id%22%3A%22MDEwOkRlcGxveW1lbnQzMjYxOTE3Mjg%3D%22%2C%22task%22%3A%22deploy%22%2C%22original_environment%22%3A%22lab%22%2C%22environment%22%3A%22lab%22%2C%22description%22%3Anull%2C%22created_at%22%3A%222021-02-18T08%3A22%3A48Z%22%2C%22updated_at%22%3A%222021-02-18T09%3A47%3A16Z%22%2C%22statuses_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fdeployments%2F326191728%2Fstatuses%22%2C%22repository_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%22%7D%2C%22app%22%3A%7B%22id%22%3A29310%2C%22node_id%22%3A%22MDM6QXBwMjkzMTA%3D%22%2C%22owner%22%3A%7B%22login%22%3A%22Octocoders%22%2C%22id%22%3A38302899%2C%22node_id%22%3A%22MDEyOk9yZ2FuaXphdGlvbjM4MzAyODk5%22%2C%22avatar_url%22%3A%22https%3A%2F%2Favatars1.githubusercontent.com%2Fu%2F38302899%3Fv%3D4%22%2C%22gravatar_id%22%3A%22%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2FOctocoders%22%2C%22followers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Ffollowers%22%2C%22following_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Ffollowing%7B%2Fother_user%7D%22%2C%22gists_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fgists%7B%2Fgist_id%7D%22%2C%22starred_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%22%2C%22subscriptions_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fsubscriptions%22%2C%22organizations_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Forgs%22%2C%22repos_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Frepos%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fevents%7B%2Fprivacy%7D%22%2C%22received_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Freceived_events%22%2C%22type%22%3A%22Organization%22%2C%22site_admin%22%3Afalse%7D%2C%22name%22%3A%22octocoders-linter%22%2C%22description%22%3A%22%22%2C%22external_url%22%3A%22https%3A%2F%2Foctocoders.github.io%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2Fapps%2Foctocoders-linter%22%2C%22created_at%22%3A%222019-04-19T19%3A36%3A24Z%22%2C%22updated_at%22%3A%222019-04-19T19%3A36%3A56Z%22%2C%22permissions%22%3A%7B%22administration%22%3A%22write%22%2C%22checks%22%3A%22write%22%2C%22contents%22%3A%22write%22%2C%22deployments%22%3A%22write%22%2C%22issues%22%3A%22write%22%2C%22members%22%3A%22write%22%2C%22metadata%22%3A%22read%22%2C%22organization_administration%22%3A%22write%22%2C%22organization_hooks%22%3A%22write%22%2C%22organization_plan%22%3A%22read%22%2C%22organization_projects%22%3A%22write%22%2C%22organization_user_blocking%22%3A%22write%22%2C%22pages%22%3A%22write%22%2C%22pull_requests%22%3A%22write%22%2C%22repository_hooks%22%3A%22write%22%2C%22repository_projects%22%3A%22write%22%2C%22statuses%22%3A%22write%22%2C%22team_discussions%22%3A%22write%22%2C%22vulnerability_alerts%22%3A%22read%22%7D%2C%22events%22%3A%5B%5D%7D%2C%22created_at%22%3A%222019-05-15T15%3A20%3A31Z%22%2C%22updated_at%22%3A%222019-05-15T15%3A20%3A31Z%22%7D%2C%22app%22%3A%7B%22id%22%3A29310%2C%22node_id%22%3A%22MDM6QXBwMjkzMTA%3D%22%2C%22owner%22%3A%7B%22login%22%3A%22Octocoders%22%2C%22id%22%3A38302899%2C%22node_id%22%3A%22MDEyOk9yZ2FuaXphdGlvbjM4MzAyODk5%22%2C%22avatar_url%22%3A%22https%3A%2F%2Favatars1.githubusercontent.com%2Fu%2F38302899%3Fv%3D4%22%2C%22gravatar_id%22%3A%22%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2FOctocoders%22%2C%22followers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Ffollowers%22%2C%22following_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Ffollowing%7B%2Fother_user%7D%22%2C%22gists_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fgists%7B%2Fgist_id%7D%22%2C%22starred_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%22%2C%22subscriptions_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fsubscriptions%22%2C%22organizations_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Forgs%22%2C%22repos_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Frepos%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Fevents%7B%2Fprivacy%7D%22%2C%22received_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FOctocoders%2Freceived_events%22%2C%22type%22%3A%22Organization%22%2C%22site_admin%22%3Afalse%7D%2C%22name%22%3A%22octocoders-linter%22%2C%22description%22%3A%22%22%2C%22external_url%22%3A%22https%3A%2F%2Foctocoders.github.io%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2Fapps%2Foctocoders-linter%22%2C%22created_at%22%3A%222019-04-19T19%3A36%3A24Z%22%2C%22updated_at%22%3A%222019-04-19T19%3A36%3A56Z%22%2C%22permissions%22%3A%7B%22administration%22%3A%22write%22%2C%22checks%22%3A%22write%22%2C%22contents%22%3A%22write%22%2C%22deployments%22%3A%22write%22%2C%22issues%22%3A%22write%22%2C%22members%22%3A%22write%22%2C%22metadata%22%3A%22read%22%2C%22organization_administration%22%3A%22write%22%2C%22organization_hooks%22%3A%22write%22%2C%22organization_plan%22%3A%22read%22%2C%22organization_projects%22%3A%22write%22%2C%22organization_user_blocking%22%3A%22write%22%2C%22pages%22%3A%22write%22%2C%22pull_requests%22%3A%22write%22%2C%22repository_hooks%22%3A%22write%22%2C%22repository_projects%22%3A%22write%22%2C%22statuses%22%3A%22write%22%2C%22team_discussions%22%3A%22write%22%2C%22vulnerability_alerts%22%3A%22read%22%7D%2C%22events%22%3A%5B%5D%7D%2C%22pull_requests%22%3A%5B%7B%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fpulls%2F2%22%2C%22id%22%3A279147437%2C%22number%22%3A2%2C%22head%22%3A%7B%22ref%22%3A%22changes%22%2C%22sha%22%3A%22ec26c3e57ca3a959ca5aad62de7213c562f8c821%22%2C%22repo%22%3A%7B%22id%22%3A186853002%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%22%2C%22name%22%3A%22Hello-World%22%7D%7D%2C%22base%22%3A%7B%22ref%22%3A%22master%22%2C%22sha%22%3A%22f95f852bd8fca8fcc58a9a2d6c842781e32a215e%22%2C%22repo%22%3A%7B%22id%22%3A186853002%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%22%2C%22name%22%3A%22Hello-World%22%7D%7D%7D%5D%7D%2C%22repository%22%3A%7B%22id%22%3A186853002%2C%22node_id%22%3A%22MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI%3D%22%2C%22name%22%3A%22Hello-World%22%2C%22full_name%22%3A%22Codertocat%2FHello-World%22%2C%22private%22%3Afalse%2C%22owner%22%3A%7B%22login%22%3A%22Codertocat%22%2C%22id%22%3A21031067%2C%22node_id%22%3A%22MDQ6VXNlcjIxMDMxMDY3%22%2C%22avatar_url%22%3A%22https%3A%2F%2Favatars1.githubusercontent.com%2Fu%2F21031067%3Fv%3D4%22%2C%22gravatar_id%22%3A%22%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2FCodertocat%22%2C%22followers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Ffollowers%22%2C%22following_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Ffollowing%7B%2Fother_user%7D%22%2C%22gists_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fgists%7B%2Fgist_id%7D%22%2C%22starred_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%22%2C%22subscriptions_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fsubscriptions%22%2C%22organizations_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Forgs%22%2C%22repos_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Frepos%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fevents%7B%2Fprivacy%7D%22%2C%22received_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Freceived_events%22%2C%22type%22%3A%22User%22%2C%22site_admin%22%3Afalse%7D%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2FCodertocat%2FHello-World%22%2C%22description%22%3Anull%2C%22fork%22%3Afalse%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%22%2C%22forks_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fforks%22%2C%22keys_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fkeys%7B%2Fkey_id%7D%22%2C%22collaborators_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcollaborators%7B%2Fcollaborator%7D%22%2C%22teams_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fteams%22%2C%22hooks_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fhooks%22%2C%22issue_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fissues%2Fevents%7B%2Fnumber%7D%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fevents%22%2C%22assignees_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fassignees%7B%2Fuser%7D%22%2C%22branches_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fbranches%7B%2Fbranch%7D%22%2C%22tags_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Ftags%22%2C%22blobs_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fgit%2Fblobs%7B%2Fsha%7D%22%2C%22git_tags_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fgit%2Ftags%7B%2Fsha%7D%22%2C%22git_refs_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fgit%2Frefs%7B%2Fsha%7D%22%2C%22trees_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fgit%2Ftrees%7B%2Fsha%7D%22%2C%22statuses_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fstatuses%2F%7Bsha%7D%22%2C%22languages_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Flanguages%22%2C%22stargazers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fstargazers%22%2C%22contributors_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcontributors%22%2C%22subscribers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fsubscribers%22%2C%22subscription_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fsubscription%22%2C%22commits_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcommits%7B%2Fsha%7D%22%2C%22git_commits_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fgit%2Fcommits%7B%2Fsha%7D%22%2C%22comments_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcomments%7B%2Fnumber%7D%22%2C%22issue_comment_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fissues%2Fcomments%7B%2Fnumber%7D%22%2C%22contents_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcontents%2F%7B%2Bpath%7D%22%2C%22compare_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fcompare%2F%7Bbase%7D...%7Bhead%7D%22%2C%22merges_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fmerges%22%2C%22archive_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2F%7Barchive_format%7D%7B%2Fref%7D%22%2C%22downloads_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fdownloads%22%2C%22issues_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fissues%7B%2Fnumber%7D%22%2C%22pulls_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fpulls%7B%2Fnumber%7D%22%2C%22milestones_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fmilestones%7B%2Fnumber%7D%22%2C%22notifications_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fnotifications%7B%3Fsince%2Call%2Cparticipating%7D%22%2C%22labels_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Flabels%7B%2Fname%7D%22%2C%22releases_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Freleases%7B%2Fid%7D%22%2C%22deployments_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2FCodertocat%2FHello-World%2Fdeployments%22%2C%22created_at%22%3A%222019-05-15T15%3A19%3A25Z%22%2C%22updated_at%22%3A%222019-05-15T15%3A21%3A03Z%22%2C%22pushed_at%22%3A%222019-05-15T15%3A20%3A57Z%22%2C%22git_url%22%3A%22git%3A%2F%2Fgithub.com%2FCodertocat%2FHello-World.git%22%2C%22ssh_url%22%3A%22git%40github.com%3ACodertocat%2FHello-World.git%22%2C%22clone_url%22%3A%22https%3A%2F%2Fgithub.com%2FCodertocat%2FHello-World.git%22%2C%22svn_url%22%3A%22https%3A%2F%2Fgithub.com%2FCodertocat%2FHello-World%22%2C%22homepage%22%3Anull%2C%22size%22%3A0%2C%22stargazers_count%22%3A0%2C%22watchers_count%22%3A0%2C%22language%22%3A%22Ruby%22%2C%22has_issues%22%3Atrue%2C%22has_projects%22%3Atrue%2C%22has_downloads%22%3Atrue%2C%22has_wiki%22%3Atrue%2C%22has_pages%22%3Atrue%2C%22forks_count%22%3A1%2C%22mirror_url%22%3Anull%2C%22archived%22%3Afalse%2C%22disabled%22%3Afalse%2C%22open_issues_count%22%3A2%2C%22license%22%3Anull%2C%22forks%22%3A1%2C%22open_issues%22%3A2%2C%22watchers%22%3A0%2C%22default_branch%22%3A%22master%22%2C%22is_template%22%3Afalse%7D%2C%22sender%22%3A%7B%22login%22%3A%22Codertocat%22%2C%22id%22%3A21031067%2C%22node_id%22%3A%22MDQ6VXNlcjIxMDMxMDY3%22%2C%22avatar_url%22%3A%22https%3A%2F%2Favatars1.githubusercontent.com%2Fu%2F21031067%3Fv%3D4%22%2C%22gravatar_id%22%3A%22%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2FCodertocat%22%2C%22followers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Ffollowers%22%2C%22following_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Ffollowing%7B%2Fother_user%7D%22%2C%22gists_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fgists%7B%2Fgist_id%7D%22%2C%22starred_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%22%2C%22subscriptions_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fsubscriptions%22%2C%22organizations_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Forgs%22%2C%22repos_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Frepos%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Fevents%7B%2Fprivacy%7D%22%2C%22received_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2FCodertocat%2Freceived_events%22%2C%22type%22%3A%22User%22%2C%22site_admin%22%3Afalse%7D%7D" - } - }, - "ping": { - "value": { - "zen": "Anything added dilutes everything else.", - "hook_id": 109948940, - "hook": { - "type": "Repository", - "id": 109948940, - "name": "web", - "active": true, - "events": ["*"], - "config": { - "content_type": "json", - "url": "https://smee.io/****************", - "insecure_ssl": "0" - }, - "updated_at": "2019-05-15T15:20:49Z", - "created_at": "2019-05-15T15:20:49Z", - "url": "https://api.github.com/repos/Octocoders/Hello-World/hooks/109948940", - "test_url": "https://api.github.com/repos/Octocoders/Hello-World/hooks/109948940/test", - "ping_url": "https://api.github.com/repos/Octocoders/Hello-World/hooks/109948940/pings", - "last_response": { - "code": null, - "status": "unused", - "message": null - } - }, - "repository": { - "id": 186853261, - "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMyNjE=", - "name": "Hello-World", - "full_name": "Octocoders/Hello-World", - "private": false, - "owner": { - "login": "Octocoders", - "id": 38302899, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjM4MzAyODk5", - "avatar_url": "https://avatars1.githubusercontent.com/u/38302899?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Octocoders", - "html_url": "https://github.com/Octocoders", - "followers_url": "https://api.github.com/users/Octocoders/followers", - "following_url": "https://api.github.com/users/Octocoders/following{/other_user}", - "gists_url": "https://api.github.com/users/Octocoders/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Octocoders/subscriptions", - "organizations_url": "https://api.github.com/users/Octocoders/orgs", - "repos_url": "https://api.github.com/users/Octocoders/repos", - "events_url": "https://api.github.com/users/Octocoders/events{/privacy}", - "received_events_url": "https://api.github.com/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/Octocoders/Hello-World", - "description": null, - "fork": true, - "url": "https://api.github.com/repos/Octocoders/Hello-World", - "forks_url": "https://api.github.com/repos/Octocoders/Hello-World/forks", - "keys_url": "https://api.github.com/repos/Octocoders/Hello-World/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/Octocoders/Hello-World/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/Octocoders/Hello-World/teams", - "hooks_url": "https://api.github.com/repos/Octocoders/Hello-World/hooks", - "issue_events_url": "https://api.github.com/repos/Octocoders/Hello-World/issues/events{/number}", - "events_url": "https://api.github.com/repos/Octocoders/Hello-World/events", - "assignees_url": "https://api.github.com/repos/Octocoders/Hello-World/assignees{/user}", - "branches_url": "https://api.github.com/repos/Octocoders/Hello-World/branches{/branch}", - "tags_url": "https://api.github.com/repos/Octocoders/Hello-World/tags", - "blobs_url": "https://api.github.com/repos/Octocoders/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/Octocoders/Hello-World/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/Octocoders/Hello-World/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/Octocoders/Hello-World/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/Octocoders/Hello-World/statuses/{sha}", - "languages_url": "https://api.github.com/repos/Octocoders/Hello-World/languages", - "stargazers_url": "https://api.github.com/repos/Octocoders/Hello-World/stargazers", - "contributors_url": "https://api.github.com/repos/Octocoders/Hello-World/contributors", - "subscribers_url": "https://api.github.com/repos/Octocoders/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/Octocoders/Hello-World/subscription", - "commits_url": "https://api.github.com/repos/Octocoders/Hello-World/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/Octocoders/Hello-World/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/Octocoders/Hello-World/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/Octocoders/Hello-World/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/Octocoders/Hello-World/contents/{+path}", - "compare_url": "https://api.github.com/repos/Octocoders/Hello-World/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/Octocoders/Hello-World/merges", - "archive_url": "https://api.github.com/repos/Octocoders/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/Octocoders/Hello-World/downloads", - "issues_url": "https://api.github.com/repos/Octocoders/Hello-World/issues{/number}", - "pulls_url": "https://api.github.com/repos/Octocoders/Hello-World/pulls{/number}", - "milestones_url": "https://api.github.com/repos/Octocoders/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/Octocoders/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/Octocoders/Hello-World/labels{/name}", - "releases_url": "https://api.github.com/repos/Octocoders/Hello-World/releases{/id}", - "deployments_url": "https://api.github.com/repos/Octocoders/Hello-World/deployments", - "created_at": "2019-05-15T15:20:42Z", - "updated_at": "2019-05-15T15:20:45Z", - "pushed_at": "2019-05-15T15:20:33Z", - "git_url": "git://github.com/Octocoders/Hello-World.git", - "ssh_url": "git@github.com:Octocoders/Hello-World.git", - "clone_url": "https://github.com/Octocoders/Hello-World.git", - "svn_url": "https://github.com/Octocoders/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": false, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 0, - "license": null, - "forks": 0, - "open_issues": 0, - "watchers": 0, - "default_branch": "master" - }, - "sender": { - "login": "Codertocat", - "id": 21031067, - "node_id": "MDQ6VXNlcjIxMDMxMDY3", - "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Codertocat", - "html_url": "https://github.com/Codertocat", - "followers_url": "https://api.github.com/users/Codertocat/followers", - "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", - "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", - "organizations_url": "https://api.github.com/users/Codertocat/orgs", - "repos_url": "https://api.github.com/users/Codertocat/repos", - "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - } - }, - "ping-form-encoded": { - "value": { - "payload": "%7B%22hook%22%3A%7B%22active%22%3Atrue%2C%22config%22%3A%7B%22content_type%22%3A%22form%22%2C%22insecure_ssl%22%3A%220%22%2C%22url%22%3A%22https%3A%2F%2Ftest.io%2Fform%22%7D%2C%22created_at%22%3A%222021-10-20T16%3A01%3A58Z%22%2C%22deliveries_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fhooks%2F1234%2Fdeliveries%22%2C%22events%22%3A%5B%22%2A%22%5D%2C%22id%22%3A1234%2C%22last_response%22%3A%7B%22code%22%3Anull%2C%22message%22%3Anull%2C%22status%22%3A%22unused%22%7D%2C%22name%22%3A%22web%22%2C%22ping_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fhooks%2F1234%2Fpings%22%2C%22test_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fhooks%2F1234%2Ftest%22%2C%22type%22%3A%22Repository%22%2C%22updated_at%22%3A%222021-10-20T16%3A01%3A58Z%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fhooks%2F1234%22%7D%2C%22hook_id%22%3A1234%2C%22meta%22%3A%7B%22signed_at%22%3A%222021-10-25T19%3A05%3A13%2B00%3A00%22%2C%22event%22%3A%22ping%22%2C%22nonce%22%3A%221231%22%2C%22url%22%3A%22https%3A%2F%2Ftest.io%2Fform%22%7D%2C%22repository%22%3A%7B%22allow_forking%22%3Atrue%2C%22archive_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2F%7Barchive_format%7D%7B%2Fref%7D%22%2C%22archived%22%3Afalse%2C%22assignees_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fassignees%7B%2Fuser%7D%22%2C%22blobs_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fgit%2Fblobs%7B%2Fsha%7D%22%2C%22branches_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fbranches%7B%2Fbranch%7D%22%2C%22clone_url%22%3A%22https%3A%2F%2Fgithub.com%2Ftestorg%2Ftestrepo.git%22%2C%22collaborators_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fcollaborators%7B%2Fcollaborator%7D%22%2C%22comments_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fcomments%7B%2Fnumber%7D%22%2C%22commits_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fcommits%7B%2Fsha%7D%22%2C%22compare_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fcompare%2F%7Bbase%7D...%7Bhead%7D%22%2C%22contents_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fcontents%2F%7B%2Bpath%7D%22%2C%22contributors_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fcontributors%22%2C%22created_at%22%3A%222016-12-07T19%3A17%3A19Z%22%2C%22default_branch%22%3A%22master%22%2C%22deployments_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fdeployments%22%2C%22description%22%3A%22A%2Btest%2Brepository%2Bfor%2Btest%2B.%22%2C%22disabled%22%3Afalse%2C%22downloads_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fdownloads%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fevents%22%2C%22fork%22%3Afalse%2C%22forks%22%3A0%2C%22forks_count%22%3A0%2C%22forks_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fforks%22%2C%22full_name%22%3A%22testorg%2Ftestrepo%22%2C%22git_commits_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fgit%2Fcommits%7B%2Fsha%7D%22%2C%22git_refs_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fgit%2Frefs%7B%2Fsha%7D%22%2C%22git_tags_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fgit%2Ftags%7B%2Fsha%7D%22%2C%22git_url%22%3A%22git%3A%2F%2Fgithub.com%2Ftestorg%2Ftestrepo.git%22%2C%22has_downloads%22%3Atrue%2C%22has_issues%22%3Atrue%2C%22has_pages%22%3Afalse%2C%22has_projects%22%3Atrue%2C%22has_wiki%22%3Atrue%2C%22homepage%22%3A%22%22%2C%22hooks_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fhooks%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2Ftestorg%2Ftestrepo%22%2C%22id%22%3A4567%2C%22is_template%22%3Afalse%2C%22issue_comment_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fissues%2Fcomments%7B%2Fnumber%7D%22%2C%22issue_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fissues%2Fevents%7B%2Fnumber%7D%22%2C%22issues_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fissues%7B%2Fnumber%7D%22%2C%22keys_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fkeys%7B%2Fkey_id%7D%22%2C%22labels_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Flabels%7B%2Fname%7D%22%2C%22language%22%3Anull%2C%22languages_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Flanguages%22%2C%22license%22%3Anull%2C%22merges_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fmerges%22%2C%22milestones_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fmilestones%7B%2Fnumber%7D%22%2C%22mirror_url%22%3Anull%2C%22name%22%3A%22testrepo%22%2C%22node_id%22%3A%22abcd%22%2C%22notifications_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fnotifications%7B%3Fsince%2Call%2Cparticipating%7D%22%2C%22open_issues%22%3A27%2C%22open_issues_count%22%3A27%2C%22owner%22%3A%7B%22avatar_url%22%3A%22https%3A%2F%2Favatars.githubusercontent.com%2Fu%2F1231%3Fv%3D4%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Ftestorg%2Fevents%7B%2Fprivacy%7D%22%2C%22followers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Ftestorg%2Ffollowers%22%2C%22following_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Ftestorg%2Ffollowing%7B%2Fother_user%7D%22%2C%22gists_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Ftestorg%2Fgists%7B%2Fgist_id%7D%22%2C%22gravatar_id%22%3A%22%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2Ftestorg%22%2C%22id%22%3A4312013%2C%22login%22%3A%22testorg%22%2C%22node_id%22%3A%22abcd%22%2C%22organizations_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Ftestorg%2Forgs%22%2C%22received_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Ftestorg%2Freceived_events%22%2C%22repos_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Ftestorg%2Frepos%22%2C%22site_admin%22%3Afalse%2C%22starred_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Ftestorg%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%22%2C%22subscriptions_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Ftestorg%2Fsubscriptions%22%2C%22type%22%3A%22Organization%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Ftestorg%22%7D%2C%22private%22%3Atrue%2C%22pulls_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fpulls%7B%2Fnumber%7D%22%2C%22pushed_at%22%3A%222021-10-08T17%3A33%3A23Z%22%2C%22releases_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Freleases%7B%2Fid%7D%22%2C%22size%22%3A43%2C%22ssh_url%22%3A%22git%40github.com%3Atestorg%2Ftestrepo.git%22%2C%22stargazers_count%22%3A1%2C%22stargazers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fstargazers%22%2C%22statuses_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fstatuses%2F%7Bsha%7D%22%2C%22subscribers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fsubscribers%22%2C%22subscription_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fsubscription%22%2C%22svn_url%22%3A%22https%3A%2F%2Fgithub.com%2Ftestorg%2Ftestrepo%22%2C%22tags_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Ftags%22%2C%22teams_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fteams%22%2C%22topics%22%3A%5B%5D%2C%22trees_url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%2Fgit%2Ftrees%7B%2Fsha%7D%22%2C%22updated_at%22%3A%222021-10-08T17%3A33%3A26Z%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Frepos%2Ftestorg%2Ftestrepo%22%2C%22visibility%22%3A%22private%22%2C%22watchers%22%3A1%2C%22watchers_count%22%3A1%7D%2C%22sender%22%3A%7B%22avatar_url%22%3A%22https%3A%2F%2Favatars.githubusercontent.com%2Fu%2F1385175%3Fv%3D4%22%2C%22events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Ftestuser%2Fevents%7B%2Fprivacy%7D%22%2C%22followers_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Ftestuser%2Ffollowers%22%2C%22following_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Ftestuser%2Ffollowing%7B%2Fother_user%7D%22%2C%22gists_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Ftestuser%2Fgists%7B%2Fgist_id%7D%22%2C%22gravatar_id%22%3A%22%22%2C%22html_url%22%3A%22https%3A%2F%2Fgithub.com%2Ftestuser%22%2C%22id%22%3A1385175%2C%22login%22%3A%22testuser%22%2C%22node_id%22%3A%22abcd%22%2C%22organizations_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Ftestuser%2Forgs%22%2C%22received_events_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Ftestuser%2Freceived_events%22%2C%22repos_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Ftestuser%2Frepos%22%2C%22site_admin%22%3Atrue%2C%22starred_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Ftestuser%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%22%2C%22subscriptions_url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Ftestuser%2Fsubscriptions%22%2C%22type%22%3A%22User%22%2C%22url%22%3A%22https%3A%2F%2Fapi.github.com%2Fusers%2Ftestuser%22%7D%2C%22zen%22%3A%22Responsive%2Bis%2Bbetter%2Bthan%2Bfast.%22%7D" - } - }, - "secret-scanning-alert-location-created": { - "value": { - "action": "created", - "alert": { - "number": 42, - "created_at": "2020-11-06T18:18:30Z", - "updated_at": "2020-11-06T18:18:30Z", - "url": "https://api.github.com/repos/octocat-repo/hello-world/secret-scanning/alerts/42", - "html_url": "https://github.com/octocat-repo/hello-world/security/secret-scanning/42", - "locations_url": "https://api.github.com/repos/octocat-repo/hello-world/secret-scanning/alerts/42/locations", - "state": "open", - "secret_type": "mailchimp_api_key", - "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2" - }, - "location": { - "type": "commit", - "details": { - "path": "/example/secrets.txt", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 64, - "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", - "blob_url": "https://api.github.com/repos/octocat-repo/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", - "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", - "commit_url": "https://api.github.com/repos/octocat-repo/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" - } - }, - "repository": { - "id": 186853002, - "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=", - "name": "hello-world", - "full_name": "octocat-repo/hello-world", - "private": false, - "owner": { - "login": "octocat", - "id": 21031067, - "node_id": "MDQ6VXNlcjIxMDMxMDY3", - "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://github.com/octocat-repo/hello-world", - "description": null, - "fork": false, - "url": "https://api.github.com/repos/octocat-repo/hello-world", - "forks_url": "https://api.github.com/repos/octocat-repo/hello-world/forks", - "keys_url": "https://api.github.com/repos/octocat-repo/hello-world/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/octocat-repo/hello-world/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/octocat-repo/hello-world/teams", - "hooks_url": "https://api.github.com/repos/octocat-repo/hello-world/hooks", - "issue_events_url": "https://api.github.com/repos/octocat-repo/hello-world/issues/events{/number}", - "events_url": "https://api.github.com/repos/octocat-repo/hello-world/events", - "assignees_url": "https://api.github.com/repos/octocat-repo/hello-world/assignees{/user}", - "branches_url": "https://api.github.com/repos/octocat-repo/hello-world/branches{/branch}", - "tags_url": "https://api.github.com/repos/octocat-repo/hello-world/tags", - "blobs_url": "https://api.github.com/repos/octocat-repo/hello-world/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat-repo/hello-world/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat-repo/hello-world/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/octocat-repo/hello-world/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/octocat-repo/hello-world/statuses/{sha}", - "languages_url": "https://api.github.com/repos/octocat-repo/hello-world/languages", - "stargazers_url": "https://api.github.com/repos/octocat-repo/hello-world/stargazers", - "contributors_url": "https://api.github.com/repos/octocat-repo/hello-world/contributors", - "subscribers_url": "https://api.github.com/repos/octocat-repo/hello-world/subscribers", - "subscription_url": "https://api.github.com/repos/octocat-repo/hello-world/subscription", - "commits_url": "https://api.github.com/repos/octocat-repo/hello-world/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/octocat-repo/hello-world/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/octocat-repo/hello-world/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/octocat-repo/hello-world/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/octocat-repo/hello-world/contents/{+path}", - "compare_url": "https://api.github.com/repos/octocat-repo/hello-world/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/octocat-repo/hello-world/merges", - "archive_url": "https://api.github.com/repos/octocat-repo/hello-world/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/octocat-repo/hello-world/downloads", - "issues_url": "https://api.github.com/repos/octocat-repo/hello-world/issues{/number}", - "pulls_url": "https://api.github.com/repos/octocat-repo/hello-world/pulls{/number}", - "milestones_url": "https://api.github.com/repos/octocat-repo/hello-world/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat-repo/hello-world/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/octocat-repo/hello-world/labels{/name}", - "releases_url": "https://api.github.com/repos/octocat-repo/hello-world/releases{/id}", - "deployments_url": "https://api.github.com/repos/octocat-repo/hello-world/deployments", - "created_at": "2019-05-15T15:19:25Z", - "updated_at": "2019-05-15T15:21:03Z", - "pushed_at": "2019-05-15T15:20:57Z", - "git_url": "git://github.com/octocat-repo/hello-world.git", - "ssh_url": "git@github.com:octocat-repo/hello-world.git", - "clone_url": "https://github.com/octocat-repo/hello-world.git", - "svn_url": "https://github.com/octocat-repo/hello-world", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 1, - "open_issues": 2, - "watchers": 0, - "default_branch": "master", - "is_template": false - }, - "sender": { - "login": "octocat", - "id": 21031067, - "node_id": "MDQ6VXNlcjIxMDMxMDY3", - "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - }, - "secret-scanning-alert-location-created-form-encoded": { - "value": { - "payload": "action%3A%20created%0A%20%20alert%3A%0A%20%20%20%20number%3A%2042%0A%20%20%20%20created_at%3A%20%272020-11-06T18%3A18%3A30Z%27%0A%20%20%20%20updated_at%3A%20%272020-11-06T18%3A18%3A30Z%27%0A%20%20%20%20url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fsecret-scanning%2Falerts%2F42%0A%20%20%20%20html_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat-repo%2Fhello-world%2Fsecurity%2Fsecret-scanning%2F42%0A%20%20%20%20locations_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fsecret-scanning%2Falerts%2F42%2Flocations%0A%20%20%20%20state%3A%20open%0A%20%20%20%20resolution%3A%20null%0A%20%20%20%20resolved_at%3A%20null%0A%20%20%20%20resolved_by%3A%20null%0A%20%20%20%20secret_type%3A%20mailchimp_api_key%0A%20%20%20%20secret%3A%20XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2%0A%20%20location%3A%0A%20%20%20%20type%3A%20commit%0A%20%20%20%20details%3A%0A%20%20%20%20%20%20path%3A%20%27%2Fexample%2Fsecrets.txt%27%0A%20%20%20%20%20%20start_line%3A%201%0A%20%20%20%20%20%20end_line%3A%201%0A%20%20%20%20%20%20start_column%3A%201%0A%20%20%20%20%20%20end_column%3A%2064%0A%20%20%20%20%20%20blob_sha%3A%20af5626b4a114abcb82d63db7c8082c3c4756e51b%0A%20%20%20%20%20%20blob_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Fblobs%2Faf5626b4a114abcb82d63db7c8082c3c4756e51b%0A%20%20%20%20%20%20commit_sha%3A%20f14d7debf9775f957cf4f1e8176da0786431f72b%0A%20%20%20%20%20%20commit_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Fcommits%2Ff14d7debf9775f957cf4f1e8176da0786431f72b%0A%20%20repository%3A%0A%20%20%20%20id%3A%20186853002%0A%20%20%20%20node_id%3A%20MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI%3D%0A%20%20%20%20name%3A%20hello-world%0A%20%20%20%20full_name%3A%20octocat-repo%2Fhello-world%0A%20%20%20%20private%3A%20false%0A%20%20%20%20owner%3A%0A%20%20%20%20%20%20login%3A%20octocat%0A%20%20%20%20%20%20id%3A%2021031067%0A%20%20%20%20%20%20node_id%3A%20MDQ6VXNlcjIxMDMxMDY3%0A%20%20%20%20%20%20avatar_url%3A%20https%3A%2F%2Favatars1.githubusercontent.com%2Fu%2F21031067%3Fv%3D4%0A%20%20%20%20%20%20gravatar_id%3A%20%27%27%0A%20%20%20%20%20%20url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%0A%20%20%20%20%20%20html_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat%0A%20%20%20%20%20%20followers_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Ffollowers%0A%20%20%20%20%20%20following_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Ffollowing%7B%2Fother_user%7D%0A%20%20%20%20%20%20gists_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fgists%7B%2Fgist_id%7D%0A%20%20%20%20%20%20starred_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%0A%20%20%20%20%20%20subscriptions_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fsubscriptions%0A%20%20%20%20%20%20organizations_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Forgs%0A%20%20%20%20%20%20repos_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Frepos%0A%20%20%20%20%20%20events_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fevents%7B%2Fprivacy%7D%0A%20%20%20%20%20%20received_events_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Freceived_events%0A%20%20%20%20%20%20type%3A%20User%0A%20%20%20%20%20%20site_admin%3A%20false%0A%20%20%20%20html_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat-repo%2Fhello-world%0A%20%20%20%20description%3A%0A%20%20%20%20fork%3A%20false%0A%20%20%20%20url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%0A%20%20%20%20forks_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fforks%0A%20%20%20%20keys_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fkeys%7B%2Fkey_id%7D%0A%20%20%20%20collaborators_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcollaborators%7B%2Fcollaborator%7D%0A%20%20%20%20teams_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fteams%0A%20%20%20%20hooks_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fhooks%0A%20%20%20%20issue_events_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fissues%2Fevents%7B%2Fnumber%7D%0A%20%20%20%20events_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fevents%0A%20%20%20%20assignees_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fassignees%7B%2Fuser%7D%0A%20%20%20%20branches_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fbranches%7B%2Fbranch%7D%0A%20%20%20%20tags_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Ftags%0A%20%20%20%20blobs_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Fblobs%7B%2Fsha%7D%0A%20%20%20%20git_tags_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Ftags%7B%2Fsha%7D%0A%20%20%20%20git_refs_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Frefs%7B%2Fsha%7D%0A%20%20%20%20trees_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Ftrees%7B%2Fsha%7D%0A%20%20%20%20statuses_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fstatuses%2F%7Bsha%7D%0A%20%20%20%20languages_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Flanguages%0A%20%20%20%20stargazers_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fstargazers%0A%20%20%20%20contributors_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcontributors%0A%20%20%20%20subscribers_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fsubscribers%0A%20%20%20%20subscription_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fsubscription%0A%20%20%20%20commits_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcommits%7B%2Fsha%7D%0A%20%20%20%20git_commits_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fgit%2Fcommits%7B%2Fsha%7D%0A%20%20%20%20comments_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcomments%7B%2Fnumber%7D%0A%20%20%20%20issue_comment_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fissues%2Fcomments%7B%2Fnumber%7D%0A%20%20%20%20contents_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcontents%2F%7B%2Bpath%7D%0A%20%20%20%20compare_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fcompare%2F%7Bbase%7D...%7Bhead%7D%0A%20%20%20%20merges_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fmerges%0A%20%20%20%20archive_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2F%7Barchive_format%7D%7B%2Fref%7D%0A%20%20%20%20downloads_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fdownloads%0A%20%20%20%20issues_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fissues%7B%2Fnumber%7D%0A%20%20%20%20pulls_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fpulls%7B%2Fnumber%7D%0A%20%20%20%20milestones_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fmilestones%7B%2Fnumber%7D%0A%20%20%20%20notifications_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fnotifications%7B%3Fsince%2Call%2Cparticipating%7D%0A%20%20%20%20labels_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Flabels%7B%2Fname%7D%0A%20%20%20%20releases_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Freleases%7B%2Fid%7D%0A%20%20%20%20deployments_url%3A%20https%3A%2F%2Fapi.github.com%2Frepos%2Foctocat-repo%2Fhello-world%2Fdeployments%0A%20%20%20%20created_at%3A%20%272019-05-15T15%3A19%3A25Z%27%0A%20%20%20%20updated_at%3A%20%272019-05-15T15%3A21%3A03Z%27%0A%20%20%20%20pushed_at%3A%20%272019-05-15T15%3A20%3A57Z%27%0A%20%20%20%20git_url%3A%20git%3A%2F%2Fgithub.com%2Foctocat-repo%2Fhello-world.git%0A%20%20%20%20ssh_url%3A%20git%40github.com%3Aoctocat-repo%2Fhello-world.git%0A%20%20%20%20clone_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat-repo%2Fhello-world.git%0A%20%20%20%20svn_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat-repo%2Fhello-world%0A%20%20%20%20homepage%3A%0A%20%20%20%20size%3A%200%0A%20%20%20%20stargazers_count%3A%200%0A%20%20%20%20watchers_count%3A%200%0A%20%20%20%20language%3A%20Ruby%0A%20%20%20%20has_issues%3A%20true%0A%20%20%20%20has_projects%3A%20true%0A%20%20%20%20has_downloads%3A%20true%0A%20%20%20%20has_wiki%3A%20true%0A%20%20%20%20has_pages%3A%20true%0A%20%20%20%20forks_count%3A%201%0A%20%20%20%20mirror_url%3A%0A%20%20%20%20archived%3A%20false%0A%20%20%20%20disabled%3A%20false%0A%20%20%20%20open_issues_count%3A%202%0A%20%20%20%20license%3A%0A%20%20%20%20forks%3A%201%0A%20%20%20%20open_issues%3A%202%0A%20%20%20%20watchers%3A%200%0A%20%20%20%20default_branch%3A%20master%0A%20%20%20%20is_template%3A%20false%0A%20%20sender%3A%0A%20%20%20%20login%3A%20octocat%0A%20%20%20%20id%3A%2021031067%0A%20%20%20%20node_id%3A%20MDQ6VXNlcjIxMDMxMDY3%0A%20%20%20%20avatar_url%3A%20https%3A%2F%2Favatars1.githubusercontent.com%2Fu%2F21031067%3Fv%3D4%0A%20%20%20%20gravatar_id%3A%20%27%27%0A%20%20%20%20url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%0A%20%20%20%20html_url%3A%20https%3A%2F%2Fgithub.com%2Foctocat%0A%20%20%20%20followers_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Ffollowers%0A%20%20%20%20following_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Ffollowing%7B%2Fother_user%7D%0A%20%20%20%20gists_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fgists%7B%2Fgist_id%7D%0A%20%20%20%20starred_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fstarred%7B%2Fowner%7D%7B%2Frepo%7D%0A%20%20%20%20subscriptions_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fsubscriptions%0A%20%20%20%20organizations_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Forgs%0A%20%20%20%20repos_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Frepos%0A%20%20%20%20events_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Fevents%7B%2Fprivacy%7D%0A%20%20%20%20received_events_url%3A%20https%3A%2F%2Fapi.github.com%2Fusers%2Foctocat%2Freceived_events%0A%20%20%20%20type%3A%20User%0A%20%20%20%20site_admin%3A%20false%0A" - } - } - }, - "parameters": { - "per-page": { - "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { "type": "integer", "default": 30 } - }, - "page": { - "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { "type": "integer", "default": 1 } - }, - "hook-id": { - "name": "hook_id", - "description": "The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery.", - "in": "path", - "required": true, - "schema": { "type": "integer" } - }, - "direction": { - "name": "direction", - "description": "The direction to sort the results by.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": ["asc", "desc"], - "default": "desc" - } - }, - "key-ids": { - "name": "key_ids", - "description": "The unique identifier of the key.", - "in": "path", - "required": true, - "schema": { "type": "string" } - }, - "team-id": { - "name": "team_id", - "description": "The unique identifier of the team.", - "in": "path", - "required": true, - "schema": { "type": "integer" } - }, - "username": { - "name": "username", - "description": "The handle for the GitHub user account.", - "in": "path", - "required": true, - "schema": { "type": "string" } - }, - "org": { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { "type": "string" } - }, - "pre-receive-environment-id": { - "name": "pre_receive_environment_id", - "description": "The unique identifier of the pre-receive environment.", - "in": "path", - "required": true, - "schema": { "type": "integer" } - }, - "pre-receive-hook-id": { - "name": "pre_receive_hook_id", - "description": "The unique identifier of the pre-receive hook.", - "in": "path", - "required": true, - "schema": { "type": "integer" } - }, - "token-id": { - "name": "token_id", - "description": "The unique identifier of the token.", - "in": "path", - "required": true, - "schema": { "type": "integer" } - }, - "pagination-before": { - "name": "before", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.13/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "required": false, - "schema": { "type": "string" } - }, - "pagination-after": { - "name": "after", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.13/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "required": false, - "schema": { "type": "string" } - }, - "ghsa_id": { - "name": "ghsa_id", - "description": "The GHSA (GitHub Security Advisory) identifier of the advisory.", - "in": "path", - "required": true, - "schema": { "type": "string" } - }, - "cursor": { - "name": "cursor", - "description": "Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous page cursors.", - "in": "query", - "required": false, - "schema": { "type": "string" } - }, - "delivery-id": { - "name": "delivery_id", - "in": "path", - "required": true, - "schema": { "type": "integer" } - }, - "since": { - "name": "since", - "description": "Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.", - "in": "query", - "required": false, - "schema": { "type": "string", "format": "date-time" } - }, - "installation-id": { - "name": "installation_id", - "description": "The unique identifier of the installation.", - "in": "path", - "required": true, - "schema": { "type": "integer" }, - "examples": { "default": { "value": 1 } } - }, - "grant-id": { - "name": "grant_id", - "description": "The unique identifier of the grant.", - "in": "path", - "required": true, - "schema": { "type": "integer" } - }, - "client-id": { - "name": "client_id", - "in": "path", - "required": true, - "description": "The client ID of the GitHub app.", - "schema": { "type": "string" }, - "examples": { "default": { "value": "Iv1.8a61f9b3a7aba766" } } - }, - "app-slug": { - "name": "app_slug", - "in": "path", - "required": true, - "schema": { "type": "string" } - }, - "oauth-client-id": { - "name": "client_id", - "in": "path", - "required": true, - "description": "The client ID of the OAuth app.", - "schema": { "type": "string" }, - "examples": { "default": { "value": "abcde12345fghij67890" } } - }, - "authorization-id": { - "name": "authorization_id", - "description": "The unique identifier of the authorization.", - "in": "path", - "required": true, - "schema": { "type": "integer" } - }, - "enterprise": { - "name": "enterprise", - "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", - "in": "path", - "required": true, - "schema": { "type": "string" } - }, - "org-id": { - "name": "org_id", - "description": "The unique identifier of the organization.", - "in": "path", - "required": true, - "schema": { "type": "integer" } - }, - "visible-to-organization": { - "name": "visible_to_organization", - "description": "Only return runner groups that are allowed to be used by this organization.", - "in": "query", - "required": false, - "schema": { "type": "string" } - }, - "runner-group-id": { - "name": "runner_group_id", - "description": "Unique identifier of the self-hosted runner group.", - "in": "path", - "required": true, - "schema": { "type": "integer" } - }, - "runner-id": { - "name": "runner_id", - "description": "Unique identifier of the self-hosted runner.", - "in": "path", - "required": true, - "schema": { "type": "integer" } - }, - "runner-label-name": { - "name": "name", - "description": "The name of a self-hosted runner's custom label.", - "in": "path", - "required": true, - "schema": { "type": "string" } - }, - "audit-log-enterprise-phrase": { - "name": "phrase", - "description": "A search phrase. For more information, see [Searching the audit log](https://docs.github.com/enterprise-server@3.13/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/searching-the-audit-log-for-your-enterprise#searching-the-audit-log).", - "in": "query", - "required": false, - "schema": { "type": "string" } - }, - "audit-log-include": { - "name": "include", - "description": "The event types to include:\n\n- `web` - returns web (non-Git) events.\n- `git` - returns Git events.\n- `all` - returns both web and Git events.\n\nThe default is `web`.", - "in": "query", - "required": false, - "schema": { "type": "string", "enum": ["web", "git", "all"] } - }, - "audit-log-after": { - "name": "after", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.13/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor.", - "in": "query", - "required": false, - "schema": { "type": "string" } - }, - "audit-log-before": { - "name": "before", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.13/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor.", - "in": "query", - "required": false, - "schema": { "type": "string" } - }, - "audit-log-order": { - "name": "order", - "description": "The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`.\n\nThe default is `desc`.", - "in": "query", - "required": false, - "schema": { "type": "string", "enum": ["desc", "asc"] } - }, - "tool-name": { - "name": "tool_name", - "description": "The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, but not both.", - "in": "query", - "required": false, - "schema": { - "$ref": "#/components/schemas/code-scanning-analysis-tool-name" - } - }, - "tool-guid": { - "name": "tool_guid", - "description": "The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in their analysis data. You can specify the tool by using either `tool_guid` or `tool_name`, but not both.", - "in": "query", - "required": false, - "schema": { - "$ref": "#/components/schemas/code-scanning-analysis-tool-guid" - } - }, - "dependabot-alert-comma-separated-states": { - "name": "state", - "in": "query", - "description": "A comma-separated list of states. If specified, only alerts with these states will be returned.\n\nCan be: `auto_dismissed`, `dismissed`, `fixed`, `open`", - "schema": { "type": "string" } - }, - "dependabot-alert-comma-separated-severities": { - "name": "severity", - "in": "query", - "description": "A comma-separated list of severities. If specified, only alerts with these severities will be returned.\n\nCan be: `low`, `medium`, `high`, `critical`", - "schema": { "type": "string" } - }, - "dependabot-alert-comma-separated-ecosystems": { - "name": "ecosystem", - "in": "query", - "description": "A comma-separated list of ecosystems. If specified, only alerts for these ecosystems will be returned.\n\nCan be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust`", - "schema": { "type": "string" } - }, - "dependabot-alert-comma-separated-packages": { - "name": "package", - "in": "query", - "description": "A comma-separated list of package names. If specified, only alerts for these packages will be returned.", - "schema": { "type": "string" } - }, - "dependabot-alert-comma-separated-has": { - "name": "has", - "in": "query", - "description": "Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple `has` filters can be passed to filter for alerts that have all of the values. Currently, only `patch` is supported.", - "schema": { - "oneOf": [ - { "type": "string" }, - { - "type": "array", - "items": { "type": "string", "enum": ["patch"] } - } - ] - } - }, - "dependabot-alert-scope": { - "name": "scope", - "in": "query", - "description": "The scope of the vulnerable dependency. If specified, only alerts with this scope will be returned.", - "schema": { "type": "string", "enum": ["development", "runtime"] } - }, - "dependabot-alert-sort": { - "name": "sort", - "in": "query", - "description": "The property by which to sort the results.\n`created` means when the alert was created.\n`updated` means when the alert's state last changed.", - "schema": { - "type": "string", - "enum": ["created", "updated"], - "default": "created" - } - }, - "pagination-first": { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - "pagination-last": { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { "type": "integer", "minimum": 1, "maximum": 100 } - }, - "secret-scanning-alert-state": { - "name": "state", - "in": "query", - "description": "Set to `open` or `resolved` to only list secret scanning alerts in a specific state.", - "required": false, - "schema": { "type": "string", "enum": ["open", "resolved"] } - }, - "secret-scanning-alert-secret-type": { - "name": "secret_type", - "in": "query", - "description": "A comma-separated list of secret types to return. By default all secret types are returned. See \"[Supported secret scanning patterns](https://docs.github.com/enterprise-server@3.13/enterprise-cloud@latest/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", - "required": false, - "schema": { "type": "string" } - }, - "secret-scanning-alert-resolution": { - "name": "resolution", - "in": "query", - "description": "A comma-separated list of resolutions. Only secret scanning alerts with one of these resolutions are listed. Valid resolutions are `false_positive`, `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`.", - "required": false, - "schema": { "type": "string" } - }, - "secret-scanning-alert-sort": { - "name": "sort", - "description": "The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": ["created", "updated"], - "default": "created" - } - }, - "secret-scanning-alert-validity": { - "name": "validity", - "in": "query", - "description": "A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`.", - "required": false, - "schema": { "type": "string" } - }, - "enterprise-security-product": { - "name": "security_product", - "in": "path", - "description": "The security feature to enable or disable.", - "required": true, - "schema": { - "type": "string", - "enum": [ - "advanced_security", - "advanced_security_user_namespace", - "dependabot_alerts", - "secret_scanning", - "secret_scanning_push_protection" - ] - } - }, - "enterprise-security-product-enablement": { - "name": "enablement", - "in": "path", - "description": "The action to take.\n\n`enable_all` means to enable the specified security feature for all repositories in the enterprise.\n`disable_all` means to disable the specified security feature for all repositories in the enterprise.", - "required": true, - "schema": { "type": "string", "enum": ["enable_all", "disable_all"] } - }, - "gist-id": { - "name": "gist_id", - "description": "The unique identifier of the gist.", - "in": "path", - "required": true, - "schema": { "type": "string" } - }, - "comment-id": { - "name": "comment_id", - "description": "The unique identifier of the comment.", - "in": "path", - "required": true, - "schema": { "type": "integer", "format": "int64" } - }, - "labels": { - "name": "labels", - "description": "A list of comma separated label names. Example: `bug,ui,@high`", - "in": "query", - "required": false, - "schema": { "type": "string" } - }, - "license-apply": { - "name": "apply", - "description": "Whether to instantly apply changes from the license. Otherwise the new license can be applied using the [`/manage/v1/config/apply`](https://docs.github.com/enterprise-server@3.13/rest/enterprise-admin/manage-ghes#start-configuration-apply-process) endpoint.", - "in": "query", - "required": false, - "schema": { "type": "boolean" } - }, - "uuid": { - "name": "uuid", - "description": "The UUID which identifies a node.", - "in": "query", - "required": false, - "schema": { "type": "string" } - }, - "cluster-roles": { - "name": "cluster_roles", - "description": "The cluster roles from the cluster configuration file.", - "in": "query", - "required": false, - "schema": { "type": "string" } - }, - "owner": { - "name": "owner", - "description": "The account owner of the repository. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { "type": "string" } - }, - "repo": { - "name": "repo", - "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { "type": "string" } - }, - "all": { - "name": "all", - "description": "If `true`, show notifications marked as read.", - "in": "query", - "required": false, - "schema": { "type": "boolean", "default": false } - }, - "participating": { - "name": "participating", - "description": "If `true`, only shows notifications in which the user is directly participating or mentioned.", - "in": "query", - "required": false, - "schema": { "type": "boolean", "default": false } - }, - "before": { - "name": "before", - "description": "Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.", - "in": "query", - "required": false, - "schema": { "type": "string", "format": "date-time" } - }, - "thread-id": { - "name": "thread_id", - "description": "The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications (for example with the [`GET /notifications` operation](https://docs.github.com/enterprise-server@3.13/rest/activity/notifications#list-notifications-for-the-authenticated-user)).", - "in": "path", - "required": true, - "schema": { "type": "integer" } - }, - "since-org": { - "name": "since", - "description": "An organization ID. Only return organizations with an ID greater than this ID.", - "in": "query", - "required": false, - "schema": { "type": "integer" } - }, - "repository-id": { - "name": "repository_id", - "description": "The unique identifier of the repository.", - "in": "path", - "required": true, - "schema": { "type": "integer" } - }, - "visible-to-repository": { - "name": "visible_to_repository", - "description": "Only return runner groups that are allowed to be used by this repository.", - "in": "query", - "required": false, - "schema": { "type": "string" } - }, - "secret-name": { - "name": "secret_name", - "description": "The name of the secret.", - "in": "path", - "required": true, - "schema": { "type": "string" } - }, - "variables-per-page": { - "name": "per_page", - "description": "The number of results per page (max 30). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { "type": "integer", "default": 10 } - }, - "variable-name": { - "name": "name", - "description": "The name of the variable.", - "in": "path", - "required": true, - "schema": { "type": "string" } - }, - "audit-log-phrase": { - "name": "phrase", - "description": "A search phrase. For more information, see [Searching the audit log](https://docs.github.com/enterprise-server@3.13/github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization#searching-the-audit-log).", - "in": "query", - "required": false, - "schema": { "type": "string" } - }, - "role-id": { - "name": "role_id", - "description": "The unique identifier of the role.", - "in": "path", - "required": true, - "schema": { "type": "integer" } - }, - "group-id": { - "name": "group_id", - "description": "The unique identifier of the group.", - "in": "path", - "required": true, - "schema": { "type": "integer" } - }, - "members-per-page": { - "name": "per_page", - "description": "The number of results per page for the \"members\" array (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { "type": "integer", "default": 30 } - }, - "members-page": { - "name": "page", - "description": "The page number of the \"members\" array results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { "type": "integer", "default": 1 } - }, - "migration-id": { - "name": "migration_id", - "description": "The unique identifier of the migration.", - "in": "path", - "required": true, - "schema": { "type": "integer" } - }, - "repo-name": { - "name": "repo_name", - "description": "repo_name parameter", - "in": "path", - "required": true, - "schema": { "type": "string" } - }, - "package-visibility": { - "name": "visibility", - "description": "The selected visibility of the packages. This parameter is optional and only filters an existing result set.\n\nThe `internal` visibility is only supported for GitHub Packages registries that allow for granular permissions. For other ecosystems `internal` is synonymous with `private`.\nFor the list of GitHub Packages registries that support granular permissions, see \"[About permissions for GitHub Packages](https://docs.github.com/enterprise-server@3.13/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages).\"", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": ["public", "private", "internal"] - } - }, - "package-type": { - "name": "package_type", - "description": "The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry.", - "in": "path", - "required": true, - "schema": { - "type": "string", - "enum": ["npm", "maven", "rubygems", "docker", "nuget", "container"] - } - }, - "package-name": { - "name": "package_name", - "description": "The name of the package.", - "in": "path", - "required": true, - "schema": { "type": "string" } - }, - "package-version-id": { - "name": "package_version_id", - "description": "Unique identifier of the package version.", - "in": "path", - "required": true, - "schema": { "type": "integer" } - }, - "personal-access-token-sort": { - "name": "sort", - "description": "The property by which to sort the results.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": ["created_at"], - "default": "created_at" - } - }, - "personal-access-token-owner": { - "name": "owner", - "description": "A list of owner usernames to use to filter the results.", - "in": "query", - "required": false, - "schema": { - "type": "array", - "maxItems": 10, - "items": { "type": "string" }, - "examples": ["owner[]=octocat1,owner[]=octocat2"] - } - }, - "personal-access-token-repository": { - "name": "repository", - "description": "The name of the repository to use to filter the results.", - "in": "query", - "required": false, - "schema": { "type": "string", "examples": ["Hello-World"] } - }, - "personal-access-token-permission": { - "name": "permission", - "description": "The permission to use to filter the results.", - "in": "query", - "required": false, - "schema": { "type": "string", "examples": ["issues_read"] } - }, - "personal-access-token-before": { - "name": "last_used_before", - "description": "Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.", - "in": "query", - "required": false, - "schema": { "type": "string", "format": "date-time" } - }, - "personal-access-token-after": { - "name": "last_used_after", - "description": "Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.", - "in": "query", - "required": false, - "schema": { "type": "string", "format": "date-time" } - }, - "personal-access-token-token-id": { - "name": "token_id", - "description": "The ID of the token", - "in": "query", - "required": false, - "schema": { - "type": "array", - "maxItems": 50, - "items": { "type": "string" }, - "examples": ["token_id[]=1,token_id[]=2"] - } - }, - "fine-grained-personal-access-token-id": { - "name": "pat_id", - "description": "The unique identifier of the fine-grained personal access token.", - "in": "path", - "required": true, - "schema": { "type": "integer" } - }, - "custom-property-name": { - "name": "custom_property_name", - "description": "The custom property name", - "in": "path", - "required": true, - "schema": { "type": "string" } - }, - "ruleset-targets": { - "name": "targets", - "description": "A comma-separated list of rule targets to filter by.\nIf provided, only rulesets that apply to the specified targets will be returned.\nFor example, `branch,tag,push`.\n", - "in": "query", - "required": false, - "schema": { "type": "string", "examples": ["branch,tag,push"] } - }, - "ref-in-query": { - "name": "ref", - "description": "The name of the ref. Cannot contain wildcard characters. When specified, only rule evaluations triggered for this ref will be returned.", - "in": "query", - "schema": { "type": "string" }, - "x-multi-segment": true - }, - "repository-name-in-query": { - "name": "repository_name", - "description": "The name of the repository to filter on.", - "in": "query", - "schema": { "type": "string" } - }, - "time-period": { - "name": "time_period", - "description": "The time period to filter by.\n\nFor example, `day` will filter for rule suites that occurred in the past 24 hours, and `week` will filter for insights that occurred in the past 7 days (168 hours).", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": ["hour", "day", "week", "month"], - "default": "day" - } - }, - "actor-name-in-query": { - "name": "actor_name", - "description": "The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned.", - "in": "query", - "schema": { "type": "string" } - }, - "rule-suite-result": { - "name": "rule_suite_result", - "description": "The rule results to filter on. When specified, only suites with this result will be returned.", - "in": "query", - "schema": { - "type": "string", - "enum": ["pass", "fail", "bypass", "all"], - "default": "all" - } - }, - "rule-suite-id": { - "name": "rule_suite_id", - "description": "The unique identifier of the rule suite result.\nTo get this ID, you can use [GET /repos/{owner}/{repo}/rulesets/rule-suites](https://docs.github.com/enterprise-server@3.13/rest/repos/rule-suites#list-repository-rule-suites)\nfor repositories and [GET /orgs/{org}/rulesets/rule-suites](https://docs.github.com/enterprise-server@3.13/rest/orgs/rule-suites#list-organization-rule-suites)\nfor organizations.", - "in": "path", - "required": true, - "schema": { "type": "integer" } - }, - "secret-scanning-pagination-before-org-repo": { - "name": "before", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.13/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To receive an initial cursor on your first request, include an empty \"before\" query string.", - "in": "query", - "required": false, - "schema": { "type": "string" } - }, - "secret-scanning-pagination-after-org-repo": { - "name": "after", - "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.13/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To receive an initial cursor on your first request, include an empty \"after\" query string.", - "in": "query", - "required": false, - "schema": { "type": "string" } - }, - "team-slug": { - "name": "team_slug", - "description": "The slug of the team name.", - "in": "path", - "required": true, - "schema": { "type": "string" } - }, - "discussion-number": { - "name": "discussion_number", - "description": "The number that identifies the discussion.", - "in": "path", - "required": true, - "schema": { "type": "integer" } - }, - "comment-number": { - "name": "comment_number", - "description": "The number that identifies the comment.", - "in": "path", - "required": true, - "schema": { "type": "integer" } - }, - "reaction-id": { - "name": "reaction_id", - "description": "The unique identifier of the reaction.", - "in": "path", - "required": true, - "schema": { "type": "integer" } - }, - "project-id": { - "name": "project_id", - "description": "The unique identifier of the project.", - "in": "path", - "required": true, - "schema": { "type": "integer" } - }, - "security-product": { - "name": "security_product", - "in": "path", - "description": "The security feature to enable or disable.", - "required": true, - "schema": { - "type": "string", - "enum": [ - "dependency_graph", - "dependabot_alerts", - "dependabot_security_updates", - "advanced_security", - "code_scanning_default_setup", - "secret_scanning", - "secret_scanning_push_protection" - ] - } - }, - "org-security-product-enablement": { - "name": "enablement", - "in": "path", - "description": "The action to take.\n\n`enable_all` means to enable the specified security feature for all repositories in the organization.\n`disable_all` means to disable the specified security feature for all repositories in the organization.", - "required": true, - "schema": { "type": "string", "enum": ["enable_all", "disable_all"] } - }, - "card-id": { - "name": "card_id", - "description": "The unique identifier of the card.", - "in": "path", - "required": true, - "schema": { "type": "integer" } - }, - "column-id": { - "name": "column_id", - "description": "The unique identifier of the column.", - "in": "path", - "required": true, - "schema": { "type": "integer" } - }, - "artifact-name": { - "name": "name", - "description": "The name field of an artifact. When specified, only artifacts with this name will be returned.", - "in": "query", - "required": false, - "schema": { "type": "string" } - }, - "artifact-id": { - "name": "artifact_id", - "description": "The unique identifier of the artifact.", - "in": "path", - "required": true, - "schema": { "type": "integer" } - }, - "actions-cache-git-ref-full": { - "name": "ref", - "description": "The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference a pull request use `refs/pull//merge`.", - "in": "query", - "required": false, - "schema": { "type": "string" } - }, - "actions-cache-key": { - "name": "key", - "description": "An explicit key or prefix for identifying the cache", - "in": "query", - "required": false, - "schema": { "type": "string" } - }, - "actions-cache-list-sort": { - "name": "sort", - "description": "The property to sort the results by. `created_at` means when the cache was created. `last_accessed_at` means when the cache was last accessed. `size_in_bytes` is the size of the cache in bytes.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": ["created_at", "last_accessed_at", "size_in_bytes"], - "default": "last_accessed_at" - } - }, - "actions-cache-key-required": { - "name": "key", - "description": "A key for identifying the cache.", - "in": "query", - "required": true, - "schema": { "type": "string" } - }, - "cache-id": { - "name": "cache_id", - "description": "The unique identifier of the GitHub Actions cache.", - "in": "path", - "required": true, - "schema": { "type": "integer" } - }, - "job-id": { - "name": "job_id", - "description": "The unique identifier of the job.", - "in": "path", - "required": true, - "schema": { "type": "integer" } - }, - "actor": { - "name": "actor", - "description": "Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run.", - "in": "query", - "required": false, - "schema": { "type": "string" } - }, - "workflow-run-branch": { - "name": "branch", - "description": "Returns workflow runs associated with a branch. Use the name of the branch of the `push`.", - "in": "query", - "required": false, - "schema": { "type": "string" } - }, - "event": { - "name": "event", - "description": "Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see \"[Events that trigger workflows](https://docs.github.com/enterprise-server@3.13/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows).\"", - "in": "query", - "required": false, - "schema": { "type": "string" } - }, - "workflow-run-status": { - "name": "status", - "description": "Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status can be `in_progress`. Only GitHub Actions can set a status of `waiting`, `pending`, or `requested`.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "completed", - "action_required", - "cancelled", - "failure", - "neutral", - "skipped", - "stale", - "success", - "timed_out", - "in_progress", - "queued", - "requested", - "waiting", - "pending" - ] - } - }, - "created": { - "name": "created", - "description": "Returns workflow runs created within the given date-time range. For more information on the syntax, see \"[Understanding the search syntax](https://docs.github.com/enterprise-server@3.13/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates).\"", - "in": "query", - "required": false, - "schema": { "type": "string", "format": "date-time" } - }, - "exclude-pull-requests": { - "name": "exclude_pull_requests", - "description": "If `true` pull requests are omitted from the response (empty array).", - "in": "query", - "required": false, - "schema": { "type": "boolean", "default": false } - }, - "workflow-run-check-suite-id": { - "name": "check_suite_id", - "description": "Returns workflow runs with the `check_suite_id` that you specify.", - "in": "query", - "schema": { "type": "integer" } - }, - "workflow-run-head-sha": { - "name": "head_sha", - "description": "Only returns workflow runs that are associated with the specified `head_sha`.", - "in": "query", - "required": false, - "schema": { "type": "string" } - }, - "run-id": { - "name": "run_id", - "description": "The unique identifier of the workflow run.", - "in": "path", - "required": true, - "schema": { "type": "integer" } - }, - "attempt-number": { - "name": "attempt_number", - "description": "The attempt number of the workflow run.", - "in": "path", - "required": true, - "schema": { "type": "integer" } - }, - "workflow-id": { - "name": "workflow_id", - "in": "path", - "description": "The ID of the workflow. You can also pass the workflow file name as a string.", - "required": true, - "schema": { "oneOf": [{ "type": "integer" }, { "type": "string" }] } - }, - "autolink-id": { - "name": "autolink_id", - "description": "The unique identifier of the autolink.", - "in": "path", - "required": true, - "schema": { "type": "integer" } - }, - "branch": { - "name": "branch", - "description": "The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-server@3.13/graphql).", - "in": "path", - "required": true, - "schema": { "type": "string" }, - "x-multi-segment": true - }, - "check-run-id": { - "name": "check_run_id", - "description": "The unique identifier of the check run.", - "in": "path", - "required": true, - "schema": { "type": "integer" } - }, - "check-suite-id": { - "name": "check_suite_id", - "description": "The unique identifier of the check suite.", - "in": "path", - "required": true, - "schema": { "type": "integer" } - }, - "check-name": { - "name": "check_name", - "description": "Returns check runs with the specified `name`.", - "in": "query", - "required": false, - "schema": { "type": "string" } - }, - "status": { - "name": "status", - "description": "Returns check runs with the specified `status`.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": ["queued", "in_progress", "completed"] - } - }, - "git-ref": { - "name": "ref", - "description": "The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`.", - "in": "query", - "required": false, - "schema": { "$ref": "#/components/schemas/code-scanning-ref" } - }, - "alert-number": { - "name": "alert_number", - "in": "path", - "description": "The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the `number` field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation.", - "required": true, - "schema": { "$ref": "#/components/schemas/alert-number" } - }, - "commit-sha": { - "name": "commit_sha", - "description": "The SHA of the commit.", - "in": "path", - "required": true, - "schema": { "type": "string" }, - "x-multi-segment": true - }, - "commit-ref": { - "name": "ref", - "description": "The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see \"[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)\" in the Git documentation.", - "in": "path", - "required": true, - "schema": { "type": "string" }, - "x-multi-segment": true - }, - "dependabot-alert-comma-separated-manifests": { - "name": "manifest", - "in": "query", - "description": "A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned.", - "schema": { "type": "string" } - }, - "dependabot-alert-number": { - "name": "alert_number", - "in": "path", - "description": "The number that identifies a Dependabot alert in its repository.\nYou can find this at the end of the URL for a Dependabot alert within GitHub,\nor in `number` fields in the response from the\n`GET /repos/{owner}/{repo}/dependabot/alerts` operation.", - "required": true, - "schema": { "$ref": "#/components/schemas/alert-number" } - }, - "manifest-path": { - "name": "name", - "description": "The full path, relative to the repository root, of the dependency manifest file.", - "in": "query", - "required": false, - "schema": { "type": "string" } - }, - "deployment-id": { - "name": "deployment_id", - "description": "deployment_id parameter", - "in": "path", - "required": true, - "schema": { "type": "integer" } - }, - "environment-name": { - "name": "environment_name", - "in": "path", - "required": true, - "description": "The name of the environment. The name must be URL encoded. For example, any slashes in the name must be replaced with `%2F`.", - "schema": { "type": "string" } - }, - "branch-policy-id": { - "name": "branch_policy_id", - "in": "path", - "required": true, - "description": "The unique identifier of the branch policy.", - "schema": { "type": "integer" } - }, - "protection-rule-id": { - "name": "protection_rule_id", - "description": "The unique identifier of the protection rule.", - "in": "path", - "required": true, - "schema": { "type": "integer" } - }, - "git-ref-only": { - "name": "ref", - "description": "The Git reference. For more information, see \"[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)\" in the Git documentation.", - "in": "path", - "required": true, - "example": "heads/feature-a", - "schema": { "type": "string" }, - "x-multi-segment": true - }, - "invitation-id": { - "name": "invitation_id", - "description": "The unique identifier of the invitation.", - "in": "path", - "required": true, - "schema": { "type": "integer" } - }, - "sort": { - "name": "sort", - "description": "The property to sort the results by.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": ["created", "updated"], - "default": "created" - } - }, - "issue-number": { - "name": "issue_number", - "description": "The number that identifies the issue.", - "in": "path", - "required": true, - "schema": { "type": "integer" } - }, - "key-id": { - "name": "key_id", - "description": "The unique identifier of the key.", - "in": "path", - "required": true, - "schema": { "type": "integer" } - }, - "milestone-number": { - "name": "milestone_number", - "description": "The number that identifies the milestone.", - "in": "path", - "required": true, - "schema": { "type": "integer" } - }, - "pages-deployment-id": { - "name": "pages_deployment_id", - "description": "The ID of the Pages deployment. You can also give the commit SHA of the deployment.", - "in": "path", - "required": true, - "schema": { "oneOf": [{ "type": "integer" }, { "type": "string" }] } - }, - "pull-number": { - "name": "pull_number", - "description": "The number that identifies the pull request.", - "in": "path", - "required": true, - "schema": { "type": "integer" } - }, - "review-id": { - "name": "review_id", - "description": "The unique identifier of the review.", - "in": "path", - "required": true, - "schema": { "type": "integer" } - }, - "asset-id": { - "name": "asset_id", - "description": "The unique identifier of the asset.", - "in": "path", - "required": true, - "schema": { "type": "integer" } - }, - "release-id": { - "name": "release_id", - "description": "The unique identifier of the release.", - "in": "path", - "required": true, - "schema": { "type": "integer" } - }, - "tag-protection-id": { - "name": "tag_protection_id", - "description": "The unique identifier of the tag protection.", - "in": "path", - "required": true, - "schema": { "type": "integer" } - }, - "since-repo": { - "name": "since", - "description": "A repository ID. Only return repositories with an ID greater than this ID.", - "in": "query", - "required": false, - "schema": { "type": "integer" } - }, - "excluded-attributes": { - "name": "excludedAttributes", - "description": "Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time.", - "in": "query", - "required": false, - "schema": { "type": "string", "examples": ["members"] } - }, - "start-index": { - "name": "startIndex", - "description": "Used for pagination: the starting index of the first result to return when paginating through values.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "default": 1, - "format": "int32", - "examples": [1] - } - }, - "count": { - "name": "count", - "description": "Used for pagination: the number of results to return per page.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "default": 30, - "format": "int32", - "examples": [1] - } - }, - "scim-group-id": { - "name": "scim_group_id", - "description": "A unique identifier of the SCIM group.", - "in": "path", - "required": true, - "schema": { - "type": "string", - "examples": ["7fce0092-d52e-4f76-b727-3955bd72c939"] - } - }, - "scim-user-id": { - "name": "scim_user_id", - "description": "The unique identifier of the SCIM user.", - "in": "path", - "required": true, - "schema": { "type": "string" } - }, - "order": { - "name": "order", - "description": "Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": ["desc", "asc"], - "default": "desc" - } - }, - "issues-advanced-search": { - "name": "advanced_search", - "description": "Set to `true` to use advanced search.\nExample: `http://api.github.com/search/issues?q={query}&advanced_search=true`", - "in": "query", - "required": false, - "schema": { "type": "string" } - }, - "gpg-key-id": { - "name": "gpg_key_id", - "description": "The unique identifier of the GPG key.", - "in": "path", - "required": true, - "schema": { "type": "integer" } - }, - "since-repo-date": { - "name": "since", - "description": "Only show repositories updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.", - "in": "query", - "required": false, - "schema": { "type": "string", "format": "date-time" } - }, - "before-repo-date": { - "name": "before", - "description": "Only show repositories updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.", - "in": "query", - "required": false, - "schema": { "type": "string", "format": "date-time" } - }, - "ssh-signing-key-id": { - "name": "ssh_signing_key_id", - "description": "The unique identifier of the SSH signing key.", - "in": "path", - "required": true, - "schema": { "type": "integer" } - }, - "sort-starred": { - "name": "sort", - "description": "The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed to.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": ["created", "updated"], - "default": "created" - } - }, - "account-id": { - "name": "account_id", - "description": "account_id parameter", - "in": "path", - "required": true, - "schema": { "type": "integer" } - }, - "since-user": { - "name": "since", - "description": "A user ID. Only return users with an ID greater than this ID.", - "in": "query", - "required": false, - "schema": { "type": "integer" } - } - }, - "headers": { - "link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { "type": "string" } - }, - "content-type": { - "example": "text/html", - "schema": { "type": "string" } - }, - "x-common-marker-version": { - "example": "0.17.4", - "schema": { "type": "string" } - }, - "x-rate-limit-limit": { - "example": 5000, - "schema": { "type": "integer" } - }, - "x-rate-limit-remaining": { - "example": 4999, - "schema": { "type": "integer" } - }, - "x-rate-limit-reset": { - "example": 1590701888, - "schema": { "type": "integer", "format": "timestamp" } - }, - "location": { - "example": "https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D", - "schema": { "type": "string" } - } - }, - "responses": { - "validation_failed_simple": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/validation-error-simple" } - } - } - }, - "not_found": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/basic-error" } - } - } - }, - "bad_request": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/basic-error" } - }, - "application/scim+json": { - "schema": { "$ref": "#/components/schemas/scim-error" } - } - } - }, - "validation_failed": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/validation-error" } - } - } - }, - "accepted": { - "description": "Accepted", - "content": { - "application/json": { - "schema": { "type": "object" }, - "examples": { "default": { "value": null } } - } - } - }, - "not_modified": { "description": "Not modified" }, - "requires_authentication": { - "description": "Requires authentication", - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/basic-error" } - } - } - }, - "forbidden": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/basic-error" } - } - } - }, - "gone": { - "description": "Gone", - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/basic-error" } - } - } - }, - "actions_runner_jitconfig": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "required": ["runner", "encoded_jit_config"], - "properties": { - "runner": { "$ref": "#/components/schemas/runner" }, - "encoded_jit_config": { - "type": "string", - "description": "The base64 encoded runner configuration." - } - } - }, - "examples": { - "default": { "$ref": "#/components/examples/runner-jitconfig" } - } - } - } - }, - "conflict": { - "description": "Conflict", - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/basic-error" } - } - } - }, - "actions_runner_labels": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "required": ["total_count", "labels"], - "properties": { - "total_count": { "type": "integer" }, - "labels": { - "type": "array", - "items": { "$ref": "#/components/schemas/runner-label" } - } - } - }, - "examples": { - "default": { "$ref": "#/components/examples/runner-labels" } - } - } - } - }, - "actions_runner_labels_readonly": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "required": ["total_count", "labels"], - "properties": { - "total_count": { "type": "integer" }, - "labels": { - "type": "array", - "items": { "$ref": "#/components/schemas/runner-label" } - } - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/runner-labels-readonly" - } - } - } - } - }, - "service_unavailable": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { "type": "string" }, - "message": { "type": "string" }, - "documentation_url": { "type": "string" } - } - } - } - } - }, - "forbidden_gist": { - "description": "Forbidden Gist", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "block": { - "type": "object", - "properties": { - "reason": { "type": "string" }, - "created_at": { "type": "string" }, - "html_url": { "type": ["string", "null"] } - } - }, - "message": { "type": "string" }, - "documentation_url": { "type": "string" } - } - } - } - } - }, - "moved_permanently": { - "description": "Moved permanently", - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/basic-error" } - } - } - }, - "package_es_list_error": { - "description": "The value of `per_page` multiplied by `page` cannot be greater than 10000." - }, - "internal_error": { - "description": "Internal Error", - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/basic-error" } - } - } - }, - "no_content": { "description": "A header with no content is returned." }, - "temporary_redirect": { - "description": "Temporary Redirect", - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/basic-error" } - } - } - }, - "code_scanning_forbidden_read": { - "description": "Response if GitHub Advanced Security is not enabled for this repository", - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/basic-error" } - } - } - }, - "code_scanning_forbidden_write": { - "description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository", - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/basic-error" } - } - } - }, - "code_scanning_conflict": { - "description": "Response if there is already a validation run in progress with a different default setup configuration", - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/basic-error" } - } - } - }, - "found": { "description": "Found" }, - "dependency_review_forbidden": { - "description": "Response for a private repository when GitHub Advanced Security is not enabled, or if used against a fork", - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/basic-error" } - } - } - }, - "unacceptable": { - "description": "Unacceptable", - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/basic-error" } - } - } - }, - "scim_bad_request": { - "description": "Bad request", - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/scim-error" } - }, - "application/scim+json": { - "schema": { "$ref": "#/components/schemas/scim-error" } - } - } - }, - "authorization_failure": { "description": "Authorization failure" }, - "permission_denied": { "description": "Permission denied" }, - "scim_too_many_requests": { - "description": "Too many requests", - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/scim-error" } - }, - "application/scim+json": { - "schema": { "$ref": "#/components/schemas/scim-error" } - } - } - }, - "scim_internal_error": { - "description": "Internal server error", - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/scim-error" } - }, - "application/scim+json": { - "schema": { "$ref": "#/components/schemas/scim-error" } - } - } - }, - "duplicate_record_detected": { - "description": "Duplicate record detected" - } - } - } -} diff --git a/cache/ghes-3.14.json b/cache/ghes-3.14.json index a45641b..77fc202 100644 --- a/cache/ghes-3.14.json +++ b/cache/ghes-3.14.json @@ -75,7 +75,10 @@ "name": "packages", "description": "Manage packages for authenticated users and organizations." }, - { "name": "projects", "description": "Interact with GitHub Projects." }, + { + "name": "projects-classic", + "description": "Interact with GitHub Projects (classic)." + }, { "name": "pulls", "description": "Interact with GitHub Pull Requests." }, { "name": "rate-limit", @@ -2364,6 +2367,306 @@ } } }, + "custom-property-created": { + "post": { + "summary": "This event occurs when there is activity relating to a custom property.\n\nFor more information, see \"[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.14/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)\". For information about the APIs to manage custom properties, see \"[Custom properties](https://docs.github.com/enterprise-server@3.14/rest/orgs/custom-properties)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Custom properties\" organization permission.", + "description": "A new custom property was created.", + "operationId": "custom-property/created", + "externalDocs": { + "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#custom_property" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-custom-property-created" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "custom_property", + "supported-webhook-types": ["business", "organization", "app"] + } + } + }, + "custom-property-deleted": { + "post": { + "summary": "This event occurs when there is activity relating to a custom property.\n\nFor more information, see \"[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.14/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)\". For information about the APIs to manage custom properties, see \"[Custom properties](https://docs.github.com/enterprise-server@3.14/rest/orgs/custom-properties)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Custom properties\" organization permission.", + "description": "A custom property was deleted.", + "operationId": "custom-property/deleted", + "externalDocs": { + "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#custom_property" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-custom-property-deleted" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "custom_property", + "supported-webhook-types": ["business", "organization", "app"] + } + } + }, + "custom-property-updated": { + "post": { + "summary": "This event occurs when there is activity relating to a custom property.\n\nFor more information, see \"[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.14/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)\". For information about the APIs to manage custom properties, see \"[Custom properties](https://docs.github.com/enterprise-server@3.14/rest/orgs/custom-properties)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Custom properties\" organization permission.", + "description": "A custom property was updated.", + "operationId": "custom-property/updated", + "externalDocs": { + "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#custom_property" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-custom-property-updated" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "custom_property", + "supported-webhook-types": ["business", "organization", "app"] + } + } + }, + "custom-property-values-updated": { + "post": { + "summary": "This event occurs when there is activity relating to custom property values for a repository.\n\nFor more information, see \"[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.14/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)\". For information about the APIs to manage custom properties for a repository, see \"[Custom properties](https://docs.github.com/enterprise-server@3.14/rest/repos/custom-properties)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Custom properties\" organization permission.", + "description": "The custom property values of a repository were updated.", + "operationId": "custom-property-values/updated", + "externalDocs": { + "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#custom-property-values" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-custom-property-values-updated" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "custom-property-values", + "supported-webhook-types": ["repository", "organization", "app"] + } + } + }, "delete": { "post": { "summary": "This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including\nbranch and tag deletions, use the [`push`](#push) webhook event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.\n\n> [!NOTE]\n> This event will not occur when more than three tags are deleted at once.", @@ -22555,6 +22858,10 @@ ] }, "app_id": { "type": "integer", "examples": [1] }, + "client_id": { + "type": "string", + "examples": ["Iv1.ab1112223334445c"] + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -25223,6 +25530,75 @@ }, "required": ["total", "completed", "percent_completed"] }, + "issue-dependencies-summary": { + "title": "Issue Dependencies Summary", + "type": "object", + "properties": { + "blocked_by": { "type": "integer" }, + "blocking": { "type": "integer" }, + "total_blocked_by": { "type": "integer" }, + "total_blocking": { "type": "integer" } + }, + "required": [ + "blocked_by", + "blocking", + "total_blocked_by", + "total_blocking" + ] + }, + "issue-field-value": { + "title": "Issue Field Value", + "description": "A value assigned to an issue field", + "type": "object", + "properties": { + "issue_field_id": { + "description": "Unique identifier for the issue field.", + "type": "integer", + "format": "int64", + "examples": [1] + }, + "node_id": { "type": "string", "examples": ["IFT_GDKND"] }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": ["text", "single_select", "number", "date"], + "examples": ["text"] + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { "type": "string", "examples": ["Sample text"] }, + { "type": "number", "examples": [42.5] }, + { "type": "integer", "examples": [1] } + ], + "type": ["null", "string", "number", "integer"] + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": ["object", "null"], + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [1] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": ["High"] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": ["red"] + } + }, + "required": ["id", "name", "color"] + } + }, + "required": ["issue_field_id", "node_id", "data_type", "value"] + }, "issue": { "title": "Issue", "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", @@ -25254,7 +25630,7 @@ "state_reason": { "description": "The reason for the current state", "type": ["string", "null"], - "enum": ["completed", "reopened", "not_planned", null], + "enum": ["completed", "reopened", "not_planned", "duplicate", null], "examples": ["not_planned"] }, "title": { @@ -25357,6 +25733,13 @@ "reactions": { "$ref": "#/components/schemas/reaction-rollup" }, "sub_issues_summary": { "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } } }, "required": [ @@ -26827,6 +27210,7 @@ "type": ["object", "null"], "properties": { "advanced_security": { + "description": "Enable or disable GitHub Advanced Security for the repository.\n\nFor standalone Code Scanning or Secret Protection products, this parameter cannot be used.\n", "type": "object", "properties": { "status": { "type": "string", "enum": ["enabled", "disabled"] } @@ -27471,6 +27855,11 @@ "required": ["name", "space", "private_repos"] }, "default_repository_permission": { "type": ["string", "null"] }, + "default_repository_branch": { + "type": ["string", "null"], + "description": "The default branch for repositories created in this organization.", + "examples": ["main"] + }, "members_can_create_repositories": { "type": ["boolean", "null"], "examples": [true] @@ -27504,6 +27893,35 @@ "type": "boolean", "examples": [true] }, + "members_can_delete_repositories": { + "type": "boolean", + "examples": [true] + }, + "members_can_change_repo_visibility": { + "type": "boolean", + "examples": [true] + }, + "members_can_invite_outside_collaborators": { + "type": "boolean", + "examples": [true] + }, + "members_can_delete_issues": { + "type": "boolean", + "examples": [true] + }, + "display_commenter_full_name_setting_enabled": { + "type": "boolean", + "examples": [true] + }, + "readers_can_create_discussions": { + "type": "boolean", + "examples": [true] + }, + "members_can_create_teams": { "type": "boolean", "examples": [true] }, + "members_can_view_dependency_insights": { + "type": "boolean", + "examples": [true] + }, "members_can_fork_private_repositories": { "type": ["boolean", "null"], "examples": [false] @@ -28239,6 +28657,18 @@ "enum": ["admin", "member", "billing_manager"], "examples": ["admin"] }, + "direct_membership": { + "type": "boolean", + "description": "Whether the user has direct membership in the organization.", + "examples": [true] + }, + "enterprise_teams_providing_indirect_membership": { + "type": "array", + "description": "The slugs of the enterprise teams providing the user with indirect membership in the organization.\nA limit of 100 enterprise team slugs is returned.", + "maxItems": 100, + "items": { "type": "string" }, + "examples": ["ent:team-one", "ent:team-two"] + }, "organization_url": { "type": "string", "format": "uri", @@ -29750,7 +30180,7 @@ "properties": { "actor_id": { "type": ["integer", "null"], - "description": "The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. `OrganizationAdmin` is not applicable for personal repositories." + "description": "The ID of the actor that can bypass a ruleset. Required for `Integration`, `RepositoryRole`, and `Team` actor types. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. `OrganizationAdmin` is not applicable for personal repositories." }, "actor_type": { "type": "string", @@ -30047,7 +30477,7 @@ "properties": { "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -30518,6 +30948,45 @@ "updated_at": { "type": "string", "format": "date-time" } } }, + "org-rules": { + "title": "Repository Rule", + "type": "object", + "description": "A repository rule.", + "oneOf": [ + { "$ref": "#/components/schemas/repository-rule-creation" }, + { "$ref": "#/components/schemas/repository-rule-update" }, + { "$ref": "#/components/schemas/repository-rule-deletion" }, + { + "$ref": "#/components/schemas/repository-rule-required-linear-history" + }, + { + "$ref": "#/components/schemas/repository-rule-required-deployments" + }, + { + "$ref": "#/components/schemas/repository-rule-required-signatures" + }, + { "$ref": "#/components/schemas/repository-rule-pull-request" }, + { + "$ref": "#/components/schemas/repository-rule-required-status-checks" + }, + { "$ref": "#/components/schemas/repository-rule-non-fast-forward" }, + { + "$ref": "#/components/schemas/repository-rule-commit-message-pattern" + }, + { + "$ref": "#/components/schemas/repository-rule-commit-author-email-pattern" + }, + { + "$ref": "#/components/schemas/repository-rule-committer-email-pattern" + }, + { + "$ref": "#/components/schemas/repository-rule-branch-name-pattern" + }, + { "$ref": "#/components/schemas/repository-rule-tag-name-pattern" }, + { "$ref": "#/components/schemas/repository-rule-workflows" }, + { "$ref": "#/components/schemas/repository-rule-code-scanning" } + ] + }, "rule-suites": { "title": "Rule Suites", "description": "Response", @@ -32024,6 +32493,7 @@ "$ref": "#/components/schemas/rate-limit" }, "scim": { "$ref": "#/components/schemas/rate-limit" }, + "dependency_sbom": { "$ref": "#/components/schemas/rate-limit" }, "code_scanning_autofix": { "$ref": "#/components/schemas/rate-limit" } @@ -34613,10 +35083,6 @@ "type": "string", "enum": ["open", "dismissed"] }, - "code-scanning-alert-create-request": { - "type": "boolean", - "description": "If `true`, attempt to create an alert dismissal request." - }, "code-scanning-analysis-sarif-id": { "type": "string", "description": "An identifier for the upload.", @@ -38403,6 +38869,7 @@ "required": ["html", "pull_request"] }, "submitted_at": { "type": "string", "format": "date-time" }, + "updated_at": { "type": ["string", "null"], "format": "date-time" }, "commit_id": { "description": "A commit SHA for the review.", "type": "string", @@ -38815,7 +39282,7 @@ "created_at": { "type": "string" }, "read_only": { "type": "boolean" }, "added_by": { "type": ["string", "null"] }, - "last_used": { "type": ["string", "null"] } + "last_used": { "type": ["string", "null"], "format": "date-time" } }, "required": [ "id", @@ -39645,6 +40112,11 @@ "description": "The original first line of the range for a multi-line comment.", "type": ["integer", "null"], "examples": [2] + }, + "subject_type": { + "description": "The level at which the comment is targeted, can be a diff line or a file.", + "type": "string", + "enum": ["line", "file"] } }, "required": [ @@ -39753,8 +40225,14 @@ "type": "boolean", "examples": [false] }, + "immutable": { + "description": "Whether or not the release is immutable.", + "type": "boolean", + "examples": [false] + }, "created_at": { "type": "string", "format": "date-time" }, "published_at": { "type": ["string", "null"], "format": "date-time" }, + "updated_at": { "type": ["string", "null"], "format": "date-time" }, "author": { "$ref": "#/components/schemas/simple-user" }, "assets": { "type": "array", @@ -41264,14 +41742,14 @@ } }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "type": "string" }, "state_reason": { "type": ["string", "null"] }, @@ -42266,7 +42744,8 @@ "title": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "verified": { "type": "boolean" }, - "read_only": { "type": "boolean" } + "read_only": { "type": "boolean" }, + "last_used": { "type": ["string", "null"], "format": "date-time" } }, "required": [ "key", @@ -42338,7 +42817,9 @@ "type": "object", "properties": { "id": { "type": "integer" }, - "key": { "type": "string" } + "key": { "type": "string" }, + "created_at": { "type": "string", "format": "date-time" }, + "last_used": { "type": ["string", "null"], "format": "date-time" } }, "required": ["key", "id"] }, @@ -43688,12 +44169,7 @@ "description": "A check performed on the code of a given code change", "type": "object", "properties": { - "app": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/integration" } - ] - }, + "app": { "$ref": "#/components/schemas/integration" }, "check_suite": { "$ref": "#/components/schemas/simple-check-suite" }, "completed_at": { "type": ["string", "null"], @@ -45116,14 +45592,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -45790,14 +46266,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -46080,6 +46556,18 @@ "properties": { "organization_url": { "type": "string", "format": "uri" }, "role": { "type": "string" }, + "direct_membership": { + "type": "boolean", + "description": "Whether the user has direct membership in the organization.", + "examples": [true] + }, + "enterprise_teams_providing_indirect_membership": { + "type": "array", + "description": "The slugs of the enterprise teams providing the user with indirect membership in the organization.\nA limit of 100 enterprise team slugs is returned.", + "maxItems": 100, + "items": { "type": "string" }, + "examples": ["ent:team-one", "ent:team-two"] + }, "state": { "type": "string" }, "url": { "type": "string", "format": "uri" }, "user": { @@ -46425,6 +46913,54 @@ "updated_at" ] }, + "projects-v2-status-update": { + "title": "Projects v2 Status Update", + "description": "An status update belonging to a project", + "type": "object", + "properties": { + "id": { "type": "number" }, + "node_id": { "type": "string" }, + "project_node_id": { "type": "string" }, + "creator": { "$ref": "#/components/schemas/simple-user" }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": ["2022-04-28T12:00:00Z"] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": ["2022-04-28T12:00:00Z"] + }, + "status": { + "type": ["string", "null"], + "enum": [ + "INACTIVE", + "ON_TRACK", + "AT_RISK", + "OFF_TRACK", + "COMPLETE", + null + ] + }, + "start_date": { + "type": "string", + "format": "date", + "examples": ["2022-04-28"] + }, + "target_date": { + "type": "string", + "format": "date", + "examples": ["2022-04-28"] + }, + "body": { + "description": "Body of the status update", + "type": ["string", "null"], + "examples": ["The project is off to a great start!"] + } + }, + "required": ["id", "node_id", "created_at", "updated_at"] + }, "projects-v2": { "title": "Projects v2 Project", "description": "A projects v2 project", @@ -46464,6 +47000,17 @@ { "type": "null" }, { "$ref": "#/components/schemas/simple-user" } ] + }, + "state": { "type": "string", "enum": ["open", "closed"] }, + "latest_status_update": { + "anyOf": [ + { "type": "null" }, + { "$ref": "#/components/schemas/projects-v2-status-update" } + ] + }, + "is_template": { + "type": "boolean", + "description": "Whether this project is a template" } }, "required": [ @@ -46558,8 +47105,10 @@ "properties": { "id": { "type": "string" }, "title": { "type": "string" }, + "title_html": { "type": "string" }, "duration": { "type": ["number", "null"] }, - "start_date": { "type": ["string", "null"] } + "start_date": { "type": ["string", "null"] }, + "completed": { "type": "boolean" } }, "required": ["id", "title"] }, @@ -48526,6 +49075,7 @@ "pull_request_url": { "type": "string", "format": "uri" }, "state": { "type": "string" }, "submitted_at": { "type": ["string", "null"], "format": "date-time" }, + "updated_at": { "type": ["string", "null"], "format": "date-time" }, "user": { "title": "User", "type": ["object", "null"], @@ -48702,6 +49252,7 @@ }, "body": { "type": ["string", "null"] }, "created_at": { "type": ["string", "null"], "format": "date-time" }, + "updated_at": { "type": ["string", "null"], "format": "date-time" }, "discussion_url": { "type": "string", "format": "uri" }, "draft": { "description": "Whether the release is a draft or published", @@ -48709,6 +49260,10 @@ }, "html_url": { "type": "string", "format": "uri" }, "id": { "type": "integer" }, + "immutable": { + "description": "Whether or not the release is immutable.", + "type": "boolean" + }, "name": { "type": ["string", "null"] }, "node_id": { "type": "string" }, "prerelease": { @@ -48770,10 +49325,12 @@ "draft", "author", "prerelease", + "immutable", "created_at", "published_at", "assets", "tarball_url", + "updated_at", "zipball_url", "body" ] @@ -48794,10 +49351,12 @@ "name", "node_id", "prerelease", + "immutable", "published_at", "tag_name", "tarball_url", "target_commitish", + "updated_at", "upload_url", "url", "zipball_url" @@ -48933,6 +49492,10 @@ }, "html_url": { "type": "string", "format": "uri" }, "id": { "type": "integer" }, + "immutable": { + "description": "Whether or not the release is immutable.", + "type": "boolean" + }, "name": { "type": ["string", "null"] }, "node_id": { "type": "string" }, "prerelease": { @@ -48977,6 +49540,7 @@ "description": "Specifies the commitish value that determines where the Git tag is created from.", "type": "string" }, + "updated_at": { "type": ["string", "null"], "format": "date-time" }, "upload_url": { "type": "string", "format": "uri-template" }, "url": { "type": "string", "format": "uri" }, "zipball_url": { "type": ["string", "null"], "format": "uri" } @@ -52735,6 +53299,99 @@ "sender" ] }, + "webhook-custom-property-created": { + "title": "custom property created event", + "type": "object", + "properties": { + "action": { "type": "string", "enum": ["created"] }, + "definition": { "$ref": "#/components/schemas/custom-property" }, + "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "sender": { "$ref": "#/components/schemas/simple-user" } + }, + "required": ["action", "definition"] + }, + "webhook-custom-property-deleted": { + "title": "custom property deleted event", + "type": "object", + "properties": { + "action": { "type": "string", "enum": ["deleted"] }, + "definition": { + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property that was deleted." + } + }, + "required": ["property_name"] + }, + "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "sender": { "$ref": "#/components/schemas/simple-user" } + }, + "required": ["action", "definition"] + }, + "webhook-custom-property-updated": { + "title": "custom property updated event", + "type": "object", + "properties": { + "action": { "type": "string", "enum": ["updated"] }, + "definition": { "$ref": "#/components/schemas/custom-property" }, + "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "sender": { "$ref": "#/components/schemas/simple-user" } + }, + "required": ["action", "definition"] + }, + "webhook-custom-property-values-updated": { + "title": "Custom property values updated event", + "type": "object", + "properties": { + "action": { "type": "string", "enum": ["updated"] }, + "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "repository": { "$ref": "#/components/schemas/repository-webhooks" }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "sender": { "$ref": "#/components/schemas/simple-user" }, + "new_property_values": { + "type": "array", + "description": "The new custom property values for the repository.", + "items": { "$ref": "#/components/schemas/custom-property-value" } + }, + "old_property_values": { + "type": "array", + "description": "The old custom property values for the repository.", + "items": { "$ref": "#/components/schemas/custom-property-value" } + } + }, + "required": [ + "action", + "repository", + "organization", + "new_property_values", + "old_property_values" + ] + }, "webhook-delete": { "title": "delete event", "type": "object", @@ -58215,14 +58872,10 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -59154,14 +59807,10 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -60097,14 +60746,10 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -61072,14 +61717,16 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { + "$ref": "#/components/schemas/issue-field-value" + } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -61868,14 +62515,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -62588,14 +63235,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -63293,14 +63940,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -63994,14 +64641,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -64720,14 +65367,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -65418,14 +66065,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -66148,14 +66795,16 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { + "$ref": "#/components/schemas/issue-field-value" + } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -67209,14 +67858,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -67950,14 +68599,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -68679,14 +69328,16 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { + "$ref": "#/components/schemas/issue-field-value" + } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -69847,14 +70498,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -70254,7 +70905,7 @@ "action": { "type": "string", "enum": ["deleted"] }, "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, "hook": { - "description": "The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, business, app, or GitHub Marketplace.", + "description": "The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, business, app, or GitHub Marketplace.", "type": "object", "properties": { "active": { "type": "boolean" }, @@ -70273,6 +70924,7 @@ }, "created_at": { "type": "string" }, "events": { + "description": "", "type": "array", "items": { "type": "string", @@ -89496,6 +90148,10 @@ "enum": ["dismissed", "approved", "changes_requested"] }, "submitted_at": { "type": "string", "format": "date-time" }, + "updated_at": { + "type": ["string", "null"], + "format": "date-time" + }, "user": { "title": "User", "type": ["object", "null"], @@ -103476,7 +104132,8 @@ "node_id": { "type": "string" } }, "required": ["node_id", "comments"] - } + }, + "updated_at": { "type": ["string", "null"], "format": "date-time" } }, "required": ["action", "thread", "pull_request", "repository"] }, @@ -105466,7 +106123,8 @@ "node_id": { "type": "string" } }, "required": ["node_id", "comments"] - } + }, + "updated_at": { "type": ["string", "null"], "format": "date-time" } }, "required": ["action", "thread", "pull_request", "repository"] }, @@ -114235,6 +114893,7 @@ "draft", "html_url", "id", + "immutable", "name", "node_id", "prerelease", @@ -114242,6 +114901,7 @@ "tag_name", "tarball_url", "target_commitish", + "updated_at", "upload_url", "url", "zipball_url" @@ -114395,6 +115055,10 @@ }, "html_url": { "type": "string", "format": "uri" }, "id": { "type": "integer" }, + "immutable": { + "description": "Whether or not the release is immutable.", + "type": "boolean" + }, "name": { "type": ["string", "null"] }, "node_id": { "type": "string" }, "prerelease": { @@ -114444,6 +115108,10 @@ "type": "string" }, "upload_url": { "type": "string", "format": "uri-template" }, + "updated_at": { + "type": ["string", "null"], + "format": "date-time" + }, "url": { "type": "string", "format": "uri" }, "zipball_url": { "type": ["string", "null"], "format": "uri" } } @@ -127008,6 +127676,7 @@ "seats": 5 }, "default_repository_permission": "read", + "default_repository_branch": "main", "members_can_create_repositories": true, "two_factor_requirement_enabled": true, "members_allowed_repository_creation_type": "all", @@ -127017,6 +127686,14 @@ "members_can_create_pages": true, "members_can_create_public_pages": true, "members_can_create_private_pages": true, + "members_can_delete_repositories": true, + "members_can_change_repo_visibility": true, + "members_can_invite_outside_collaborators": true, + "members_can_delete_issues": false, + "display_commenter_full_name_setting_enabled": false, + "readers_can_create_discussions": true, + "members_can_create_teams": true, + "members_can_view_dependency_insights": true, "members_can_fork_private_repositories": false, "web_commit_signoff_required": false, "updated_at": "2014-03-03T18:58:10Z", @@ -141061,6 +141738,7 @@ "body": "Description of the release", "draft": false, "prerelease": false, + "immutable": false, "created_at": "2013-02-27T19:35:32Z", "published_at": "2013-02-27T19:35:32Z", "author": { @@ -141140,6 +141818,7 @@ "body": "Description of the release", "draft": false, "prerelease": false, + "immutable": false, "created_at": "2013-02-27T19:35:32Z", "published_at": "2013-02-27T19:35:32Z", "author": { @@ -146853,7 +147532,7 @@ }, "enterprise": { "name": "enterprise", - "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "description": "The slug version of the enterprise name.", "in": "path", "required": true, "schema": { "type": "string" } @@ -147393,7 +148072,7 @@ }, "time-period": { "name": "time_period", - "description": "The time period to filter by.\n\nFor example, `day` will filter for rule suites that occurred in the past 24 hours, and `week` will filter for insights that occurred in the past 7 days (168 hours).", + "description": "The time period to filter by.\n\nFor example, `day` will filter for rule suites that occurred in the past 24 hours, and `week` will filter for rule suites that occurred in the past 7 days (168 hours).", "in": "query", "required": false, "schema": { @@ -147410,7 +148089,7 @@ }, "rule-suite-result": { "name": "rule_suite_result", - "description": "The rule results to filter on. When specified, only suites with this result will be returned.", + "description": "The rule suite results to filter on. When specified, only suites with this result will be returned.", "in": "query", "schema": { "type": "string", @@ -148263,6 +148942,14 @@ } } }, + "code_scanning_invalid_state": { + "description": "Response if the configuration change cannot be made because the repository is not in the required state", + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/basic-error" } + } + } + }, "found": { "description": "Found" }, "dependency_review_forbidden": { "description": "Response for a private repository when GitHub Advanced Security is not enabled, or if used against a fork", diff --git a/cache/ghes-3.15.json b/cache/ghes-3.15.json index d8ae269..373cd76 100644 --- a/cache/ghes-3.15.json +++ b/cache/ghes-3.15.json @@ -75,7 +75,10 @@ "name": "packages", "description": "Manage packages for authenticated users and organizations." }, - { "name": "projects", "description": "Interact with GitHub Projects." }, + { + "name": "projects-classic", + "description": "Interact with GitHub Projects (classic)." + }, { "name": "pulls", "description": "Interact with GitHub Pull Requests." }, { "name": "rate-limit", @@ -2365,6 +2368,306 @@ } } }, + "custom-property-created": { + "post": { + "summary": "This event occurs when there is activity relating to a custom property.\n\nFor more information, see \"[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.15/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)\". For information about the APIs to manage custom properties, see \"[Custom properties](https://docs.github.com/enterprise-server@3.15/rest/orgs/custom-properties)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Custom properties\" organization permission.", + "description": "A new custom property was created.", + "operationId": "custom-property/created", + "externalDocs": { + "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#custom_property" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-custom-property-created" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "custom_property", + "supported-webhook-types": ["business", "organization", "app"] + } + } + }, + "custom-property-deleted": { + "post": { + "summary": "This event occurs when there is activity relating to a custom property.\n\nFor more information, see \"[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.15/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)\". For information about the APIs to manage custom properties, see \"[Custom properties](https://docs.github.com/enterprise-server@3.15/rest/orgs/custom-properties)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Custom properties\" organization permission.", + "description": "A custom property was deleted.", + "operationId": "custom-property/deleted", + "externalDocs": { + "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#custom_property" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-custom-property-deleted" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "custom_property", + "supported-webhook-types": ["business", "organization", "app"] + } + } + }, + "custom-property-updated": { + "post": { + "summary": "This event occurs when there is activity relating to a custom property.\n\nFor more information, see \"[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.15/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)\". For information about the APIs to manage custom properties, see \"[Custom properties](https://docs.github.com/enterprise-server@3.15/rest/orgs/custom-properties)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Custom properties\" organization permission.", + "description": "A custom property was updated.", + "operationId": "custom-property/updated", + "externalDocs": { + "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#custom_property" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-custom-property-updated" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "custom_property", + "supported-webhook-types": ["business", "organization", "app"] + } + } + }, + "custom-property-values-updated": { + "post": { + "summary": "This event occurs when there is activity relating to custom property values for a repository.\n\nFor more information, see \"[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.15/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)\". For information about the APIs to manage custom properties for a repository, see \"[Custom properties](https://docs.github.com/enterprise-server@3.15/rest/repos/custom-properties)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Custom properties\" organization permission.", + "description": "The custom property values of a repository were updated.", + "operationId": "custom-property-values/updated", + "externalDocs": { + "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#custom-property-values" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-custom-property-values-updated" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "custom-property-values", + "supported-webhook-types": ["repository", "organization", "app"] + } + } + }, "delete": { "post": { "summary": "This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including\nbranch and tag deletions, use the [`push`](#push) webhook event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.\n\n> [!NOTE]\n> This event will not occur when more than three tags are deleted at once.", @@ -22565,6 +22868,10 @@ ] }, "app_id": { "type": "integer", "examples": [1] }, + "client_id": { + "type": "string", + "examples": ["Iv1.ab1112223334445c"] + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -25238,6 +25545,75 @@ }, "required": ["total", "completed", "percent_completed"] }, + "issue-dependencies-summary": { + "title": "Issue Dependencies Summary", + "type": "object", + "properties": { + "blocked_by": { "type": "integer" }, + "blocking": { "type": "integer" }, + "total_blocked_by": { "type": "integer" }, + "total_blocking": { "type": "integer" } + }, + "required": [ + "blocked_by", + "blocking", + "total_blocked_by", + "total_blocking" + ] + }, + "issue-field-value": { + "title": "Issue Field Value", + "description": "A value assigned to an issue field", + "type": "object", + "properties": { + "issue_field_id": { + "description": "Unique identifier for the issue field.", + "type": "integer", + "format": "int64", + "examples": [1] + }, + "node_id": { "type": "string", "examples": ["IFT_GDKND"] }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": ["text", "single_select", "number", "date"], + "examples": ["text"] + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { "type": "string", "examples": ["Sample text"] }, + { "type": "number", "examples": [42.5] }, + { "type": "integer", "examples": [1] } + ], + "type": ["null", "string", "number", "integer"] + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": ["object", "null"], + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [1] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": ["High"] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": ["red"] + } + }, + "required": ["id", "name", "color"] + } + }, + "required": ["issue_field_id", "node_id", "data_type", "value"] + }, "issue": { "title": "Issue", "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", @@ -25269,7 +25645,7 @@ "state_reason": { "description": "The reason for the current state", "type": ["string", "null"], - "enum": ["completed", "reopened", "not_planned", null], + "enum": ["completed", "reopened", "not_planned", "duplicate", null], "examples": ["not_planned"] }, "title": { @@ -25372,6 +25748,13 @@ "reactions": { "$ref": "#/components/schemas/reaction-rollup" }, "sub_issues_summary": { "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } } }, "required": [ @@ -26842,6 +27225,7 @@ "type": ["object", "null"], "properties": { "advanced_security": { + "description": "Enable or disable GitHub Advanced Security for the repository.\n\nFor standalone Code Scanning or Secret Protection products, this parameter cannot be used.\n", "type": "object", "properties": { "status": { "type": "string", "enum": ["enabled", "disabled"] } @@ -27492,6 +27876,11 @@ "required": ["name", "space", "private_repos"] }, "default_repository_permission": { "type": ["string", "null"] }, + "default_repository_branch": { + "type": ["string", "null"], + "description": "The default branch for repositories created in this organization.", + "examples": ["main"] + }, "members_can_create_repositories": { "type": ["boolean", "null"], "examples": [true] @@ -27525,6 +27914,35 @@ "type": "boolean", "examples": [true] }, + "members_can_delete_repositories": { + "type": "boolean", + "examples": [true] + }, + "members_can_change_repo_visibility": { + "type": "boolean", + "examples": [true] + }, + "members_can_invite_outside_collaborators": { + "type": "boolean", + "examples": [true] + }, + "members_can_delete_issues": { + "type": "boolean", + "examples": [true] + }, + "display_commenter_full_name_setting_enabled": { + "type": "boolean", + "examples": [true] + }, + "readers_can_create_discussions": { + "type": "boolean", + "examples": [true] + }, + "members_can_create_teams": { "type": "boolean", "examples": [true] }, + "members_can_view_dependency_insights": { + "type": "boolean", + "examples": [true] + }, "members_can_fork_private_repositories": { "type": ["boolean", "null"], "examples": [false] @@ -28412,6 +28830,18 @@ "enum": ["admin", "member", "billing_manager"], "examples": ["admin"] }, + "direct_membership": { + "type": "boolean", + "description": "Whether the user has direct membership in the organization.", + "examples": [true] + }, + "enterprise_teams_providing_indirect_membership": { + "type": "array", + "description": "The slugs of the enterprise teams providing the user with indirect membership in the organization.\nA limit of 100 enterprise team slugs is returned.", + "maxItems": 100, + "items": { "type": "string" }, + "examples": ["ent:team-one", "ent:team-two"] + }, "organization_url": { "type": "string", "format": "uri", @@ -29933,7 +30363,7 @@ "properties": { "actor_id": { "type": ["integer", "null"], - "description": "The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. `OrganizationAdmin` is not applicable for personal repositories." + "description": "The ID of the actor that can bypass a ruleset. Required for `Integration`, `RepositoryRole`, and `Team` actor types. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. `OrganizationAdmin` is not applicable for personal repositories." }, "actor_type": { "type": "string", @@ -30293,7 +30723,7 @@ "properties": { "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -30765,6 +31195,45 @@ "updated_at": { "type": "string", "format": "date-time" } } }, + "org-rules": { + "title": "Repository Rule", + "type": "object", + "description": "A repository rule.", + "oneOf": [ + { "$ref": "#/components/schemas/repository-rule-creation" }, + { "$ref": "#/components/schemas/repository-rule-update" }, + { "$ref": "#/components/schemas/repository-rule-deletion" }, + { + "$ref": "#/components/schemas/repository-rule-required-linear-history" + }, + { + "$ref": "#/components/schemas/repository-rule-required-deployments" + }, + { + "$ref": "#/components/schemas/repository-rule-required-signatures" + }, + { "$ref": "#/components/schemas/repository-rule-pull-request" }, + { + "$ref": "#/components/schemas/repository-rule-required-status-checks" + }, + { "$ref": "#/components/schemas/repository-rule-non-fast-forward" }, + { + "$ref": "#/components/schemas/repository-rule-commit-message-pattern" + }, + { + "$ref": "#/components/schemas/repository-rule-commit-author-email-pattern" + }, + { + "$ref": "#/components/schemas/repository-rule-committer-email-pattern" + }, + { + "$ref": "#/components/schemas/repository-rule-branch-name-pattern" + }, + { "$ref": "#/components/schemas/repository-rule-tag-name-pattern" }, + { "$ref": "#/components/schemas/repository-rule-workflows" }, + { "$ref": "#/components/schemas/repository-rule-code-scanning" } + ] + }, "rule-suites": { "title": "Rule Suites", "description": "Response", @@ -32271,6 +32740,7 @@ "$ref": "#/components/schemas/rate-limit" }, "scim": { "$ref": "#/components/schemas/rate-limit" }, + "dependency_sbom": { "$ref": "#/components/schemas/rate-limit" }, "code_scanning_autofix": { "$ref": "#/components/schemas/rate-limit" } @@ -34860,10 +35330,6 @@ "type": "string", "enum": ["open", "dismissed"] }, - "code-scanning-alert-create-request": { - "type": "boolean", - "description": "If `true`, attempt to create an alert dismissal request." - }, "code-scanning-analysis-sarif-id": { "type": "string", "description": "An identifier for the upload.", @@ -38673,6 +39139,7 @@ "required": ["html", "pull_request"] }, "submitted_at": { "type": "string", "format": "date-time" }, + "updated_at": { "type": ["string", "null"], "format": "date-time" }, "commit_id": { "description": "A commit SHA for the review.", "type": "string", @@ -39085,7 +39552,7 @@ "created_at": { "type": "string" }, "read_only": { "type": "boolean" }, "added_by": { "type": ["string", "null"] }, - "last_used": { "type": ["string", "null"] } + "last_used": { "type": ["string", "null"], "format": "date-time" } }, "required": [ "id", @@ -39915,6 +40382,11 @@ "description": "The original first line of the range for a multi-line comment.", "type": ["integer", "null"], "examples": [2] + }, + "subject_type": { + "description": "The level at which the comment is targeted, can be a diff line or a file.", + "type": "string", + "enum": ["line", "file"] } }, "required": [ @@ -40023,8 +40495,14 @@ "type": "boolean", "examples": [false] }, + "immutable": { + "description": "Whether or not the release is immutable.", + "type": "boolean", + "examples": [false] + }, "created_at": { "type": "string", "format": "date-time" }, "published_at": { "type": ["string", "null"], "format": "date-time" }, + "updated_at": { "type": ["string", "null"], "format": "date-time" }, "author": { "$ref": "#/components/schemas/simple-user" }, "assets": { "type": "array", @@ -41562,14 +42040,14 @@ } }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "type": "string" }, "state_reason": { "type": ["string", "null"] }, @@ -42331,7 +42809,8 @@ "title": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "verified": { "type": "boolean" }, - "read_only": { "type": "boolean" } + "read_only": { "type": "boolean" }, + "last_used": { "type": ["string", "null"], "format": "date-time" } }, "required": [ "key", @@ -42403,7 +42882,9 @@ "type": "object", "properties": { "id": { "type": "integer" }, - "key": { "type": "string" } + "key": { "type": "string" }, + "created_at": { "type": "string", "format": "date-time" }, + "last_used": { "type": ["string", "null"], "format": "date-time" } }, "required": ["key", "id"] }, @@ -43762,12 +44243,7 @@ "description": "A check performed on the code of a given code change", "type": "object", "properties": { - "app": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/integration" } - ] - }, + "app": { "$ref": "#/components/schemas/integration" }, "check_suite": { "$ref": "#/components/schemas/simple-check-suite" }, "completed_at": { "type": ["string", "null"], @@ -45190,14 +45666,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -45864,14 +46340,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -46154,6 +46630,18 @@ "properties": { "organization_url": { "type": "string", "format": "uri" }, "role": { "type": "string" }, + "direct_membership": { + "type": "boolean", + "description": "Whether the user has direct membership in the organization.", + "examples": [true] + }, + "enterprise_teams_providing_indirect_membership": { + "type": "array", + "description": "The slugs of the enterprise teams providing the user with indirect membership in the organization.\nA limit of 100 enterprise team slugs is returned.", + "maxItems": 100, + "items": { "type": "string" }, + "examples": ["ent:team-one", "ent:team-two"] + }, "state": { "type": "string" }, "url": { "type": "string", "format": "uri" }, "user": { @@ -46499,6 +46987,54 @@ "updated_at" ] }, + "projects-v2-status-update": { + "title": "Projects v2 Status Update", + "description": "An status update belonging to a project", + "type": "object", + "properties": { + "id": { "type": "number" }, + "node_id": { "type": "string" }, + "project_node_id": { "type": "string" }, + "creator": { "$ref": "#/components/schemas/simple-user" }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": ["2022-04-28T12:00:00Z"] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": ["2022-04-28T12:00:00Z"] + }, + "status": { + "type": ["string", "null"], + "enum": [ + "INACTIVE", + "ON_TRACK", + "AT_RISK", + "OFF_TRACK", + "COMPLETE", + null + ] + }, + "start_date": { + "type": "string", + "format": "date", + "examples": ["2022-04-28"] + }, + "target_date": { + "type": "string", + "format": "date", + "examples": ["2022-04-28"] + }, + "body": { + "description": "Body of the status update", + "type": ["string", "null"], + "examples": ["The project is off to a great start!"] + } + }, + "required": ["id", "node_id", "created_at", "updated_at"] + }, "projects-v2": { "title": "Projects v2 Project", "description": "A projects v2 project", @@ -46538,6 +47074,17 @@ { "type": "null" }, { "$ref": "#/components/schemas/simple-user" } ] + }, + "state": { "type": "string", "enum": ["open", "closed"] }, + "latest_status_update": { + "anyOf": [ + { "type": "null" }, + { "$ref": "#/components/schemas/projects-v2-status-update" } + ] + }, + "is_template": { + "type": "boolean", + "description": "Whether this project is a template" } }, "required": [ @@ -46632,8 +47179,10 @@ "properties": { "id": { "type": "string" }, "title": { "type": "string" }, + "title_html": { "type": "string" }, "duration": { "type": ["number", "null"] }, - "start_date": { "type": ["string", "null"] } + "start_date": { "type": ["string", "null"] }, + "completed": { "type": "boolean" } }, "required": ["id", "title"] }, @@ -48600,6 +49149,7 @@ "pull_request_url": { "type": "string", "format": "uri" }, "state": { "type": "string" }, "submitted_at": { "type": ["string", "null"], "format": "date-time" }, + "updated_at": { "type": ["string", "null"], "format": "date-time" }, "user": { "title": "User", "type": ["object", "null"], @@ -48776,6 +49326,7 @@ }, "body": { "type": ["string", "null"] }, "created_at": { "type": ["string", "null"], "format": "date-time" }, + "updated_at": { "type": ["string", "null"], "format": "date-time" }, "discussion_url": { "type": "string", "format": "uri" }, "draft": { "description": "Whether the release is a draft or published", @@ -48783,6 +49334,10 @@ }, "html_url": { "type": "string", "format": "uri" }, "id": { "type": "integer" }, + "immutable": { + "description": "Whether or not the release is immutable.", + "type": "boolean" + }, "name": { "type": ["string", "null"] }, "node_id": { "type": "string" }, "prerelease": { @@ -48844,10 +49399,12 @@ "draft", "author", "prerelease", + "immutable", "created_at", "published_at", "assets", "tarball_url", + "updated_at", "zipball_url", "body" ] @@ -48868,10 +49425,12 @@ "name", "node_id", "prerelease", + "immutable", "published_at", "tag_name", "tarball_url", "target_commitish", + "updated_at", "upload_url", "url", "zipball_url" @@ -49007,6 +49566,10 @@ }, "html_url": { "type": "string", "format": "uri" }, "id": { "type": "integer" }, + "immutable": { + "description": "Whether or not the release is immutable.", + "type": "boolean" + }, "name": { "type": ["string", "null"] }, "node_id": { "type": "string" }, "prerelease": { @@ -49051,6 +49614,7 @@ "description": "Specifies the commitish value that determines where the Git tag is created from.", "type": "string" }, + "updated_at": { "type": ["string", "null"], "format": "date-time" }, "upload_url": { "type": "string", "format": "uri-template" }, "url": { "type": "string", "format": "uri" }, "zipball_url": { "type": ["string", "null"], "format": "uri" } @@ -52824,6 +53388,99 @@ "sender" ] }, + "webhook-custom-property-created": { + "title": "custom property created event", + "type": "object", + "properties": { + "action": { "type": "string", "enum": ["created"] }, + "definition": { "$ref": "#/components/schemas/custom-property" }, + "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "sender": { "$ref": "#/components/schemas/simple-user" } + }, + "required": ["action", "definition"] + }, + "webhook-custom-property-deleted": { + "title": "custom property deleted event", + "type": "object", + "properties": { + "action": { "type": "string", "enum": ["deleted"] }, + "definition": { + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property that was deleted." + } + }, + "required": ["property_name"] + }, + "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "sender": { "$ref": "#/components/schemas/simple-user" } + }, + "required": ["action", "definition"] + }, + "webhook-custom-property-updated": { + "title": "custom property updated event", + "type": "object", + "properties": { + "action": { "type": "string", "enum": ["updated"] }, + "definition": { "$ref": "#/components/schemas/custom-property" }, + "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "sender": { "$ref": "#/components/schemas/simple-user" } + }, + "required": ["action", "definition"] + }, + "webhook-custom-property-values-updated": { + "title": "Custom property values updated event", + "type": "object", + "properties": { + "action": { "type": "string", "enum": ["updated"] }, + "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "repository": { "$ref": "#/components/schemas/repository-webhooks" }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "sender": { "$ref": "#/components/schemas/simple-user" }, + "new_property_values": { + "type": "array", + "description": "The new custom property values for the repository.", + "items": { "$ref": "#/components/schemas/custom-property-value" } + }, + "old_property_values": { + "type": "array", + "description": "The old custom property values for the repository.", + "items": { "$ref": "#/components/schemas/custom-property-value" } + } + }, + "required": [ + "action", + "repository", + "organization", + "new_property_values", + "old_property_values" + ] + }, "webhook-delete": { "title": "delete event", "type": "object", @@ -58304,14 +58961,10 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -59243,14 +59896,10 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -60186,14 +60835,10 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -61161,14 +61806,16 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { + "$ref": "#/components/schemas/issue-field-value" + } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -61957,14 +62604,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -62677,14 +63324,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -63382,14 +64029,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -64083,14 +64730,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -64809,14 +65456,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -65507,14 +66154,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -66237,14 +66884,16 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { + "$ref": "#/components/schemas/issue-field-value" + } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -67298,14 +67947,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -68039,14 +68688,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -68768,14 +69417,16 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { + "$ref": "#/components/schemas/issue-field-value" + } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -69936,14 +70587,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -70343,7 +70994,7 @@ "action": { "type": "string", "enum": ["deleted"] }, "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, "hook": { - "description": "The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, business, app, or GitHub Marketplace.", + "description": "The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, business, app, or GitHub Marketplace.", "type": "object", "properties": { "active": { "type": "boolean" }, @@ -70362,6 +71013,7 @@ }, "created_at": { "type": "string" }, "events": { + "description": "", "type": "array", "items": { "type": "string", @@ -89585,6 +90237,10 @@ "enum": ["dismissed", "approved", "changes_requested"] }, "submitted_at": { "type": "string", "format": "date-time" }, + "updated_at": { + "type": ["string", "null"], + "format": "date-time" + }, "user": { "title": "User", "type": ["object", "null"], @@ -103565,7 +104221,8 @@ "node_id": { "type": "string" } }, "required": ["node_id", "comments"] - } + }, + "updated_at": { "type": ["string", "null"], "format": "date-time" } }, "required": ["action", "thread", "pull_request", "repository"] }, @@ -105555,7 +106212,8 @@ "node_id": { "type": "string" } }, "required": ["node_id", "comments"] - } + }, + "updated_at": { "type": ["string", "null"], "format": "date-time" } }, "required": ["action", "thread", "pull_request", "repository"] }, @@ -114324,6 +114982,7 @@ "draft", "html_url", "id", + "immutable", "name", "node_id", "prerelease", @@ -114331,6 +114990,7 @@ "tag_name", "tarball_url", "target_commitish", + "updated_at", "upload_url", "url", "zipball_url" @@ -114484,6 +115144,10 @@ }, "html_url": { "type": "string", "format": "uri" }, "id": { "type": "integer" }, + "immutable": { + "description": "Whether or not the release is immutable.", + "type": "boolean" + }, "name": { "type": ["string", "null"] }, "node_id": { "type": "string" }, "prerelease": { @@ -114533,6 +115197,10 @@ "type": "string" }, "upload_url": { "type": "string", "format": "uri-template" }, + "updated_at": { + "type": ["string", "null"], + "format": "date-time" + }, "url": { "type": "string", "format": "uri" }, "zipball_url": { "type": ["string", "null"], "format": "uri" } } @@ -127098,6 +127766,7 @@ "seats": 5 }, "default_repository_permission": "read", + "default_repository_branch": "main", "members_can_create_repositories": true, "two_factor_requirement_enabled": true, "members_allowed_repository_creation_type": "all", @@ -127107,6 +127776,14 @@ "members_can_create_pages": true, "members_can_create_public_pages": true, "members_can_create_private_pages": true, + "members_can_delete_repositories": true, + "members_can_change_repo_visibility": true, + "members_can_invite_outside_collaborators": true, + "members_can_delete_issues": false, + "display_commenter_full_name_setting_enabled": false, + "readers_can_create_discussions": true, + "members_can_create_teams": true, + "members_can_view_dependency_insights": true, "members_can_fork_private_repositories": false, "web_commit_signoff_required": false, "updated_at": "2014-03-03T18:58:10Z", @@ -141408,6 +142085,7 @@ "body": "Description of the release", "draft": false, "prerelease": false, + "immutable": false, "created_at": "2013-02-27T19:35:32Z", "published_at": "2013-02-27T19:35:32Z", "author": { @@ -141487,6 +142165,7 @@ "body": "Description of the release", "draft": false, "prerelease": false, + "immutable": false, "created_at": "2013-02-27T19:35:32Z", "published_at": "2013-02-27T19:35:32Z", "author": { @@ -147044,7 +147723,7 @@ }, "enterprise": { "name": "enterprise", - "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "description": "The slug version of the enterprise name.", "in": "path", "required": true, "schema": { "type": "string" } @@ -147592,7 +148271,7 @@ }, "time-period": { "name": "time_period", - "description": "The time period to filter by.\n\nFor example, `day` will filter for rule suites that occurred in the past 24 hours, and `week` will filter for insights that occurred in the past 7 days (168 hours).", + "description": "The time period to filter by.\n\nFor example, `day` will filter for rule suites that occurred in the past 24 hours, and `week` will filter for rule suites that occurred in the past 7 days (168 hours).", "in": "query", "required": false, "schema": { @@ -147609,7 +148288,7 @@ }, "rule-suite-result": { "name": "rule_suite_result", - "description": "The rule results to filter on. When specified, only suites with this result will be returned.", + "description": "The rule suite results to filter on. When specified, only suites with this result will be returned.", "in": "query", "schema": { "type": "string", @@ -148462,6 +149141,14 @@ } } }, + "code_scanning_invalid_state": { + "description": "Response if the configuration change cannot be made because the repository is not in the required state", + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/basic-error" } + } + } + }, "found": { "description": "Found" }, "dependency_review_forbidden": { "description": "Response for a private repository when GitHub Advanced Security is not enabled, or if used against a fork", diff --git a/cache/ghes-3.16.json b/cache/ghes-3.16.json index 9465497..c69eedd 100644 --- a/cache/ghes-3.16.json +++ b/cache/ghes-3.16.json @@ -75,7 +75,10 @@ "name": "packages", "description": "Manage packages for authenticated users and organizations." }, - { "name": "projects", "description": "Interact with GitHub Projects." }, + { + "name": "projects-classic", + "description": "Interact with GitHub Projects (classic)." + }, { "name": "pulls", "description": "Interact with GitHub Pull Requests." }, { "name": "rate-limit", @@ -2744,12 +2747,13 @@ } } }, - "delete": { + "custom-property-created": { "post": { - "summary": "This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including\nbranch and tag deletions, use the [`push`](#push) webhook event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.\n\n> [!NOTE]\n> This event will not occur when more than three tags are deleted at once.", - "operationId": "delete", + "summary": "This event occurs when there is activity relating to a custom property.\n\nFor more information, see \"[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.16/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)\". For information about the APIs to manage custom properties, see \"[Custom properties](https://docs.github.com/enterprise-server@3.16/rest/orgs/custom-properties)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Custom properties\" organization permission.", + "description": "A new custom property was created.", + "operationId": "custom-property/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#delete" + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#custom_property" }, "parameters": [ { @@ -2793,25 +2797,15 @@ "in": "header", "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } } ], "requestBody": { "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-delete" } + "schema": { + "$ref": "#/components/schemas/webhook-custom-property-created" + } } } }, @@ -2823,18 +2817,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "delete", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "custom_property", + "supported-webhook-types": ["business", "organization", "app"] } } }, - "dependabot-alert-auto-dismissed": { + "custom-property-deleted": { "post": { - "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.16/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.16/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A Dependabot alert was automatically closed by a Dependabot auto-triage rule.", - "operationId": "dependabot-alert/auto-dismissed", + "summary": "This event occurs when there is activity relating to a custom property.\n\nFor more information, see \"[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.16/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)\". For information about the APIs to manage custom properties, see \"[Custom properties](https://docs.github.com/enterprise-server@3.16/rest/orgs/custom-properties)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Custom properties\" organization permission.", + "description": "A custom property was deleted.", + "operationId": "custom-property/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#dependabot_alert" + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#custom_property" }, "parameters": [ { @@ -2878,18 +2872,6 @@ "in": "header", "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } } ], "requestBody": { @@ -2897,7 +2879,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-auto-dismissed" + "$ref": "#/components/schemas/webhook-custom-property-deleted" } } } @@ -2910,18 +2892,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "dependabot_alert", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "custom_property", + "supported-webhook-types": ["business", "organization", "app"] } } }, - "dependabot-alert-auto-reopened": { + "custom-property-updated": { "post": { - "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.16/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.16/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A Dependabot alert, that had been automatically closed by a Dependabot auto-triage rule, was automatically reopened because the alert metadata or rule changed.", - "operationId": "dependabot-alert/auto-reopened", + "summary": "This event occurs when there is activity relating to a custom property.\n\nFor more information, see \"[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.16/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)\". For information about the APIs to manage custom properties, see \"[Custom properties](https://docs.github.com/enterprise-server@3.16/rest/orgs/custom-properties)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Custom properties\" organization permission.", + "description": "A custom property was updated.", + "operationId": "custom-property/updated", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#dependabot_alert" + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#custom_property" }, "parameters": [ { @@ -2965,17 +2947,80 @@ "in": "header", "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", "schema": { "type": "string" } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-custom-property-updated" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "custom_property", + "supported-webhook-types": ["business", "organization", "app"] + } + } + }, + "custom-property-values-updated": { + "post": { + "summary": "This event occurs when there is activity relating to custom property values for a repository.\n\nFor more information, see \"[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.16/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)\". For information about the APIs to manage custom properties for a repository, see \"[Custom properties](https://docs.github.com/enterprise-server@3.16/rest/repos/custom-properties)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Custom properties\" organization permission.", + "description": "The custom property values of a repository were updated.", + "operationId": "custom-property-values/updated", + "externalDocs": { + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#custom-property-values" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" } }, { - "name": "X-GitHub-Enterprise-Version", + "name": "X-Github-Hook-Id", "in": "header", - "example": "3.1.9", + "example": 12312312, "schema": { "type": "string" } }, { - "name": "X-GitHub-Enterprise-Host", + "name": "X-Github-Event", "in": "header", - "example": "ghes.github.com", + "example": "issues", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", "schema": { "type": "string" } } ], @@ -2984,7 +3029,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-auto-reopened" + "$ref": "#/components/schemas/webhook-custom-property-values-updated" } } } @@ -2997,18 +3042,17 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "dependabot_alert", + "subcategory": "custom-property-values", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "dependabot-alert-created": { + "delete": { "post": { - "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.16/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.16/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A manifest file change introduced a vulnerable dependency, or a GitHub Security Advisory was published and an existing dependency was found to be vulnerable.", - "operationId": "dependabot-alert/created", + "summary": "This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including\nbranch and tag deletions, use the [`push`](#push) webhook event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.\n\n> [!NOTE]\n> This event will not occur when more than three tags are deleted at once.", + "operationId": "delete", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#dependabot_alert" + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#delete" }, "parameters": [ { @@ -3070,9 +3114,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-created" - } + "schema": { "$ref": "#/components/schemas/webhook-delete" } } } }, @@ -3084,16 +3126,16 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "dependabot_alert", + "subcategory": "delete", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "dependabot-alert-dismissed": { + "dependabot-alert-auto-dismissed": { "post": { "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.16/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.16/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A Dependabot alert was manually closed.", - "operationId": "dependabot-alert/dismissed", + "description": "A Dependabot alert was automatically closed by a Dependabot auto-triage rule.", + "operationId": "dependabot-alert/auto-dismissed", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#dependabot_alert" }, @@ -3158,7 +3200,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-dismissed" + "$ref": "#/components/schemas/webhook-dependabot-alert-auto-dismissed" } } } @@ -3176,11 +3218,11 @@ } } }, - "dependabot-alert-fixed": { + "dependabot-alert-auto-reopened": { "post": { "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.16/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.16/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A manifest file change removed a vulnerability.", - "operationId": "dependabot-alert/fixed", + "description": "A Dependabot alert, that had been automatically closed by a Dependabot auto-triage rule, was automatically reopened because the alert metadata or rule changed.", + "operationId": "dependabot-alert/auto-reopened", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#dependabot_alert" }, @@ -3245,7 +3287,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-fixed" + "$ref": "#/components/schemas/webhook-dependabot-alert-auto-reopened" } } } @@ -3263,11 +3305,11 @@ } } }, - "dependabot-alert-reintroduced": { + "dependabot-alert-created": { "post": { "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.16/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.16/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A manifest file change introduced a vulnerable dependency that had previously been fixed.", - "operationId": "dependabot-alert/reintroduced", + "description": "A manifest file change introduced a vulnerable dependency, or a GitHub Security Advisory was published and an existing dependency was found to be vulnerable.", + "operationId": "dependabot-alert/created", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#dependabot_alert" }, @@ -3332,7 +3374,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-reintroduced" + "$ref": "#/components/schemas/webhook-dependabot-alert-created" } } } @@ -3350,11 +3392,11 @@ } } }, - "dependabot-alert-reopened": { + "dependabot-alert-dismissed": { "post": { "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.16/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.16/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A Dependabot alert was manually reopened.", - "operationId": "dependabot-alert/reopened", + "description": "A Dependabot alert was manually closed.", + "operationId": "dependabot-alert/dismissed", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#dependabot_alert" }, @@ -3419,7 +3461,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-reopened" + "$ref": "#/components/schemas/webhook-dependabot-alert-dismissed" } } } @@ -3437,13 +3479,13 @@ } } }, - "deploy-key-created": { + "dependabot-alert-fixed": { "post": { - "summary": "This event occurs when there is activity relating to deploy keys. For more information, see \"[Managing deploy keys](https://docs.github.com/enterprise-server@3.16/developers/overview/managing-deploy-keys).\" For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#deploykey) or \"[Deploy keys](https://docs.github.com/enterprise-server@3.16/rest/deploy-keys)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deploy key was created.", - "operationId": "deploy-key/created", + "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.16/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.16/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", + "description": "A manifest file change removed a vulnerability.", + "operationId": "dependabot-alert/fixed", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#deploy_key" + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#dependabot_alert" }, "parameters": [ { @@ -3506,7 +3548,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-deploy-key-created" + "$ref": "#/components/schemas/webhook-dependabot-alert-fixed" } } } @@ -3519,18 +3561,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "deploy_key", + "subcategory": "dependabot_alert", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "deploy-key-deleted": { + "dependabot-alert-reintroduced": { "post": { - "summary": "This event occurs when there is activity relating to deploy keys. For more information, see \"[Managing deploy keys](https://docs.github.com/enterprise-server@3.16/developers/overview/managing-deploy-keys).\" For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#deploykey) or \"[Deploy keys](https://docs.github.com/enterprise-server@3.16/rest/deploy-keys)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deploy key was deleted.", - "operationId": "deploy-key/deleted", + "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.16/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.16/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", + "description": "A manifest file change introduced a vulnerable dependency that had previously been fixed.", + "operationId": "dependabot-alert/reintroduced", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#deploy_key" + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#dependabot_alert" }, "parameters": [ { @@ -3593,7 +3635,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-deploy-key-deleted" + "$ref": "#/components/schemas/webhook-dependabot-alert-reintroduced" } } } @@ -3606,18 +3648,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "deploy_key", + "subcategory": "dependabot_alert", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "deployment-created": { + "dependabot-alert-reopened": { "post": { - "summary": "This event occurs when there is activity relating to deployments. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.16/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.16/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment status, use the `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deployment was created.", - "operationId": "deployment/created", + "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.16/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.16/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", + "description": "A Dependabot alert was manually reopened.", + "operationId": "dependabot-alert/reopened", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#deployment" + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#dependabot_alert" }, "parameters": [ { @@ -3680,7 +3722,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-deployment-created" + "$ref": "#/components/schemas/webhook-dependabot-alert-reopened" } } } @@ -3693,18 +3735,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "deployment", + "subcategory": "dependabot_alert", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "deployment-protection-rule-requested": { + "deploy-key-created": { "post": { - "summary": "This event occurs when there is activity relating to deployment protection rules. For more information, see \"[Using environments for deployment](https://docs.github.com/enterprise-server@3.16/actions/deployment/targeting-different-environments/using-environments-for-deployment#environment-protection-rules).\" For information about the API to manage deployment protection rules, see [the REST API documentation](https://docs.github.com/enterprise-server@3.16/rest/deployments/environments).\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deployment protection rule was requested for an environment.", - "operationId": "deployment-protection-rule/requested", + "summary": "This event occurs when there is activity relating to deploy keys. For more information, see \"[Managing deploy keys](https://docs.github.com/enterprise-server@3.16/developers/overview/managing-deploy-keys).\" For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#deploykey) or \"[Deploy keys](https://docs.github.com/enterprise-server@3.16/rest/deploy-keys)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", + "description": "A deploy key was created.", + "operationId": "deploy-key/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#deployment_protection_rule" + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#deploy_key" }, "parameters": [ { @@ -3767,7 +3809,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-deployment-protection-rule-requested" + "$ref": "#/components/schemas/webhook-deploy-key-created" } } } @@ -3780,18 +3822,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "deployment_protection_rule", - "supported-webhook-types": ["app"] + "subcategory": "deploy_key", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "deployment-review-approved": { + "deploy-key-deleted": { "post": { - "summary": "This event occurs when there is activity relating to deployment reviews. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.16/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.16/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deployment review was approved.", - "operationId": "deployment-review/approved", + "summary": "This event occurs when there is activity relating to deploy keys. For more information, see \"[Managing deploy keys](https://docs.github.com/enterprise-server@3.16/developers/overview/managing-deploy-keys).\" For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#deploykey) or \"[Deploy keys](https://docs.github.com/enterprise-server@3.16/rest/deploy-keys)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", + "description": "A deploy key was deleted.", + "operationId": "deploy-key/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#deployment_review" + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#deploy_key" }, "parameters": [ { @@ -3854,7 +3896,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-deployment-review-approved" + "$ref": "#/components/schemas/webhook-deploy-key-deleted" } } } @@ -3867,18 +3909,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "deployment_review", - "supported-webhook-types": ["app"] + "subcategory": "deploy_key", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "deployment-review-rejected": { + "deployment-created": { "post": { - "summary": "This event occurs when there is activity relating to deployment reviews. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.16/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.16/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deployment review was rejected.", - "operationId": "deployment-review/rejected", + "summary": "This event occurs when there is activity relating to deployments. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.16/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.16/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment status, use the `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", + "description": "A deployment was created.", + "operationId": "deployment/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#deployment_review" + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#deployment" }, "parameters": [ { @@ -3941,7 +3983,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-deployment-review-rejected" + "$ref": "#/components/schemas/webhook-deployment-created" } } } @@ -3954,18 +3996,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "deployment_review", - "supported-webhook-types": ["app"] + "subcategory": "deployment", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "deployment-review-requested": { + "deployment-protection-rule-requested": { "post": { - "summary": "This event occurs when there is activity relating to deployment reviews. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.16/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.16/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deployment review was requested.", - "operationId": "deployment-review/requested", + "summary": "This event occurs when there is activity relating to deployment protection rules. For more information, see \"[Using environments for deployment](https://docs.github.com/enterprise-server@3.16/actions/deployment/targeting-different-environments/using-environments-for-deployment#environment-protection-rules).\" For information about the API to manage deployment protection rules, see [the REST API documentation](https://docs.github.com/enterprise-server@3.16/rest/deployments/environments).\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", + "description": "A deployment protection rule was requested for an environment.", + "operationId": "deployment-protection-rule/requested", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#deployment_review" + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#deployment_protection_rule" }, "parameters": [ { @@ -4028,7 +4070,94 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-deployment-review-requested" + "$ref": "#/components/schemas/webhook-deployment-protection-rule-requested" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "deployment_protection_rule", + "supported-webhook-types": ["app"] + } + } + }, + "deployment-review-approved": { + "post": { + "summary": "This event occurs when there is activity relating to deployment reviews. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.16/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.16/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", + "description": "A deployment review was approved.", + "operationId": "deployment-review/approved", + "externalDocs": { + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#deployment_review" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" } + }, + { + "name": "X-GitHub-Enterprise-Version", + "in": "header", + "example": "3.1.9", + "schema": { "type": "string" } + }, + { + "name": "X-GitHub-Enterprise-Host", + "in": "header", + "example": "ghes.github.com", + "schema": { "type": "string" } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-deployment-review-approved" } } } @@ -4046,13 +4175,13 @@ } } }, - "deployment-status-created": { + "deployment-review-rejected": { "post": { - "summary": "This event occurs when there is activity relating to deployment statuses. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.16/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.16/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation, use the `deployment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.\n\n> [!NOTE]\n> A webhook event is not fired for deployment statuses with an `inactive` state.", - "description": "A new deployment status was created.", - "operationId": "deployment-status/created", + "summary": "This event occurs when there is activity relating to deployment reviews. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.16/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.16/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", + "description": "A deployment review was rejected.", + "operationId": "deployment-review/rejected", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#deployment_status" + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#deployment_review" }, "parameters": [ { @@ -4115,7 +4244,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-deployment-status-created" + "$ref": "#/components/schemas/webhook-deployment-review-rejected" } } } @@ -4128,18 +4257,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "deployment_status", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "deployment_review", + "supported-webhook-types": ["app"] } } }, - "discussion-answered": { + "deployment-review-requested": { "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.16/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A comment on the discussion was marked as the answer.", - "operationId": "discussion/answered", + "summary": "This event occurs when there is activity relating to deployment reviews. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.16/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.16/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", + "description": "A deployment review was requested.", + "operationId": "deployment-review/requested", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#discussion" + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#deployment_review" }, "parameters": [ { @@ -4202,7 +4331,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-answered" + "$ref": "#/components/schemas/webhook-deployment-review-requested" } } } @@ -4215,16 +4344,103 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "discussion", + "subcategory": "deployment_review", + "supported-webhook-types": ["app"] + } + } + }, + "deployment-status-created": { + "post": { + "summary": "This event occurs when there is activity relating to deployment statuses. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.16/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.16/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation, use the `deployment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.\n\n> [!NOTE]\n> A webhook event is not fired for deployment statuses with an `inactive` state.", + "description": "A new deployment status was created.", + "operationId": "deployment-status/created", + "externalDocs": { + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#deployment_status" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" } + }, + { + "name": "X-GitHub-Enterprise-Version", + "in": "header", + "example": "3.1.9", + "schema": { "type": "string" } + }, + { + "name": "X-GitHub-Enterprise-Host", + "in": "header", + "example": "ghes.github.com", + "schema": { "type": "string" } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-deployment-status-created" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "deployment_status", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "discussion-category-changed": { + "discussion-answered": { "post": { "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.16/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "The category of a discussion was changed.", - "operationId": "discussion/category-changed", + "description": "A comment on the discussion was marked as the answer.", + "operationId": "discussion/answered", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#discussion" }, @@ -4289,7 +4505,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-category-changed" + "$ref": "#/components/schemas/webhook-discussion-answered" } } } @@ -4307,11 +4523,11 @@ } } }, - "discussion-closed": { + "discussion-category-changed": { "post": { "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.16/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was closed.", - "operationId": "discussion/closed", + "description": "The category of a discussion was changed.", + "operationId": "discussion/category-changed", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#discussion" }, @@ -4331,7 +4547,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "discussions", + "example": "issues", "schema": { "type": "string" } }, { @@ -4361,7 +4577,7 @@ { "name": "X-GitHub-Enterprise-Version", "in": "header", - "example": "3.9.0", + "example": "3.1.9", "schema": { "type": "string" } }, { @@ -4376,7 +4592,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-closed" + "$ref": "#/components/schemas/webhook-discussion-category-changed" } } } @@ -4394,13 +4610,13 @@ } } }, - "discussion-comment-created": { + "discussion-closed": { "post": { - "summary": "This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.16/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#discussion).\n\nFor activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A comment on a discussion was created.", - "operationId": "discussion-comment/created", + "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.16/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "description": "A discussion was closed.", + "operationId": "discussion/closed", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#discussion_comment" + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#discussion" }, "parameters": [ { @@ -4418,7 +4634,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "discussions", "schema": { "type": "string" } }, { @@ -4448,7 +4664,7 @@ { "name": "X-GitHub-Enterprise-Version", "in": "header", - "example": "3.1.9", + "example": "3.9.0", "schema": { "type": "string" } }, { @@ -4463,7 +4679,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-comment-created" + "$ref": "#/components/schemas/webhook-discussion-closed" } } } @@ -4476,16 +4692,16 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "discussion_comment", + "subcategory": "discussion", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "discussion-comment-deleted": { + "discussion-comment-created": { "post": { "summary": "This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.16/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#discussion).\n\nFor activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A comment on a discussion was deleted.", - "operationId": "discussion-comment/deleted", + "description": "A comment on a discussion was created.", + "operationId": "discussion-comment/created", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#discussion_comment" }, @@ -4550,7 +4766,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-comment-deleted" + "$ref": "#/components/schemas/webhook-discussion-comment-created" } } } @@ -4568,11 +4784,98 @@ } } }, - "discussion-comment-edited": { + "discussion-comment-deleted": { "post": { "summary": "This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.16/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#discussion).\n\nFor activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A comment on a discussion was edited.", - "operationId": "discussion-comment/edited", + "description": "A comment on a discussion was deleted.", + "operationId": "discussion-comment/deleted", + "externalDocs": { + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#discussion_comment" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" } + }, + { + "name": "X-GitHub-Enterprise-Version", + "in": "header", + "example": "3.1.9", + "schema": { "type": "string" } + }, + { + "name": "X-GitHub-Enterprise-Host", + "in": "header", + "example": "ghes.github.com", + "schema": { "type": "string" } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-discussion-comment-deleted" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "discussion_comment", + "supported-webhook-types": ["repository", "organization", "app"] + } + } + }, + "discussion-comment-edited": { + "post": { + "summary": "This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.16/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#discussion).\n\nFor activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "description": "A comment on a discussion was edited.", + "operationId": "discussion-comment/edited", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#discussion_comment" }, @@ -23025,6 +23328,10 @@ ] }, "app_id": { "type": "integer", "examples": [1] }, + "client_id": { + "type": "string", + "examples": ["Iv1.ab1112223334445c"] + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -26189,6 +26496,75 @@ }, "required": ["total", "completed", "percent_completed"] }, + "issue-dependencies-summary": { + "title": "Issue Dependencies Summary", + "type": "object", + "properties": { + "blocked_by": { "type": "integer" }, + "blocking": { "type": "integer" }, + "total_blocked_by": { "type": "integer" }, + "total_blocking": { "type": "integer" } + }, + "required": [ + "blocked_by", + "blocking", + "total_blocked_by", + "total_blocking" + ] + }, + "issue-field-value": { + "title": "Issue Field Value", + "description": "A value assigned to an issue field", + "type": "object", + "properties": { + "issue_field_id": { + "description": "Unique identifier for the issue field.", + "type": "integer", + "format": "int64", + "examples": [1] + }, + "node_id": { "type": "string", "examples": ["IFT_GDKND"] }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": ["text", "single_select", "number", "date"], + "examples": ["text"] + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { "type": "string", "examples": ["Sample text"] }, + { "type": "number", "examples": [42.5] }, + { "type": "integer", "examples": [1] } + ], + "type": ["null", "string", "number", "integer"] + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": ["object", "null"], + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [1] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": ["High"] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": ["red"] + } + }, + "required": ["id", "name", "color"] + } + }, + "required": ["issue_field_id", "node_id", "data_type", "value"] + }, "issue": { "title": "Issue", "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", @@ -26220,7 +26596,7 @@ "state_reason": { "description": "The reason for the current state", "type": ["string", "null"], - "enum": ["completed", "reopened", "not_planned", null], + "enum": ["completed", "reopened", "not_planned", "duplicate", null], "examples": ["not_planned"] }, "title": { @@ -26323,6 +26699,13 @@ "reactions": { "$ref": "#/components/schemas/reaction-rollup" }, "sub_issues_summary": { "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } } }, "required": [ @@ -27800,6 +28183,7 @@ "type": ["object", "null"], "properties": { "advanced_security": { + "description": "Enable or disable GitHub Advanced Security for the repository.\n\nFor standalone Code Scanning or Secret Protection products, this parameter cannot be used.\n", "type": "object", "properties": { "status": { "type": "string", "enum": ["enabled", "disabled"] } @@ -28450,6 +28834,11 @@ "required": ["name", "space", "private_repos"] }, "default_repository_permission": { "type": ["string", "null"] }, + "default_repository_branch": { + "type": ["string", "null"], + "description": "The default branch for repositories created in this organization.", + "examples": ["main"] + }, "members_can_create_repositories": { "type": ["boolean", "null"], "examples": [true] @@ -28483,6 +28872,35 @@ "type": "boolean", "examples": [true] }, + "members_can_delete_repositories": { + "type": "boolean", + "examples": [true] + }, + "members_can_change_repo_visibility": { + "type": "boolean", + "examples": [true] + }, + "members_can_invite_outside_collaborators": { + "type": "boolean", + "examples": [true] + }, + "members_can_delete_issues": { + "type": "boolean", + "examples": [true] + }, + "display_commenter_full_name_setting_enabled": { + "type": "boolean", + "examples": [true] + }, + "readers_can_create_discussions": { + "type": "boolean", + "examples": [true] + }, + "members_can_create_teams": { "type": "boolean", "examples": [true] }, + "members_can_view_dependency_insights": { + "type": "boolean", + "examples": [true] + }, "members_can_fork_private_repositories": { "type": ["boolean", "null"], "examples": [false] @@ -29223,6 +29641,18 @@ "enum": ["admin", "member", "billing_manager"], "examples": ["admin"] }, + "direct_membership": { + "type": "boolean", + "description": "Whether the user has direct membership in the organization.", + "examples": [true] + }, + "enterprise_teams_providing_indirect_membership": { + "type": "array", + "description": "The slugs of the enterprise teams providing the user with indirect membership in the organization.\nA limit of 100 enterprise team slugs is returned.", + "maxItems": 100, + "items": { "type": "string" }, + "examples": ["ent:team-one", "ent:team-two"] + }, "organization_url": { "type": "string", "format": "uri", @@ -29966,7 +30396,23 @@ }, "registry_type": { "description": "The registry type.", - "enum": ["maven_repository", "nuget_feed", "goproxy_server"], + "enum": [ + "maven_repository", + "nuget_feed", + "goproxy_server", + "npm_registry", + "rubygems_server", + "cargo_registry", + "composer_repository", + "docker_registry", + "git_source", + "helm_registry", + "hex_organization", + "hex_repository", + "pub_repository", + "python_index", + "terraform_registry" + ], "type": "string" }, "username": { @@ -29990,47 +30436,6 @@ "updated_at" ] }, - "org-private-registry-configuration-with-selected-repositories": { - "title": "Organization private registry", - "description": "Private registry configuration for an organization", - "type": "object", - "properties": { - "name": { - "description": "The name of the private registry configuration.", - "type": "string", - "examples": ["MAVEN_REPOSITORY_SECRET"] - }, - "registry_type": { - "description": "The registry type.", - "enum": ["maven_repository", "nuget_feed", "goproxy_server"], - "type": "string" - }, - "username": { - "description": "The username to use when authenticating with the private registry.", - "type": "string", - "examples": ["monalisa"] - }, - "visibility": { - "description": "Which type of organization repositories have access to the private registry. `selected` means only the repositories specified by `selected_repository_ids` can access the private registry.", - "enum": ["all", "private", "selected"], - "type": "string" - }, - "selected_repository_ids": { - "type": "array", - "description": "An array of repository IDs that can access the organization private registry when `visibility` is set to `selected`.", - "items": { "type": "integer" } - }, - "created_at": { "type": "string", "format": "date-time" }, - "updated_at": { "type": "string", "format": "date-time" } - }, - "required": [ - "name", - "registry_type", - "visibility", - "created_at", - "updated_at" - ] - }, "project": { "title": "Project", "description": "Projects are a way to organize columns and cards of work.", @@ -30821,7 +31226,7 @@ "properties": { "actor_id": { "type": ["integer", "null"], - "description": "The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. If `actor_type` is `EnterpriseOwner`, `actor_id` is ignored. `OrganizationAdmin` and `EnterpriseOwner` are not applicable for personal repositories." + "description": "The ID of the actor that can bypass a ruleset. Required for `Integration`, `RepositoryRole`, and `Team` actor types. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. If `actor_type` is `EnterpriseOwner`, `actor_id` is ignored. `OrganizationAdmin` and `EnterpriseOwner` are not applicable for personal repositories." }, "actor_type": { "type": "string", @@ -31182,7 +31587,7 @@ "properties": { "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -31654,6 +32059,45 @@ "updated_at": { "type": "string", "format": "date-time" } } }, + "org-rules": { + "title": "Repository Rule", + "type": "object", + "description": "A repository rule.", + "oneOf": [ + { "$ref": "#/components/schemas/repository-rule-creation" }, + { "$ref": "#/components/schemas/repository-rule-update" }, + { "$ref": "#/components/schemas/repository-rule-deletion" }, + { + "$ref": "#/components/schemas/repository-rule-required-linear-history" + }, + { + "$ref": "#/components/schemas/repository-rule-required-deployments" + }, + { + "$ref": "#/components/schemas/repository-rule-required-signatures" + }, + { "$ref": "#/components/schemas/repository-rule-pull-request" }, + { + "$ref": "#/components/schemas/repository-rule-required-status-checks" + }, + { "$ref": "#/components/schemas/repository-rule-non-fast-forward" }, + { + "$ref": "#/components/schemas/repository-rule-commit-message-pattern" + }, + { + "$ref": "#/components/schemas/repository-rule-commit-author-email-pattern" + }, + { + "$ref": "#/components/schemas/repository-rule-committer-email-pattern" + }, + { + "$ref": "#/components/schemas/repository-rule-branch-name-pattern" + }, + { "$ref": "#/components/schemas/repository-rule-tag-name-pattern" }, + { "$ref": "#/components/schemas/repository-rule-workflows" }, + { "$ref": "#/components/schemas/repository-rule-code-scanning" } + ] + }, "rule-suites": { "title": "Rule Suites", "description": "Response", @@ -33160,6 +33604,7 @@ "$ref": "#/components/schemas/rate-limit" }, "scim": { "$ref": "#/components/schemas/rate-limit" }, + "dependency_sbom": { "$ref": "#/components/schemas/rate-limit" }, "code_scanning_autofix": { "$ref": "#/components/schemas/rate-limit" } @@ -35749,10 +36194,6 @@ "type": "string", "enum": ["open", "dismissed"] }, - "code-scanning-alert-create-request": { - "type": "boolean", - "description": "If `true`, attempt to create an alert dismissal request." - }, "code-scanning-analysis-sarif-id": { "type": "string", "description": "An identifier for the upload.", @@ -39582,6 +40023,7 @@ "required": ["html", "pull_request"] }, "submitted_at": { "type": "string", "format": "date-time" }, + "updated_at": { "type": ["string", "null"], "format": "date-time" }, "commit_id": { "description": "A commit SHA for the review.", "type": "string", @@ -39994,7 +40436,7 @@ "created_at": { "type": "string" }, "read_only": { "type": "boolean" }, "added_by": { "type": ["string", "null"] }, - "last_used": { "type": ["string", "null"] }, + "last_used": { "type": ["string", "null"], "format": "date-time" }, "enabled": { "type": "boolean" } }, "required": [ @@ -40825,6 +41267,11 @@ "description": "The original first line of the range for a multi-line comment.", "type": ["integer", "null"], "examples": [2] + }, + "subject_type": { + "description": "The level at which the comment is targeted, can be a diff line or a file.", + "type": "string", + "enum": ["line", "file"] } }, "required": [ @@ -40933,8 +41380,14 @@ "type": "boolean", "examples": [false] }, + "immutable": { + "description": "Whether or not the release is immutable.", + "type": "boolean", + "examples": [false] + }, "created_at": { "type": "string", "format": "date-time" }, "published_at": { "type": ["string", "null"], "format": "date-time" }, + "updated_at": { "type": ["string", "null"], "format": "date-time" }, "author": { "$ref": "#/components/schemas/simple-user" }, "assets": { "type": "array", @@ -42554,14 +43007,14 @@ } }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "type": "string" }, "state_reason": { "type": ["string", "null"] }, @@ -43323,7 +43776,8 @@ "title": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "verified": { "type": "boolean" }, - "read_only": { "type": "boolean" } + "read_only": { "type": "boolean" }, + "last_used": { "type": ["string", "null"], "format": "date-time" } }, "required": [ "key", @@ -43395,7 +43849,9 @@ "type": "object", "properties": { "id": { "type": "integer" }, - "key": { "type": "string" } + "key": { "type": "string" }, + "created_at": { "type": "string", "format": "date-time" }, + "last_used": { "type": ["string", "null"], "format": "date-time" } }, "required": ["key", "id"] }, @@ -44754,12 +45210,7 @@ "description": "A check performed on the code of a given code change", "type": "object", "properties": { - "app": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/integration" } - ] - }, + "app": { "$ref": "#/components/schemas/integration" }, "check_suite": { "$ref": "#/components/schemas/simple-check-suite" }, "completed_at": { "type": ["string", "null"], @@ -46183,14 +46634,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -46857,14 +47308,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -47147,6 +47598,18 @@ "properties": { "organization_url": { "type": "string", "format": "uri" }, "role": { "type": "string" }, + "direct_membership": { + "type": "boolean", + "description": "Whether the user has direct membership in the organization.", + "examples": [true] + }, + "enterprise_teams_providing_indirect_membership": { + "type": "array", + "description": "The slugs of the enterprise teams providing the user with indirect membership in the organization.\nA limit of 100 enterprise team slugs is returned.", + "maxItems": 100, + "items": { "type": "string" }, + "examples": ["ent:team-one", "ent:team-two"] + }, "state": { "type": "string" }, "url": { "type": "string", "format": "uri" }, "user": { @@ -47492,6 +47955,54 @@ "updated_at" ] }, + "projects-v2-status-update": { + "title": "Projects v2 Status Update", + "description": "An status update belonging to a project", + "type": "object", + "properties": { + "id": { "type": "number" }, + "node_id": { "type": "string" }, + "project_node_id": { "type": "string" }, + "creator": { "$ref": "#/components/schemas/simple-user" }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": ["2022-04-28T12:00:00Z"] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": ["2022-04-28T12:00:00Z"] + }, + "status": { + "type": ["string", "null"], + "enum": [ + "INACTIVE", + "ON_TRACK", + "AT_RISK", + "OFF_TRACK", + "COMPLETE", + null + ] + }, + "start_date": { + "type": "string", + "format": "date", + "examples": ["2022-04-28"] + }, + "target_date": { + "type": "string", + "format": "date", + "examples": ["2022-04-28"] + }, + "body": { + "description": "Body of the status update", + "type": ["string", "null"], + "examples": ["The project is off to a great start!"] + } + }, + "required": ["id", "node_id", "created_at", "updated_at"] + }, "projects-v2": { "title": "Projects v2 Project", "description": "A projects v2 project", @@ -47531,6 +48042,17 @@ { "type": "null" }, { "$ref": "#/components/schemas/simple-user" } ] + }, + "state": { "type": "string", "enum": ["open", "closed"] }, + "latest_status_update": { + "anyOf": [ + { "type": "null" }, + { "$ref": "#/components/schemas/projects-v2-status-update" } + ] + }, + "is_template": { + "type": "boolean", + "description": "Whether this project is a template" } }, "required": [ @@ -47625,8 +48147,10 @@ "properties": { "id": { "type": "string" }, "title": { "type": "string" }, + "title_html": { "type": "string" }, "duration": { "type": ["number", "null"] }, - "start_date": { "type": ["string", "null"] } + "start_date": { "type": ["string", "null"] }, + "completed": { "type": "boolean" } }, "required": ["id", "title"] }, @@ -49593,6 +50117,7 @@ "pull_request_url": { "type": "string", "format": "uri" }, "state": { "type": "string" }, "submitted_at": { "type": ["string", "null"], "format": "date-time" }, + "updated_at": { "type": ["string", "null"], "format": "date-time" }, "user": { "title": "User", "type": ["object", "null"], @@ -49769,6 +50294,7 @@ }, "body": { "type": ["string", "null"] }, "created_at": { "type": ["string", "null"], "format": "date-time" }, + "updated_at": { "type": ["string", "null"], "format": "date-time" }, "discussion_url": { "type": "string", "format": "uri" }, "draft": { "description": "Whether the release is a draft or published", @@ -49776,6 +50302,10 @@ }, "html_url": { "type": "string", "format": "uri" }, "id": { "type": "integer" }, + "immutable": { + "description": "Whether or not the release is immutable.", + "type": "boolean" + }, "name": { "type": ["string", "null"] }, "node_id": { "type": "string" }, "prerelease": { @@ -49837,10 +50367,12 @@ "draft", "author", "prerelease", + "immutable", "created_at", "published_at", "assets", "tarball_url", + "updated_at", "zipball_url", "body" ] @@ -49861,10 +50393,12 @@ "name", "node_id", "prerelease", + "immutable", "published_at", "tag_name", "tarball_url", "target_commitish", + "updated_at", "upload_url", "url", "zipball_url" @@ -50000,6 +50534,10 @@ }, "html_url": { "type": "string", "format": "uri" }, "id": { "type": "integer" }, + "immutable": { + "description": "Whether or not the release is immutable.", + "type": "boolean" + }, "name": { "type": ["string", "null"] }, "node_id": { "type": "string" }, "prerelease": { @@ -50044,6 +50582,7 @@ "description": "Specifies the commitish value that determines where the Git tag is created from.", "type": "string" }, + "updated_at": { "type": ["string", "null"], "format": "date-time" }, "upload_url": { "type": "string", "format": "uri-template" }, "url": { "type": "string", "format": "uri" }, "zipball_url": { "type": ["string", "null"], "format": "uri" } @@ -53840,6 +54379,99 @@ "sender" ] }, + "webhook-custom-property-created": { + "title": "custom property created event", + "type": "object", + "properties": { + "action": { "type": "string", "enum": ["created"] }, + "definition": { "$ref": "#/components/schemas/custom-property" }, + "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "sender": { "$ref": "#/components/schemas/simple-user" } + }, + "required": ["action", "definition"] + }, + "webhook-custom-property-deleted": { + "title": "custom property deleted event", + "type": "object", + "properties": { + "action": { "type": "string", "enum": ["deleted"] }, + "definition": { + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property that was deleted." + } + }, + "required": ["property_name"] + }, + "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "sender": { "$ref": "#/components/schemas/simple-user" } + }, + "required": ["action", "definition"] + }, + "webhook-custom-property-updated": { + "title": "custom property updated event", + "type": "object", + "properties": { + "action": { "type": "string", "enum": ["updated"] }, + "definition": { "$ref": "#/components/schemas/custom-property" }, + "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "sender": { "$ref": "#/components/schemas/simple-user" } + }, + "required": ["action", "definition"] + }, + "webhook-custom-property-values-updated": { + "title": "Custom property values updated event", + "type": "object", + "properties": { + "action": { "type": "string", "enum": ["updated"] }, + "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "repository": { "$ref": "#/components/schemas/repository-webhooks" }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "sender": { "$ref": "#/components/schemas/simple-user" }, + "new_property_values": { + "type": "array", + "description": "The new custom property values for the repository.", + "items": { "$ref": "#/components/schemas/custom-property-value" } + }, + "old_property_values": { + "type": "array", + "description": "The old custom property values for the repository.", + "items": { "$ref": "#/components/schemas/custom-property-value" } + } + }, + "required": [ + "action", + "repository", + "organization", + "new_property_values", + "old_property_values" + ] + }, "webhook-delete": { "title": "delete event", "type": "object", @@ -59320,14 +59952,10 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -60259,14 +60887,10 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -61202,14 +61826,10 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -62177,14 +62797,16 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { + "$ref": "#/components/schemas/issue-field-value" + } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -62973,14 +63595,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -63693,14 +64315,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -64398,14 +65020,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -65099,14 +65721,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -65825,14 +66447,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -66523,14 +67145,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -67253,14 +67875,16 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { + "$ref": "#/components/schemas/issue-field-value" + } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -68314,14 +68938,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -69055,14 +69679,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -69784,14 +70408,16 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { + "$ref": "#/components/schemas/issue-field-value" + } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -70952,14 +71578,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -71359,7 +71985,7 @@ "action": { "type": "string", "enum": ["deleted"] }, "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, "hook": { - "description": "The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, business, app, or GitHub Marketplace.", + "description": "The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, business, app, or GitHub Marketplace.", "type": "object", "properties": { "active": { "type": "boolean" }, @@ -71378,6 +72004,7 @@ }, "created_at": { "type": "string" }, "events": { + "description": "", "type": "array", "items": { "type": "string", @@ -90601,6 +91228,10 @@ "enum": ["dismissed", "approved", "changes_requested"] }, "submitted_at": { "type": "string", "format": "date-time" }, + "updated_at": { + "type": ["string", "null"], + "format": "date-time" + }, "user": { "title": "User", "type": ["object", "null"], @@ -104581,7 +105212,8 @@ "node_id": { "type": "string" } }, "required": ["node_id", "comments"] - } + }, + "updated_at": { "type": ["string", "null"], "format": "date-time" } }, "required": ["action", "thread", "pull_request", "repository"] }, @@ -106571,7 +107203,8 @@ "node_id": { "type": "string" } }, "required": ["node_id", "comments"] - } + }, + "updated_at": { "type": ["string", "null"], "format": "date-time" } }, "required": ["action", "thread", "pull_request", "repository"] }, @@ -115340,6 +115973,7 @@ "draft", "html_url", "id", + "immutable", "name", "node_id", "prerelease", @@ -115347,6 +115981,7 @@ "tag_name", "tarball_url", "target_commitish", + "updated_at", "upload_url", "url", "zipball_url" @@ -115500,6 +116135,10 @@ }, "html_url": { "type": "string", "format": "uri" }, "id": { "type": "integer" }, + "immutable": { + "description": "Whether or not the release is immutable.", + "type": "boolean" + }, "name": { "type": ["string", "null"] }, "node_id": { "type": "string" }, "prerelease": { @@ -115549,6 +116188,10 @@ "type": "string" }, "upload_url": { "type": "string", "format": "uri-template" }, + "updated_at": { + "type": ["string", "null"], + "format": "date-time" + }, "url": { "type": "string", "format": "uri" }, "zipball_url": { "type": ["string", "null"], "format": "uri" } } @@ -126558,7 +127201,20 @@ "resolution_comment": "Example comment", "validity": "active", "publicly_leaked": false, - "multi_repo": false + "multi_repo": false, + "is_base64_encoded": false, + "first_location_detected": { + "path": "/example/secrets.txt", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 64, + "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", + "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", + "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", + "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" + }, + "has_more_locations": true }, { "number": 1, @@ -126650,7 +127306,12 @@ "resolution_comment": null, "validity": "unknown", "publicly_leaked": false, - "multi_repo": false + "multi_repo": false, + "is_base64_encoded": false, + "first_location_detected": { + "issue_title_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + }, + "has_more_locations": false } ] }, @@ -128466,6 +129127,7 @@ "seats": 5 }, "default_repository_permission": "read", + "default_repository_branch": "main", "members_can_create_repositories": true, "two_factor_requirement_enabled": true, "members_allowed_repository_creation_type": "all", @@ -128475,6 +129137,14 @@ "members_can_create_pages": true, "members_can_create_public_pages": true, "members_can_create_private_pages": true, + "members_can_delete_repositories": true, + "members_can_change_repo_visibility": true, + "members_can_invite_outside_collaborators": true, + "members_can_delete_issues": false, + "display_commenter_full_name_setting_enabled": false, + "readers_can_create_discussions": true, + "members_can_create_teams": true, + "members_can_view_dependency_insights": true, "members_can_fork_private_repositories": false, "web_commit_signoff_required": false, "updated_at": "2014-03-03T18:58:10Z", @@ -130564,33 +131234,22 @@ ] } }, - "org-private-registry-configuration": { + "private-registries-public-key": { "value": { - "name": "MAVEN_REPOSITORY_SECRET", - "registry_type": "maven_repository", - "username": "monalisa", - "visibility": "private", - "created_at": "2019-08-10T14:59:22Z", - "updated_at": "2020-01-10T14:59:22Z" + "key_id": "012345678912345678", + "key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234" } }, - "org-private-registry-configuration-with-selected-repositories": { + "org-private-registry-configuration": { "value": { "name": "MAVEN_REPOSITORY_SECRET", "registry_type": "maven_repository", "username": "monalisa", - "visibility": "selected", - "selected_repository_ids": [1296269, 1296280], + "visibility": "private", "created_at": "2019-08-10T14:59:22Z", "updated_at": "2020-01-10T14:59:22Z" } }, - "private-registries-public-key": { - "value": { - "key_id": "012345678912345678", - "key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234" - } - }, "project-items": { "value": [ { @@ -142678,6 +143337,7 @@ "body": "Description of the release", "draft": false, "prerelease": false, + "immutable": false, "created_at": "2013-02-27T19:35:32Z", "published_at": "2013-02-27T19:35:32Z", "author": { @@ -142757,6 +143417,7 @@ "body": "Description of the release", "draft": false, "prerelease": false, + "immutable": false, "created_at": "2013-02-27T19:35:32Z", "published_at": "2013-02-27T19:35:32Z", "author": { @@ -143109,7 +143770,20 @@ "resolution_comment": "Example comment", "validity": "inactive", "publicly_leaked": false, - "multi_repo": false + "multi_repo": false, + "is_base64_encoded": false, + "first_location_detected": { + "path": "/example/secrets.txt", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 64, + "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", + "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", + "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", + "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" + }, + "has_more_locations": true }, { "number": 1, @@ -143134,7 +143808,12 @@ "resolution_comment": null, "validity": "unknown", "publicly_leaked": false, - "multi_repo": false + "multi_repo": false, + "is_base64_encoded": false, + "first_location_detected": { + "issue_title_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + }, + "has_more_locations": false } ] }, @@ -148378,7 +149057,7 @@ }, "enterprise": { "name": "enterprise", - "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "description": "The slug version of the enterprise name.", "in": "path", "required": true, "schema": { "type": "string" } @@ -148780,6 +149459,18 @@ "required": true, "schema": { "type": "integer" } }, + "dependabot-alert-comma-separated-package-registry-urls": { + "name": "package_registry_url", + "in": "query", + "description": "A comma-separated list of package registry URLs. If specified, only alerts for repositories with storage records matching these URLs will be returned.", + "schema": { "type": "string" } + }, + "dependabot-alert-comma-separated-package-registry": { + "name": "package_registry", + "in": "query", + "description": "A comma-separated list of Package Registry name strings. If specified, only alerts for repositories with storage records matching these registries will be returned.\n\nCan be: `jfrog-artifactory`", + "schema": { "type": "string" } + }, "group-id": { "name": "group_id", "description": "The unique identifier of the group.", @@ -148953,7 +149644,7 @@ }, "time-period": { "name": "time_period", - "description": "The time period to filter by.\n\nFor example, `day` will filter for rule suites that occurred in the past 24 hours, and `week` will filter for insights that occurred in the past 7 days (168 hours).", + "description": "The time period to filter by.\n\nFor example, `day` will filter for rule suites that occurred in the past 24 hours, and `week` will filter for rule suites that occurred in the past 7 days (168 hours).", "in": "query", "required": false, "schema": { @@ -148970,7 +149661,7 @@ }, "rule-suite-result": { "name": "rule_suite_result", - "description": "The rule results to filter on. When specified, only suites with this result will be returned.", + "description": "The rule suite results to filter on. When specified, only suites with this result will be returned.", "in": "query", "schema": { "type": "string", @@ -149830,6 +150521,14 @@ } } }, + "code_scanning_invalid_state": { + "description": "Response if the configuration change cannot be made because the repository is not in the required state", + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/basic-error" } + } + } + }, "found": { "description": "Found" }, "dependency_review_forbidden": { "description": "Response for a private repository when GitHub Advanced Security is not enabled, or if used against a fork", diff --git a/cache/ghes-3.17.json b/cache/ghes-3.17.json index 1c2a6f2..7aeac7f 100644 --- a/cache/ghes-3.17.json +++ b/cache/ghes-3.17.json @@ -75,7 +75,10 @@ "name": "packages", "description": "Manage packages for authenticated users and organizations." }, - { "name": "projects", "description": "Interact with GitHub Projects." }, + { + "name": "projects-classic", + "description": "Interact with GitHub Projects (classic)." + }, { "name": "pulls", "description": "Interact with GitHub Pull Requests." }, { "name": "rate-limit", @@ -2744,12 +2747,13 @@ } } }, - "delete": { + "custom-property-created": { "post": { - "summary": "This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including\nbranch and tag deletions, use the [`push`](#push) webhook event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.\n\n> [!NOTE]\n> This event will not occur when more than three tags are deleted at once.", - "operationId": "delete", + "summary": "This event occurs when there is activity relating to a custom property.\n\nFor more information, see \"[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.17/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)\". For information about the APIs to manage custom properties, see \"[Custom properties](https://docs.github.com/enterprise-server@3.17/rest/orgs/custom-properties)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Custom properties\" organization permission.", + "description": "A new custom property was created.", + "operationId": "custom-property/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#delete" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#custom_property" }, "parameters": [ { @@ -2793,25 +2797,15 @@ "in": "header", "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } } ], "requestBody": { "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-delete" } + "schema": { + "$ref": "#/components/schemas/webhook-custom-property-created" + } } } }, @@ -2823,18 +2817,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "delete", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "custom_property", + "supported-webhook-types": ["business", "organization", "app"] } } }, - "dependabot-alert-auto-dismissed": { + "custom-property-deleted": { "post": { - "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.17/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.17/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A Dependabot alert was automatically closed by a Dependabot auto-triage rule.", - "operationId": "dependabot-alert/auto-dismissed", + "summary": "This event occurs when there is activity relating to a custom property.\n\nFor more information, see \"[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.17/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)\". For information about the APIs to manage custom properties, see \"[Custom properties](https://docs.github.com/enterprise-server@3.17/rest/orgs/custom-properties)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Custom properties\" organization permission.", + "description": "A custom property was deleted.", + "operationId": "custom-property/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#dependabot_alert" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#custom_property" }, "parameters": [ { @@ -2878,18 +2872,6 @@ "in": "header", "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" } - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" } } ], "requestBody": { @@ -2897,7 +2879,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-auto-dismissed" + "$ref": "#/components/schemas/webhook-custom-property-deleted" } } } @@ -2910,18 +2892,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "dependabot_alert", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "custom_property", + "supported-webhook-types": ["business", "organization", "app"] } } }, - "dependabot-alert-auto-reopened": { + "custom-property-updated": { "post": { - "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.17/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.17/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A Dependabot alert, that had been automatically closed by a Dependabot auto-triage rule, was automatically reopened because the alert metadata or rule changed.", - "operationId": "dependabot-alert/auto-reopened", + "summary": "This event occurs when there is activity relating to a custom property.\n\nFor more information, see \"[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.17/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)\". For information about the APIs to manage custom properties, see \"[Custom properties](https://docs.github.com/enterprise-server@3.17/rest/orgs/custom-properties)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Custom properties\" organization permission.", + "description": "A custom property was updated.", + "operationId": "custom-property/updated", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#dependabot_alert" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#custom_property" }, "parameters": [ { @@ -2965,17 +2947,80 @@ "in": "header", "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", "schema": { "type": "string" } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-custom-property-updated" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "custom_property", + "supported-webhook-types": ["business", "organization", "app"] + } + } + }, + "custom-property-values-updated": { + "post": { + "summary": "This event occurs when there is activity relating to custom property values for a repository.\n\nFor more information, see \"[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.17/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)\". For information about the APIs to manage custom properties for a repository, see \"[Custom properties](https://docs.github.com/enterprise-server@3.17/rest/repos/custom-properties)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Custom properties\" organization permission.", + "description": "The custom property values of a repository were updated.", + "operationId": "custom-property-values/updated", + "externalDocs": { + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#custom-property-values" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" } }, { - "name": "X-GitHub-Enterprise-Version", + "name": "X-Github-Hook-Id", "in": "header", - "example": "3.1.9", + "example": 12312312, "schema": { "type": "string" } }, { - "name": "X-GitHub-Enterprise-Host", + "name": "X-Github-Event", "in": "header", - "example": "ghes.github.com", + "example": "issues", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", "schema": { "type": "string" } } ], @@ -2984,7 +3029,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-auto-reopened" + "$ref": "#/components/schemas/webhook-custom-property-values-updated" } } } @@ -2997,18 +3042,17 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "dependabot_alert", + "subcategory": "custom-property-values", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "dependabot-alert-created": { + "delete": { "post": { - "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.17/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.17/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A manifest file change introduced a vulnerable dependency, or a GitHub Security Advisory was published and an existing dependency was found to be vulnerable.", - "operationId": "dependabot-alert/created", + "summary": "This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including\nbranch and tag deletions, use the [`push`](#push) webhook event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.\n\n> [!NOTE]\n> This event will not occur when more than three tags are deleted at once.", + "operationId": "delete", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#dependabot_alert" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#delete" }, "parameters": [ { @@ -3070,9 +3114,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-created" - } + "schema": { "$ref": "#/components/schemas/webhook-delete" } } } }, @@ -3084,16 +3126,16 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "dependabot_alert", + "subcategory": "delete", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "dependabot-alert-dismissed": { + "dependabot-alert-auto-dismissed": { "post": { "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.17/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.17/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A Dependabot alert was manually closed.", - "operationId": "dependabot-alert/dismissed", + "description": "A Dependabot alert was automatically closed by a Dependabot auto-triage rule.", + "operationId": "dependabot-alert/auto-dismissed", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#dependabot_alert" }, @@ -3158,7 +3200,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-dismissed" + "$ref": "#/components/schemas/webhook-dependabot-alert-auto-dismissed" } } } @@ -3176,11 +3218,11 @@ } } }, - "dependabot-alert-fixed": { + "dependabot-alert-auto-reopened": { "post": { "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.17/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.17/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A manifest file change removed a vulnerability.", - "operationId": "dependabot-alert/fixed", + "description": "A Dependabot alert, that had been automatically closed by a Dependabot auto-triage rule, was automatically reopened because the alert metadata or rule changed.", + "operationId": "dependabot-alert/auto-reopened", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#dependabot_alert" }, @@ -3245,7 +3287,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-fixed" + "$ref": "#/components/schemas/webhook-dependabot-alert-auto-reopened" } } } @@ -3263,11 +3305,11 @@ } } }, - "dependabot-alert-reintroduced": { + "dependabot-alert-created": { "post": { "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.17/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.17/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A manifest file change introduced a vulnerable dependency that had previously been fixed.", - "operationId": "dependabot-alert/reintroduced", + "description": "A manifest file change introduced a vulnerable dependency, or a GitHub Security Advisory was published and an existing dependency was found to be vulnerable.", + "operationId": "dependabot-alert/created", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#dependabot_alert" }, @@ -3332,7 +3374,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-reintroduced" + "$ref": "#/components/schemas/webhook-dependabot-alert-created" } } } @@ -3350,11 +3392,11 @@ } } }, - "dependabot-alert-reopened": { + "dependabot-alert-dismissed": { "post": { "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.17/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.17/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A Dependabot alert was manually reopened.", - "operationId": "dependabot-alert/reopened", + "description": "A Dependabot alert was manually closed.", + "operationId": "dependabot-alert/dismissed", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#dependabot_alert" }, @@ -3419,7 +3461,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-reopened" + "$ref": "#/components/schemas/webhook-dependabot-alert-dismissed" } } } @@ -3437,13 +3479,13 @@ } } }, - "deploy-key-created": { + "dependabot-alert-fixed": { "post": { - "summary": "This event occurs when there is activity relating to deploy keys. For more information, see \"[Managing deploy keys](https://docs.github.com/enterprise-server@3.17/developers/overview/managing-deploy-keys).\" For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#deploykey) or \"[Deploy keys](https://docs.github.com/enterprise-server@3.17/rest/deploy-keys)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deploy key was created.", - "operationId": "deploy-key/created", + "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.17/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.17/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", + "description": "A manifest file change removed a vulnerability.", + "operationId": "dependabot-alert/fixed", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#deploy_key" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#dependabot_alert" }, "parameters": [ { @@ -3506,7 +3548,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-deploy-key-created" + "$ref": "#/components/schemas/webhook-dependabot-alert-fixed" } } } @@ -3519,18 +3561,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "deploy_key", + "subcategory": "dependabot_alert", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "deploy-key-deleted": { + "dependabot-alert-reintroduced": { "post": { - "summary": "This event occurs when there is activity relating to deploy keys. For more information, see \"[Managing deploy keys](https://docs.github.com/enterprise-server@3.17/developers/overview/managing-deploy-keys).\" For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#deploykey) or \"[Deploy keys](https://docs.github.com/enterprise-server@3.17/rest/deploy-keys)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deploy key was deleted.", - "operationId": "deploy-key/deleted", + "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.17/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.17/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", + "description": "A manifest file change introduced a vulnerable dependency that had previously been fixed.", + "operationId": "dependabot-alert/reintroduced", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#deploy_key" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#dependabot_alert" }, "parameters": [ { @@ -3593,7 +3635,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-deploy-key-deleted" + "$ref": "#/components/schemas/webhook-dependabot-alert-reintroduced" } } } @@ -3606,18 +3648,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "deploy_key", + "subcategory": "dependabot_alert", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "deployment-created": { + "dependabot-alert-reopened": { "post": { - "summary": "This event occurs when there is activity relating to deployments. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.17/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.17/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment status, use the `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deployment was created.", - "operationId": "deployment/created", + "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.17/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.17/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", + "description": "A Dependabot alert was manually reopened.", + "operationId": "dependabot-alert/reopened", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#deployment" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#dependabot_alert" }, "parameters": [ { @@ -3680,7 +3722,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-deployment-created" + "$ref": "#/components/schemas/webhook-dependabot-alert-reopened" } } } @@ -3693,18 +3735,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "deployment", + "subcategory": "dependabot_alert", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "deployment-protection-rule-requested": { + "deploy-key-created": { "post": { - "summary": "This event occurs when there is activity relating to deployment protection rules. For more information, see \"[Using environments for deployment](https://docs.github.com/enterprise-server@3.17/actions/deployment/targeting-different-environments/using-environments-for-deployment#environment-protection-rules).\" For information about the API to manage deployment protection rules, see [the REST API documentation](https://docs.github.com/enterprise-server@3.17/rest/deployments/environments).\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deployment protection rule was requested for an environment.", - "operationId": "deployment-protection-rule/requested", + "summary": "This event occurs when there is activity relating to deploy keys. For more information, see \"[Managing deploy keys](https://docs.github.com/enterprise-server@3.17/developers/overview/managing-deploy-keys).\" For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#deploykey) or \"[Deploy keys](https://docs.github.com/enterprise-server@3.17/rest/deploy-keys)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", + "description": "A deploy key was created.", + "operationId": "deploy-key/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#deployment_protection_rule" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#deploy_key" }, "parameters": [ { @@ -3767,7 +3809,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-deployment-protection-rule-requested" + "$ref": "#/components/schemas/webhook-deploy-key-created" } } } @@ -3780,18 +3822,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "deployment_protection_rule", - "supported-webhook-types": ["app"] + "subcategory": "deploy_key", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "deployment-review-approved": { + "deploy-key-deleted": { "post": { - "summary": "This event occurs when there is activity relating to deployment reviews. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.17/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.17/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deployment review was approved.", - "operationId": "deployment-review/approved", + "summary": "This event occurs when there is activity relating to deploy keys. For more information, see \"[Managing deploy keys](https://docs.github.com/enterprise-server@3.17/developers/overview/managing-deploy-keys).\" For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#deploykey) or \"[Deploy keys](https://docs.github.com/enterprise-server@3.17/rest/deploy-keys)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", + "description": "A deploy key was deleted.", + "operationId": "deploy-key/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#deployment_review" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#deploy_key" }, "parameters": [ { @@ -3854,7 +3896,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-deployment-review-approved" + "$ref": "#/components/schemas/webhook-deploy-key-deleted" } } } @@ -3867,18 +3909,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "deployment_review", - "supported-webhook-types": ["app"] + "subcategory": "deploy_key", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "deployment-review-rejected": { + "deployment-created": { "post": { - "summary": "This event occurs when there is activity relating to deployment reviews. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.17/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.17/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deployment review was rejected.", - "operationId": "deployment-review/rejected", + "summary": "This event occurs when there is activity relating to deployments. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.17/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.17/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment status, use the `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", + "description": "A deployment was created.", + "operationId": "deployment/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#deployment_review" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#deployment" }, "parameters": [ { @@ -3941,7 +3983,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-deployment-review-rejected" + "$ref": "#/components/schemas/webhook-deployment-created" } } } @@ -3954,18 +3996,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "deployment_review", - "supported-webhook-types": ["app"] + "subcategory": "deployment", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "deployment-review-requested": { + "deployment-protection-rule-requested": { "post": { - "summary": "This event occurs when there is activity relating to deployment reviews. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.17/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.17/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deployment review was requested.", - "operationId": "deployment-review/requested", + "summary": "This event occurs when there is activity relating to deployment protection rules. For more information, see \"[Using environments for deployment](https://docs.github.com/enterprise-server@3.17/actions/deployment/targeting-different-environments/using-environments-for-deployment#environment-protection-rules).\" For information about the API to manage deployment protection rules, see [the REST API documentation](https://docs.github.com/enterprise-server@3.17/rest/deployments/environments).\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", + "description": "A deployment protection rule was requested for an environment.", + "operationId": "deployment-protection-rule/requested", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#deployment_review" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#deployment_protection_rule" }, "parameters": [ { @@ -4028,7 +4070,94 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-deployment-review-requested" + "$ref": "#/components/schemas/webhook-deployment-protection-rule-requested" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "deployment_protection_rule", + "supported-webhook-types": ["app"] + } + } + }, + "deployment-review-approved": { + "post": { + "summary": "This event occurs when there is activity relating to deployment reviews. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.17/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.17/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", + "description": "A deployment review was approved.", + "operationId": "deployment-review/approved", + "externalDocs": { + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#deployment_review" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" } + }, + { + "name": "X-GitHub-Enterprise-Version", + "in": "header", + "example": "3.1.9", + "schema": { "type": "string" } + }, + { + "name": "X-GitHub-Enterprise-Host", + "in": "header", + "example": "ghes.github.com", + "schema": { "type": "string" } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-deployment-review-approved" } } } @@ -4046,13 +4175,13 @@ } } }, - "deployment-status-created": { + "deployment-review-rejected": { "post": { - "summary": "This event occurs when there is activity relating to deployment statuses. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.17/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.17/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation, use the `deployment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.\n\n> [!NOTE]\n> A webhook event is not fired for deployment statuses with an `inactive` state.", - "description": "A new deployment status was created.", - "operationId": "deployment-status/created", + "summary": "This event occurs when there is activity relating to deployment reviews. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.17/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.17/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", + "description": "A deployment review was rejected.", + "operationId": "deployment-review/rejected", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#deployment_status" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#deployment_review" }, "parameters": [ { @@ -4115,7 +4244,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-deployment-status-created" + "$ref": "#/components/schemas/webhook-deployment-review-rejected" } } } @@ -4128,18 +4257,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "deployment_status", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "deployment_review", + "supported-webhook-types": ["app"] } } }, - "discussion-answered": { + "deployment-review-requested": { "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.17/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A comment on the discussion was marked as the answer.", - "operationId": "discussion/answered", + "summary": "This event occurs when there is activity relating to deployment reviews. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.17/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.17/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", + "description": "A deployment review was requested.", + "operationId": "deployment-review/requested", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#discussion" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#deployment_review" }, "parameters": [ { @@ -4202,7 +4331,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-answered" + "$ref": "#/components/schemas/webhook-deployment-review-requested" } } } @@ -4215,16 +4344,103 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "discussion", + "subcategory": "deployment_review", + "supported-webhook-types": ["app"] + } + } + }, + "deployment-status-created": { + "post": { + "summary": "This event occurs when there is activity relating to deployment statuses. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.17/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.17/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation, use the `deployment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.\n\n> [!NOTE]\n> A webhook event is not fired for deployment statuses with an `inactive` state.", + "description": "A new deployment status was created.", + "operationId": "deployment-status/created", + "externalDocs": { + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#deployment_status" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" } + }, + { + "name": "X-GitHub-Enterprise-Version", + "in": "header", + "example": "3.1.9", + "schema": { "type": "string" } + }, + { + "name": "X-GitHub-Enterprise-Host", + "in": "header", + "example": "ghes.github.com", + "schema": { "type": "string" } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-deployment-status-created" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "deployment_status", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "discussion-category-changed": { + "discussion-answered": { "post": { "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.17/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "The category of a discussion was changed.", - "operationId": "discussion/category-changed", + "description": "A comment on the discussion was marked as the answer.", + "operationId": "discussion/answered", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#discussion" }, @@ -4289,7 +4505,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-category-changed" + "$ref": "#/components/schemas/webhook-discussion-answered" } } } @@ -4307,11 +4523,11 @@ } } }, - "discussion-closed": { + "discussion-category-changed": { "post": { "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.17/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was closed.", - "operationId": "discussion/closed", + "description": "The category of a discussion was changed.", + "operationId": "discussion/category-changed", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#discussion" }, @@ -4331,7 +4547,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "discussions", + "example": "issues", "schema": { "type": "string" } }, { @@ -4361,7 +4577,7 @@ { "name": "X-GitHub-Enterprise-Version", "in": "header", - "example": "3.9.0", + "example": "3.1.9", "schema": { "type": "string" } }, { @@ -4376,7 +4592,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-closed" + "$ref": "#/components/schemas/webhook-discussion-category-changed" } } } @@ -4394,13 +4610,13 @@ } } }, - "discussion-comment-created": { + "discussion-closed": { "post": { - "summary": "This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.17/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#discussion).\n\nFor activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A comment on a discussion was created.", - "operationId": "discussion-comment/created", + "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.17/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "description": "A discussion was closed.", + "operationId": "discussion/closed", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#discussion_comment" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#discussion" }, "parameters": [ { @@ -4418,7 +4634,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "discussions", "schema": { "type": "string" } }, { @@ -4448,7 +4664,7 @@ { "name": "X-GitHub-Enterprise-Version", "in": "header", - "example": "3.1.9", + "example": "3.9.0", "schema": { "type": "string" } }, { @@ -4463,7 +4679,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-comment-created" + "$ref": "#/components/schemas/webhook-discussion-closed" } } } @@ -4476,16 +4692,16 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "discussion_comment", + "subcategory": "discussion", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "discussion-comment-deleted": { + "discussion-comment-created": { "post": { "summary": "This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.17/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#discussion).\n\nFor activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A comment on a discussion was deleted.", - "operationId": "discussion-comment/deleted", + "description": "A comment on a discussion was created.", + "operationId": "discussion-comment/created", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#discussion_comment" }, @@ -4550,7 +4766,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-comment-deleted" + "$ref": "#/components/schemas/webhook-discussion-comment-created" } } } @@ -4568,11 +4784,98 @@ } } }, - "discussion-comment-edited": { + "discussion-comment-deleted": { "post": { "summary": "This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.17/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#discussion).\n\nFor activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A comment on a discussion was edited.", - "operationId": "discussion-comment/edited", + "description": "A comment on a discussion was deleted.", + "operationId": "discussion-comment/deleted", + "externalDocs": { + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#discussion_comment" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" } + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" } + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" } + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" } + }, + { + "name": "X-GitHub-Enterprise-Version", + "in": "header", + "example": "3.1.9", + "schema": { "type": "string" } + }, + { + "name": "X-GitHub-Enterprise-Host", + "in": "header", + "example": "ghes.github.com", + "schema": { "type": "string" } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-discussion-comment-deleted" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "discussion_comment", + "supported-webhook-types": ["repository", "organization", "app"] + } + } + }, + "discussion-comment-edited": { + "post": { + "summary": "This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.17/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#discussion).\n\nFor activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "description": "A comment on a discussion was edited.", + "operationId": "discussion-comment/edited", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#discussion_comment" }, @@ -5701,7 +6004,7 @@ }, "dismissal-request-code-scanning-created": { "post": { - "summary": "This event occurs when there is activity related to a user's request to dismiss a code scanning alert.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"code scanning alerts\" repository permission.\n\n> [!NOTE]\n> Delegated alert dismissal for code scanning is currently in public preview and subject to change.", + "summary": "This event occurs when there is activity related to a user's request to dismiss a code scanning alert.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"code scanning alerts\" repository permission.", "description": "A code scanning alert dismissal request was created.", "operationId": "dismissal-request-code-scanning/created", "externalDocs": { @@ -5776,7 +6079,7 @@ }, "dismissal-request-code-scanning-response-submitted": { "post": { - "summary": "This event occurs when there is activity related to a user's request to dismiss a code scanning alert.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"code scanning alerts\" repository permission.\n\n> [!NOTE]\n> Delegated alert dismissal for code scanning is currently in public preview and subject to change.", + "summary": "This event occurs when there is activity related to a user's request to dismiss a code scanning alert.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"code scanning alerts\" repository permission.", "description": "A code scanning alert dismissal response was submitted.", "operationId": "dismissal-request-code-scanning/response-submitted", "externalDocs": { @@ -23550,6 +23853,10 @@ ] }, "app_id": { "type": "integer", "examples": [1] }, + "client_id": { + "type": "string", + "examples": ["Iv1.ab1112223334445c"] + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -26737,6 +27044,75 @@ }, "required": ["total", "completed", "percent_completed"] }, + "issue-dependencies-summary": { + "title": "Issue Dependencies Summary", + "type": "object", + "properties": { + "blocked_by": { "type": "integer" }, + "blocking": { "type": "integer" }, + "total_blocked_by": { "type": "integer" }, + "total_blocking": { "type": "integer" } + }, + "required": [ + "blocked_by", + "blocking", + "total_blocked_by", + "total_blocking" + ] + }, + "issue-field-value": { + "title": "Issue Field Value", + "description": "A value assigned to an issue field", + "type": "object", + "properties": { + "issue_field_id": { + "description": "Unique identifier for the issue field.", + "type": "integer", + "format": "int64", + "examples": [1] + }, + "node_id": { "type": "string", "examples": ["IFT_GDKND"] }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": ["text", "single_select", "number", "date"], + "examples": ["text"] + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { "type": "string", "examples": ["Sample text"] }, + { "type": "number", "examples": [42.5] }, + { "type": "integer", "examples": [1] } + ], + "type": ["null", "string", "number", "integer"] + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": ["object", "null"], + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [1] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": ["High"] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": ["red"] + } + }, + "required": ["id", "name", "color"] + } + }, + "required": ["issue_field_id", "node_id", "data_type", "value"] + }, "issue": { "title": "Issue", "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", @@ -26768,7 +27144,7 @@ "state_reason": { "description": "The reason for the current state", "type": ["string", "null"], - "enum": ["completed", "reopened", "not_planned", null], + "enum": ["completed", "reopened", "not_planned", "duplicate", null], "examples": ["not_planned"] }, "title": { @@ -26871,6 +27247,13 @@ "reactions": { "$ref": "#/components/schemas/reaction-rollup" }, "sub_issues_summary": { "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } } }, "required": [ @@ -28351,6 +28734,7 @@ "type": ["object", "null"], "properties": { "advanced_security": { + "description": "Enable or disable GitHub Advanced Security for the repository.\n\nFor standalone Code Scanning or Secret Protection products, this parameter cannot be used.\n", "type": "object", "properties": { "status": { "type": "string", "enum": ["enabled", "disabled"] } @@ -29007,6 +29391,11 @@ "required": ["name", "space", "private_repos"] }, "default_repository_permission": { "type": ["string", "null"] }, + "default_repository_branch": { + "type": ["string", "null"], + "description": "The default branch for repositories created in this organization.", + "examples": ["main"] + }, "members_can_create_repositories": { "type": ["boolean", "null"], "examples": [true] @@ -29040,6 +29429,35 @@ "type": "boolean", "examples": [true] }, + "members_can_delete_repositories": { + "type": "boolean", + "examples": [true] + }, + "members_can_change_repo_visibility": { + "type": "boolean", + "examples": [true] + }, + "members_can_invite_outside_collaborators": { + "type": "boolean", + "examples": [true] + }, + "members_can_delete_issues": { + "type": "boolean", + "examples": [true] + }, + "display_commenter_full_name_setting_enabled": { + "type": "boolean", + "examples": [true] + }, + "readers_can_create_discussions": { + "type": "boolean", + "examples": [true] + }, + "members_can_create_teams": { "type": "boolean", "examples": [true] }, + "members_can_view_dependency_insights": { + "type": "boolean", + "examples": [true] + }, "members_can_fork_private_repositories": { "type": ["boolean", "null"], "examples": [false] @@ -30097,6 +30515,18 @@ "enum": ["admin", "member", "billing_manager"], "examples": ["admin"] }, + "direct_membership": { + "type": "boolean", + "description": "Whether the user has direct membership in the organization.", + "examples": [true] + }, + "enterprise_teams_providing_indirect_membership": { + "type": "array", + "description": "The slugs of the enterprise teams providing the user with indirect membership in the organization.\nA limit of 100 enterprise team slugs is returned.", + "maxItems": 100, + "items": { "type": "string" }, + "examples": ["ent:team-one", "ent:team-two"] + }, "organization_url": { "type": "string", "format": "uri", @@ -30840,7 +31270,23 @@ }, "registry_type": { "description": "The registry type.", - "enum": ["maven_repository", "nuget_feed", "goproxy_server"], + "enum": [ + "maven_repository", + "nuget_feed", + "goproxy_server", + "npm_registry", + "rubygems_server", + "cargo_registry", + "composer_repository", + "docker_registry", + "git_source", + "helm_registry", + "hex_organization", + "hex_repository", + "pub_repository", + "python_index", + "terraform_registry" + ], "type": "string" }, "username": { @@ -30864,47 +31310,6 @@ "updated_at" ] }, - "org-private-registry-configuration-with-selected-repositories": { - "title": "Organization private registry", - "description": "Private registry configuration for an organization", - "type": "object", - "properties": { - "name": { - "description": "The name of the private registry configuration.", - "type": "string", - "examples": ["MAVEN_REPOSITORY_SECRET"] - }, - "registry_type": { - "description": "The registry type.", - "enum": ["maven_repository", "nuget_feed", "goproxy_server"], - "type": "string" - }, - "username": { - "description": "The username to use when authenticating with the private registry.", - "type": "string", - "examples": ["monalisa"] - }, - "visibility": { - "description": "Which type of organization repositories have access to the private registry. `selected` means only the repositories specified by `selected_repository_ids` can access the private registry.", - "enum": ["all", "private", "selected"], - "type": "string" - }, - "selected_repository_ids": { - "type": "array", - "description": "An array of repository IDs that can access the organization private registry when `visibility` is set to `selected`.", - "items": { "type": "integer" } - }, - "created_at": { "type": "string", "format": "date-time" }, - "updated_at": { "type": "string", "format": "date-time" } - }, - "required": [ - "name", - "registry_type", - "visibility", - "created_at", - "updated_at" - ] - }, "project": { "title": "Project", "description": "Projects are a way to organize columns and cards of work.", @@ -31695,7 +32100,7 @@ "properties": { "actor_id": { "type": ["integer", "null"], - "description": "The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. If `actor_type` is `EnterpriseOwner`, `actor_id` is ignored. `OrganizationAdmin` and `EnterpriseOwner` are not applicable for personal repositories." + "description": "The ID of the actor that can bypass a ruleset. Required for `Integration`, `RepositoryRole`, and `Team` actor types. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. If `actor_type` is `EnterpriseOwner`, `actor_id` is ignored. `OrganizationAdmin` and `EnterpriseOwner` are not applicable for personal repositories." }, "actor_type": { "type": "string", @@ -32064,7 +32469,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -32351,7 +32756,7 @@ "type": "integer", "description": "The maximum amount of characters allowed in file paths.", "minimum": 1, - "maximum": 256 + "maximum": 32767 } }, "required": ["max_file_path_length"] @@ -32644,6 +33049,55 @@ "updated_at": { "type": "string", "format": "date-time" } } }, + "org-rules": { + "title": "Repository Rule", + "type": "object", + "description": "A repository rule.", + "oneOf": [ + { "$ref": "#/components/schemas/repository-rule-creation" }, + { "$ref": "#/components/schemas/repository-rule-update" }, + { "$ref": "#/components/schemas/repository-rule-deletion" }, + { + "$ref": "#/components/schemas/repository-rule-required-linear-history" + }, + { + "$ref": "#/components/schemas/repository-rule-required-deployments" + }, + { + "$ref": "#/components/schemas/repository-rule-required-signatures" + }, + { "$ref": "#/components/schemas/repository-rule-pull-request" }, + { + "$ref": "#/components/schemas/repository-rule-required-status-checks" + }, + { "$ref": "#/components/schemas/repository-rule-non-fast-forward" }, + { + "$ref": "#/components/schemas/repository-rule-commit-message-pattern" + }, + { + "$ref": "#/components/schemas/repository-rule-commit-author-email-pattern" + }, + { + "$ref": "#/components/schemas/repository-rule-committer-email-pattern" + }, + { + "$ref": "#/components/schemas/repository-rule-branch-name-pattern" + }, + { "$ref": "#/components/schemas/repository-rule-tag-name-pattern" }, + { + "$ref": "#/components/schemas/repository-rule-file-path-restriction" + }, + { + "$ref": "#/components/schemas/repository-rule-max-file-path-length" + }, + { + "$ref": "#/components/schemas/repository-rule-file-extension-restriction" + }, + { "$ref": "#/components/schemas/repository-rule-max-file-size" }, + { "$ref": "#/components/schemas/repository-rule-workflows" }, + { "$ref": "#/components/schemas/repository-rule-code-scanning" } + ] + }, "rule-suites": { "title": "Rule Suites", "description": "Response", @@ -34150,6 +34604,7 @@ "$ref": "#/components/schemas/rate-limit" }, "scim": { "$ref": "#/components/schemas/rate-limit" }, + "dependency_sbom": { "$ref": "#/components/schemas/rate-limit" }, "code_scanning_autofix": { "$ref": "#/components/schemas/rate-limit" } @@ -36746,10 +37201,6 @@ "type": "string", "enum": ["open", "dismissed"] }, - "code-scanning-alert-create-request": { - "type": "boolean", - "description": "If `true`, attempt to create an alert dismissal request." - }, "code-scanning-analysis-sarif-id": { "type": "string", "description": "An identifier for the upload.", @@ -40594,6 +41045,7 @@ "required": ["html", "pull_request"] }, "submitted_at": { "type": "string", "format": "date-time" }, + "updated_at": { "type": ["string", "null"], "format": "date-time" }, "commit_id": { "description": "A commit SHA for the review.", "type": "string", @@ -41006,7 +41458,7 @@ "created_at": { "type": "string" }, "read_only": { "type": "boolean" }, "added_by": { "type": ["string", "null"] }, - "last_used": { "type": ["string", "null"] }, + "last_used": { "type": ["string", "null"], "format": "date-time" }, "enabled": { "type": "boolean" } }, "required": [ @@ -41837,6 +42289,11 @@ "description": "The original first line of the range for a multi-line comment.", "type": ["integer", "null"], "examples": [2] + }, + "subject_type": { + "description": "The level at which the comment is targeted, can be a diff line or a file.", + "type": "string", + "enum": ["line", "file"] } }, "required": [ @@ -41945,8 +42402,14 @@ "type": "boolean", "examples": [false] }, + "immutable": { + "description": "Whether or not the release is immutable.", + "type": "boolean", + "examples": [false] + }, "created_at": { "type": "string", "format": "date-time" }, "published_at": { "type": ["string", "null"], "format": "date-time" }, + "updated_at": { "type": ["string", "null"], "format": "date-time" }, "author": { "$ref": "#/components/schemas/simple-user" }, "assets": { "type": "array", @@ -43600,14 +44063,14 @@ } }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "type": "string" }, "state_reason": { "type": ["string", "null"] }, @@ -44369,7 +44832,8 @@ "title": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "verified": { "type": "boolean" }, - "read_only": { "type": "boolean" } + "read_only": { "type": "boolean" }, + "last_used": { "type": ["string", "null"], "format": "date-time" } }, "required": [ "key", @@ -44441,7 +44905,9 @@ "type": "object", "properties": { "id": { "type": "integer" }, - "key": { "type": "string" } + "key": { "type": "string" }, + "created_at": { "type": "string", "format": "date-time" }, + "last_used": { "type": ["string", "null"], "format": "date-time" } }, "required": ["key", "id"] }, @@ -45800,12 +46266,7 @@ "description": "A check performed on the code of a given code change", "type": "object", "properties": { - "app": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/integration" } - ] - }, + "app": { "$ref": "#/components/schemas/integration" }, "check_suite": { "$ref": "#/components/schemas/simple-check-suite" }, "completed_at": { "type": ["string", "null"], @@ -47229,14 +47690,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -47903,14 +48364,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -48193,6 +48654,18 @@ "properties": { "organization_url": { "type": "string", "format": "uri" }, "role": { "type": "string" }, + "direct_membership": { + "type": "boolean", + "description": "Whether the user has direct membership in the organization.", + "examples": [true] + }, + "enterprise_teams_providing_indirect_membership": { + "type": "array", + "description": "The slugs of the enterprise teams providing the user with indirect membership in the organization.\nA limit of 100 enterprise team slugs is returned.", + "maxItems": 100, + "items": { "type": "string" }, + "examples": ["ent:team-one", "ent:team-two"] + }, "state": { "type": "string" }, "url": { "type": "string", "format": "uri" }, "user": { @@ -48538,6 +49011,54 @@ "updated_at" ] }, + "projects-v2-status-update": { + "title": "Projects v2 Status Update", + "description": "An status update belonging to a project", + "type": "object", + "properties": { + "id": { "type": "number" }, + "node_id": { "type": "string" }, + "project_node_id": { "type": "string" }, + "creator": { "$ref": "#/components/schemas/simple-user" }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": ["2022-04-28T12:00:00Z"] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": ["2022-04-28T12:00:00Z"] + }, + "status": { + "type": ["string", "null"], + "enum": [ + "INACTIVE", + "ON_TRACK", + "AT_RISK", + "OFF_TRACK", + "COMPLETE", + null + ] + }, + "start_date": { + "type": "string", + "format": "date", + "examples": ["2022-04-28"] + }, + "target_date": { + "type": "string", + "format": "date", + "examples": ["2022-04-28"] + }, + "body": { + "description": "Body of the status update", + "type": ["string", "null"], + "examples": ["The project is off to a great start!"] + } + }, + "required": ["id", "node_id", "created_at", "updated_at"] + }, "projects-v2": { "title": "Projects v2 Project", "description": "A projects v2 project", @@ -48577,6 +49098,17 @@ { "type": "null" }, { "$ref": "#/components/schemas/simple-user" } ] + }, + "state": { "type": "string", "enum": ["open", "closed"] }, + "latest_status_update": { + "anyOf": [ + { "type": "null" }, + { "$ref": "#/components/schemas/projects-v2-status-update" } + ] + }, + "is_template": { + "type": "boolean", + "description": "Whether this project is a template" } }, "required": [ @@ -48671,8 +49203,10 @@ "properties": { "id": { "type": "string" }, "title": { "type": "string" }, + "title_html": { "type": "string" }, "duration": { "type": ["number", "null"] }, - "start_date": { "type": ["string", "null"] } + "start_date": { "type": ["string", "null"] }, + "completed": { "type": "boolean" } }, "required": ["id", "title"] }, @@ -50639,6 +51173,7 @@ "pull_request_url": { "type": "string", "format": "uri" }, "state": { "type": "string" }, "submitted_at": { "type": ["string", "null"], "format": "date-time" }, + "updated_at": { "type": ["string", "null"], "format": "date-time" }, "user": { "title": "User", "type": ["object", "null"], @@ -50815,6 +51350,7 @@ }, "body": { "type": ["string", "null"] }, "created_at": { "type": ["string", "null"], "format": "date-time" }, + "updated_at": { "type": ["string", "null"], "format": "date-time" }, "discussion_url": { "type": "string", "format": "uri" }, "draft": { "description": "Whether the release is a draft or published", @@ -50822,6 +51358,10 @@ }, "html_url": { "type": "string", "format": "uri" }, "id": { "type": "integer" }, + "immutable": { + "description": "Whether or not the release is immutable.", + "type": "boolean" + }, "name": { "type": ["string", "null"] }, "node_id": { "type": "string" }, "prerelease": { @@ -50883,10 +51423,12 @@ "draft", "author", "prerelease", + "immutable", "created_at", "published_at", "assets", "tarball_url", + "updated_at", "zipball_url", "body" ] @@ -50907,10 +51449,12 @@ "name", "node_id", "prerelease", + "immutable", "published_at", "tag_name", "tarball_url", "target_commitish", + "updated_at", "upload_url", "url", "zipball_url" @@ -51046,6 +51590,10 @@ }, "html_url": { "type": "string", "format": "uri" }, "id": { "type": "integer" }, + "immutable": { + "description": "Whether or not the release is immutable.", + "type": "boolean" + }, "name": { "type": ["string", "null"] }, "node_id": { "type": "string" }, "prerelease": { @@ -51090,6 +51638,7 @@ "description": "Specifies the commitish value that determines where the Git tag is created from.", "type": "string" }, + "updated_at": { "type": ["string", "null"], "format": "date-time" }, "upload_url": { "type": "string", "format": "uri-template" }, "url": { "type": "string", "format": "uri" }, "zipball_url": { "type": ["string", "null"], "format": "uri" } @@ -54886,6 +55435,99 @@ "sender" ] }, + "webhook-custom-property-created": { + "title": "custom property created event", + "type": "object", + "properties": { + "action": { "type": "string", "enum": ["created"] }, + "definition": { "$ref": "#/components/schemas/custom-property" }, + "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "sender": { "$ref": "#/components/schemas/simple-user" } + }, + "required": ["action", "definition"] + }, + "webhook-custom-property-deleted": { + "title": "custom property deleted event", + "type": "object", + "properties": { + "action": { "type": "string", "enum": ["deleted"] }, + "definition": { + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property that was deleted." + } + }, + "required": ["property_name"] + }, + "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "sender": { "$ref": "#/components/schemas/simple-user" } + }, + "required": ["action", "definition"] + }, + "webhook-custom-property-updated": { + "title": "custom property updated event", + "type": "object", + "properties": { + "action": { "type": "string", "enum": ["updated"] }, + "definition": { "$ref": "#/components/schemas/custom-property" }, + "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "sender": { "$ref": "#/components/schemas/simple-user" } + }, + "required": ["action", "definition"] + }, + "webhook-custom-property-values-updated": { + "title": "Custom property values updated event", + "type": "object", + "properties": { + "action": { "type": "string", "enum": ["updated"] }, + "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "repository": { "$ref": "#/components/schemas/repository-webhooks" }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "sender": { "$ref": "#/components/schemas/simple-user" }, + "new_property_values": { + "type": "array", + "description": "The new custom property values for the repository.", + "items": { "$ref": "#/components/schemas/custom-property-value" } + }, + "old_property_values": { + "type": "array", + "description": "The old custom property values for the repository.", + "items": { "$ref": "#/components/schemas/custom-property-value" } + } + }, + "required": [ + "action", + "repository", + "organization", + "new_property_values", + "old_property_values" + ] + }, "webhook-delete": { "title": "delete event", "type": "object", @@ -60366,14 +61008,10 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -61305,14 +61943,10 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -62248,14 +62882,10 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -63223,14 +63853,16 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { + "$ref": "#/components/schemas/issue-field-value" + } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -64019,14 +64651,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -64739,14 +65371,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -65444,14 +66076,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -66145,14 +66777,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -66871,14 +67503,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -67569,14 +68201,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -68299,14 +68931,16 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { + "$ref": "#/components/schemas/issue-field-value" + } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -69360,14 +69994,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -70101,14 +70735,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -70830,14 +71464,16 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { + "$ref": "#/components/schemas/issue-field-value" + } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -71998,14 +72634,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -72405,7 +73041,7 @@ "action": { "type": "string", "enum": ["deleted"] }, "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, "hook": { - "description": "The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, business, app, or GitHub Marketplace.", + "description": "The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, business, app, or GitHub Marketplace.", "type": "object", "properties": { "active": { "type": "boolean" }, @@ -72424,6 +73060,7 @@ }, "created_at": { "type": "string" }, "events": { + "description": "", "type": "array", "items": { "type": "string", @@ -91647,6 +92284,10 @@ "enum": ["dismissed", "approved", "changes_requested"] }, "submitted_at": { "type": "string", "format": "date-time" }, + "updated_at": { + "type": ["string", "null"], + "format": "date-time" + }, "user": { "title": "User", "type": ["object", "null"], @@ -105627,7 +106268,8 @@ "node_id": { "type": "string" } }, "required": ["node_id", "comments"] - } + }, + "updated_at": { "type": ["string", "null"], "format": "date-time" } }, "required": ["action", "thread", "pull_request", "repository"] }, @@ -107617,7 +108259,8 @@ "node_id": { "type": "string" } }, "required": ["node_id", "comments"] - } + }, + "updated_at": { "type": ["string", "null"], "format": "date-time" } }, "required": ["action", "thread", "pull_request", "repository"] }, @@ -116386,6 +117029,7 @@ "draft", "html_url", "id", + "immutable", "name", "node_id", "prerelease", @@ -116393,6 +117037,7 @@ "tag_name", "tarball_url", "target_commitish", + "updated_at", "upload_url", "url", "zipball_url" @@ -116546,6 +117191,10 @@ }, "html_url": { "type": "string", "format": "uri" }, "id": { "type": "integer" }, + "immutable": { + "description": "Whether or not the release is immutable.", + "type": "boolean" + }, "name": { "type": ["string", "null"] }, "node_id": { "type": "string" }, "prerelease": { @@ -116595,6 +117244,10 @@ "type": "string" }, "upload_url": { "type": "string", "format": "uri-template" }, + "updated_at": { + "type": ["string", "null"], + "format": "date-time" + }, "url": { "type": "string", "format": "uri" }, "zipball_url": { "type": ["string", "null"], "format": "uri" } } @@ -127617,7 +128270,20 @@ "resolution_comment": "Example comment", "validity": "active", "publicly_leaked": false, - "multi_repo": false + "multi_repo": false, + "is_base64_encoded": false, + "first_location_detected": { + "path": "/example/secrets.txt", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 64, + "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", + "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", + "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", + "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" + }, + "has_more_locations": true }, { "number": 1, @@ -127709,7 +128375,12 @@ "resolution_comment": null, "validity": "unknown", "publicly_leaked": false, - "multi_repo": false + "multi_repo": false, + "is_base64_encoded": false, + "first_location_detected": { + "issue_title_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + }, + "has_more_locations": false } ] }, @@ -129527,6 +130198,7 @@ "seats": 5 }, "default_repository_permission": "read", + "default_repository_branch": "main", "members_can_create_repositories": true, "two_factor_requirement_enabled": true, "members_allowed_repository_creation_type": "all", @@ -129536,6 +130208,14 @@ "members_can_create_pages": true, "members_can_create_public_pages": true, "members_can_create_private_pages": true, + "members_can_delete_repositories": true, + "members_can_change_repo_visibility": true, + "members_can_invite_outside_collaborators": true, + "members_can_delete_issues": false, + "display_commenter_full_name_setting_enabled": false, + "readers_can_create_discussions": true, + "members_can_create_teams": true, + "members_can_view_dependency_insights": true, "members_can_fork_private_repositories": false, "web_commit_signoff_required": false, "updated_at": "2014-03-03T18:58:10Z", @@ -131774,33 +132454,22 @@ ] } }, - "org-private-registry-configuration": { + "private-registries-public-key": { "value": { - "name": "MAVEN_REPOSITORY_SECRET", - "registry_type": "maven_repository", - "username": "monalisa", - "visibility": "private", - "created_at": "2019-08-10T14:59:22Z", - "updated_at": "2020-01-10T14:59:22Z" + "key_id": "012345678912345678", + "key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234" } }, - "org-private-registry-configuration-with-selected-repositories": { + "org-private-registry-configuration": { "value": { "name": "MAVEN_REPOSITORY_SECRET", "registry_type": "maven_repository", "username": "monalisa", - "visibility": "selected", - "selected_repository_ids": [1296269, 1296280], + "visibility": "private", "created_at": "2019-08-10T14:59:22Z", "updated_at": "2020-01-10T14:59:22Z" } }, - "private-registries-public-key": { - "value": { - "key_id": "012345678912345678", - "key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234" - } - }, "project-items": { "value": [ { @@ -144033,6 +144702,7 @@ "body": "Description of the release", "draft": false, "prerelease": false, + "immutable": false, "created_at": "2013-02-27T19:35:32Z", "published_at": "2013-02-27T19:35:32Z", "author": { @@ -144112,6 +144782,7 @@ "body": "Description of the release", "draft": false, "prerelease": false, + "immutable": false, "created_at": "2013-02-27T19:35:32Z", "published_at": "2013-02-27T19:35:32Z", "author": { @@ -144464,7 +145135,20 @@ "resolution_comment": "Example comment", "validity": "inactive", "publicly_leaked": false, - "multi_repo": false + "multi_repo": false, + "is_base64_encoded": false, + "first_location_detected": { + "path": "/example/secrets.txt", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 64, + "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", + "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", + "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", + "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" + }, + "has_more_locations": true }, { "number": 1, @@ -144489,7 +145173,12 @@ "resolution_comment": null, "validity": "unknown", "publicly_leaked": false, - "multi_repo": false + "multi_repo": false, + "is_base64_encoded": false, + "first_location_detected": { + "issue_title_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347" + }, + "has_more_locations": false } ] }, @@ -149733,7 +150422,7 @@ }, "enterprise": { "name": "enterprise", - "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "description": "The slug version of the enterprise name.", "in": "path", "required": true, "schema": { "type": "string" } @@ -150160,7 +150849,7 @@ }, "time-period": { "name": "time_period", - "description": "The time period to filter by.\n\nFor example, `day` will filter for rule suites that occurred in the past 24 hours, and `week` will filter for insights that occurred in the past 7 days (168 hours).", + "description": "The time period to filter by.\n\nFor example, `day` will filter for rule suites that occurred in the past 24 hours, and `week` will filter for rule suites that occurred in the past 7 days (168 hours).", "in": "query", "required": false, "schema": { @@ -150196,6 +150885,18 @@ "required": true, "schema": { "type": "integer" } }, + "dependabot-alert-comma-separated-package-registry-urls": { + "name": "package_registry_url", + "in": "query", + "description": "A comma-separated list of package registry URLs. If specified, only alerts for repositories with storage records matching these URLs will be returned.", + "schema": { "type": "string" } + }, + "dependabot-alert-comma-separated-package-registry": { + "name": "package_registry", + "in": "query", + "description": "A comma-separated list of Package Registry name strings. If specified, only alerts for repositories with storage records matching these registries will be returned.\n\nCan be: `jfrog-artifactory`", + "schema": { "type": "string" } + }, "group-id": { "name": "group_id", "description": "The unique identifier of the group.", @@ -150369,7 +151070,7 @@ }, "rule-suite-result": { "name": "rule_suite_result", - "description": "The rule results to filter on. When specified, only suites with this result will be returned.", + "description": "The rule suite results to filter on. When specified, only suites with this result will be returned.", "in": "query", "schema": { "type": "string", @@ -151229,6 +151930,14 @@ } } }, + "code_scanning_invalid_state": { + "description": "Response if the configuration change cannot be made because the repository is not in the required state", + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/basic-error" } + } + } + }, "found": { "description": "Found" }, "dependency_review_forbidden": { "description": "Response for a private repository when GitHub Advanced Security is not enabled, or if used against a fork", diff --git a/packages/openapi-webhooks-types-ghec/types.d.ts b/packages/openapi-webhooks-types-ghec/types.d.ts index 4cfde1a..575e691 100644 --- a/packages/openapi-webhooks-types-ghec/types.d.ts +++ b/packages/openapi-webhooks-types-ghec/types.d.ts @@ -882,9 +882,6 @@ export interface webhooks { * This event occurs when there is activity related to a user's request to dismiss a code scanning alert. * * To subscribe to this event, a GitHub App must have at least read-level access for the "code scanning alerts" repository permission. - * - * > [!NOTE] - * > Delegated alert dismissal for code scanning is currently in public preview and subject to change. * @description A code scanning alert dismissal request was created. */ post: operations["dismissal-request-code-scanning/created"]; @@ -894,9 +891,6 @@ export interface webhooks { * This event occurs when there is activity related to a user's request to dismiss a code scanning alert. * * To subscribe to this event, a GitHub App must have at least read-level access for the "code scanning alerts" repository permission. - * - * > [!NOTE] - * > Delegated alert dismissal for code scanning is currently in public preview and subject to change. * @description A code scanning alert dismissal response was submitted. */ post: operations["dismissal-request-code-scanning/response-submitted"]; @@ -1091,6 +1085,50 @@ export interface webhooks { */ post: operations["issue-comment/edited"]; }; + "issue-dependencies-blocked-by-added": { + /** + * This event occurs when there is activity relating to issue dependencies, such as blocking or blocked-by relationships. + * + * For activity relating to issues more generally, use the `issues` event instead. + * + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permissions. + * @description An issue was marked as blocked by another issue. + */ + post: operations["issue-dependencies/blocked-by-added"]; + }; + "issue-dependencies-blocked-by-removed": { + /** + * This event occurs when there is activity relating to issue dependencies, such as blocking or blocked-by relationships. + * + * For activity relating to issues more generally, use the `issues` event instead. + * + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permissions. + * @description The blocked by relationship between an issue and another issue was removed. + */ + post: operations["issue-dependencies/blocked-by-removed"]; + }; + "issue-dependencies-blocking-added": { + /** + * This event occurs when there is activity relating to issue dependencies, such as blocking or blocked-by relationships. + * + * For activity relating to issues more generally, use the `issues` event instead. + * + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permissions. + * @description An issue was marked as blocking another issue. + */ + post: operations["issue-dependencies/blocking-added"]; + }; + "issue-dependencies-blocking-removed": { + /** + * This event occurs when there is activity relating to issue dependencies, such as blocking or blocked-by relationships. + * + * For activity relating to issues more generally, use the `issues` event instead. + * + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permissions. + * @description The blocking relationship between an issue and another issue was removed. + */ + post: operations["issue-dependencies/blocking-removed"]; + }; "issues-assigned": { /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)" in the REST API documentation. @@ -3980,7 +4018,7 @@ export interface components { * @description A check performed on the code of a given code change */ "check-run-with-simple-check-suite": { - app: null | components["schemas"]["integration"]; + app: components["schemas"]["integration"]; check_suite: components["schemas"]["simple-check-suite"]; /** Format: date-time */ completed_at: string | null; @@ -4283,6 +4321,10 @@ export interface components { allow_forking?: boolean; web_commit_signoff_required?: boolean; security_and_analysis?: components["schemas"]["security-and-analysis"]; + /** @description The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values. */ + custom_properties?: { + [key: string]: unknown; + }; }; /** * Code Of Conduct @@ -4298,6 +4340,11 @@ export interface components { html_url: string | null; }; "security-and-analysis": { + /** + * @description Enable or disable GitHub Advanced Security for the repository. + * + * For standalone Code Scanning or Secret Protection products, this parameter cannot be used. + */ advanced_security?: { /** @enum {string} */ status?: "enabled" | "disabled"; @@ -10684,7 +10731,7 @@ export interface components { | components["schemas"]["enterprise"] ); /** - * @description Describe whether all repositories have been selected or there's a selection involved + * @description Describe whether all repositories have been selected or there's a selection involved. For enterprise installations this is `selected`. * @enum {string} */ repository_selection: "all" | "selected"; @@ -10695,6 +10742,7 @@ export interface components { /** Format: uri */ html_url: string; app_id: number; + client_id?: string; /** @description The ID of the user or organization this token is being scoped to. */ target_id: number; target_type: string; @@ -11663,12 +11711,8 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -11845,6 +11889,19 @@ export interface components { repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user"]; }; + /** Sub-issues Summary */ + "sub-issues-summary": { + total: number; + completed: number; + percent_completed: number; + }; + /** Issue Dependencies Summary */ + "issue-dependencies-summary": { + blocked_by: number; + blocking: number; + total_blocked_by: number; + total_blocking: number; + }; /** * Issue Type * @description The type of issue. @@ -12307,12 +12364,8 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -13010,12 +13063,8 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -13199,6 +13248,212 @@ export interface components { from: string; }; }; + /** blocked by issue added event */ + "webhook-issue-dependencies-blocked-by-added": { + /** @enum {string} */ + action: "blocked_by_added"; + /** @description The ID of the blocked issue. */ + blocked_issue_id: number; + blocked_issue: components["schemas"]["issue"]; + /** @description The ID of the blocking issue. */ + blocking_issue_id: number; + blocking_issue: components["schemas"]["issue"]; + blocking_issue_repo: components["schemas"]["repository"]; + installation?: components["schemas"]["simple-installation"]; + organization: components["schemas"]["organization-simple-webhooks"]; + repository: components["schemas"]["repository-webhooks"]; + sender: components["schemas"]["simple-user"]; + }; + /** + * Issue + * @description Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. + */ + issue: { + /** Format: int64 */ + id: number; + node_id: string; + /** + * Format: uri + * @description URL for the issue + */ + url: string; + /** Format: uri */ + repository_url: string; + labels_url: string; + /** Format: uri */ + comments_url: string; + /** Format: uri */ + events_url: string; + /** Format: uri */ + html_url: string; + /** @description Number uniquely identifying the issue within its repository */ + number: number; + /** @description State of the issue; either 'open' or 'closed' */ + state: string; + /** + * @description The reason for the current state + * @enum {string|null} + */ + state_reason?: + | "completed" + | "reopened" + | "not_planned" + | "duplicate" + | null; + /** @description Title of the issue */ + title: string; + /** @description Contents of the issue */ + body?: string | null; + user: null | components["schemas"]["simple-user"]; + /** @description Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository */ + labels: OneOf< + [ + string, + { + /** Format: int64 */ + id?: number; + node_id?: string; + /** Format: uri */ + url?: string; + name?: string; + description?: string | null; + color?: string | null; + default?: boolean; + }, + ] + >[]; + assignee: null | components["schemas"]["simple-user"]; + assignees?: components["schemas"]["simple-user"][] | null; + milestone: null | components["schemas"]["milestone"]; + locked: boolean; + active_lock_reason?: string | null; + comments: number; + pull_request?: { + /** Format: date-time */ + merged_at?: string | null; + /** Format: uri */ + diff_url: string | null; + /** Format: uri */ + html_url: string | null; + /** Format: uri */ + patch_url: string | null; + /** Format: uri */ + url: string | null; + }; + /** Format: date-time */ + closed_at: string | null; + /** Format: date-time */ + created_at: string; + /** Format: date-time */ + updated_at: string; + draft?: boolean; + closed_by?: null | components["schemas"]["simple-user"]; + body_html?: string; + body_text?: string; + /** Format: uri */ + timeline_url?: string; + type?: components["schemas"]["issue-type"]; + repository?: components["schemas"]["repository"]; + performed_via_github_app?: null | components["schemas"]["integration"]; + author_association: components["schemas"]["author-association"]; + reactions?: components["schemas"]["reaction-rollup"]; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; + }; + /** Reaction Rollup */ + "reaction-rollup": { + /** Format: uri */ + url: string; + total_count: number; + "+1": number; + "-1": number; + laugh: number; + confused: number; + heart: number; + hooray: number; + eyes: number; + rocket: number; + }; + /** + * Issue Field Value + * @description A value assigned to an issue field + */ + "issue-field-value": { + /** + * Format: int64 + * @description Unique identifier for the issue field. + */ + issue_field_id: number; + node_id: string; + /** + * @description The data type of the issue field + * @enum {string} + */ + data_type: "text" | "single_select" | "number" | "date"; + /** @description The value of the issue field */ + value: null | string | number; + /** @description Details about the selected option (only present for single_select fields) */ + single_select_option?: { + /** + * Format: int64 + * @description Unique identifier for the option. + */ + id: number; + /** @description The name of the option */ + name: string; + /** @description The color of the option */ + color: string; + } | null; + }; + /** blocked by issue removed event */ + "webhook-issue-dependencies-blocked-by-removed": { + /** @enum {string} */ + action: "blocked_by_removed"; + /** @description The ID of the blocked issue. */ + blocked_issue_id: number; + blocked_issue: components["schemas"]["issue"]; + /** @description The ID of the blocking issue. */ + blocking_issue_id: number; + blocking_issue: components["schemas"]["issue"]; + blocking_issue_repo: components["schemas"]["repository"]; + installation?: components["schemas"]["simple-installation"]; + organization: components["schemas"]["organization-simple-webhooks"]; + repository: components["schemas"]["repository-webhooks"]; + sender: components["schemas"]["simple-user"]; + }; + /** blocking issue added event */ + "webhook-issue-dependencies-blocking-added": { + /** @enum {string} */ + action: "blocking_added"; + /** @description The ID of the blocked issue. */ + blocked_issue_id: number; + blocked_issue: components["schemas"]["issue"]; + blocked_issue_repo: components["schemas"]["repository"]; + /** @description The ID of the blocking issue. */ + blocking_issue_id: number; + blocking_issue: components["schemas"]["issue"]; + installation?: components["schemas"]["simple-installation"]; + organization: components["schemas"]["organization-simple-webhooks"]; + repository: components["schemas"]["repository-webhooks"]; + sender: components["schemas"]["simple-user"]; + }; + /** blocking issue removed event */ + "webhook-issue-dependencies-blocking-removed": { + /** @enum {string} */ + action: "blocking_removed"; + /** @description The ID of the blocked issue. */ + blocked_issue_id: number; + blocked_issue: components["schemas"]["issue"]; + blocked_issue_repo: components["schemas"]["repository"]; + /** @description The ID of the blocking issue. */ + blocking_issue_id: number; + blocking_issue: components["schemas"]["issue"]; + installation?: components["schemas"]["simple-installation"]; + organization: components["schemas"]["organization-simple-webhooks"]; + repository: components["schemas"]["repository-webhooks"]; + sender: components["schemas"]["simple-user"]; + }; /** issues assigned event */ "webhook-issues-assigned": { /** @@ -13634,12 +13889,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -14125,12 +14377,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -14679,12 +14928,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -15169,12 +15415,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -15747,12 +15990,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -16241,12 +16481,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -16737,12 +16974,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -17228,12 +17462,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -17720,12 +17951,9 @@ export interface components { }; /** Format: uri */ repository_url?: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -18455,12 +18683,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -18952,12 +19177,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -19440,12 +19662,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -19931,12 +20150,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -20755,12 +20971,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -21403,7 +21616,7 @@ export interface components { /** @enum {string} */ action: "deleted"; enterprise?: components["schemas"]["enterprise-webhooks"]; - /** @description The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, business, app, or GitHub Marketplace. */ + /** @description The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, business, app, or GitHub Marketplace. */ hook: { active: boolean; config: { @@ -21800,6 +22013,13 @@ export interface components { /** Format: uri */ organization_url: string; role: string; + /** @description Whether the user has direct membership in the organization. */ + direct_membership?: boolean; + /** + * @description The slugs of the enterprise teams providing the user with indirect membership in the organization. + * A limit of 100 enterprise team slugs is returned. + */ + enterprise_teams_providing_indirect_membership?: string[]; state: string; /** Format: uri */ url: string; @@ -23193,6 +23413,41 @@ export interface components { /** Format: date-time */ deleted_at: string | null; deleted_by: null | components["schemas"]["simple-user"]; + /** @enum {string} */ + state?: "open" | "closed"; + latest_status_update?: + | null + | components["schemas"]["projects-v2-status-update"]; + /** @description Whether this project is a template */ + is_template?: boolean; + }; + /** + * Projects v2 Status Update + * @description An status update belonging to a project + */ + "projects-v2-status-update": { + id: number; + node_id: string; + project_node_id?: string; + creator?: components["schemas"]["simple-user"]; + /** Format: date-time */ + created_at: string; + /** Format: date-time */ + updated_at: string; + /** @enum {string|null} */ + status?: + | "INACTIVE" + | "ON_TRACK" + | "AT_RISK" + | "OFF_TRACK" + | "COMPLETE" + | null; + /** Format: date */ + start_date?: string; + /** Format: date */ + target_date?: string; + /** @description Body of the status update */ + body?: string | null; }; /** @description A project was created */ "webhook-projects-v2-project-created": { @@ -23376,8 +23631,10 @@ export interface components { "projects-v2-iteration-setting": { id: string; title: string; + title_html?: string; duration?: number | null; start_date?: string | null; + completed?: boolean; }; /** Projects v2 Item Reordered Event */ "webhook-projects-v2-item-reordered": { @@ -23422,34 +23679,6 @@ export interface components { projects_v2_status_update: components["schemas"]["projects-v2-status-update"]; sender: components["schemas"]["simple-user"]; }; - /** - * Projects v2 Status Update - * @description An status update belonging to a project - */ - "projects-v2-status-update": { - id: number; - node_id: string; - project_node_id?: string; - creator?: components["schemas"]["simple-user"]; - /** Format: date-time */ - created_at: string; - /** Format: date-time */ - updated_at: string; - /** @enum {string|null} */ - status?: - | "INACTIVE" - | "ON_TRACK" - | "AT_RISK" - | "OFF_TRACK" - | "COMPLETE" - | null; - /** Format: date */ - start_date?: string; - /** Format: date */ - target_date?: string; - /** @description Body of the status update */ - body?: string | null; - }; /** Projects v2 Status Update Deleted Event */ "webhook-projects-v2-status-update-deleted": { /** @enum {string} */ @@ -38556,6 +38785,8 @@ export interface components { state: "dismissed" | "approved" | "changes_requested"; /** Format: date-time */ submitted_at: string; + /** Format: date-time */ + updated_at?: string | null; /** User */ user: { /** Format: uri */ @@ -39719,6 +39950,8 @@ export interface components { state: string; /** Format: date-time */ submitted_at: string | null; + /** Format: date-time */ + updated_at?: string | null; /** User */ user: { /** Format: uri */ @@ -47286,6 +47519,8 @@ export interface components { }[]; node_id: string; }; + /** Format: date-time */ + updated_at?: string | null; }; /** pull_request_review_thread unresolved event */ "webhook-pull-request-review-thread-unresolved": { @@ -48526,6 +48761,8 @@ export interface components { }[]; node_id: string; }; + /** Format: date-time */ + updated_at?: string | null; }; /** pull_request synchronize event */ "webhook-pull-request-synchronize": { @@ -54293,6 +54530,8 @@ export interface components { body: string | null; /** Format: date-time */ created_at: string | null; + /** Format: date-time */ + updated_at: string | null; /** Format: uri */ discussion_url?: string; /** @description Whether the release is a draft or published */ @@ -54300,6 +54539,8 @@ export interface components { /** Format: uri */ html_url: string; id: number; + /** @description Whether or not the release is immutable. */ + immutable: boolean; name: string | null; node_id: string; /** @description Whether the release is identified as a prerelease or a full release. */ @@ -54496,6 +54737,8 @@ export interface components { /** Format: uri */ html_url: string; id: number; + /** @description Whether or not the release is immutable. */ + immutable: boolean; name: string | null; node_id: string; /** @@ -54527,6 +54770,8 @@ export interface components { target_commitish: string; /** Format: uri-template */ upload_url: string; + /** Format: date-time */ + updated_at: string | null; /** Format: uri */ url: string; /** Format: uri */ @@ -54662,6 +54907,8 @@ export interface components { /** Format: uri */ html_url: string; id: number; + /** @description Whether or not the release is immutable. */ + immutable: boolean; name: string | null; node_id: string; /** @description Whether the release is identified as a prerelease or a full release. */ @@ -54688,6 +54935,8 @@ export interface components { tarball_url: string | null; /** @description Specifies the commitish value that determines where the Git tag is created from. */ target_commitish: string; + /** Format: date-time */ + updated_at: string | null; /** Format: uri-template */ upload_url: string; /** Format: uri */ @@ -55270,7 +55519,7 @@ export interface components { * @description An actor that can bypass rules in a ruleset */ "repository-ruleset-bypass-actor": { - /** @description The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. If `actor_type` is `EnterpriseOwner`, `actor_id` is ignored. `OrganizationAdmin` and `EnterpriseOwner` are not applicable for personal repositories. */ + /** @description The ID of the actor that can bypass a ruleset. Required for `Integration`, `RepositoryRole`, and `Team` actor types. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. If `actor_type` is `EnterpriseOwner`, `actor_id` is ignored. `OrganizationAdmin` and `EnterpriseOwner` are not applicable for personal repositories. */ actor_id?: number | null; /** * @description The type of actor that can bypass a ruleset @@ -55489,7 +55738,7 @@ export interface components { parameters?: { /** @description Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled. */ allowed_merge_methods?: ("merge" | "squash" | "rebase")[]; - /** @description Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review. */ + /** @description Request Copilot code review for new pull requests automatically if the author has access to Copilot code review. */ automatic_copilot_code_review_enabled?: boolean; /** @description New, reviewable commits pushed will dismiss previous pull request review approvals. */ dismiss_stale_reviews_on_push: boolean; @@ -57236,116 +57485,6 @@ export interface components { repository?: components["schemas"]["repository-webhooks"]; sender?: components["schemas"]["simple-user"]; }; - /** - * Issue - * @description Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. - */ - issue: { - /** Format: int64 */ - id: number; - node_id: string; - /** - * Format: uri - * @description URL for the issue - */ - url: string; - /** Format: uri */ - repository_url: string; - labels_url: string; - /** Format: uri */ - comments_url: string; - /** Format: uri */ - events_url: string; - /** Format: uri */ - html_url: string; - /** @description Number uniquely identifying the issue within its repository */ - number: number; - /** @description State of the issue; either 'open' or 'closed' */ - state: string; - /** - * @description The reason for the current state - * @enum {string|null} - */ - state_reason?: "completed" | "reopened" | "not_planned" | null; - /** @description Title of the issue */ - title: string; - /** @description Contents of the issue */ - body?: string | null; - user: null | components["schemas"]["simple-user"]; - /** @description Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository */ - labels: OneOf< - [ - string, - { - /** Format: int64 */ - id?: number; - node_id?: string; - /** Format: uri */ - url?: string; - name?: string; - description?: string | null; - color?: string | null; - default?: boolean; - }, - ] - >[]; - assignee: null | components["schemas"]["simple-user"]; - assignees?: components["schemas"]["simple-user"][] | null; - milestone: null | components["schemas"]["milestone"]; - locked: boolean; - active_lock_reason?: string | null; - comments: number; - pull_request?: { - /** Format: date-time */ - merged_at?: string | null; - /** Format: uri */ - diff_url: string | null; - /** Format: uri */ - html_url: string | null; - /** Format: uri */ - patch_url: string | null; - /** Format: uri */ - url: string | null; - }; - /** Format: date-time */ - closed_at: string | null; - /** Format: date-time */ - created_at: string; - /** Format: date-time */ - updated_at: string; - draft?: boolean; - closed_by?: null | components["schemas"]["simple-user"]; - body_html?: string; - body_text?: string; - /** Format: uri */ - timeline_url?: string; - type?: components["schemas"]["issue-type"]; - repository?: components["schemas"]["repository"]; - performed_via_github_app?: null | components["schemas"]["integration"]; - author_association: components["schemas"]["author-association"]; - reactions?: components["schemas"]["reaction-rollup"]; - sub_issues_summary?: components["schemas"]["sub-issues-summary"]; - }; - /** Reaction Rollup */ - "reaction-rollup": { - /** Format: uri */ - url: string; - total_count: number; - "+1": number; - "-1": number; - laugh: number; - confused: number; - heart: number; - hooray: number; - eyes: number; - rocket: number; - }; - /** Sub-issues Summary */ - "sub-issues-summary": { - total: number; - completed: number; - percent_completed: number; - }; /** parent issue removed event */ "webhook-sub-issues-parent-issue-removed": { /** @enum {string} */ @@ -63321,9 +63460,6 @@ export interface operations { * This event occurs when there is activity related to a user's request to dismiss a code scanning alert. * * To subscribe to this event, a GitHub App must have at least read-level access for the "code scanning alerts" repository permission. - * - * > [!NOTE] - * > Delegated alert dismissal for code scanning is currently in public preview and subject to change. * @description A code scanning alert dismissal request was created. */ "dismissal-request-code-scanning/created": { @@ -63361,9 +63497,6 @@ export interface operations { * This event occurs when there is activity related to a user's request to dismiss a code scanning alert. * * To subscribe to this event, a GitHub App must have at least read-level access for the "code scanning alerts" repository permission. - * - * > [!NOTE] - * > Delegated alert dismissal for code scanning is currently in public preview and subject to change. * @description A code scanning alert dismissal response was submitted. */ "dismissal-request-code-scanning/response-submitted": { @@ -64119,6 +64252,162 @@ export interface operations { }; }; }; + /** + * This event occurs when there is activity relating to issue dependencies, such as blocking or blocked-by relationships. + * + * For activity relating to issues more generally, use the `issues` event instead. + * + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permissions. + * @description An issue was marked as blocked by another issue. + */ + "issue-dependencies/blocked-by-added": { + parameters: { + header: { + /** @example GitHub-Hookshot/123abc */ + "User-Agent": string; + /** @example 12312312 */ + "X-Github-Hook-Id": string; + /** @example issues */ + "X-Github-Event": string; + /** @example 123123 */ + "X-Github-Hook-Installation-Target-Id": string; + /** @example repository */ + "X-Github-Hook-Installation-Target-Type": string; + /** @example 0b989ba4-242f-11e5-81e1-c7b6966d2516 */ + "X-GitHub-Delivery": string; + /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ + "X-Hub-Signature-256": string; + }; + }; + requestBody: { + content: { + "application/json": components["schemas"]["webhook-issue-dependencies-blocked-by-added"]; + }; + }; + responses: { + /** @description Return a 200 status to indicate that the data was received successfully */ + 200: { + content: never; + }; + }; + }; + /** + * This event occurs when there is activity relating to issue dependencies, such as blocking or blocked-by relationships. + * + * For activity relating to issues more generally, use the `issues` event instead. + * + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permissions. + * @description The blocked by relationship between an issue and another issue was removed. + */ + "issue-dependencies/blocked-by-removed": { + parameters: { + header: { + /** @example GitHub-Hookshot/123abc */ + "User-Agent": string; + /** @example 12312312 */ + "X-Github-Hook-Id": string; + /** @example issues */ + "X-Github-Event": string; + /** @example 123123 */ + "X-Github-Hook-Installation-Target-Id": string; + /** @example repository */ + "X-Github-Hook-Installation-Target-Type": string; + /** @example 0b989ba4-242f-11e5-81e1-c7b6966d2516 */ + "X-GitHub-Delivery": string; + /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ + "X-Hub-Signature-256": string; + }; + }; + requestBody: { + content: { + "application/json": components["schemas"]["webhook-issue-dependencies-blocked-by-removed"]; + }; + }; + responses: { + /** @description Return a 200 status to indicate that the data was received successfully */ + 200: { + content: never; + }; + }; + }; + /** + * This event occurs when there is activity relating to issue dependencies, such as blocking or blocked-by relationships. + * + * For activity relating to issues more generally, use the `issues` event instead. + * + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permissions. + * @description An issue was marked as blocking another issue. + */ + "issue-dependencies/blocking-added": { + parameters: { + header: { + /** @example GitHub-Hookshot/123abc */ + "User-Agent": string; + /** @example 12312312 */ + "X-Github-Hook-Id": string; + /** @example issues */ + "X-Github-Event": string; + /** @example 123123 */ + "X-Github-Hook-Installation-Target-Id": string; + /** @example repository */ + "X-Github-Hook-Installation-Target-Type": string; + /** @example 0b989ba4-242f-11e5-81e1-c7b6966d2516 */ + "X-GitHub-Delivery": string; + /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ + "X-Hub-Signature-256": string; + }; + }; + requestBody: { + content: { + "application/json": components["schemas"]["webhook-issue-dependencies-blocking-added"]; + }; + }; + responses: { + /** @description Return a 200 status to indicate that the data was received successfully */ + 200: { + content: never; + }; + }; + }; + /** + * This event occurs when there is activity relating to issue dependencies, such as blocking or blocked-by relationships. + * + * For activity relating to issues more generally, use the `issues` event instead. + * + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permissions. + * @description The blocking relationship between an issue and another issue was removed. + */ + "issue-dependencies/blocking-removed": { + parameters: { + header: { + /** @example GitHub-Hookshot/123abc */ + "User-Agent": string; + /** @example 12312312 */ + "X-Github-Hook-Id": string; + /** @example issues */ + "X-Github-Event": string; + /** @example 123123 */ + "X-Github-Hook-Installation-Target-Id": string; + /** @example repository */ + "X-Github-Hook-Installation-Target-Type": string; + /** @example 0b989ba4-242f-11e5-81e1-c7b6966d2516 */ + "X-GitHub-Delivery": string; + /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ + "X-Hub-Signature-256": string; + }; + }; + requestBody: { + content: { + "application/json": components["schemas"]["webhook-issue-dependencies-blocking-removed"]; + }; + }; + responses: { + /** @description Return a 200 status to indicate that the data was received successfully */ + 200: { + content: never; + }; + }; + }; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or "[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)" in the REST API documentation. * diff --git a/packages/openapi-webhooks-types-ghes-3.14/types.d.ts b/packages/openapi-webhooks-types-ghes-3.14/types.d.ts index 4d6a8ca..a7b41ac 100644 --- a/packages/openapi-webhooks-types-ghes-3.14/types.d.ts +++ b/packages/openapi-webhooks-types-ghes-3.14/types.d.ts @@ -324,6 +324,50 @@ export interface webhooks { */ post: operations["create"]; }; + "custom-property-created": { + /** + * This event occurs when there is activity relating to a custom property. + * + * For more information, see "[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.14/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)". For information about the APIs to manage custom properties, see "[Custom properties](https://docs.github.com/enterprise-server@3.14/rest/orgs/custom-properties)" in the REST API documentation. + * + * To subscribe to this event, a GitHub App must have at least read-level access for the "Custom properties" organization permission. + * @description A new custom property was created. + */ + post: operations["custom-property/created"]; + }; + "custom-property-deleted": { + /** + * This event occurs when there is activity relating to a custom property. + * + * For more information, see "[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.14/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)". For information about the APIs to manage custom properties, see "[Custom properties](https://docs.github.com/enterprise-server@3.14/rest/orgs/custom-properties)" in the REST API documentation. + * + * To subscribe to this event, a GitHub App must have at least read-level access for the "Custom properties" organization permission. + * @description A custom property was deleted. + */ + post: operations["custom-property/deleted"]; + }; + "custom-property-updated": { + /** + * This event occurs when there is activity relating to a custom property. + * + * For more information, see "[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.14/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)". For information about the APIs to manage custom properties, see "[Custom properties](https://docs.github.com/enterprise-server@3.14/rest/orgs/custom-properties)" in the REST API documentation. + * + * To subscribe to this event, a GitHub App must have at least read-level access for the "Custom properties" organization permission. + * @description A custom property was updated. + */ + post: operations["custom-property/updated"]; + }; + "custom-property-values-updated": { + /** + * This event occurs when there is activity relating to custom property values for a repository. + * + * For more information, see "[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.14/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)". For information about the APIs to manage custom properties for a repository, see "[Custom properties](https://docs.github.com/enterprise-server@3.14/rest/repos/custom-properties)" in the REST API documentation. + * + * To subscribe to this event, a GitHub App must have at least read-level access for the "Custom properties" organization permission. + * @description The custom property values of a repository were updated. + */ + post: operations["custom-property-values/updated"]; + }; delete: { /** * This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including @@ -3579,7 +3623,7 @@ export interface components { * @description A check performed on the code of a given code change */ "check-run-with-simple-check-suite": { - app: null | components["schemas"]["integration"]; + app: components["schemas"]["integration"]; check_suite: components["schemas"]["simple-check-suite"]; /** Format: date-time */ completed_at: string | null; @@ -3896,6 +3940,11 @@ export interface components { html_url: string | null; }; "security-and-analysis": { + /** + * @description Enable or disable GitHub Advanced Security for the repository. + * + * For standalone Code Scanning or Secret Protection products, this parameter cannot be used. + */ advanced_security?: { /** @enum {string} */ status?: "enabled" | "disabled"; @@ -5771,6 +5820,102 @@ export interface components { webhooks_deploy_pusher_type: string; /** @description The [`git ref`](https://docs.github.com/enterprise-server@3.14/rest/git/refs#get-a-reference) resource. */ webhooks_ref_0: string; + /** custom property created event */ + "webhook-custom-property-created": { + /** @enum {string} */ + action: "created"; + definition: components["schemas"]["custom-property"]; + enterprise?: components["schemas"]["enterprise-webhooks"]; + installation?: components["schemas"]["simple-installation"]; + organization?: components["schemas"]["organization-simple-webhooks"]; + sender?: components["schemas"]["simple-user"]; + }; + /** + * Organization Custom Property + * @description Custom property defined on an organization + */ + "custom-property": { + /** @description The name of the property */ + property_name: string; + /** + * Format: uri + * @description The URL that can be used to fetch, update, or delete info about this property via the API. + */ + url?: string; + /** + * @description The source type of the property + * @enum {string} + */ + source_type?: "organization" | "enterprise"; + /** + * @description The type of the value for the property + * @enum {string} + */ + value_type: "string" | "single_select" | "multi_select" | "true_false"; + /** @description Whether the property is required. */ + required?: boolean; + /** @description Default value of the property */ + default_value?: string | string[] | null | unknown[]; + /** @description Short description of the property */ + description?: string | null; + /** + * @description An ordered list of the allowed values of the property. + * The property can have up to 200 allowed values. + */ + allowed_values?: string[] | null; + /** + * @description Who can edit the values of the property + * @enum {string|null} + */ + values_editable_by?: "org_actors" | "org_and_repo_actors" | null; + }; + /** custom property deleted event */ + "webhook-custom-property-deleted": { + /** @enum {string} */ + action: "deleted"; + definition: { + /** @description The name of the property that was deleted. */ + property_name: string; + }; + enterprise?: components["schemas"]["enterprise-webhooks"]; + installation?: components["schemas"]["simple-installation"]; + organization?: components["schemas"]["organization-simple-webhooks"]; + sender?: components["schemas"]["simple-user"]; + }; + /** custom property updated event */ + "webhook-custom-property-updated": { + /** @enum {string} */ + action: "updated"; + definition: components["schemas"]["custom-property"]; + enterprise?: components["schemas"]["enterprise-webhooks"]; + installation?: components["schemas"]["simple-installation"]; + organization?: components["schemas"]["organization-simple-webhooks"]; + sender?: components["schemas"]["simple-user"]; + }; + /** Custom property values updated event */ + "webhook-custom-property-values-updated": { + /** @enum {string} */ + action: "updated"; + enterprise?: components["schemas"]["enterprise-webhooks"]; + installation?: components["schemas"]["simple-installation"]; + repository: components["schemas"]["repository-webhooks"]; + organization: components["schemas"]["organization-simple-webhooks"]; + sender?: components["schemas"]["simple-user"]; + /** @description The new custom property values for the repository. */ + new_property_values: components["schemas"]["custom-property-value"][]; + /** @description The old custom property values for the repository. */ + old_property_values: components["schemas"]["custom-property-value"][]; + }; + /** + * Custom Property Value + * @description Custom property name and associated value + */ + "custom-property-value": { + /** @description The name of the property */ + property_name: string; + /** @description The value assigned to the property */ + value: string | string[] | null | unknown[]; + }; /** delete event */ "webhook-delete": { enterprise?: components["schemas"]["enterprise-webhooks"]; @@ -10165,6 +10310,7 @@ export interface components { /** Format: uri */ html_url: string; app_id: number; + client_id?: string; /** @description The ID of the user or organization this token is being scoped to. */ target_id: number; target_type: string; @@ -11133,12 +11279,8 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -11315,6 +11457,19 @@ export interface components { repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user"]; }; + /** Sub-issues Summary */ + "sub-issues-summary": { + total: number; + completed: number; + percent_completed: number; + }; + /** Issue Dependencies Summary */ + "issue-dependencies-summary": { + blocked_by: number; + blocking: number; + total_blocked_by: number; + total_blocking: number; + }; /** * Issue Type * @description The type of issue. @@ -11777,12 +11932,8 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -12480,12 +12631,8 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -13104,12 +13251,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -13168,6 +13312,37 @@ export interface components { user_view_type?: string; } | null; }; + /** + * Issue Field Value + * @description A value assigned to an issue field + */ + "issue-field-value": { + /** + * Format: int64 + * @description Unique identifier for the issue field. + */ + issue_field_id: number; + node_id: string; + /** + * @description The data type of the issue field + * @enum {string} + */ + data_type: "text" | "single_select" | "number" | "date"; + /** @description The value of the issue field */ + value: null | string | number; + /** @description Details about the selected option (only present for single_select fields) */ + single_select_option?: { + /** + * Format: int64 + * @description Unique identifier for the option. + */ + id: number; + /** @description The name of the option */ + name: string; + /** @description The color of the option */ + color: string; + } | null; + }; /** issues closed event */ "webhook-issues-closed": { /** @@ -13595,12 +13770,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -14149,12 +14321,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -14639,12 +14808,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -15217,12 +15383,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -15711,12 +15874,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -16207,12 +16367,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -16698,12 +16855,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -17190,12 +17344,9 @@ export interface components { }; /** Format: uri */ repository_url?: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -17925,12 +18076,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -18422,12 +18570,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -18910,12 +19055,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -19401,12 +19543,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -20213,12 +20352,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -20577,7 +20713,7 @@ export interface components { /** @enum {string} */ action: "deleted"; enterprise?: components["schemas"]["enterprise-webhooks"]; - /** @description The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, business, app, or GitHub Marketplace. */ + /** @description The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, business, app, or GitHub Marketplace. */ hook: { active: boolean; config: { @@ -20952,6 +21088,13 @@ export interface components { /** Format: uri */ organization_url: string; role: string; + /** @description Whether the user has direct membership in the organization. */ + direct_membership?: boolean; + /** + * @description The slugs of the enterprise teams providing the user with indirect membership in the organization. + * A limit of 100 enterprise team slugs is returned. + */ + enterprise_teams_providing_indirect_membership?: string[]; state: string; /** Format: uri */ url: string; @@ -22345,6 +22488,41 @@ export interface components { /** Format: date-time */ deleted_at: string | null; deleted_by: null | components["schemas"]["simple-user"]; + /** @enum {string} */ + state?: "open" | "closed"; + latest_status_update?: + | null + | components["schemas"]["projects-v2-status-update"]; + /** @description Whether this project is a template */ + is_template?: boolean; + }; + /** + * Projects v2 Status Update + * @description An status update belonging to a project + */ + "projects-v2-status-update": { + id: number; + node_id: string; + project_node_id?: string; + creator?: components["schemas"]["simple-user"]; + /** Format: date-time */ + created_at: string; + /** Format: date-time */ + updated_at: string; + /** @enum {string|null} */ + status?: + | "INACTIVE" + | "ON_TRACK" + | "AT_RISK" + | "OFF_TRACK" + | "COMPLETE" + | null; + /** Format: date */ + start_date?: string; + /** Format: date */ + target_date?: string; + /** @description Body of the status update */ + body?: string | null; }; /** @description A project was created */ "webhook-projects-v2-project-created": { @@ -22528,8 +22706,10 @@ export interface components { "projects-v2-iteration-setting": { id: string; title: string; + title_html?: string; duration?: number | null; start_date?: string | null; + completed?: boolean; }; /** Projects v2 Item Reordered Event */ "webhook-projects-v2-item-reordered": { @@ -35141,6 +35321,8 @@ export interface components { state: "dismissed" | "approved" | "changes_requested"; /** Format: date-time */ submitted_at: string; + /** Format: date-time */ + updated_at?: string | null; /** User */ user: { /** Format: uri */ @@ -36304,6 +36486,8 @@ export interface components { state: string; /** Format: date-time */ submitted_at: string | null; + /** Format: date-time */ + updated_at?: string | null; /** User */ user: { /** Format: uri */ @@ -43871,6 +44055,8 @@ export interface components { }[]; node_id: string; }; + /** Format: date-time */ + updated_at?: string | null; }; /** pull_request_review_thread unresolved event */ "webhook-pull-request-review-thread-unresolved": { @@ -45111,6 +45297,8 @@ export interface components { }[]; node_id: string; }; + /** Format: date-time */ + updated_at?: string | null; }; /** pull_request synchronize event */ "webhook-pull-request-synchronize": { @@ -50878,6 +51066,8 @@ export interface components { body: string | null; /** Format: date-time */ created_at: string | null; + /** Format: date-time */ + updated_at: string | null; /** Format: uri */ discussion_url?: string; /** @description Whether the release is a draft or published */ @@ -50885,6 +51075,8 @@ export interface components { /** Format: uri */ html_url: string; id: number; + /** @description Whether or not the release is immutable. */ + immutable: boolean; name: string | null; node_id: string; /** @description Whether the release is identified as a prerelease or a full release. */ @@ -51081,6 +51273,8 @@ export interface components { /** Format: uri */ html_url: string; id: number; + /** @description Whether or not the release is immutable. */ + immutable: boolean; name: string | null; node_id: string; /** @@ -51112,6 +51306,8 @@ export interface components { target_commitish: string; /** Format: uri-template */ upload_url: string; + /** Format: date-time */ + updated_at: string | null; /** Format: uri */ url: string; /** Format: uri */ @@ -51247,6 +51443,8 @@ export interface components { /** Format: uri */ html_url: string; id: number; + /** @description Whether or not the release is immutable. */ + immutable: boolean; name: string | null; node_id: string; /** @description Whether the release is identified as a prerelease or a full release. */ @@ -51273,6 +51471,8 @@ export interface components { tarball_url: string | null; /** @description Specifies the commitish value that determines where the Git tag is created from. */ target_commitish: string; + /** Format: date-time */ + updated_at: string | null; /** Format: uri-template */ upload_url: string; /** Format: uri */ @@ -51500,7 +51700,7 @@ export interface components { * @description An actor that can bypass rules in a ruleset */ "repository-ruleset-bypass-actor": { - /** @description The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. `OrganizationAdmin` is not applicable for personal repositories. */ + /** @description The ID of the actor that can bypass a ruleset. Required for `Integration`, `RepositoryRole`, and `Team` actor types. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. `OrganizationAdmin` is not applicable for personal repositories. */ actor_id?: number | null; /** * @description The type of actor that can bypass a ruleset @@ -51680,7 +51880,7 @@ export interface components { /** @enum {string} */ type: "pull_request"; parameters?: { - /** @description Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review. */ + /** @description Request Copilot code review for new pull requests automatically if the author has access to Copilot code review. */ automatic_copilot_code_review_enabled?: boolean; /** @description New, reviewable commits pushed will dismiss previous pull request review approvals. */ dismiss_stale_reviews_on_push: boolean; @@ -57554,6 +57754,162 @@ export interface operations { }; }; }; + /** + * This event occurs when there is activity relating to a custom property. + * + * For more information, see "[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.14/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)". For information about the APIs to manage custom properties, see "[Custom properties](https://docs.github.com/enterprise-server@3.14/rest/orgs/custom-properties)" in the REST API documentation. + * + * To subscribe to this event, a GitHub App must have at least read-level access for the "Custom properties" organization permission. + * @description A new custom property was created. + */ + "custom-property/created": { + parameters: { + header: { + /** @example GitHub-Hookshot/123abc */ + "User-Agent": string; + /** @example 12312312 */ + "X-Github-Hook-Id": string; + /** @example issues */ + "X-Github-Event": string; + /** @example 123123 */ + "X-Github-Hook-Installation-Target-Id": string; + /** @example repository */ + "X-Github-Hook-Installation-Target-Type": string; + /** @example 0b989ba4-242f-11e5-81e1-c7b6966d2516 */ + "X-GitHub-Delivery": string; + /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ + "X-Hub-Signature-256": string; + }; + }; + requestBody: { + content: { + "application/json": components["schemas"]["webhook-custom-property-created"]; + }; + }; + responses: { + /** @description Return a 200 status to indicate that the data was received successfully */ + 200: { + content: never; + }; + }; + }; + /** + * This event occurs when there is activity relating to a custom property. + * + * For more information, see "[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.14/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)". For information about the APIs to manage custom properties, see "[Custom properties](https://docs.github.com/enterprise-server@3.14/rest/orgs/custom-properties)" in the REST API documentation. + * + * To subscribe to this event, a GitHub App must have at least read-level access for the "Custom properties" organization permission. + * @description A custom property was deleted. + */ + "custom-property/deleted": { + parameters: { + header: { + /** @example GitHub-Hookshot/123abc */ + "User-Agent": string; + /** @example 12312312 */ + "X-Github-Hook-Id": string; + /** @example issues */ + "X-Github-Event": string; + /** @example 123123 */ + "X-Github-Hook-Installation-Target-Id": string; + /** @example repository */ + "X-Github-Hook-Installation-Target-Type": string; + /** @example 0b989ba4-242f-11e5-81e1-c7b6966d2516 */ + "X-GitHub-Delivery": string; + /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ + "X-Hub-Signature-256": string; + }; + }; + requestBody: { + content: { + "application/json": components["schemas"]["webhook-custom-property-deleted"]; + }; + }; + responses: { + /** @description Return a 200 status to indicate that the data was received successfully */ + 200: { + content: never; + }; + }; + }; + /** + * This event occurs when there is activity relating to a custom property. + * + * For more information, see "[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.14/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)". For information about the APIs to manage custom properties, see "[Custom properties](https://docs.github.com/enterprise-server@3.14/rest/orgs/custom-properties)" in the REST API documentation. + * + * To subscribe to this event, a GitHub App must have at least read-level access for the "Custom properties" organization permission. + * @description A custom property was updated. + */ + "custom-property/updated": { + parameters: { + header: { + /** @example GitHub-Hookshot/123abc */ + "User-Agent": string; + /** @example 12312312 */ + "X-Github-Hook-Id": string; + /** @example issues */ + "X-Github-Event": string; + /** @example 123123 */ + "X-Github-Hook-Installation-Target-Id": string; + /** @example repository */ + "X-Github-Hook-Installation-Target-Type": string; + /** @example 0b989ba4-242f-11e5-81e1-c7b6966d2516 */ + "X-GitHub-Delivery": string; + /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ + "X-Hub-Signature-256": string; + }; + }; + requestBody: { + content: { + "application/json": components["schemas"]["webhook-custom-property-updated"]; + }; + }; + responses: { + /** @description Return a 200 status to indicate that the data was received successfully */ + 200: { + content: never; + }; + }; + }; + /** + * This event occurs when there is activity relating to custom property values for a repository. + * + * For more information, see "[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.14/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)". For information about the APIs to manage custom properties for a repository, see "[Custom properties](https://docs.github.com/enterprise-server@3.14/rest/repos/custom-properties)" in the REST API documentation. + * + * To subscribe to this event, a GitHub App must have at least read-level access for the "Custom properties" organization permission. + * @description The custom property values of a repository were updated. + */ + "custom-property-values/updated": { + parameters: { + header: { + /** @example GitHub-Hookshot/123abc */ + "User-Agent": string; + /** @example 12312312 */ + "X-Github-Hook-Id": string; + /** @example issues */ + "X-Github-Event": string; + /** @example 123123 */ + "X-Github-Hook-Installation-Target-Id": string; + /** @example repository */ + "X-Github-Hook-Installation-Target-Type": string; + /** @example 0b989ba4-242f-11e5-81e1-c7b6966d2516 */ + "X-GitHub-Delivery": string; + /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ + "X-Hub-Signature-256": string; + }; + }; + requestBody: { + content: { + "application/json": components["schemas"]["webhook-custom-property-values-updated"]; + }; + }; + responses: { + /** @description Return a 200 status to indicate that the data was received successfully */ + 200: { + content: never; + }; + }; + }; /** * This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including * branch and tag deletions, use the [`push`](#push) webhook event. diff --git a/packages/openapi-webhooks-types-ghes-3.15/types.d.ts b/packages/openapi-webhooks-types-ghes-3.15/types.d.ts index 8658e49..4954658 100644 --- a/packages/openapi-webhooks-types-ghes-3.15/types.d.ts +++ b/packages/openapi-webhooks-types-ghes-3.15/types.d.ts @@ -324,6 +324,50 @@ export interface webhooks { */ post: operations["create"]; }; + "custom-property-created": { + /** + * This event occurs when there is activity relating to a custom property. + * + * For more information, see "[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.15/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)". For information about the APIs to manage custom properties, see "[Custom properties](https://docs.github.com/enterprise-server@3.15/rest/orgs/custom-properties)" in the REST API documentation. + * + * To subscribe to this event, a GitHub App must have at least read-level access for the "Custom properties" organization permission. + * @description A new custom property was created. + */ + post: operations["custom-property/created"]; + }; + "custom-property-deleted": { + /** + * This event occurs when there is activity relating to a custom property. + * + * For more information, see "[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.15/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)". For information about the APIs to manage custom properties, see "[Custom properties](https://docs.github.com/enterprise-server@3.15/rest/orgs/custom-properties)" in the REST API documentation. + * + * To subscribe to this event, a GitHub App must have at least read-level access for the "Custom properties" organization permission. + * @description A custom property was deleted. + */ + post: operations["custom-property/deleted"]; + }; + "custom-property-updated": { + /** + * This event occurs when there is activity relating to a custom property. + * + * For more information, see "[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.15/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)". For information about the APIs to manage custom properties, see "[Custom properties](https://docs.github.com/enterprise-server@3.15/rest/orgs/custom-properties)" in the REST API documentation. + * + * To subscribe to this event, a GitHub App must have at least read-level access for the "Custom properties" organization permission. + * @description A custom property was updated. + */ + post: operations["custom-property/updated"]; + }; + "custom-property-values-updated": { + /** + * This event occurs when there is activity relating to custom property values for a repository. + * + * For more information, see "[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.15/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)". For information about the APIs to manage custom properties for a repository, see "[Custom properties](https://docs.github.com/enterprise-server@3.15/rest/repos/custom-properties)" in the REST API documentation. + * + * To subscribe to this event, a GitHub App must have at least read-level access for the "Custom properties" organization permission. + * @description The custom property values of a repository were updated. + */ + post: operations["custom-property-values/updated"]; + }; delete: { /** * This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including @@ -3593,7 +3637,7 @@ export interface components { * @description A check performed on the code of a given code change */ "check-run-with-simple-check-suite": { - app: null | components["schemas"]["integration"]; + app: components["schemas"]["integration"]; check_suite: components["schemas"]["simple-check-suite"]; /** Format: date-time */ completed_at: string | null; @@ -3911,6 +3955,11 @@ export interface components { html_url: string | null; }; "security-and-analysis": { + /** + * @description Enable or disable GitHub Advanced Security for the repository. + * + * For standalone Code Scanning or Secret Protection products, this parameter cannot be used. + */ advanced_security?: { /** @enum {string} */ status?: "enabled" | "disabled"; @@ -5790,6 +5839,102 @@ export interface components { webhooks_deploy_pusher_type: string; /** @description The [`git ref`](https://docs.github.com/enterprise-server@3.15/rest/git/refs#get-a-reference) resource. */ webhooks_ref_0: string; + /** custom property created event */ + "webhook-custom-property-created": { + /** @enum {string} */ + action: "created"; + definition: components["schemas"]["custom-property"]; + enterprise?: components["schemas"]["enterprise-webhooks"]; + installation?: components["schemas"]["simple-installation"]; + organization?: components["schemas"]["organization-simple-webhooks"]; + sender?: components["schemas"]["simple-user"]; + }; + /** + * Organization Custom Property + * @description Custom property defined on an organization + */ + "custom-property": { + /** @description The name of the property */ + property_name: string; + /** + * Format: uri + * @description The URL that can be used to fetch, update, or delete info about this property via the API. + */ + url?: string; + /** + * @description The source type of the property + * @enum {string} + */ + source_type?: "organization" | "enterprise"; + /** + * @description The type of the value for the property + * @enum {string} + */ + value_type: "string" | "single_select" | "multi_select" | "true_false"; + /** @description Whether the property is required. */ + required?: boolean; + /** @description Default value of the property */ + default_value?: string | string[] | null | unknown[]; + /** @description Short description of the property */ + description?: string | null; + /** + * @description An ordered list of the allowed values of the property. + * The property can have up to 200 allowed values. + */ + allowed_values?: string[] | null; + /** + * @description Who can edit the values of the property + * @enum {string|null} + */ + values_editable_by?: "org_actors" | "org_and_repo_actors" | null; + }; + /** custom property deleted event */ + "webhook-custom-property-deleted": { + /** @enum {string} */ + action: "deleted"; + definition: { + /** @description The name of the property that was deleted. */ + property_name: string; + }; + enterprise?: components["schemas"]["enterprise-webhooks"]; + installation?: components["schemas"]["simple-installation"]; + organization?: components["schemas"]["organization-simple-webhooks"]; + sender?: components["schemas"]["simple-user"]; + }; + /** custom property updated event */ + "webhook-custom-property-updated": { + /** @enum {string} */ + action: "updated"; + definition: components["schemas"]["custom-property"]; + enterprise?: components["schemas"]["enterprise-webhooks"]; + installation?: components["schemas"]["simple-installation"]; + organization?: components["schemas"]["organization-simple-webhooks"]; + sender?: components["schemas"]["simple-user"]; + }; + /** Custom property values updated event */ + "webhook-custom-property-values-updated": { + /** @enum {string} */ + action: "updated"; + enterprise?: components["schemas"]["enterprise-webhooks"]; + installation?: components["schemas"]["simple-installation"]; + repository: components["schemas"]["repository-webhooks"]; + organization: components["schemas"]["organization-simple-webhooks"]; + sender?: components["schemas"]["simple-user"]; + /** @description The new custom property values for the repository. */ + new_property_values: components["schemas"]["custom-property-value"][]; + /** @description The old custom property values for the repository. */ + old_property_values: components["schemas"]["custom-property-value"][]; + }; + /** + * Custom Property Value + * @description Custom property name and associated value + */ + "custom-property-value": { + /** @description The name of the property */ + property_name: string; + /** @description The value assigned to the property */ + value: string | string[] | null | unknown[]; + }; /** delete event */ "webhook-delete": { enterprise?: components["schemas"]["enterprise-webhooks"]; @@ -10184,6 +10329,7 @@ export interface components { /** Format: uri */ html_url: string; app_id: number; + client_id?: string; /** @description The ID of the user or organization this token is being scoped to. */ target_id: number; target_type: string; @@ -11157,12 +11303,8 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -11339,6 +11481,19 @@ export interface components { repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user"]; }; + /** Sub-issues Summary */ + "sub-issues-summary": { + total: number; + completed: number; + percent_completed: number; + }; + /** Issue Dependencies Summary */ + "issue-dependencies-summary": { + blocked_by: number; + blocking: number; + total_blocked_by: number; + total_blocking: number; + }; /** * Issue Type * @description The type of issue. @@ -11801,12 +11956,8 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -12504,12 +12655,8 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -13128,12 +13275,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -13192,6 +13336,37 @@ export interface components { user_view_type?: string; } | null; }; + /** + * Issue Field Value + * @description A value assigned to an issue field + */ + "issue-field-value": { + /** + * Format: int64 + * @description Unique identifier for the issue field. + */ + issue_field_id: number; + node_id: string; + /** + * @description The data type of the issue field + * @enum {string} + */ + data_type: "text" | "single_select" | "number" | "date"; + /** @description The value of the issue field */ + value: null | string | number; + /** @description Details about the selected option (only present for single_select fields) */ + single_select_option?: { + /** + * Format: int64 + * @description Unique identifier for the option. + */ + id: number; + /** @description The name of the option */ + name: string; + /** @description The color of the option */ + color: string; + } | null; + }; /** issues closed event */ "webhook-issues-closed": { /** @@ -13619,12 +13794,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -14173,12 +14345,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -14663,12 +14832,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -15241,12 +15407,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -15735,12 +15898,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -16231,12 +16391,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -16722,12 +16879,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -17214,12 +17368,9 @@ export interface components { }; /** Format: uri */ repository_url?: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -17949,12 +18100,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -18446,12 +18594,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -18934,12 +19079,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -19425,12 +19567,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -20237,12 +20376,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -20601,7 +20737,7 @@ export interface components { /** @enum {string} */ action: "deleted"; enterprise?: components["schemas"]["enterprise-webhooks"]; - /** @description The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, business, app, or GitHub Marketplace. */ + /** @description The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, business, app, or GitHub Marketplace. */ hook: { active: boolean; config: { @@ -20976,6 +21112,13 @@ export interface components { /** Format: uri */ organization_url: string; role: string; + /** @description Whether the user has direct membership in the organization. */ + direct_membership?: boolean; + /** + * @description The slugs of the enterprise teams providing the user with indirect membership in the organization. + * A limit of 100 enterprise team slugs is returned. + */ + enterprise_teams_providing_indirect_membership?: string[]; state: string; /** Format: uri */ url: string; @@ -22369,6 +22512,41 @@ export interface components { /** Format: date-time */ deleted_at: string | null; deleted_by: null | components["schemas"]["simple-user"]; + /** @enum {string} */ + state?: "open" | "closed"; + latest_status_update?: + | null + | components["schemas"]["projects-v2-status-update"]; + /** @description Whether this project is a template */ + is_template?: boolean; + }; + /** + * Projects v2 Status Update + * @description An status update belonging to a project + */ + "projects-v2-status-update": { + id: number; + node_id: string; + project_node_id?: string; + creator?: components["schemas"]["simple-user"]; + /** Format: date-time */ + created_at: string; + /** Format: date-time */ + updated_at: string; + /** @enum {string|null} */ + status?: + | "INACTIVE" + | "ON_TRACK" + | "AT_RISK" + | "OFF_TRACK" + | "COMPLETE" + | null; + /** Format: date */ + start_date?: string; + /** Format: date */ + target_date?: string; + /** @description Body of the status update */ + body?: string | null; }; /** @description A project was created */ "webhook-projects-v2-project-created": { @@ -22552,8 +22730,10 @@ export interface components { "projects-v2-iteration-setting": { id: string; title: string; + title_html?: string; duration?: number | null; start_date?: string | null; + completed?: boolean; }; /** Projects v2 Item Reordered Event */ "webhook-projects-v2-item-reordered": { @@ -35165,6 +35345,8 @@ export interface components { state: "dismissed" | "approved" | "changes_requested"; /** Format: date-time */ submitted_at: string; + /** Format: date-time */ + updated_at?: string | null; /** User */ user: { /** Format: uri */ @@ -36328,6 +36510,8 @@ export interface components { state: string; /** Format: date-time */ submitted_at: string | null; + /** Format: date-time */ + updated_at?: string | null; /** User */ user: { /** Format: uri */ @@ -43895,6 +44079,8 @@ export interface components { }[]; node_id: string; }; + /** Format: date-time */ + updated_at?: string | null; }; /** pull_request_review_thread unresolved event */ "webhook-pull-request-review-thread-unresolved": { @@ -45135,6 +45321,8 @@ export interface components { }[]; node_id: string; }; + /** Format: date-time */ + updated_at?: string | null; }; /** pull_request synchronize event */ "webhook-pull-request-synchronize": { @@ -50902,6 +51090,8 @@ export interface components { body: string | null; /** Format: date-time */ created_at: string | null; + /** Format: date-time */ + updated_at: string | null; /** Format: uri */ discussion_url?: string; /** @description Whether the release is a draft or published */ @@ -50909,6 +51099,8 @@ export interface components { /** Format: uri */ html_url: string; id: number; + /** @description Whether or not the release is immutable. */ + immutable: boolean; name: string | null; node_id: string; /** @description Whether the release is identified as a prerelease or a full release. */ @@ -51105,6 +51297,8 @@ export interface components { /** Format: uri */ html_url: string; id: number; + /** @description Whether or not the release is immutable. */ + immutable: boolean; name: string | null; node_id: string; /** @@ -51136,6 +51330,8 @@ export interface components { target_commitish: string; /** Format: uri-template */ upload_url: string; + /** Format: date-time */ + updated_at: string | null; /** Format: uri */ url: string; /** Format: uri */ @@ -51271,6 +51467,8 @@ export interface components { /** Format: uri */ html_url: string; id: number; + /** @description Whether or not the release is immutable. */ + immutable: boolean; name: string | null; node_id: string; /** @description Whether the release is identified as a prerelease or a full release. */ @@ -51297,6 +51495,8 @@ export interface components { tarball_url: string | null; /** @description Specifies the commitish value that determines where the Git tag is created from. */ target_commitish: string; + /** Format: date-time */ + updated_at: string | null; /** Format: uri-template */ upload_url: string; /** Format: uri */ @@ -51524,7 +51724,7 @@ export interface components { * @description An actor that can bypass rules in a ruleset */ "repository-ruleset-bypass-actor": { - /** @description The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. `OrganizationAdmin` is not applicable for personal repositories. */ + /** @description The ID of the actor that can bypass a ruleset. Required for `Integration`, `RepositoryRole`, and `Team` actor types. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. `OrganizationAdmin` is not applicable for personal repositories. */ actor_id?: number | null; /** * @description The type of actor that can bypass a ruleset @@ -51735,7 +51935,7 @@ export interface components { /** @enum {string} */ type: "pull_request"; parameters?: { - /** @description Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review. */ + /** @description Request Copilot code review for new pull requests automatically if the author has access to Copilot code review. */ automatic_copilot_code_review_enabled?: boolean; /** @description New, reviewable commits pushed will dismiss previous pull request review approvals. */ dismiss_stale_reviews_on_push: boolean; @@ -57609,6 +57809,162 @@ export interface operations { }; }; }; + /** + * This event occurs when there is activity relating to a custom property. + * + * For more information, see "[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.15/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)". For information about the APIs to manage custom properties, see "[Custom properties](https://docs.github.com/enterprise-server@3.15/rest/orgs/custom-properties)" in the REST API documentation. + * + * To subscribe to this event, a GitHub App must have at least read-level access for the "Custom properties" organization permission. + * @description A new custom property was created. + */ + "custom-property/created": { + parameters: { + header: { + /** @example GitHub-Hookshot/123abc */ + "User-Agent": string; + /** @example 12312312 */ + "X-Github-Hook-Id": string; + /** @example issues */ + "X-Github-Event": string; + /** @example 123123 */ + "X-Github-Hook-Installation-Target-Id": string; + /** @example repository */ + "X-Github-Hook-Installation-Target-Type": string; + /** @example 0b989ba4-242f-11e5-81e1-c7b6966d2516 */ + "X-GitHub-Delivery": string; + /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ + "X-Hub-Signature-256": string; + }; + }; + requestBody: { + content: { + "application/json": components["schemas"]["webhook-custom-property-created"]; + }; + }; + responses: { + /** @description Return a 200 status to indicate that the data was received successfully */ + 200: { + content: never; + }; + }; + }; + /** + * This event occurs when there is activity relating to a custom property. + * + * For more information, see "[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.15/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)". For information about the APIs to manage custom properties, see "[Custom properties](https://docs.github.com/enterprise-server@3.15/rest/orgs/custom-properties)" in the REST API documentation. + * + * To subscribe to this event, a GitHub App must have at least read-level access for the "Custom properties" organization permission. + * @description A custom property was deleted. + */ + "custom-property/deleted": { + parameters: { + header: { + /** @example GitHub-Hookshot/123abc */ + "User-Agent": string; + /** @example 12312312 */ + "X-Github-Hook-Id": string; + /** @example issues */ + "X-Github-Event": string; + /** @example 123123 */ + "X-Github-Hook-Installation-Target-Id": string; + /** @example repository */ + "X-Github-Hook-Installation-Target-Type": string; + /** @example 0b989ba4-242f-11e5-81e1-c7b6966d2516 */ + "X-GitHub-Delivery": string; + /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ + "X-Hub-Signature-256": string; + }; + }; + requestBody: { + content: { + "application/json": components["schemas"]["webhook-custom-property-deleted"]; + }; + }; + responses: { + /** @description Return a 200 status to indicate that the data was received successfully */ + 200: { + content: never; + }; + }; + }; + /** + * This event occurs when there is activity relating to a custom property. + * + * For more information, see "[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.15/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)". For information about the APIs to manage custom properties, see "[Custom properties](https://docs.github.com/enterprise-server@3.15/rest/orgs/custom-properties)" in the REST API documentation. + * + * To subscribe to this event, a GitHub App must have at least read-level access for the "Custom properties" organization permission. + * @description A custom property was updated. + */ + "custom-property/updated": { + parameters: { + header: { + /** @example GitHub-Hookshot/123abc */ + "User-Agent": string; + /** @example 12312312 */ + "X-Github-Hook-Id": string; + /** @example issues */ + "X-Github-Event": string; + /** @example 123123 */ + "X-Github-Hook-Installation-Target-Id": string; + /** @example repository */ + "X-Github-Hook-Installation-Target-Type": string; + /** @example 0b989ba4-242f-11e5-81e1-c7b6966d2516 */ + "X-GitHub-Delivery": string; + /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ + "X-Hub-Signature-256": string; + }; + }; + requestBody: { + content: { + "application/json": components["schemas"]["webhook-custom-property-updated"]; + }; + }; + responses: { + /** @description Return a 200 status to indicate that the data was received successfully */ + 200: { + content: never; + }; + }; + }; + /** + * This event occurs when there is activity relating to custom property values for a repository. + * + * For more information, see "[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.15/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)". For information about the APIs to manage custom properties for a repository, see "[Custom properties](https://docs.github.com/enterprise-server@3.15/rest/repos/custom-properties)" in the REST API documentation. + * + * To subscribe to this event, a GitHub App must have at least read-level access for the "Custom properties" organization permission. + * @description The custom property values of a repository were updated. + */ + "custom-property-values/updated": { + parameters: { + header: { + /** @example GitHub-Hookshot/123abc */ + "User-Agent": string; + /** @example 12312312 */ + "X-Github-Hook-Id": string; + /** @example issues */ + "X-Github-Event": string; + /** @example 123123 */ + "X-Github-Hook-Installation-Target-Id": string; + /** @example repository */ + "X-Github-Hook-Installation-Target-Type": string; + /** @example 0b989ba4-242f-11e5-81e1-c7b6966d2516 */ + "X-GitHub-Delivery": string; + /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ + "X-Hub-Signature-256": string; + }; + }; + requestBody: { + content: { + "application/json": components["schemas"]["webhook-custom-property-values-updated"]; + }; + }; + responses: { + /** @description Return a 200 status to indicate that the data was received successfully */ + 200: { + content: never; + }; + }; + }; /** * This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including * branch and tag deletions, use the [`push`](#push) webhook event. diff --git a/packages/openapi-webhooks-types-ghes-3.16/types.d.ts b/packages/openapi-webhooks-types-ghes-3.16/types.d.ts index ac6d1bf..6cf15eb 100644 --- a/packages/openapi-webhooks-types-ghes-3.16/types.d.ts +++ b/packages/openapi-webhooks-types-ghes-3.16/types.d.ts @@ -379,6 +379,50 @@ export interface webhooks { */ post: operations["create"]; }; + "custom-property-created": { + /** + * This event occurs when there is activity relating to a custom property. + * + * For more information, see "[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.16/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)". For information about the APIs to manage custom properties, see "[Custom properties](https://docs.github.com/enterprise-server@3.16/rest/orgs/custom-properties)" in the REST API documentation. + * + * To subscribe to this event, a GitHub App must have at least read-level access for the "Custom properties" organization permission. + * @description A new custom property was created. + */ + post: operations["custom-property/created"]; + }; + "custom-property-deleted": { + /** + * This event occurs when there is activity relating to a custom property. + * + * For more information, see "[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.16/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)". For information about the APIs to manage custom properties, see "[Custom properties](https://docs.github.com/enterprise-server@3.16/rest/orgs/custom-properties)" in the REST API documentation. + * + * To subscribe to this event, a GitHub App must have at least read-level access for the "Custom properties" organization permission. + * @description A custom property was deleted. + */ + post: operations["custom-property/deleted"]; + }; + "custom-property-updated": { + /** + * This event occurs when there is activity relating to a custom property. + * + * For more information, see "[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.16/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)". For information about the APIs to manage custom properties, see "[Custom properties](https://docs.github.com/enterprise-server@3.16/rest/orgs/custom-properties)" in the REST API documentation. + * + * To subscribe to this event, a GitHub App must have at least read-level access for the "Custom properties" organization permission. + * @description A custom property was updated. + */ + post: operations["custom-property/updated"]; + }; + "custom-property-values-updated": { + /** + * This event occurs when there is activity relating to custom property values for a repository. + * + * For more information, see "[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.16/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)". For information about the APIs to manage custom properties for a repository, see "[Custom properties](https://docs.github.com/enterprise-server@3.16/rest/repos/custom-properties)" in the REST API documentation. + * + * To subscribe to this event, a GitHub App must have at least read-level access for the "Custom properties" organization permission. + * @description The custom property values of a repository were updated. + */ + post: operations["custom-property-values/updated"]; + }; delete: { /** * This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including @@ -3660,7 +3704,7 @@ export interface components { * @description A check performed on the code of a given code change */ "check-run-with-simple-check-suite": { - app: null | components["schemas"]["integration"]; + app: components["schemas"]["integration"]; check_suite: components["schemas"]["simple-check-suite"]; /** Format: date-time */ completed_at: string | null; @@ -3978,6 +4022,11 @@ export interface components { html_url: string | null; }; "security-and-analysis": { + /** + * @description Enable or disable GitHub Advanced Security for the repository. + * + * For standalone Code Scanning or Secret Protection products, this parameter cannot be used. + */ advanced_security?: { /** @enum {string} */ status?: "enabled" | "disabled"; @@ -5857,6 +5906,102 @@ export interface components { webhooks_deploy_pusher_type: string; /** @description The [`git ref`](https://docs.github.com/enterprise-server@3.16/rest/git/refs#get-a-reference) resource. */ webhooks_ref_0: string; + /** custom property created event */ + "webhook-custom-property-created": { + /** @enum {string} */ + action: "created"; + definition: components["schemas"]["custom-property"]; + enterprise?: components["schemas"]["enterprise-webhooks"]; + installation?: components["schemas"]["simple-installation"]; + organization?: components["schemas"]["organization-simple-webhooks"]; + sender?: components["schemas"]["simple-user"]; + }; + /** + * Organization Custom Property + * @description Custom property defined on an organization + */ + "custom-property": { + /** @description The name of the property */ + property_name: string; + /** + * Format: uri + * @description The URL that can be used to fetch, update, or delete info about this property via the API. + */ + url?: string; + /** + * @description The source type of the property + * @enum {string} + */ + source_type?: "organization" | "enterprise"; + /** + * @description The type of the value for the property + * @enum {string} + */ + value_type: "string" | "single_select" | "multi_select" | "true_false"; + /** @description Whether the property is required. */ + required?: boolean; + /** @description Default value of the property */ + default_value?: string | string[] | null | unknown[]; + /** @description Short description of the property */ + description?: string | null; + /** + * @description An ordered list of the allowed values of the property. + * The property can have up to 200 allowed values. + */ + allowed_values?: string[] | null; + /** + * @description Who can edit the values of the property + * @enum {string|null} + */ + values_editable_by?: "org_actors" | "org_and_repo_actors" | null; + }; + /** custom property deleted event */ + "webhook-custom-property-deleted": { + /** @enum {string} */ + action: "deleted"; + definition: { + /** @description The name of the property that was deleted. */ + property_name: string; + }; + enterprise?: components["schemas"]["enterprise-webhooks"]; + installation?: components["schemas"]["simple-installation"]; + organization?: components["schemas"]["organization-simple-webhooks"]; + sender?: components["schemas"]["simple-user"]; + }; + /** custom property updated event */ + "webhook-custom-property-updated": { + /** @enum {string} */ + action: "updated"; + definition: components["schemas"]["custom-property"]; + enterprise?: components["schemas"]["enterprise-webhooks"]; + installation?: components["schemas"]["simple-installation"]; + organization?: components["schemas"]["organization-simple-webhooks"]; + sender?: components["schemas"]["simple-user"]; + }; + /** Custom property values updated event */ + "webhook-custom-property-values-updated": { + /** @enum {string} */ + action: "updated"; + enterprise?: components["schemas"]["enterprise-webhooks"]; + installation?: components["schemas"]["simple-installation"]; + repository: components["schemas"]["repository-webhooks"]; + organization: components["schemas"]["organization-simple-webhooks"]; + sender?: components["schemas"]["simple-user"]; + /** @description The new custom property values for the repository. */ + new_property_values: components["schemas"]["custom-property-value"][]; + /** @description The old custom property values for the repository. */ + old_property_values: components["schemas"]["custom-property-value"][]; + }; + /** + * Custom Property Value + * @description Custom property name and associated value + */ + "custom-property-value": { + /** @description The name of the property */ + property_name: string; + /** @description The value assigned to the property */ + value: string | string[] | null | unknown[]; + }; /** delete event */ "webhook-delete": { enterprise?: components["schemas"]["enterprise-webhooks"]; @@ -10258,6 +10403,7 @@ export interface components { /** Format: uri */ html_url: string; app_id: number; + client_id?: string; /** @description The ID of the user or organization this token is being scoped to. */ target_id: number; target_type: string; @@ -11236,12 +11382,8 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -11418,6 +11560,19 @@ export interface components { repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user"]; }; + /** Sub-issues Summary */ + "sub-issues-summary": { + total: number; + completed: number; + percent_completed: number; + }; + /** Issue Dependencies Summary */ + "issue-dependencies-summary": { + blocked_by: number; + blocking: number; + total_blocked_by: number; + total_blocking: number; + }; /** * Issue Type * @description The type of issue. @@ -11880,12 +12035,8 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -12583,12 +12734,8 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -13207,12 +13354,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -13271,6 +13415,37 @@ export interface components { user_view_type?: string; } | null; }; + /** + * Issue Field Value + * @description A value assigned to an issue field + */ + "issue-field-value": { + /** + * Format: int64 + * @description Unique identifier for the issue field. + */ + issue_field_id: number; + node_id: string; + /** + * @description The data type of the issue field + * @enum {string} + */ + data_type: "text" | "single_select" | "number" | "date"; + /** @description The value of the issue field */ + value: null | string | number; + /** @description Details about the selected option (only present for single_select fields) */ + single_select_option?: { + /** + * Format: int64 + * @description Unique identifier for the option. + */ + id: number; + /** @description The name of the option */ + name: string; + /** @description The color of the option */ + color: string; + } | null; + }; /** issues closed event */ "webhook-issues-closed": { /** @@ -13698,12 +13873,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -14252,12 +14424,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -14742,12 +14911,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -15320,12 +15486,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -15814,12 +15977,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -16310,12 +16470,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -16801,12 +16958,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -17293,12 +17447,9 @@ export interface components { }; /** Format: uri */ repository_url?: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -18028,12 +18179,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -18525,12 +18673,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -19013,12 +19158,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -19504,12 +19646,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -20316,12 +20455,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -20680,7 +20816,7 @@ export interface components { /** @enum {string} */ action: "deleted"; enterprise?: components["schemas"]["enterprise-webhooks"]; - /** @description The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, business, app, or GitHub Marketplace. */ + /** @description The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, business, app, or GitHub Marketplace. */ hook: { active: boolean; config: { @@ -21055,6 +21191,13 @@ export interface components { /** Format: uri */ organization_url: string; role: string; + /** @description Whether the user has direct membership in the organization. */ + direct_membership?: boolean; + /** + * @description The slugs of the enterprise teams providing the user with indirect membership in the organization. + * A limit of 100 enterprise team slugs is returned. + */ + enterprise_teams_providing_indirect_membership?: string[]; state: string; /** Format: uri */ url: string; @@ -22448,6 +22591,41 @@ export interface components { /** Format: date-time */ deleted_at: string | null; deleted_by: null | components["schemas"]["simple-user"]; + /** @enum {string} */ + state?: "open" | "closed"; + latest_status_update?: + | null + | components["schemas"]["projects-v2-status-update"]; + /** @description Whether this project is a template */ + is_template?: boolean; + }; + /** + * Projects v2 Status Update + * @description An status update belonging to a project + */ + "projects-v2-status-update": { + id: number; + node_id: string; + project_node_id?: string; + creator?: components["schemas"]["simple-user"]; + /** Format: date-time */ + created_at: string; + /** Format: date-time */ + updated_at: string; + /** @enum {string|null} */ + status?: + | "INACTIVE" + | "ON_TRACK" + | "AT_RISK" + | "OFF_TRACK" + | "COMPLETE" + | null; + /** Format: date */ + start_date?: string; + /** Format: date */ + target_date?: string; + /** @description Body of the status update */ + body?: string | null; }; /** @description A project was created */ "webhook-projects-v2-project-created": { @@ -22631,8 +22809,10 @@ export interface components { "projects-v2-iteration-setting": { id: string; title: string; + title_html?: string; duration?: number | null; start_date?: string | null; + completed?: boolean; }; /** Projects v2 Item Reordered Event */ "webhook-projects-v2-item-reordered": { @@ -35244,6 +35424,8 @@ export interface components { state: "dismissed" | "approved" | "changes_requested"; /** Format: date-time */ submitted_at: string; + /** Format: date-time */ + updated_at?: string | null; /** User */ user: { /** Format: uri */ @@ -36407,6 +36589,8 @@ export interface components { state: string; /** Format: date-time */ submitted_at: string | null; + /** Format: date-time */ + updated_at?: string | null; /** User */ user: { /** Format: uri */ @@ -43974,6 +44158,8 @@ export interface components { }[]; node_id: string; }; + /** Format: date-time */ + updated_at?: string | null; }; /** pull_request_review_thread unresolved event */ "webhook-pull-request-review-thread-unresolved": { @@ -45214,6 +45400,8 @@ export interface components { }[]; node_id: string; }; + /** Format: date-time */ + updated_at?: string | null; }; /** pull_request synchronize event */ "webhook-pull-request-synchronize": { @@ -50981,6 +51169,8 @@ export interface components { body: string | null; /** Format: date-time */ created_at: string | null; + /** Format: date-time */ + updated_at: string | null; /** Format: uri */ discussion_url?: string; /** @description Whether the release is a draft or published */ @@ -50988,6 +51178,8 @@ export interface components { /** Format: uri */ html_url: string; id: number; + /** @description Whether or not the release is immutable. */ + immutable: boolean; name: string | null; node_id: string; /** @description Whether the release is identified as a prerelease or a full release. */ @@ -51184,6 +51376,8 @@ export interface components { /** Format: uri */ html_url: string; id: number; + /** @description Whether or not the release is immutable. */ + immutable: boolean; name: string | null; node_id: string; /** @@ -51215,6 +51409,8 @@ export interface components { target_commitish: string; /** Format: uri-template */ upload_url: string; + /** Format: date-time */ + updated_at: string | null; /** Format: uri */ url: string; /** Format: uri */ @@ -51350,6 +51546,8 @@ export interface components { /** Format: uri */ html_url: string; id: number; + /** @description Whether or not the release is immutable. */ + immutable: boolean; name: string | null; node_id: string; /** @description Whether the release is identified as a prerelease or a full release. */ @@ -51376,6 +51574,8 @@ export interface components { tarball_url: string | null; /** @description Specifies the commitish value that determines where the Git tag is created from. */ target_commitish: string; + /** Format: date-time */ + updated_at: string | null; /** Format: uri-template */ upload_url: string; /** Format: uri */ @@ -51603,7 +51803,7 @@ export interface components { * @description An actor that can bypass rules in a ruleset */ "repository-ruleset-bypass-actor": { - /** @description The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. If `actor_type` is `EnterpriseOwner`, `actor_id` is ignored. `OrganizationAdmin` and `EnterpriseOwner` are not applicable for personal repositories. */ + /** @description The ID of the actor that can bypass a ruleset. Required for `Integration`, `RepositoryRole`, and `Team` actor types. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. If `actor_type` is `EnterpriseOwner`, `actor_id` is ignored. `OrganizationAdmin` and `EnterpriseOwner` are not applicable for personal repositories. */ actor_id?: number | null; /** * @description The type of actor that can bypass a ruleset @@ -51815,7 +52015,7 @@ export interface components { /** @enum {string} */ type: "pull_request"; parameters?: { - /** @description Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review. */ + /** @description Request Copilot code review for new pull requests automatically if the author has access to Copilot code review. */ automatic_copilot_code_review_enabled?: boolean; /** @description New, reviewable commits pushed will dismiss previous pull request review approvals. */ dismiss_stale_reviews_on_push: boolean; @@ -57941,6 +58141,162 @@ export interface operations { }; }; }; + /** + * This event occurs when there is activity relating to a custom property. + * + * For more information, see "[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.16/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)". For information about the APIs to manage custom properties, see "[Custom properties](https://docs.github.com/enterprise-server@3.16/rest/orgs/custom-properties)" in the REST API documentation. + * + * To subscribe to this event, a GitHub App must have at least read-level access for the "Custom properties" organization permission. + * @description A new custom property was created. + */ + "custom-property/created": { + parameters: { + header: { + /** @example GitHub-Hookshot/123abc */ + "User-Agent": string; + /** @example 12312312 */ + "X-Github-Hook-Id": string; + /** @example issues */ + "X-Github-Event": string; + /** @example 123123 */ + "X-Github-Hook-Installation-Target-Id": string; + /** @example repository */ + "X-Github-Hook-Installation-Target-Type": string; + /** @example 0b989ba4-242f-11e5-81e1-c7b6966d2516 */ + "X-GitHub-Delivery": string; + /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ + "X-Hub-Signature-256": string; + }; + }; + requestBody: { + content: { + "application/json": components["schemas"]["webhook-custom-property-created"]; + }; + }; + responses: { + /** @description Return a 200 status to indicate that the data was received successfully */ + 200: { + content: never; + }; + }; + }; + /** + * This event occurs when there is activity relating to a custom property. + * + * For more information, see "[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.16/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)". For information about the APIs to manage custom properties, see "[Custom properties](https://docs.github.com/enterprise-server@3.16/rest/orgs/custom-properties)" in the REST API documentation. + * + * To subscribe to this event, a GitHub App must have at least read-level access for the "Custom properties" organization permission. + * @description A custom property was deleted. + */ + "custom-property/deleted": { + parameters: { + header: { + /** @example GitHub-Hookshot/123abc */ + "User-Agent": string; + /** @example 12312312 */ + "X-Github-Hook-Id": string; + /** @example issues */ + "X-Github-Event": string; + /** @example 123123 */ + "X-Github-Hook-Installation-Target-Id": string; + /** @example repository */ + "X-Github-Hook-Installation-Target-Type": string; + /** @example 0b989ba4-242f-11e5-81e1-c7b6966d2516 */ + "X-GitHub-Delivery": string; + /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ + "X-Hub-Signature-256": string; + }; + }; + requestBody: { + content: { + "application/json": components["schemas"]["webhook-custom-property-deleted"]; + }; + }; + responses: { + /** @description Return a 200 status to indicate that the data was received successfully */ + 200: { + content: never; + }; + }; + }; + /** + * This event occurs when there is activity relating to a custom property. + * + * For more information, see "[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.16/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)". For information about the APIs to manage custom properties, see "[Custom properties](https://docs.github.com/enterprise-server@3.16/rest/orgs/custom-properties)" in the REST API documentation. + * + * To subscribe to this event, a GitHub App must have at least read-level access for the "Custom properties" organization permission. + * @description A custom property was updated. + */ + "custom-property/updated": { + parameters: { + header: { + /** @example GitHub-Hookshot/123abc */ + "User-Agent": string; + /** @example 12312312 */ + "X-Github-Hook-Id": string; + /** @example issues */ + "X-Github-Event": string; + /** @example 123123 */ + "X-Github-Hook-Installation-Target-Id": string; + /** @example repository */ + "X-Github-Hook-Installation-Target-Type": string; + /** @example 0b989ba4-242f-11e5-81e1-c7b6966d2516 */ + "X-GitHub-Delivery": string; + /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ + "X-Hub-Signature-256": string; + }; + }; + requestBody: { + content: { + "application/json": components["schemas"]["webhook-custom-property-updated"]; + }; + }; + responses: { + /** @description Return a 200 status to indicate that the data was received successfully */ + 200: { + content: never; + }; + }; + }; + /** + * This event occurs when there is activity relating to custom property values for a repository. + * + * For more information, see "[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.16/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)". For information about the APIs to manage custom properties for a repository, see "[Custom properties](https://docs.github.com/enterprise-server@3.16/rest/repos/custom-properties)" in the REST API documentation. + * + * To subscribe to this event, a GitHub App must have at least read-level access for the "Custom properties" organization permission. + * @description The custom property values of a repository were updated. + */ + "custom-property-values/updated": { + parameters: { + header: { + /** @example GitHub-Hookshot/123abc */ + "User-Agent": string; + /** @example 12312312 */ + "X-Github-Hook-Id": string; + /** @example issues */ + "X-Github-Event": string; + /** @example 123123 */ + "X-Github-Hook-Installation-Target-Id": string; + /** @example repository */ + "X-Github-Hook-Installation-Target-Type": string; + /** @example 0b989ba4-242f-11e5-81e1-c7b6966d2516 */ + "X-GitHub-Delivery": string; + /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ + "X-Hub-Signature-256": string; + }; + }; + requestBody: { + content: { + "application/json": components["schemas"]["webhook-custom-property-values-updated"]; + }; + }; + responses: { + /** @description Return a 200 status to indicate that the data was received successfully */ + 200: { + content: never; + }; + }; + }; /** * This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including * branch and tag deletions, use the [`push`](#push) webhook event. diff --git a/packages/openapi-webhooks-types-ghes-3.17/types.d.ts b/packages/openapi-webhooks-types-ghes-3.17/types.d.ts index d1dc2b4..d97b998 100644 --- a/packages/openapi-webhooks-types-ghes-3.17/types.d.ts +++ b/packages/openapi-webhooks-types-ghes-3.17/types.d.ts @@ -379,6 +379,50 @@ export interface webhooks { */ post: operations["create"]; }; + "custom-property-created": { + /** + * This event occurs when there is activity relating to a custom property. + * + * For more information, see "[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.17/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)". For information about the APIs to manage custom properties, see "[Custom properties](https://docs.github.com/enterprise-server@3.17/rest/orgs/custom-properties)" in the REST API documentation. + * + * To subscribe to this event, a GitHub App must have at least read-level access for the "Custom properties" organization permission. + * @description A new custom property was created. + */ + post: operations["custom-property/created"]; + }; + "custom-property-deleted": { + /** + * This event occurs when there is activity relating to a custom property. + * + * For more information, see "[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.17/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)". For information about the APIs to manage custom properties, see "[Custom properties](https://docs.github.com/enterprise-server@3.17/rest/orgs/custom-properties)" in the REST API documentation. + * + * To subscribe to this event, a GitHub App must have at least read-level access for the "Custom properties" organization permission. + * @description A custom property was deleted. + */ + post: operations["custom-property/deleted"]; + }; + "custom-property-updated": { + /** + * This event occurs when there is activity relating to a custom property. + * + * For more information, see "[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.17/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)". For information about the APIs to manage custom properties, see "[Custom properties](https://docs.github.com/enterprise-server@3.17/rest/orgs/custom-properties)" in the REST API documentation. + * + * To subscribe to this event, a GitHub App must have at least read-level access for the "Custom properties" organization permission. + * @description A custom property was updated. + */ + post: operations["custom-property/updated"]; + }; + "custom-property-values-updated": { + /** + * This event occurs when there is activity relating to custom property values for a repository. + * + * For more information, see "[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.17/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)". For information about the APIs to manage custom properties for a repository, see "[Custom properties](https://docs.github.com/enterprise-server@3.17/rest/repos/custom-properties)" in the REST API documentation. + * + * To subscribe to this event, a GitHub App must have at least read-level access for the "Custom properties" organization permission. + * @description The custom property values of a repository were updated. + */ + post: operations["custom-property-values/updated"]; + }; delete: { /** * This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including @@ -831,9 +875,6 @@ export interface webhooks { * This event occurs when there is activity related to a user's request to dismiss a code scanning alert. * * To subscribe to this event, a GitHub App must have at least read-level access for the "code scanning alerts" repository permission. - * - * > [!NOTE] - * > Delegated alert dismissal for code scanning is currently in public preview and subject to change. * @description A code scanning alert dismissal request was created. */ post: operations["dismissal-request-code-scanning/created"]; @@ -843,9 +884,6 @@ export interface webhooks { * This event occurs when there is activity related to a user's request to dismiss a code scanning alert. * * To subscribe to this event, a GitHub App must have at least read-level access for the "code scanning alerts" repository permission. - * - * > [!NOTE] - * > Delegated alert dismissal for code scanning is currently in public preview and subject to change. * @description A code scanning alert dismissal response was submitted. */ post: operations["dismissal-request-code-scanning/response-submitted"]; @@ -3744,7 +3782,7 @@ export interface components { * @description A check performed on the code of a given code change */ "check-run-with-simple-check-suite": { - app: null | components["schemas"]["integration"]; + app: components["schemas"]["integration"]; check_suite: components["schemas"]["simple-check-suite"]; /** Format: date-time */ completed_at: string | null; @@ -4062,6 +4100,11 @@ export interface components { html_url: string | null; }; "security-and-analysis": { + /** + * @description Enable or disable GitHub Advanced Security for the repository. + * + * For standalone Code Scanning or Secret Protection products, this parameter cannot be used. + */ advanced_security?: { /** @enum {string} */ status?: "enabled" | "disabled"; @@ -5945,6 +5988,102 @@ export interface components { webhooks_deploy_pusher_type: string; /** @description The [`git ref`](https://docs.github.com/enterprise-server@3.17/rest/git/refs#get-a-reference) resource. */ webhooks_ref_0: string; + /** custom property created event */ + "webhook-custom-property-created": { + /** @enum {string} */ + action: "created"; + definition: components["schemas"]["custom-property"]; + enterprise?: components["schemas"]["enterprise-webhooks"]; + installation?: components["schemas"]["simple-installation"]; + organization?: components["schemas"]["organization-simple-webhooks"]; + sender?: components["schemas"]["simple-user"]; + }; + /** + * Organization Custom Property + * @description Custom property defined on an organization + */ + "custom-property": { + /** @description The name of the property */ + property_name: string; + /** + * Format: uri + * @description The URL that can be used to fetch, update, or delete info about this property via the API. + */ + url?: string; + /** + * @description The source type of the property + * @enum {string} + */ + source_type?: "organization" | "enterprise"; + /** + * @description The type of the value for the property + * @enum {string} + */ + value_type: "string" | "single_select" | "multi_select" | "true_false"; + /** @description Whether the property is required. */ + required?: boolean; + /** @description Default value of the property */ + default_value?: string | string[] | null | unknown[]; + /** @description Short description of the property */ + description?: string | null; + /** + * @description An ordered list of the allowed values of the property. + * The property can have up to 200 allowed values. + */ + allowed_values?: string[] | null; + /** + * @description Who can edit the values of the property + * @enum {string|null} + */ + values_editable_by?: "org_actors" | "org_and_repo_actors" | null; + }; + /** custom property deleted event */ + "webhook-custom-property-deleted": { + /** @enum {string} */ + action: "deleted"; + definition: { + /** @description The name of the property that was deleted. */ + property_name: string; + }; + enterprise?: components["schemas"]["enterprise-webhooks"]; + installation?: components["schemas"]["simple-installation"]; + organization?: components["schemas"]["organization-simple-webhooks"]; + sender?: components["schemas"]["simple-user"]; + }; + /** custom property updated event */ + "webhook-custom-property-updated": { + /** @enum {string} */ + action: "updated"; + definition: components["schemas"]["custom-property"]; + enterprise?: components["schemas"]["enterprise-webhooks"]; + installation?: components["schemas"]["simple-installation"]; + organization?: components["schemas"]["organization-simple-webhooks"]; + sender?: components["schemas"]["simple-user"]; + }; + /** Custom property values updated event */ + "webhook-custom-property-values-updated": { + /** @enum {string} */ + action: "updated"; + enterprise?: components["schemas"]["enterprise-webhooks"]; + installation?: components["schemas"]["simple-installation"]; + repository: components["schemas"]["repository-webhooks"]; + organization: components["schemas"]["organization-simple-webhooks"]; + sender?: components["schemas"]["simple-user"]; + /** @description The new custom property values for the repository. */ + new_property_values: components["schemas"]["custom-property-value"][]; + /** @description The old custom property values for the repository. */ + old_property_values: components["schemas"]["custom-property-value"][]; + }; + /** + * Custom Property Value + * @description Custom property name and associated value + */ + "custom-property-value": { + /** @description The name of the property */ + property_name: string; + /** @description The value assigned to the property */ + value: string | string[] | null | unknown[]; + }; /** delete event */ "webhook-delete": { enterprise?: components["schemas"]["enterprise-webhooks"]; @@ -10346,6 +10485,7 @@ export interface components { /** Format: uri */ html_url: string; app_id: number; + client_id?: string; /** @description The ID of the user or organization this token is being scoped to. */ target_id: number; target_type: string; @@ -11324,12 +11464,8 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -11506,6 +11642,19 @@ export interface components { repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user"]; }; + /** Sub-issues Summary */ + "sub-issues-summary": { + total: number; + completed: number; + percent_completed: number; + }; + /** Issue Dependencies Summary */ + "issue-dependencies-summary": { + blocked_by: number; + blocking: number; + total_blocked_by: number; + total_blocking: number; + }; /** * Issue Type * @description The type of issue. @@ -11968,12 +12117,8 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -12671,12 +12816,8 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -13295,12 +13436,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -13359,6 +13497,37 @@ export interface components { user_view_type?: string; } | null; }; + /** + * Issue Field Value + * @description A value assigned to an issue field + */ + "issue-field-value": { + /** + * Format: int64 + * @description Unique identifier for the issue field. + */ + issue_field_id: number; + node_id: string; + /** + * @description The data type of the issue field + * @enum {string} + */ + data_type: "text" | "single_select" | "number" | "date"; + /** @description The value of the issue field */ + value: null | string | number; + /** @description Details about the selected option (only present for single_select fields) */ + single_select_option?: { + /** + * Format: int64 + * @description Unique identifier for the option. + */ + id: number; + /** @description The name of the option */ + name: string; + /** @description The color of the option */ + color: string; + } | null; + }; /** issues closed event */ "webhook-issues-closed": { /** @@ -13786,12 +13955,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -14340,12 +14506,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -14830,12 +14993,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -15408,12 +15568,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -15902,12 +16059,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -16398,12 +16552,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -16889,12 +17040,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -17381,12 +17529,9 @@ export interface components { }; /** Format: uri */ repository_url?: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -18116,12 +18261,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -18613,12 +18755,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -19101,12 +19240,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -19592,12 +19728,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -20404,12 +20537,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -20768,7 +20898,7 @@ export interface components { /** @enum {string} */ action: "deleted"; enterprise?: components["schemas"]["enterprise-webhooks"]; - /** @description The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, business, app, or GitHub Marketplace. */ + /** @description The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, business, app, or GitHub Marketplace. */ hook: { active: boolean; config: { @@ -21143,6 +21273,13 @@ export interface components { /** Format: uri */ organization_url: string; role: string; + /** @description Whether the user has direct membership in the organization. */ + direct_membership?: boolean; + /** + * @description The slugs of the enterprise teams providing the user with indirect membership in the organization. + * A limit of 100 enterprise team slugs is returned. + */ + enterprise_teams_providing_indirect_membership?: string[]; state: string; /** Format: uri */ url: string; @@ -22536,6 +22673,41 @@ export interface components { /** Format: date-time */ deleted_at: string | null; deleted_by: null | components["schemas"]["simple-user"]; + /** @enum {string} */ + state?: "open" | "closed"; + latest_status_update?: + | null + | components["schemas"]["projects-v2-status-update"]; + /** @description Whether this project is a template */ + is_template?: boolean; + }; + /** + * Projects v2 Status Update + * @description An status update belonging to a project + */ + "projects-v2-status-update": { + id: number; + node_id: string; + project_node_id?: string; + creator?: components["schemas"]["simple-user"]; + /** Format: date-time */ + created_at: string; + /** Format: date-time */ + updated_at: string; + /** @enum {string|null} */ + status?: + | "INACTIVE" + | "ON_TRACK" + | "AT_RISK" + | "OFF_TRACK" + | "COMPLETE" + | null; + /** Format: date */ + start_date?: string; + /** Format: date */ + target_date?: string; + /** @description Body of the status update */ + body?: string | null; }; /** @description A project was created */ "webhook-projects-v2-project-created": { @@ -22719,8 +22891,10 @@ export interface components { "projects-v2-iteration-setting": { id: string; title: string; + title_html?: string; duration?: number | null; start_date?: string | null; + completed?: boolean; }; /** Projects v2 Item Reordered Event */ "webhook-projects-v2-item-reordered": { @@ -35332,6 +35506,8 @@ export interface components { state: "dismissed" | "approved" | "changes_requested"; /** Format: date-time */ submitted_at: string; + /** Format: date-time */ + updated_at?: string | null; /** User */ user: { /** Format: uri */ @@ -36495,6 +36671,8 @@ export interface components { state: string; /** Format: date-time */ submitted_at: string | null; + /** Format: date-time */ + updated_at?: string | null; /** User */ user: { /** Format: uri */ @@ -44062,6 +44240,8 @@ export interface components { }[]; node_id: string; }; + /** Format: date-time */ + updated_at?: string | null; }; /** pull_request_review_thread unresolved event */ "webhook-pull-request-review-thread-unresolved": { @@ -45302,6 +45482,8 @@ export interface components { }[]; node_id: string; }; + /** Format: date-time */ + updated_at?: string | null; }; /** pull_request synchronize event */ "webhook-pull-request-synchronize": { @@ -51069,6 +51251,8 @@ export interface components { body: string | null; /** Format: date-time */ created_at: string | null; + /** Format: date-time */ + updated_at: string | null; /** Format: uri */ discussion_url?: string; /** @description Whether the release is a draft or published */ @@ -51076,6 +51260,8 @@ export interface components { /** Format: uri */ html_url: string; id: number; + /** @description Whether or not the release is immutable. */ + immutable: boolean; name: string | null; node_id: string; /** @description Whether the release is identified as a prerelease or a full release. */ @@ -51272,6 +51458,8 @@ export interface components { /** Format: uri */ html_url: string; id: number; + /** @description Whether or not the release is immutable. */ + immutable: boolean; name: string | null; node_id: string; /** @@ -51303,6 +51491,8 @@ export interface components { target_commitish: string; /** Format: uri-template */ upload_url: string; + /** Format: date-time */ + updated_at: string | null; /** Format: uri */ url: string; /** Format: uri */ @@ -51438,6 +51628,8 @@ export interface components { /** Format: uri */ html_url: string; id: number; + /** @description Whether or not the release is immutable. */ + immutable: boolean; name: string | null; node_id: string; /** @description Whether the release is identified as a prerelease or a full release. */ @@ -51464,6 +51656,8 @@ export interface components { tarball_url: string | null; /** @description Specifies the commitish value that determines where the Git tag is created from. */ target_commitish: string; + /** Format: date-time */ + updated_at: string | null; /** Format: uri-template */ upload_url: string; /** Format: uri */ @@ -51691,7 +51885,7 @@ export interface components { * @description An actor that can bypass rules in a ruleset */ "repository-ruleset-bypass-actor": { - /** @description The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. If `actor_type` is `EnterpriseOwner`, `actor_id` is ignored. `OrganizationAdmin` and `EnterpriseOwner` are not applicable for personal repositories. */ + /** @description The ID of the actor that can bypass a ruleset. Required for `Integration`, `RepositoryRole`, and `Team` actor types. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. If `actor_type` is `EnterpriseOwner`, `actor_id` is ignored. `OrganizationAdmin` and `EnterpriseOwner` are not applicable for personal repositories. */ actor_id?: number | null; /** * @description The type of actor that can bypass a ruleset @@ -51909,7 +52103,7 @@ export interface components { parameters?: { /** @description Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled. */ allowed_merge_methods?: ("merge" | "squash" | "rebase")[]; - /** @description Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review. */ + /** @description Request Copilot code review for new pull requests automatically if the author has access to Copilot code review. */ automatic_copilot_code_review_enabled?: boolean; /** @description New, reviewable commits pushed will dismiss previous pull request review approvals. */ dismiss_stale_reviews_on_push: boolean; @@ -58084,6 +58278,162 @@ export interface operations { }; }; }; + /** + * This event occurs when there is activity relating to a custom property. + * + * For more information, see "[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.17/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)". For information about the APIs to manage custom properties, see "[Custom properties](https://docs.github.com/enterprise-server@3.17/rest/orgs/custom-properties)" in the REST API documentation. + * + * To subscribe to this event, a GitHub App must have at least read-level access for the "Custom properties" organization permission. + * @description A new custom property was created. + */ + "custom-property/created": { + parameters: { + header: { + /** @example GitHub-Hookshot/123abc */ + "User-Agent": string; + /** @example 12312312 */ + "X-Github-Hook-Id": string; + /** @example issues */ + "X-Github-Event": string; + /** @example 123123 */ + "X-Github-Hook-Installation-Target-Id": string; + /** @example repository */ + "X-Github-Hook-Installation-Target-Type": string; + /** @example 0b989ba4-242f-11e5-81e1-c7b6966d2516 */ + "X-GitHub-Delivery": string; + /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ + "X-Hub-Signature-256": string; + }; + }; + requestBody: { + content: { + "application/json": components["schemas"]["webhook-custom-property-created"]; + }; + }; + responses: { + /** @description Return a 200 status to indicate that the data was received successfully */ + 200: { + content: never; + }; + }; + }; + /** + * This event occurs when there is activity relating to a custom property. + * + * For more information, see "[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.17/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)". For information about the APIs to manage custom properties, see "[Custom properties](https://docs.github.com/enterprise-server@3.17/rest/orgs/custom-properties)" in the REST API documentation. + * + * To subscribe to this event, a GitHub App must have at least read-level access for the "Custom properties" organization permission. + * @description A custom property was deleted. + */ + "custom-property/deleted": { + parameters: { + header: { + /** @example GitHub-Hookshot/123abc */ + "User-Agent": string; + /** @example 12312312 */ + "X-Github-Hook-Id": string; + /** @example issues */ + "X-Github-Event": string; + /** @example 123123 */ + "X-Github-Hook-Installation-Target-Id": string; + /** @example repository */ + "X-Github-Hook-Installation-Target-Type": string; + /** @example 0b989ba4-242f-11e5-81e1-c7b6966d2516 */ + "X-GitHub-Delivery": string; + /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ + "X-Hub-Signature-256": string; + }; + }; + requestBody: { + content: { + "application/json": components["schemas"]["webhook-custom-property-deleted"]; + }; + }; + responses: { + /** @description Return a 200 status to indicate that the data was received successfully */ + 200: { + content: never; + }; + }; + }; + /** + * This event occurs when there is activity relating to a custom property. + * + * For more information, see "[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.17/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)". For information about the APIs to manage custom properties, see "[Custom properties](https://docs.github.com/enterprise-server@3.17/rest/orgs/custom-properties)" in the REST API documentation. + * + * To subscribe to this event, a GitHub App must have at least read-level access for the "Custom properties" organization permission. + * @description A custom property was updated. + */ + "custom-property/updated": { + parameters: { + header: { + /** @example GitHub-Hookshot/123abc */ + "User-Agent": string; + /** @example 12312312 */ + "X-Github-Hook-Id": string; + /** @example issues */ + "X-Github-Event": string; + /** @example 123123 */ + "X-Github-Hook-Installation-Target-Id": string; + /** @example repository */ + "X-Github-Hook-Installation-Target-Type": string; + /** @example 0b989ba4-242f-11e5-81e1-c7b6966d2516 */ + "X-GitHub-Delivery": string; + /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ + "X-Hub-Signature-256": string; + }; + }; + requestBody: { + content: { + "application/json": components["schemas"]["webhook-custom-property-updated"]; + }; + }; + responses: { + /** @description Return a 200 status to indicate that the data was received successfully */ + 200: { + content: never; + }; + }; + }; + /** + * This event occurs when there is activity relating to custom property values for a repository. + * + * For more information, see "[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.17/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)". For information about the APIs to manage custom properties for a repository, see "[Custom properties](https://docs.github.com/enterprise-server@3.17/rest/repos/custom-properties)" in the REST API documentation. + * + * To subscribe to this event, a GitHub App must have at least read-level access for the "Custom properties" organization permission. + * @description The custom property values of a repository were updated. + */ + "custom-property-values/updated": { + parameters: { + header: { + /** @example GitHub-Hookshot/123abc */ + "User-Agent": string; + /** @example 12312312 */ + "X-Github-Hook-Id": string; + /** @example issues */ + "X-Github-Event": string; + /** @example 123123 */ + "X-Github-Hook-Installation-Target-Id": string; + /** @example repository */ + "X-Github-Hook-Installation-Target-Type": string; + /** @example 0b989ba4-242f-11e5-81e1-c7b6966d2516 */ + "X-GitHub-Delivery": string; + /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ + "X-Hub-Signature-256": string; + }; + }; + requestBody: { + content: { + "application/json": components["schemas"]["webhook-custom-property-values-updated"]; + }; + }; + responses: { + /** @description Return a 200 status to indicate that the data was received successfully */ + 200: { + content: never; + }; + }; + }; /** * This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including * branch and tag deletions, use the [`push`](#push) webhook event. @@ -59623,9 +59973,6 @@ export interface operations { * This event occurs when there is activity related to a user's request to dismiss a code scanning alert. * * To subscribe to this event, a GitHub App must have at least read-level access for the "code scanning alerts" repository permission. - * - * > [!NOTE] - * > Delegated alert dismissal for code scanning is currently in public preview and subject to change. * @description A code scanning alert dismissal request was created. */ "dismissal-request-code-scanning/created": { @@ -59663,9 +60010,6 @@ export interface operations { * This event occurs when there is activity related to a user's request to dismiss a code scanning alert. * * To subscribe to this event, a GitHub App must have at least read-level access for the "code scanning alerts" repository permission. - * - * > [!NOTE] - * > Delegated alert dismissal for code scanning is currently in public preview and subject to change. * @description A code scanning alert dismissal response was submitted. */ "dismissal-request-code-scanning/response-submitted": { diff --git a/packages/openapi-webhooks-types-transition/types.ts b/packages/openapi-webhooks-types-transition/types.ts index 7ba6d38..880b076 100644 --- a/packages/openapi-webhooks-types-transition/types.ts +++ b/packages/openapi-webhooks-types-transition/types.ts @@ -218,6 +218,19 @@ export type IssueCommentEvent = | WebhookEventDefinition<"issue-comment-created"> | WebhookEventDefinition<"issue-comment-deleted"> | WebhookEventDefinition<"issue-comment-edited">; +export type IssueDependenciesBlockedByAddedEvent = + WebhookEventDefinition<"issue-dependencies-blocked-by-added">; +export type IssueDependenciesBlockedByRemovedEvent = + WebhookEventDefinition<"issue-dependencies-blocked-by-removed">; +export type IssueDependenciesBlockingAddedEvent = + WebhookEventDefinition<"issue-dependencies-blocking-added">; +export type IssueDependenciesBlockingRemovedEvent = + WebhookEventDefinition<"issue-dependencies-blocking-removed">; +export type IssueDependenciesEvent = + | WebhookEventDefinition<"issue-dependencies-blocked-by-added"> + | WebhookEventDefinition<"issue-dependencies-blocked-by-removed"> + | WebhookEventDefinition<"issue-dependencies-blocking-added"> + | WebhookEventDefinition<"issue-dependencies-blocking-removed">; export type IssuesAssignedEvent = WebhookEventDefinition<"issues-assigned">; export type IssuesClosedEvent = WebhookEventDefinition<"issues-closed">; export type IssuesDeletedEvent = WebhookEventDefinition<"issues-deleted">; @@ -816,6 +829,11 @@ export type EventPayloadMap = { | WebhookEventDefinition<"issue-comment-created"> | WebhookEventDefinition<"issue-comment-deleted"> | WebhookEventDefinition<"issue-comment-edited">; + issue_dependencies: + | WebhookEventDefinition<"issue-dependencies-blocked-by-added"> + | WebhookEventDefinition<"issue-dependencies-blocked-by-removed"> + | WebhookEventDefinition<"issue-dependencies-blocking-added"> + | WebhookEventDefinition<"issue-dependencies-blocking-removed">; issues: | WebhookEventDefinition<"issues-assigned"> | WebhookEventDefinition<"issues-closed"> @@ -1060,6 +1078,7 @@ export type WebhookEvent = | InstallationRepositoriesEvent | InstallationTargetEvent | IssueCommentEvent + | IssueDependenciesEvent | IssuesEvent | LabelEvent | MarketplacePurchaseEvent diff --git a/packages/openapi-webhooks-types/types.d.ts b/packages/openapi-webhooks-types/types.d.ts index e0f9fce..347a26a 100644 --- a/packages/openapi-webhooks-types/types.d.ts +++ b/packages/openapi-webhooks-types/types.d.ts @@ -887,6 +887,50 @@ export interface webhooks { */ post: operations["issue-comment/edited"]; }; + "issue-dependencies-blocked-by-added": { + /** + * This event occurs when there is activity relating to issue dependencies, such as blocking or blocked-by relationships. + * + * For activity relating to issues more generally, use the `issues` event instead. + * + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permissions. + * @description An issue was marked as blocked by another issue. + */ + post: operations["issue-dependencies/blocked-by-added"]; + }; + "issue-dependencies-blocked-by-removed": { + /** + * This event occurs when there is activity relating to issue dependencies, such as blocking or blocked-by relationships. + * + * For activity relating to issues more generally, use the `issues` event instead. + * + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permissions. + * @description The blocked by relationship between an issue and another issue was removed. + */ + post: operations["issue-dependencies/blocked-by-removed"]; + }; + "issue-dependencies-blocking-added": { + /** + * This event occurs when there is activity relating to issue dependencies, such as blocking or blocked-by relationships. + * + * For activity relating to issues more generally, use the `issues` event instead. + * + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permissions. + * @description An issue was marked as blocking another issue. + */ + post: operations["issue-dependencies/blocking-added"]; + }; + "issue-dependencies-blocking-removed": { + /** + * This event occurs when there is activity relating to issue dependencies, such as blocking or blocked-by relationships. + * + * For activity relating to issues more generally, use the `issues` event instead. + * + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permissions. + * @description The blocking relationship between an issue and another issue was removed. + */ + post: operations["issue-dependencies/blocking-removed"]; + }; "issues-assigned": { /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. @@ -3506,7 +3550,7 @@ export interface components { * @description A check performed on the code of a given code change */ "check-run-with-simple-check-suite": { - app: null | components["schemas"]["integration"]; + app: components["schemas"]["integration"]; check_suite: components["schemas"]["simple-check-suite"]; /** Format: date-time */ completed_at: string | null; @@ -3809,6 +3853,10 @@ export interface components { allow_forking?: boolean; web_commit_signoff_required?: boolean; security_and_analysis?: components["schemas"]["security-and-analysis"]; + /** @description The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values. */ + custom_properties?: { + [key: string]: unknown; + }; }; /** * Code Of Conduct @@ -3824,6 +3872,11 @@ export interface components { html_url: string | null; }; "security-and-analysis": { + /** + * @description Enable or disable GitHub Advanced Security for the repository. + * + * For standalone Code Scanning or Secret Protection products, this parameter cannot be used. + */ advanced_security?: { /** @enum {string} */ status?: "enabled" | "disabled"; @@ -10217,6 +10270,7 @@ export interface components { /** Format: uri */ html_url: string; app_id: number; + client_id?: string; /** @description The ID of the user or organization this token is being scoped to. */ target_id: number; target_type: string; @@ -11185,12 +11239,8 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -11367,6 +11417,19 @@ export interface components { repository: components["schemas"]["repository-webhooks"]; sender: components["schemas"]["simple-user"]; }; + /** Sub-issues Summary */ + "sub-issues-summary": { + total: number; + completed: number; + percent_completed: number; + }; + /** Issue Dependencies Summary */ + "issue-dependencies-summary": { + blocked_by: number; + blocking: number; + total_blocked_by: number; + total_blocking: number; + }; /** * Issue Type * @description The type of issue. @@ -11829,12 +11892,8 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -12532,12 +12591,8 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -12721,6 +12776,212 @@ export interface components { from: string; }; }; + /** blocked by issue added event */ + "webhook-issue-dependencies-blocked-by-added": { + /** @enum {string} */ + action: "blocked_by_added"; + /** @description The ID of the blocked issue. */ + blocked_issue_id: number; + blocked_issue: components["schemas"]["issue"]; + /** @description The ID of the blocking issue. */ + blocking_issue_id: number; + blocking_issue: components["schemas"]["issue"]; + blocking_issue_repo: components["schemas"]["repository"]; + installation?: components["schemas"]["simple-installation"]; + organization: components["schemas"]["organization-simple-webhooks"]; + repository: components["schemas"]["repository-webhooks"]; + sender: components["schemas"]["simple-user"]; + }; + /** + * Issue + * @description Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. + */ + issue: { + /** Format: int64 */ + id: number; + node_id: string; + /** + * Format: uri + * @description URL for the issue + */ + url: string; + /** Format: uri */ + repository_url: string; + labels_url: string; + /** Format: uri */ + comments_url: string; + /** Format: uri */ + events_url: string; + /** Format: uri */ + html_url: string; + /** @description Number uniquely identifying the issue within its repository */ + number: number; + /** @description State of the issue; either 'open' or 'closed' */ + state: string; + /** + * @description The reason for the current state + * @enum {string|null} + */ + state_reason?: + | "completed" + | "reopened" + | "not_planned" + | "duplicate" + | null; + /** @description Title of the issue */ + title: string; + /** @description Contents of the issue */ + body?: string | null; + user: null | components["schemas"]["simple-user"]; + /** @description Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository */ + labels: OneOf< + [ + string, + { + /** Format: int64 */ + id?: number; + node_id?: string; + /** Format: uri */ + url?: string; + name?: string; + description?: string | null; + color?: string | null; + default?: boolean; + }, + ] + >[]; + assignee: null | components["schemas"]["simple-user"]; + assignees?: components["schemas"]["simple-user"][] | null; + milestone: null | components["schemas"]["milestone"]; + locked: boolean; + active_lock_reason?: string | null; + comments: number; + pull_request?: { + /** Format: date-time */ + merged_at?: string | null; + /** Format: uri */ + diff_url: string | null; + /** Format: uri */ + html_url: string | null; + /** Format: uri */ + patch_url: string | null; + /** Format: uri */ + url: string | null; + }; + /** Format: date-time */ + closed_at: string | null; + /** Format: date-time */ + created_at: string; + /** Format: date-time */ + updated_at: string; + draft?: boolean; + closed_by?: null | components["schemas"]["simple-user"]; + body_html?: string; + body_text?: string; + /** Format: uri */ + timeline_url?: string; + type?: components["schemas"]["issue-type"]; + repository?: components["schemas"]["repository"]; + performed_via_github_app?: null | components["schemas"]["integration"]; + author_association: components["schemas"]["author-association"]; + reactions?: components["schemas"]["reaction-rollup"]; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; + }; + /** Reaction Rollup */ + "reaction-rollup": { + /** Format: uri */ + url: string; + total_count: number; + "+1": number; + "-1": number; + laugh: number; + confused: number; + heart: number; + hooray: number; + eyes: number; + rocket: number; + }; + /** + * Issue Field Value + * @description A value assigned to an issue field + */ + "issue-field-value": { + /** + * Format: int64 + * @description Unique identifier for the issue field. + */ + issue_field_id: number; + node_id: string; + /** + * @description The data type of the issue field + * @enum {string} + */ + data_type: "text" | "single_select" | "number" | "date"; + /** @description The value of the issue field */ + value: null | string | number; + /** @description Details about the selected option (only present for single_select fields) */ + single_select_option?: { + /** + * Format: int64 + * @description Unique identifier for the option. + */ + id: number; + /** @description The name of the option */ + name: string; + /** @description The color of the option */ + color: string; + } | null; + }; + /** blocked by issue removed event */ + "webhook-issue-dependencies-blocked-by-removed": { + /** @enum {string} */ + action: "blocked_by_removed"; + /** @description The ID of the blocked issue. */ + blocked_issue_id: number; + blocked_issue: components["schemas"]["issue"]; + /** @description The ID of the blocking issue. */ + blocking_issue_id: number; + blocking_issue: components["schemas"]["issue"]; + blocking_issue_repo: components["schemas"]["repository"]; + installation?: components["schemas"]["simple-installation"]; + organization: components["schemas"]["organization-simple-webhooks"]; + repository: components["schemas"]["repository-webhooks"]; + sender: components["schemas"]["simple-user"]; + }; + /** blocking issue added event */ + "webhook-issue-dependencies-blocking-added": { + /** @enum {string} */ + action: "blocking_added"; + /** @description The ID of the blocked issue. */ + blocked_issue_id: number; + blocked_issue: components["schemas"]["issue"]; + blocked_issue_repo: components["schemas"]["repository"]; + /** @description The ID of the blocking issue. */ + blocking_issue_id: number; + blocking_issue: components["schemas"]["issue"]; + installation?: components["schemas"]["simple-installation"]; + organization: components["schemas"]["organization-simple-webhooks"]; + repository: components["schemas"]["repository-webhooks"]; + sender: components["schemas"]["simple-user"]; + }; + /** blocking issue removed event */ + "webhook-issue-dependencies-blocking-removed": { + /** @enum {string} */ + action: "blocking_removed"; + /** @description The ID of the blocked issue. */ + blocked_issue_id: number; + blocked_issue: components["schemas"]["issue"]; + blocked_issue_repo: components["schemas"]["repository"]; + /** @description The ID of the blocking issue. */ + blocking_issue_id: number; + blocking_issue: components["schemas"]["issue"]; + installation?: components["schemas"]["simple-installation"]; + organization: components["schemas"]["organization-simple-webhooks"]; + repository: components["schemas"]["repository-webhooks"]; + sender: components["schemas"]["simple-user"]; + }; /** issues assigned event */ "webhook-issues-assigned": { /** @@ -13156,12 +13417,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -13647,12 +13905,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -14201,12 +14456,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -14691,12 +14943,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -15269,12 +15518,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -15763,12 +16009,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -16259,12 +16502,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -16750,12 +16990,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -17242,12 +17479,9 @@ export interface components { }; /** Format: uri */ repository_url?: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -17977,12 +18211,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -18474,12 +18705,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -18962,12 +19190,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -19453,12 +19678,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -20277,12 +20499,9 @@ export interface components { }; /** Format: uri */ repository_url: string; - /** Sub-issues Summary */ - sub_issues_summary?: { - total: number; - completed: number; - percent_completed: number; - }; + sub_issues_summary?: components["schemas"]["sub-issues-summary"]; + issue_dependencies_summary?: components["schemas"]["issue-dependencies-summary"]; + issue_field_values?: components["schemas"]["issue-field-value"][]; /** * @description State of the issue; either 'open' or 'closed' * @enum {string} @@ -20925,7 +21144,7 @@ export interface components { /** @enum {string} */ action: "deleted"; enterprise?: components["schemas"]["enterprise-webhooks"]; - /** @description The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, business, app, or GitHub Marketplace. */ + /** @description The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, business, app, or GitHub Marketplace. */ hook: { active: boolean; config: { @@ -21320,6 +21539,13 @@ export interface components { /** Format: uri */ organization_url: string; role: string; + /** @description Whether the user has direct membership in the organization. */ + direct_membership?: boolean; + /** + * @description The slugs of the enterprise teams providing the user with indirect membership in the organization. + * A limit of 100 enterprise team slugs is returned. + */ + enterprise_teams_providing_indirect_membership?: string[]; state: string; /** Format: uri */ url: string; @@ -22713,6 +22939,41 @@ export interface components { /** Format: date-time */ deleted_at: string | null; deleted_by: null | components["schemas"]["simple-user"]; + /** @enum {string} */ + state?: "open" | "closed"; + latest_status_update?: + | null + | components["schemas"]["projects-v2-status-update"]; + /** @description Whether this project is a template */ + is_template?: boolean; + }; + /** + * Projects v2 Status Update + * @description An status update belonging to a project + */ + "projects-v2-status-update": { + id: number; + node_id: string; + project_node_id?: string; + creator?: components["schemas"]["simple-user"]; + /** Format: date-time */ + created_at: string; + /** Format: date-time */ + updated_at: string; + /** @enum {string|null} */ + status?: + | "INACTIVE" + | "ON_TRACK" + | "AT_RISK" + | "OFF_TRACK" + | "COMPLETE" + | null; + /** Format: date */ + start_date?: string; + /** Format: date */ + target_date?: string; + /** @description Body of the status update */ + body?: string | null; }; /** @description A project was created */ "webhook-projects-v2-project-created": { @@ -22896,8 +23157,10 @@ export interface components { "projects-v2-iteration-setting": { id: string; title: string; + title_html?: string; duration?: number | null; start_date?: string | null; + completed?: boolean; }; /** Projects v2 Item Reordered Event */ "webhook-projects-v2-item-reordered": { @@ -22942,34 +23205,6 @@ export interface components { projects_v2_status_update: components["schemas"]["projects-v2-status-update"]; sender: components["schemas"]["simple-user"]; }; - /** - * Projects v2 Status Update - * @description An status update belonging to a project - */ - "projects-v2-status-update": { - id: number; - node_id: string; - project_node_id?: string; - creator?: components["schemas"]["simple-user"]; - /** Format: date-time */ - created_at: string; - /** Format: date-time */ - updated_at: string; - /** @enum {string|null} */ - status?: - | "INACTIVE" - | "ON_TRACK" - | "AT_RISK" - | "OFF_TRACK" - | "COMPLETE" - | null; - /** Format: date */ - start_date?: string; - /** Format: date */ - target_date?: string; - /** @description Body of the status update */ - body?: string | null; - }; /** Projects v2 Status Update Deleted Event */ "webhook-projects-v2-status-update-deleted": { /** @enum {string} */ @@ -38076,6 +38311,8 @@ export interface components { state: "dismissed" | "approved" | "changes_requested"; /** Format: date-time */ submitted_at: string; + /** Format: date-time */ + updated_at?: string | null; /** User */ user: { /** Format: uri */ @@ -39239,6 +39476,8 @@ export interface components { state: string; /** Format: date-time */ submitted_at: string | null; + /** Format: date-time */ + updated_at?: string | null; /** User */ user: { /** Format: uri */ @@ -46806,6 +47045,8 @@ export interface components { }[]; node_id: string; }; + /** Format: date-time */ + updated_at?: string | null; }; /** pull_request_review_thread unresolved event */ "webhook-pull-request-review-thread-unresolved": { @@ -48046,6 +48287,8 @@ export interface components { }[]; node_id: string; }; + /** Format: date-time */ + updated_at?: string | null; }; /** pull_request synchronize event */ "webhook-pull-request-synchronize": { @@ -53813,6 +54056,8 @@ export interface components { body: string | null; /** Format: date-time */ created_at: string | null; + /** Format: date-time */ + updated_at: string | null; /** Format: uri */ discussion_url?: string; /** @description Whether the release is a draft or published */ @@ -53820,6 +54065,8 @@ export interface components { /** Format: uri */ html_url: string; id: number; + /** @description Whether or not the release is immutable. */ + immutable: boolean; name: string | null; node_id: string; /** @description Whether the release is identified as a prerelease or a full release. */ @@ -54016,6 +54263,8 @@ export interface components { /** Format: uri */ html_url: string; id: number; + /** @description Whether or not the release is immutable. */ + immutable: boolean; name: string | null; node_id: string; /** @@ -54047,6 +54296,8 @@ export interface components { target_commitish: string; /** Format: uri-template */ upload_url: string; + /** Format: date-time */ + updated_at: string | null; /** Format: uri */ url: string; /** Format: uri */ @@ -54182,6 +54433,8 @@ export interface components { /** Format: uri */ html_url: string; id: number; + /** @description Whether or not the release is immutable. */ + immutable: boolean; name: string | null; node_id: string; /** @description Whether the release is identified as a prerelease or a full release. */ @@ -54208,6 +54461,8 @@ export interface components { tarball_url: string | null; /** @description Specifies the commitish value that determines where the Git tag is created from. */ target_commitish: string; + /** Format: date-time */ + updated_at: string | null; /** Format: uri-template */ upload_url: string; /** Format: uri */ @@ -54790,7 +55045,7 @@ export interface components { * @description An actor that can bypass rules in a ruleset */ "repository-ruleset-bypass-actor": { - /** @description The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. `OrganizationAdmin` is not applicable for personal repositories. */ + /** @description The ID of the actor that can bypass a ruleset. Required for `Integration`, `RepositoryRole`, and `Team` actor types. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. `OrganizationAdmin` is not applicable for personal repositories. */ actor_id?: number | null; /** * @description The type of actor that can bypass a ruleset. @@ -55008,7 +55263,7 @@ export interface components { parameters?: { /** @description Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled. */ allowed_merge_methods?: ("merge" | "squash" | "rebase")[]; - /** @description Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review. */ + /** @description Request Copilot code review for new pull requests automatically if the author has access to Copilot code review. */ automatic_copilot_code_review_enabled?: boolean; /** @description New, reviewable commits pushed will dismiss previous pull request review approvals. */ dismiss_stale_reviews_on_push: boolean; @@ -56755,116 +57010,6 @@ export interface components { repository?: components["schemas"]["repository-webhooks"]; sender?: components["schemas"]["simple-user"]; }; - /** - * Issue - * @description Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. - */ - issue: { - /** Format: int64 */ - id: number; - node_id: string; - /** - * Format: uri - * @description URL for the issue - */ - url: string; - /** Format: uri */ - repository_url: string; - labels_url: string; - /** Format: uri */ - comments_url: string; - /** Format: uri */ - events_url: string; - /** Format: uri */ - html_url: string; - /** @description Number uniquely identifying the issue within its repository */ - number: number; - /** @description State of the issue; either 'open' or 'closed' */ - state: string; - /** - * @description The reason for the current state - * @enum {string|null} - */ - state_reason?: "completed" | "reopened" | "not_planned" | null; - /** @description Title of the issue */ - title: string; - /** @description Contents of the issue */ - body?: string | null; - user: null | components["schemas"]["simple-user"]; - /** @description Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository */ - labels: OneOf< - [ - string, - { - /** Format: int64 */ - id?: number; - node_id?: string; - /** Format: uri */ - url?: string; - name?: string; - description?: string | null; - color?: string | null; - default?: boolean; - }, - ] - >[]; - assignee: null | components["schemas"]["simple-user"]; - assignees?: components["schemas"]["simple-user"][] | null; - milestone: null | components["schemas"]["milestone"]; - locked: boolean; - active_lock_reason?: string | null; - comments: number; - pull_request?: { - /** Format: date-time */ - merged_at?: string | null; - /** Format: uri */ - diff_url: string | null; - /** Format: uri */ - html_url: string | null; - /** Format: uri */ - patch_url: string | null; - /** Format: uri */ - url: string | null; - }; - /** Format: date-time */ - closed_at: string | null; - /** Format: date-time */ - created_at: string; - /** Format: date-time */ - updated_at: string; - draft?: boolean; - closed_by?: null | components["schemas"]["simple-user"]; - body_html?: string; - body_text?: string; - /** Format: uri */ - timeline_url?: string; - type?: components["schemas"]["issue-type"]; - repository?: components["schemas"]["repository"]; - performed_via_github_app?: null | components["schemas"]["integration"]; - author_association: components["schemas"]["author-association"]; - reactions?: components["schemas"]["reaction-rollup"]; - sub_issues_summary?: components["schemas"]["sub-issues-summary"]; - }; - /** Reaction Rollup */ - "reaction-rollup": { - /** Format: uri */ - url: string; - total_count: number; - "+1": number; - "-1": number; - laugh: number; - confused: number; - heart: number; - hooray: number; - eyes: number; - rocket: number; - }; - /** Sub-issues Summary */ - "sub-issues-summary": { - total: number; - completed: number; - percent_completed: number; - }; /** parent issue removed event */ "webhook-sub-issues-parent-issue-removed": { /** @enum {string} */ @@ -62958,6 +63103,162 @@ export interface operations { }; }; }; + /** + * This event occurs when there is activity relating to issue dependencies, such as blocking or blocked-by relationships. + * + * For activity relating to issues more generally, use the `issues` event instead. + * + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permissions. + * @description An issue was marked as blocked by another issue. + */ + "issue-dependencies/blocked-by-added": { + parameters: { + header: { + /** @example GitHub-Hookshot/123abc */ + "User-Agent": string; + /** @example 12312312 */ + "X-Github-Hook-Id": string; + /** @example issues */ + "X-Github-Event": string; + /** @example 123123 */ + "X-Github-Hook-Installation-Target-Id": string; + /** @example repository */ + "X-Github-Hook-Installation-Target-Type": string; + /** @example 0b989ba4-242f-11e5-81e1-c7b6966d2516 */ + "X-GitHub-Delivery": string; + /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ + "X-Hub-Signature-256": string; + }; + }; + requestBody: { + content: { + "application/json": components["schemas"]["webhook-issue-dependencies-blocked-by-added"]; + }; + }; + responses: { + /** @description Return a 200 status to indicate that the data was received successfully */ + 200: { + content: never; + }; + }; + }; + /** + * This event occurs when there is activity relating to issue dependencies, such as blocking or blocked-by relationships. + * + * For activity relating to issues more generally, use the `issues` event instead. + * + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permissions. + * @description The blocked by relationship between an issue and another issue was removed. + */ + "issue-dependencies/blocked-by-removed": { + parameters: { + header: { + /** @example GitHub-Hookshot/123abc */ + "User-Agent": string; + /** @example 12312312 */ + "X-Github-Hook-Id": string; + /** @example issues */ + "X-Github-Event": string; + /** @example 123123 */ + "X-Github-Hook-Installation-Target-Id": string; + /** @example repository */ + "X-Github-Hook-Installation-Target-Type": string; + /** @example 0b989ba4-242f-11e5-81e1-c7b6966d2516 */ + "X-GitHub-Delivery": string; + /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ + "X-Hub-Signature-256": string; + }; + }; + requestBody: { + content: { + "application/json": components["schemas"]["webhook-issue-dependencies-blocked-by-removed"]; + }; + }; + responses: { + /** @description Return a 200 status to indicate that the data was received successfully */ + 200: { + content: never; + }; + }; + }; + /** + * This event occurs when there is activity relating to issue dependencies, such as blocking or blocked-by relationships. + * + * For activity relating to issues more generally, use the `issues` event instead. + * + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permissions. + * @description An issue was marked as blocking another issue. + */ + "issue-dependencies/blocking-added": { + parameters: { + header: { + /** @example GitHub-Hookshot/123abc */ + "User-Agent": string; + /** @example 12312312 */ + "X-Github-Hook-Id": string; + /** @example issues */ + "X-Github-Event": string; + /** @example 123123 */ + "X-Github-Hook-Installation-Target-Id": string; + /** @example repository */ + "X-Github-Hook-Installation-Target-Type": string; + /** @example 0b989ba4-242f-11e5-81e1-c7b6966d2516 */ + "X-GitHub-Delivery": string; + /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ + "X-Hub-Signature-256": string; + }; + }; + requestBody: { + content: { + "application/json": components["schemas"]["webhook-issue-dependencies-blocking-added"]; + }; + }; + responses: { + /** @description Return a 200 status to indicate that the data was received successfully */ + 200: { + content: never; + }; + }; + }; + /** + * This event occurs when there is activity relating to issue dependencies, such as blocking or blocked-by relationships. + * + * For activity relating to issues more generally, use the `issues` event instead. + * + * To subscribe to this event, a GitHub App must have at least read-level access for the "Issues" repository permissions. + * @description The blocking relationship between an issue and another issue was removed. + */ + "issue-dependencies/blocking-removed": { + parameters: { + header: { + /** @example GitHub-Hookshot/123abc */ + "User-Agent": string; + /** @example 12312312 */ + "X-Github-Hook-Id": string; + /** @example issues */ + "X-Github-Event": string; + /** @example 123123 */ + "X-Github-Hook-Installation-Target-Id": string; + /** @example repository */ + "X-Github-Hook-Installation-Target-Type": string; + /** @example 0b989ba4-242f-11e5-81e1-c7b6966d2516 */ + "X-GitHub-Delivery": string; + /** @example sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e */ + "X-Hub-Signature-256": string; + }; + }; + requestBody: { + content: { + "application/json": components["schemas"]["webhook-issue-dependencies-blocking-removed"]; + }; + }; + responses: { + /** @description Return a 200 status to indicate that the data was received successfully */ + 200: { + content: never; + }; + }; + }; /** * This event occurs when there is activity relating to an issue. For more information about issues, see "[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues)." For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or "[Issues](https://docs.github.com/rest/issues)" in the REST API documentation. * diff --git a/packages/openapi-webhooks/generated/api.github.com.json b/packages/openapi-webhooks/generated/api.github.com.json index 66d1b56..907bc81 100644 --- a/packages/openapi-webhooks/generated/api.github.com.json +++ b/packages/openapi-webhooks/generated/api.github.com.json @@ -74,7 +74,10 @@ "name": "packages", "description": "Manage packages for authenticated users and organizations." }, - { "name": "projects", "description": "Interact with GitHub Projects." }, + { + "name": "projects-classic", + "description": "Interact with GitHub Projects (classic)." + }, { "name": "pulls", "description": "Interact with GitHub Pull Requests." }, { "name": "rate-limit", @@ -136,6 +139,10 @@ { "name": "campaigns", "description": "Endpoints to manage campaigns via the REST API." + }, + { + "name": "projects", + "description": "Endpoints to manage Projects using the REST API." } ], "servers": [{ "url": "https://api.github.com" }], @@ -6145,13 +6152,13 @@ } } }, - "issues-assigned": { + "issue-dependencies-blocked-by-added": { "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was assigned to a user.", - "operationId": "issues/assigned", + "summary": "This event occurs when there is activity relating to issue dependencies, such as blocking or blocked-by relationships.\n\nFor activity relating to issues more generally, use the `issues` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permissions.", + "description": "An issue was marked as blocked by another issue.", + "operationId": "issue-dependencies/blocked-by-added", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issue-dependencies" }, "parameters": [ { @@ -6209,7 +6216,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-assigned" + "$ref": "#/components/schemas/webhook-issue-dependencies-blocked-by-added" } } } @@ -6222,18 +6229,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "issues", + "subcategory": "issue-dependencies", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "issues-closed": { + "issue-dependencies-blocked-by-removed": { "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was closed.", - "operationId": "issues/closed", + "summary": "This event occurs when there is activity relating to issue dependencies, such as blocking or blocked-by relationships.\n\nFor activity relating to issues more generally, use the `issues` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permissions.", + "description": "The blocked by relationship between an issue and another issue was removed.", + "operationId": "issue-dependencies/blocked-by-removed", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issue-dependencies" }, "parameters": [ { @@ -6290,7 +6297,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-issues-closed" } + "schema": { + "$ref": "#/components/schemas/webhook-issue-dependencies-blocked-by-removed" + } } } }, @@ -6302,18 +6311,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "issues", + "subcategory": "issue-dependencies", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "issues-deleted": { + "issue-dependencies-blocking-added": { "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was deleted.", - "operationId": "issues/deleted", + "summary": "This event occurs when there is activity relating to issue dependencies, such as blocking or blocked-by relationships.\n\nFor activity relating to issues more generally, use the `issues` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permissions.", + "description": "An issue was marked as blocking another issue.", + "operationId": "issue-dependencies/blocking-added", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issue-dependencies" }, "parameters": [ { @@ -6371,7 +6380,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-deleted" + "$ref": "#/components/schemas/webhook-issue-dependencies-blocking-added" } } } @@ -6384,16 +6393,98 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "issues", + "subcategory": "issue-dependencies", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "issues-demilestoned": { + "issue-dependencies-blocking-removed": { + "post": { + "summary": "This event occurs when there is activity relating to issue dependencies, such as blocking or blocked-by relationships.\n\nFor activity relating to issues more generally, use the `issues` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permissions.", + "description": "The blocking relationship between an issue and another issue was removed.", + "operationId": "issue-dependencies/blocking-removed", + "externalDocs": { + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issue-dependencies" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" }, + "required": true + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-issue-dependencies-blocking-removed" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "issue-dependencies", + "supported-webhook-types": ["repository", "organization", "app"] + } + } + }, + "issues-assigned": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was removed from a milestone.", - "operationId": "issues/demilestoned", + "description": "An issue was assigned to a user.", + "operationId": "issues/assigned", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -6453,7 +6544,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-demilestoned" + "$ref": "#/components/schemas/webhook-issues-assigned" } } } @@ -6471,11 +6562,11 @@ } } }, - "issues-edited": { + "issues-closed": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "The title or body on an issue was edited.", - "operationId": "issues/edited", + "description": "An issue was closed.", + "operationId": "issues/closed", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -6534,7 +6625,7 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-issues-edited" } + "schema": { "$ref": "#/components/schemas/webhook-issues-closed" } } } }, @@ -6551,11 +6642,11 @@ } } }, - "issues-labeled": { + "issues-deleted": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A label was added to an issue.", - "operationId": "issues/labeled", + "description": "An issue was deleted.", + "operationId": "issues/deleted", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -6615,7 +6706,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-labeled" + "$ref": "#/components/schemas/webhook-issues-deleted" } } } @@ -6633,11 +6724,11 @@ } } }, - "issues-locked": { + "issues-demilestoned": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/communities/moderating-comments-and-conversations/locking-conversations).\"", - "operationId": "issues/locked", + "description": "An issue was removed from a milestone.", + "operationId": "issues/demilestoned", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -6696,7 +6787,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-issues-locked" } + "schema": { + "$ref": "#/components/schemas/webhook-issues-demilestoned" + } } } }, @@ -6713,11 +6806,11 @@ } } }, - "issues-milestoned": { + "issues-edited": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was added to a milestone.", - "operationId": "issues/milestoned", + "description": "The title or body on an issue was edited.", + "operationId": "issues/edited", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -6776,9 +6869,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-issues-milestoned" - } + "schema": { "$ref": "#/components/schemas/webhook-issues-edited" } } } }, @@ -6795,11 +6886,11 @@ } } }, - "issues-opened": { + "issues-labeled": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was created. When a closed issue is reopened, the action will be `reopened` instead.", - "operationId": "issues/opened", + "description": "A label was added to an issue.", + "operationId": "issues/labeled", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -6858,7 +6949,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-issues-opened" } + "schema": { + "$ref": "#/components/schemas/webhook-issues-labeled" + } } } }, @@ -6875,11 +6968,11 @@ } } }, - "issues-pinned": { + "issues-locked": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was pinned to a repository. For more information, see \"[Pinning an issue to your repository](https://docs.github.com/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository).\"", - "operationId": "issues/pinned", + "description": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/communities/moderating-comments-and-conversations/locking-conversations).\"", + "operationId": "issues/locked", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -6938,7 +7031,7 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-issues-pinned" } + "schema": { "$ref": "#/components/schemas/webhook-issues-locked" } } } }, @@ -6955,11 +7048,11 @@ } } }, - "issues-reopened": { + "issues-milestoned": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A closed issue was reopened.", - "operationId": "issues/reopened", + "description": "An issue was added to a milestone.", + "operationId": "issues/milestoned", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -7019,7 +7112,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-reopened" + "$ref": "#/components/schemas/webhook-issues-milestoned" } } } @@ -7037,11 +7130,11 @@ } } }, - "issues-transferred": { + "issues-opened": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was transferred to another repository. For more information, see \"[Transferring an issue to another repository](https://docs.github.com/issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository).\"", - "operationId": "issues/transferred", + "description": "An issue was created. When a closed issue is reopened, the action will be `reopened` instead.", + "operationId": "issues/opened", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -7100,9 +7193,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-issues-transferred" - } + "schema": { "$ref": "#/components/schemas/webhook-issues-opened" } } } }, @@ -7119,11 +7210,11 @@ } } }, - "issues-typed": { + "issues-pinned": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue type was added to an issue.", - "operationId": "issues/typed", + "description": "An issue was pinned to a repository. For more information, see \"[Pinning an issue to your repository](https://docs.github.com/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository).\"", + "operationId": "issues/pinned", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -7182,7 +7273,7 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-issues-typed" } + "schema": { "$ref": "#/components/schemas/webhook-issues-pinned" } } } }, @@ -7199,11 +7290,11 @@ } } }, - "issues-unassigned": { + "issues-reopened": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A user was unassigned from an issue.", - "operationId": "issues/unassigned", + "description": "A closed issue was reopened.", + "operationId": "issues/reopened", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -7263,7 +7354,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unassigned" + "$ref": "#/components/schemas/webhook-issues-reopened" } } } @@ -7281,11 +7372,11 @@ } } }, - "issues-unlabeled": { + "issues-transferred": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A label was removed from an issue.", - "operationId": "issues/unlabeled", + "description": "An issue was transferred to another repository. For more information, see \"[Transferring an issue to another repository](https://docs.github.com/issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository).\"", + "operationId": "issues/transferred", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -7345,7 +7436,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unlabeled" + "$ref": "#/components/schemas/webhook-issues-transferred" } } } @@ -7363,11 +7454,11 @@ } } }, - "issues-unlocked": { + "issues-typed": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/communities/moderating-comments-and-conversations/locking-conversations).\"", - "operationId": "issues/unlocked", + "description": "An issue type was added to an issue.", + "operationId": "issues/typed", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -7426,9 +7517,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-issues-unlocked" - } + "schema": { "$ref": "#/components/schemas/webhook-issues-typed" } } } }, @@ -7445,11 +7534,11 @@ } } }, - "issues-unpinned": { + "issues-unassigned": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was unpinned from a repository. For more information, see \"[Pinning an issue to your repository](https://docs.github.com/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository).\"", - "operationId": "issues/unpinned", + "description": "A user was unassigned from an issue.", + "operationId": "issues/unassigned", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -7509,7 +7598,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unpinned" + "$ref": "#/components/schemas/webhook-issues-unassigned" } } } @@ -7527,11 +7616,11 @@ } } }, - "issues-untyped": { + "issues-unlabeled": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue type was removed from an issue.", - "operationId": "issues/untyped", + "description": "A label was removed from an issue.", + "operationId": "issues/unlabeled", "externalDocs": { "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, @@ -7591,7 +7680,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-untyped" + "$ref": "#/components/schemas/webhook-issues-unlabeled" } } } @@ -7609,13 +7698,13 @@ } } }, - "label-created": { + "issues-unlocked": { "post": { - "summary": "This event occurs when there is activity relating to labels. For more information, see \"[Managing labels](https://docs.github.com/issues/using-labels-and-milestones-to-track-work/managing-labels).\" For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#label) or \"[Labels](https://docs.github.com/rest/issues/labels)\" in the REST API documentation.\n\nIf you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "A label was created.", - "operationId": "label/created", + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/communities/moderating-comments-and-conversations/locking-conversations).\"", + "operationId": "issues/unlocked", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#label" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" }, "parameters": [ { @@ -7672,7 +7761,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-label-created" } + "schema": { + "$ref": "#/components/schemas/webhook-issues-unlocked" + } } } }, @@ -7684,18 +7775,262 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "label", + "subcategory": "issues", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "label-deleted": { + "issues-unpinned": { "post": { - "summary": "This event occurs when there is activity relating to labels. For more information, see \"[Managing labels](https://docs.github.com/issues/using-labels-and-milestones-to-track-work/managing-labels).\" For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#label) or \"[Labels](https://docs.github.com/rest/issues/labels)\" in the REST API documentation.\n\nIf you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "A label was deleted.", - "operationId": "label/deleted", + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "An issue was unpinned from a repository. For more information, see \"[Pinning an issue to your repository](https://docs.github.com/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository).\"", + "operationId": "issues/unpinned", "externalDocs": { - "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#label" + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" }, + "required": true + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-issues-unpinned" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "issues", + "supported-webhook-types": ["repository", "organization", "app"] + } + } + }, + "issues-untyped": { + "post": { + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "An issue type was removed from an issue.", + "operationId": "issues/untyped", + "externalDocs": { + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#issues" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" }, + "required": true + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-issues-untyped" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "issues", + "supported-webhook-types": ["repository", "organization", "app"] + } + } + }, + "label-created": { + "post": { + "summary": "This event occurs when there is activity relating to labels. For more information, see \"[Managing labels](https://docs.github.com/issues/using-labels-and-milestones-to-track-work/managing-labels).\" For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#label) or \"[Labels](https://docs.github.com/rest/issues/labels)\" in the REST API documentation.\n\nIf you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "description": "A label was created.", + "operationId": "label/created", + "externalDocs": { + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#label" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" }, + "required": true + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/webhook-label-created" } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "label", + "supported-webhook-types": ["repository", "organization", "app"] + } + } + }, + "label-deleted": { + "post": { + "summary": "This event occurs when there is activity relating to labels. For more information, see \"[Managing labels](https://docs.github.com/issues/using-labels-and-milestones-to-track-work/managing-labels).\" For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/graphql/reference/objects#label) or \"[Labels](https://docs.github.com/rest/issues/labels)\" in the REST API documentation.\n\nIf you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "description": "A label was deleted.", + "operationId": "label/deleted", + "externalDocs": { + "url": "https://docs.github.com/webhooks/webhook-events-and-payloads#label" }, "parameters": [ { @@ -22431,12 +22766,7 @@ "description": "A check performed on the code of a given code change", "type": "object", "properties": { - "app": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/integration" } - ] - }, + "app": { "$ref": "#/components/schemas/integration" }, "check_suite": { "$ref": "#/components/schemas/simple-check-suite" }, "completed_at": { "type": ["string", "null"], @@ -23147,6 +23477,11 @@ }, "security_and_analysis": { "$ref": "#/components/schemas/security-and-analysis" + }, + "custom_properties": { + "type": "object", + "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", + "additionalProperties": true } }, "required": [ @@ -23226,6 +23561,7 @@ "type": ["object", "null"], "properties": { "advanced_security": { + "description": "Enable or disable GitHub Advanced Security for the repository.\n\nFor standalone Code Scanning or Secret Protection products, this parameter cannot be used.\n", "type": "object", "properties": { "status": { "type": "string", "enum": ["enabled", "disabled"] } @@ -33189,6 +33525,10 @@ ] }, "app_id": { "type": "integer", "examples": [1] }, + "client_id": { + "type": "string", + "examples": ["Iv1.ab1112223334445c"] + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -34601,14 +34941,10 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -34878,6 +35214,32 @@ }, "required": ["action", "issue", "comment", "repository", "sender"] }, + "sub-issues-summary": { + "title": "Sub-issues Summary", + "type": "object", + "properties": { + "total": { "type": "integer" }, + "completed": { "type": "integer" }, + "percent_completed": { "type": "integer" } + }, + "required": ["total", "completed", "percent_completed"] + }, + "issue-dependencies-summary": { + "title": "Issue Dependencies Summary", + "type": "object", + "properties": { + "blocked_by": { "type": "integer" }, + "blocking": { "type": "integer" }, + "total_blocked_by": { "type": "integer" }, + "total_blocking": { "type": "integer" } + }, + "required": [ + "blocked_by", + "blocking", + "total_blocked_by", + "total_blocking" + ] + }, "issue-type": { "title": "Issue Type", "description": "The type of issue.", @@ -35593,14 +35955,10 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -36654,14 +37012,10 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -36954,6 +37308,402 @@ } } }, + "webhook-issue-dependencies-blocked-by-added": { + "title": "blocked by issue added event", + "type": "object", + "properties": { + "action": { "type": "string", "enum": ["blocked_by_added"] }, + "blocked_issue_id": { + "description": "The ID of the blocked issue.", + "type": "number" + }, + "blocked_issue": { "$ref": "#/components/schemas/issue" }, + "blocking_issue_id": { + "description": "The ID of the blocking issue.", + "type": "number" + }, + "blocking_issue": { "$ref": "#/components/schemas/issue" }, + "blocking_issue_repo": { "$ref": "#/components/schemas/repository" }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "repository": { "$ref": "#/components/schemas/repository-webhooks" }, + "sender": { "$ref": "#/components/schemas/simple-user" } + }, + "required": [ + "action", + "blocked_issue_id", + "blocked_issue", + "blocking_issue_id", + "blocking_issue", + "blocking_issue_repo", + "organization", + "repository", + "sender" + ] + }, + "issue": { + "title": "Issue", + "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", + "type": "object", + "properties": { + "id": { "type": "integer", "format": "int64" }, + "node_id": { "type": "string" }, + "url": { + "description": "URL for the issue", + "type": "string", + "format": "uri", + "examples": ["https://api.github.com/repositories/42/issues/1"] + }, + "repository_url": { "type": "string", "format": "uri" }, + "labels_url": { "type": "string" }, + "comments_url": { "type": "string", "format": "uri" }, + "events_url": { "type": "string", "format": "uri" }, + "html_url": { "type": "string", "format": "uri" }, + "number": { + "description": "Number uniquely identifying the issue within its repository", + "type": "integer", + "examples": [42] + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "examples": ["open"] + }, + "state_reason": { + "description": "The reason for the current state", + "type": ["string", "null"], + "enum": ["completed", "reopened", "not_planned", "duplicate", null], + "examples": ["not_planned"] + }, + "title": { + "description": "Title of the issue", + "type": "string", + "examples": ["Widget creation fails in Safari on OS X 10.8"] + }, + "body": { + "description": "Contents of the issue", + "type": ["string", "null"], + "examples": [ + "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?" + ] + }, + "user": { + "anyOf": [ + { "type": "null" }, + { "$ref": "#/components/schemas/simple-user" } + ] + }, + "labels": { + "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", + "type": "array", + "items": { + "oneOf": [ + { "type": "string" }, + { + "type": "object", + "properties": { + "id": { "type": "integer", "format": "int64" }, + "node_id": { "type": "string" }, + "url": { "type": "string", "format": "uri" }, + "name": { "type": "string" }, + "description": { "type": ["string", "null"] }, + "color": { "type": ["string", "null"] }, + "default": { "type": "boolean" } + } + } + ] + }, + "examples": ["bug", "registration"] + }, + "assignee": { + "anyOf": [ + { "type": "null" }, + { "$ref": "#/components/schemas/simple-user" } + ] + }, + "assignees": { + "type": ["array", "null"], + "items": { "$ref": "#/components/schemas/simple-user" } + }, + "milestone": { + "anyOf": [ + { "type": "null" }, + { "$ref": "#/components/schemas/milestone" } + ] + }, + "locked": { "type": "boolean" }, + "active_lock_reason": { "type": ["string", "null"] }, + "comments": { "type": "integer" }, + "pull_request": { + "type": "object", + "properties": { + "merged_at": { + "type": ["string", "null"], + "format": "date-time" + }, + "diff_url": { "type": ["string", "null"], "format": "uri" }, + "html_url": { "type": ["string", "null"], "format": "uri" }, + "patch_url": { "type": ["string", "null"], "format": "uri" }, + "url": { "type": ["string", "null"], "format": "uri" } + }, + "required": ["diff_url", "html_url", "patch_url", "url"] + }, + "closed_at": { "type": ["string", "null"], "format": "date-time" }, + "created_at": { "type": "string", "format": "date-time" }, + "updated_at": { "type": "string", "format": "date-time" }, + "draft": { "type": "boolean" }, + "closed_by": { + "anyOf": [ + { "type": "null" }, + { "$ref": "#/components/schemas/simple-user" } + ] + }, + "body_html": { "type": "string" }, + "body_text": { "type": "string" }, + "timeline_url": { "type": "string", "format": "uri" }, + "type": { "$ref": "#/components/schemas/issue-type" }, + "repository": { "$ref": "#/components/schemas/repository" }, + "performed_via_github_app": { + "anyOf": [ + { "type": "null" }, + { "$ref": "#/components/schemas/integration" } + ] + }, + "author_association": { + "$ref": "#/components/schemas/author-association" + }, + "reactions": { "$ref": "#/components/schemas/reaction-rollup" }, + "sub_issues_summary": { + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } + } + }, + "required": [ + "assignee", + "closed_at", + "comments", + "comments_url", + "events_url", + "html_url", + "id", + "node_id", + "labels", + "labels_url", + "milestone", + "number", + "repository_url", + "state", + "locked", + "title", + "url", + "user", + "author_association", + "created_at", + "updated_at" + ] + }, + "reaction-rollup": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { "type": "string", "format": "uri" }, + "total_count": { "type": "integer" }, + "+1": { "type": "integer" }, + "-1": { "type": "integer" }, + "laugh": { "type": "integer" }, + "confused": { "type": "integer" }, + "heart": { "type": "integer" }, + "hooray": { "type": "integer" }, + "eyes": { "type": "integer" }, + "rocket": { "type": "integer" } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "issue-field-value": { + "title": "Issue Field Value", + "description": "A value assigned to an issue field", + "type": "object", + "properties": { + "issue_field_id": { + "description": "Unique identifier for the issue field.", + "type": "integer", + "format": "int64", + "examples": [1] + }, + "node_id": { "type": "string", "examples": ["IFT_GDKND"] }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": ["text", "single_select", "number", "date"], + "examples": ["text"] + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { "type": "string", "examples": ["Sample text"] }, + { "type": "number", "examples": [42.5] }, + { "type": "integer", "examples": [1] } + ], + "type": ["null", "string", "number", "integer"] + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": ["object", "null"], + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [1] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": ["High"] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": ["red"] + } + }, + "required": ["id", "name", "color"] + } + }, + "required": ["issue_field_id", "node_id", "data_type", "value"] + }, + "webhook-issue-dependencies-blocked-by-removed": { + "title": "blocked by issue removed event", + "type": "object", + "properties": { + "action": { "type": "string", "enum": ["blocked_by_removed"] }, + "blocked_issue_id": { + "description": "The ID of the blocked issue.", + "type": "number" + }, + "blocked_issue": { "$ref": "#/components/schemas/issue" }, + "blocking_issue_id": { + "description": "The ID of the blocking issue.", + "type": "number" + }, + "blocking_issue": { "$ref": "#/components/schemas/issue" }, + "blocking_issue_repo": { "$ref": "#/components/schemas/repository" }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "repository": { "$ref": "#/components/schemas/repository-webhooks" }, + "sender": { "$ref": "#/components/schemas/simple-user" } + }, + "required": [ + "action", + "blocked_issue_id", + "blocked_issue", + "blocking_issue_id", + "blocking_issue", + "blocking_issue_repo", + "organization", + "repository", + "sender" + ] + }, + "webhook-issue-dependencies-blocking-added": { + "title": "blocking issue added event", + "type": "object", + "properties": { + "action": { "type": "string", "enum": ["blocking_added"] }, + "blocked_issue_id": { + "description": "The ID of the blocked issue.", + "type": "number" + }, + "blocked_issue": { "$ref": "#/components/schemas/issue" }, + "blocked_issue_repo": { "$ref": "#/components/schemas/repository" }, + "blocking_issue_id": { + "description": "The ID of the blocking issue.", + "type": "number" + }, + "blocking_issue": { "$ref": "#/components/schemas/issue" }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "repository": { "$ref": "#/components/schemas/repository-webhooks" }, + "sender": { "$ref": "#/components/schemas/simple-user" } + }, + "required": [ + "action", + "blocked_issue_id", + "blocked_issue", + "blocked_issue_repo", + "blocking_issue_id", + "blocking_issue", + "organization", + "repository", + "sender" + ] + }, + "webhook-issue-dependencies-blocking-removed": { + "title": "blocking issue removed event", + "type": "object", + "properties": { + "action": { "type": "string", "enum": ["blocking_removed"] }, + "blocked_issue_id": { + "description": "The ID of the blocked issue.", + "type": "number" + }, + "blocked_issue": { "$ref": "#/components/schemas/issue" }, + "blocked_issue_repo": { "$ref": "#/components/schemas/repository" }, + "blocking_issue_id": { + "description": "The ID of the blocking issue.", + "type": "number" + }, + "blocking_issue": { "$ref": "#/components/schemas/issue" }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "repository": { "$ref": "#/components/schemas/repository-webhooks" }, + "sender": { "$ref": "#/components/schemas/simple-user" } + }, + "required": [ + "action", + "blocked_issue_id", + "blocked_issue", + "blocked_issue_repo", + "blocking_issue_id", + "blocking_issue", + "organization", + "repository", + "sender" + ] + }, "webhook-issues-assigned": { "title": "issues assigned event", "type": "object", @@ -37490,14 +38240,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -38239,14 +38989,16 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { + "$ref": "#/components/schemas/issue-field-value" + } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -39035,14 +39787,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -39755,14 +40507,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -40542,14 +41294,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -41243,14 +41995,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -41969,14 +42721,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -42667,14 +43419,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -43397,14 +44149,16 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { + "$ref": "#/components/schemas/issue-field-value" + } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -44458,14 +45212,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -45082,14 +45836,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -45791,14 +46545,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -46520,14 +47274,16 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { + "$ref": "#/components/schemas/issue-field-value" + } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -47739,14 +48495,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -48853,7 +49609,7 @@ "action": { "type": "string", "enum": ["deleted"] }, "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, "hook": { - "description": "The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, business, app, or GitHub Marketplace.", + "description": "The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, business, app, or GitHub Marketplace.", "type": "object", "properties": { "active": { "type": "boolean" }, @@ -48872,6 +49628,7 @@ }, "created_at": { "type": "string" }, "events": { + "description": "", "type": "array", "items": { "type": "string", @@ -49402,6 +50159,18 @@ "properties": { "organization_url": { "type": "string", "format": "uri" }, "role": { "type": "string" }, + "direct_membership": { + "type": "boolean", + "description": "Whether the user has direct membership in the organization.", + "examples": [true] + }, + "enterprise_teams_providing_indirect_membership": { + "type": "array", + "description": "The slugs of the enterprise teams providing the user with indirect membership in the organization.\nA limit of 100 enterprise team slugs is returned.", + "maxItems": 100, + "items": { "type": "string" }, + "examples": ["ent:team-one", "ent:team-two"] + }, "state": { "type": "string" }, "url": { "type": "string", "format": "uri" }, "user": { @@ -51560,6 +52329,17 @@ { "type": "null" }, { "$ref": "#/components/schemas/simple-user" } ] + }, + "state": { "type": "string", "enum": ["open", "closed"] }, + "latest_status_update": { + "anyOf": [ + { "type": "null" }, + { "$ref": "#/components/schemas/projects-v2-status-update" } + ] + }, + "is_template": { + "type": "boolean", + "description": "Whether this project is a template" } }, "required": [ @@ -51579,6 +52359,54 @@ "deleted_by" ] }, + "projects-v2-status-update": { + "title": "Projects v2 Status Update", + "description": "An status update belonging to a project", + "type": "object", + "properties": { + "id": { "type": "number" }, + "node_id": { "type": "string" }, + "project_node_id": { "type": "string" }, + "creator": { "$ref": "#/components/schemas/simple-user" }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": ["2022-04-28T12:00:00Z"] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": ["2022-04-28T12:00:00Z"] + }, + "status": { + "type": ["string", "null"], + "enum": [ + "INACTIVE", + "ON_TRACK", + "AT_RISK", + "OFF_TRACK", + "COMPLETE", + null + ] + }, + "start_date": { + "type": "string", + "format": "date", + "examples": ["2022-04-28"] + }, + "target_date": { + "type": "string", + "format": "date", + "examples": ["2022-04-28"] + }, + "body": { + "description": "Body of the status update", + "type": ["string", "null"], + "examples": ["The project is off to a great start!"] + } + }, + "required": ["id", "node_id", "created_at", "updated_at"] + }, "webhook-projects-v2-project-created": { "description": "A project was created", "type": "object", @@ -51917,8 +52745,10 @@ "properties": { "id": { "type": "string" }, "title": { "type": "string" }, + "title_html": { "type": "string" }, "duration": { "type": ["number", "null"] }, - "start_date": { "type": ["string", "null"] } + "start_date": { "type": ["string", "null"] }, + "completed": { "type": "boolean" } }, "required": ["id", "title"] }, @@ -52024,54 +52854,6 @@ "sender" ] }, - "projects-v2-status-update": { - "title": "Projects v2 Status Update", - "description": "An status update belonging to a project", - "type": "object", - "properties": { - "id": { "type": "number" }, - "node_id": { "type": "string" }, - "project_node_id": { "type": "string" }, - "creator": { "$ref": "#/components/schemas/simple-user" }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": ["2022-04-28T12:00:00Z"] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": ["2022-04-28T12:00:00Z"] - }, - "status": { - "type": ["string", "null"], - "enum": [ - "INACTIVE", - "ON_TRACK", - "AT_RISK", - "OFF_TRACK", - "COMPLETE", - null - ] - }, - "start_date": { - "type": "string", - "format": "date", - "examples": ["2022-04-28"] - }, - "target_date": { - "type": "string", - "format": "date", - "examples": ["2022-04-28"] - }, - "body": { - "description": "Body of the status update", - "type": ["string", "null"], - "examples": ["The project is off to a great start!"] - } - }, - "required": ["id", "node_id", "created_at", "updated_at"] - }, "webhook-projects-v2-status-update-deleted": { "title": "Projects v2 Status Update Deleted Event", "type": "object", @@ -74666,6 +75448,10 @@ "enum": ["dismissed", "approved", "changes_requested"] }, "submitted_at": { "type": "string", "format": "date-time" }, + "updated_at": { + "type": ["string", "null"], + "format": "date-time" + }, "user": { "title": "User", "type": ["object", "null"], @@ -76511,6 +77297,7 @@ "pull_request_url": { "type": "string", "format": "uri" }, "state": { "type": "string" }, "submitted_at": { "type": ["string", "null"], "format": "date-time" }, + "updated_at": { "type": ["string", "null"], "format": "date-time" }, "user": { "title": "User", "type": ["object", "null"], @@ -88751,7 +89538,8 @@ "node_id": { "type": "string" } }, "required": ["node_id", "comments"] - } + }, + "updated_at": { "type": ["string", "null"], "format": "date-time" } }, "required": ["action", "thread", "pull_request", "repository"] }, @@ -90741,7 +91529,8 @@ "node_id": { "type": "string" } }, "required": ["node_id", "comments"] - } + }, + "updated_at": { "type": ["string", "null"], "format": "date-time" } }, "required": ["action", "thread", "pull_request", "repository"] }, @@ -99533,6 +100322,7 @@ }, "body": { "type": ["string", "null"] }, "created_at": { "type": ["string", "null"], "format": "date-time" }, + "updated_at": { "type": ["string", "null"], "format": "date-time" }, "discussion_url": { "type": "string", "format": "uri" }, "draft": { "description": "Whether the release is a draft or published", @@ -99540,6 +100330,10 @@ }, "html_url": { "type": "string", "format": "uri" }, "id": { "type": "integer" }, + "immutable": { + "description": "Whether or not the release is immutable.", + "type": "boolean" + }, "name": { "type": ["string", "null"] }, "node_id": { "type": "string" }, "prerelease": { @@ -99601,10 +100395,12 @@ "draft", "author", "prerelease", + "immutable", "created_at", "published_at", "assets", "tarball_url", + "updated_at", "zipball_url", "body" ] @@ -99715,6 +100511,7 @@ "draft", "html_url", "id", + "immutable", "name", "node_id", "prerelease", @@ -99722,6 +100519,7 @@ "tag_name", "tarball_url", "target_commitish", + "updated_at", "upload_url", "url", "zipball_url" @@ -99875,6 +100673,10 @@ }, "html_url": { "type": "string", "format": "uri" }, "id": { "type": "integer" }, + "immutable": { + "description": "Whether or not the release is immutable.", + "type": "boolean" + }, "name": { "type": ["string", "null"] }, "node_id": { "type": "string" }, "prerelease": { @@ -99924,6 +100726,10 @@ "type": "string" }, "upload_url": { "type": "string", "format": "uri-template" }, + "updated_at": { + "type": ["string", "null"], + "format": "date-time" + }, "url": { "type": "string", "format": "uri" }, "zipball_url": { "type": ["string", "null"], "format": "uri" } } @@ -99967,10 +100773,12 @@ "name", "node_id", "prerelease", + "immutable", "published_at", "tag_name", "tarball_url", "target_commitish", + "updated_at", "upload_url", "url", "zipball_url" @@ -100106,6 +100914,10 @@ }, "html_url": { "type": "string", "format": "uri" }, "id": { "type": "integer" }, + "immutable": { + "description": "Whether or not the release is immutable.", + "type": "boolean" + }, "name": { "type": ["string", "null"] }, "node_id": { "type": "string" }, "prerelease": { @@ -100150,6 +100962,7 @@ "description": "Specifies the commitish value that determines where the Git tag is created from.", "type": "string" }, + "updated_at": { "type": ["string", "null"], "format": "date-time" }, "upload_url": { "type": "string", "format": "uri-template" }, "url": { "type": "string", "format": "uri" }, "zipball_url": { "type": ["string", "null"], "format": "uri" } @@ -101308,7 +102121,7 @@ "properties": { "actor_id": { "type": ["integer", "null"], - "description": "The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. `OrganizationAdmin` is not applicable for personal repositories." + "description": "The ID of the actor that can bypass a ruleset. Required for `Integration`, `RepositoryRole`, and `Team` actor types. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. `OrganizationAdmin` is not applicable for personal repositories." }, "actor_type": { "type": "string", @@ -101689,7 +102502,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -101976,7 +102789,7 @@ "type": "integer", "description": "The maximum amount of characters allowed in file paths.", "minimum": 1, - "maximum": 256 + "maximum": 32767 } }, "required": ["max_file_path_length"] @@ -104827,204 +105640,6 @@ "sub_issue" ] }, - "issue": { - "title": "Issue", - "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", - "type": "object", - "properties": { - "id": { "type": "integer", "format": "int64" }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the issue", - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/repositories/42/issues/1"] - }, - "repository_url": { "type": "string", "format": "uri" }, - "labels_url": { "type": "string" }, - "comments_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "number": { - "description": "Number uniquely identifying the issue within its repository", - "type": "integer", - "examples": [42] - }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "examples": ["open"] - }, - "state_reason": { - "description": "The reason for the current state", - "type": ["string", "null"], - "enum": ["completed", "reopened", "not_planned", null], - "examples": ["not_planned"] - }, - "title": { - "description": "Title of the issue", - "type": "string", - "examples": ["Widget creation fails in Safari on OS X 10.8"] - }, - "body": { - "description": "Contents of the issue", - "type": ["string", "null"], - "examples": [ - "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?" - ] - }, - "user": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "labels": { - "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", - "type": "array", - "items": { - "oneOf": [ - { "type": "string" }, - { - "type": "object", - "properties": { - "id": { "type": "integer", "format": "int64" }, - "node_id": { "type": "string" }, - "url": { "type": "string", "format": "uri" }, - "name": { "type": "string" }, - "description": { "type": ["string", "null"] }, - "color": { "type": ["string", "null"] }, - "default": { "type": "boolean" } - } - } - ] - }, - "examples": ["bug", "registration"] - }, - "assignee": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "assignees": { - "type": ["array", "null"], - "items": { "$ref": "#/components/schemas/simple-user" } - }, - "milestone": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/milestone" } - ] - }, - "locked": { "type": "boolean" }, - "active_lock_reason": { "type": ["string", "null"] }, - "comments": { "type": "integer" }, - "pull_request": { - "type": "object", - "properties": { - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "diff_url": { "type": ["string", "null"], "format": "uri" }, - "html_url": { "type": ["string", "null"], "format": "uri" }, - "patch_url": { "type": ["string", "null"], "format": "uri" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["diff_url", "html_url", "patch_url", "url"] - }, - "closed_at": { "type": ["string", "null"], "format": "date-time" }, - "created_at": { "type": "string", "format": "date-time" }, - "updated_at": { "type": "string", "format": "date-time" }, - "draft": { "type": "boolean" }, - "closed_by": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "body_html": { "type": "string" }, - "body_text": { "type": "string" }, - "timeline_url": { "type": "string", "format": "uri" }, - "type": { "$ref": "#/components/schemas/issue-type" }, - "repository": { "$ref": "#/components/schemas/repository" }, - "performed_via_github_app": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/integration" } - ] - }, - "author_association": { - "$ref": "#/components/schemas/author-association" - }, - "reactions": { "$ref": "#/components/schemas/reaction-rollup" }, - "sub_issues_summary": { - "$ref": "#/components/schemas/sub-issues-summary" - } - }, - "required": [ - "assignee", - "closed_at", - "comments", - "comments_url", - "events_url", - "html_url", - "id", - "node_id", - "labels", - "labels_url", - "milestone", - "number", - "repository_url", - "state", - "locked", - "title", - "url", - "user", - "author_association", - "created_at", - "updated_at" - ] - }, - "reaction-rollup": { - "title": "Reaction Rollup", - "type": "object", - "properties": { - "url": { "type": "string", "format": "uri" }, - "total_count": { "type": "integer" }, - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "laugh": { "type": "integer" }, - "confused": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "eyes": { "type": "integer" }, - "rocket": { "type": "integer" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] - }, - "sub-issues-summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] - }, "webhook-sub-issues-parent-issue-removed": { "title": "parent issue removed event", "type": "object", diff --git a/packages/openapi-webhooks/generated/ghec.json b/packages/openapi-webhooks/generated/ghec.json index d8adfa8..3413032 100644 --- a/packages/openapi-webhooks/generated/ghec.json +++ b/packages/openapi-webhooks/generated/ghec.json @@ -74,7 +74,10 @@ "name": "packages", "description": "Manage packages for authenticated users and organizations." }, - { "name": "projects", "description": "Interact with GitHub Projects." }, + { + "name": "projects-classic", + "description": "Interact with GitHub Projects (classic)." + }, { "name": "pulls", "description": "Interact with GitHub Pull Requests." }, { "name": "rate-limit", @@ -143,6 +146,10 @@ { "name": "credentials", "description": "Revoke compromised or leaked GitHub credentials." + }, + { + "name": "projects", + "description": "Endpoints to manage Projects using the REST API." } ], "servers": [{ "url": "https://api.github.com" }], @@ -5827,7 +5834,7 @@ }, "dismissal-request-code-scanning-created": { "post": { - "summary": "This event occurs when there is activity related to a user's request to dismiss a code scanning alert.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"code scanning alerts\" repository permission.\n\n> [!NOTE]\n> Delegated alert dismissal for code scanning is currently in public preview and subject to change.", + "summary": "This event occurs when there is activity related to a user's request to dismiss a code scanning alert.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"code scanning alerts\" repository permission.", "description": "A code scanning alert dismissal request was created.", "operationId": "dismissal-request-code-scanning/created", "externalDocs": { @@ -5909,7 +5916,7 @@ }, "dismissal-request-code-scanning-response-submitted": { "post": { - "summary": "This event occurs when there is activity related to a user's request to dismiss a code scanning alert.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"code scanning alerts\" repository permission.\n\n> [!NOTE]\n> Delegated alert dismissal for code scanning is currently in public preview and subject to change.", + "summary": "This event occurs when there is activity related to a user's request to dismiss a code scanning alert.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"code scanning alerts\" repository permission.", "description": "A code scanning alert dismissal response was submitted.", "operationId": "dismissal-request-code-scanning/response-submitted", "externalDocs": { @@ -7546,13 +7553,13 @@ } } }, - "issues-assigned": { + "issue-dependencies-blocked-by-added": { "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was assigned to a user.", - "operationId": "issues/assigned", + "summary": "This event occurs when there is activity relating to issue dependencies, such as blocking or blocked-by relationships.\n\nFor activity relating to issues more generally, use the `issues` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permissions.", + "description": "An issue was marked as blocked by another issue.", + "operationId": "issue-dependencies/blocked-by-added", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issue-dependencies" }, "parameters": [ { @@ -7610,7 +7617,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-assigned" + "$ref": "#/components/schemas/webhook-issue-dependencies-blocked-by-added" } } } @@ -7623,18 +7630,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "issues", + "subcategory": "issue-dependencies", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "issues-closed": { + "issue-dependencies-blocked-by-removed": { "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was closed.", - "operationId": "issues/closed", + "summary": "This event occurs when there is activity relating to issue dependencies, such as blocking or blocked-by relationships.\n\nFor activity relating to issues more generally, use the `issues` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permissions.", + "description": "The blocked by relationship between an issue and another issue was removed.", + "operationId": "issue-dependencies/blocked-by-removed", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issue-dependencies" }, "parameters": [ { @@ -7691,7 +7698,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-issues-closed" } + "schema": { + "$ref": "#/components/schemas/webhook-issue-dependencies-blocked-by-removed" + } } } }, @@ -7703,18 +7712,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "issues", + "subcategory": "issue-dependencies", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "issues-deleted": { + "issue-dependencies-blocking-added": { "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was deleted.", - "operationId": "issues/deleted", + "summary": "This event occurs when there is activity relating to issue dependencies, such as blocking or blocked-by relationships.\n\nFor activity relating to issues more generally, use the `issues` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permissions.", + "description": "An issue was marked as blocking another issue.", + "operationId": "issue-dependencies/blocking-added", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issue-dependencies" }, "parameters": [ { @@ -7772,7 +7781,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-deleted" + "$ref": "#/components/schemas/webhook-issue-dependencies-blocking-added" } } } @@ -7785,16 +7794,98 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "issues", + "subcategory": "issue-dependencies", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "issues-demilestoned": { + "issue-dependencies-blocking-removed": { + "post": { + "summary": "This event occurs when there is activity relating to issue dependencies, such as blocking or blocked-by relationships.\n\nFor activity relating to issues more generally, use the `issues` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permissions.", + "description": "The blocking relationship between an issue and another issue was removed.", + "operationId": "issue-dependencies/blocking-removed", + "externalDocs": { + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issue-dependencies" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" }, + "required": true + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-issue-dependencies-blocking-removed" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "issue-dependencies", + "supported-webhook-types": ["repository", "organization", "app"] + } + } + }, + "issues-assigned": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was removed from a milestone.", - "operationId": "issues/demilestoned", + "description": "An issue was assigned to a user.", + "operationId": "issues/assigned", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -7854,7 +7945,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-demilestoned" + "$ref": "#/components/schemas/webhook-issues-assigned" } } } @@ -7872,11 +7963,11 @@ } } }, - "issues-edited": { + "issues-closed": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "The title or body on an issue was edited.", - "operationId": "issues/edited", + "description": "An issue was closed.", + "operationId": "issues/closed", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -7935,7 +8026,7 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-issues-edited" } + "schema": { "$ref": "#/components/schemas/webhook-issues-closed" } } } }, @@ -7952,11 +8043,11 @@ } } }, - "issues-labeled": { + "issues-deleted": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A label was added to an issue.", - "operationId": "issues/labeled", + "description": "An issue was deleted.", + "operationId": "issues/deleted", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -8016,7 +8107,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-labeled" + "$ref": "#/components/schemas/webhook-issues-deleted" } } } @@ -8034,11 +8125,11 @@ } } }, - "issues-locked": { + "issues-demilestoned": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/enterprise-cloud@latest//communities/moderating-comments-and-conversations/locking-conversations).\"", - "operationId": "issues/locked", + "description": "An issue was removed from a milestone.", + "operationId": "issues/demilestoned", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -8097,7 +8188,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-issues-locked" } + "schema": { + "$ref": "#/components/schemas/webhook-issues-demilestoned" + } } } }, @@ -8114,11 +8207,11 @@ } } }, - "issues-milestoned": { + "issues-edited": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was added to a milestone.", - "operationId": "issues/milestoned", + "description": "The title or body on an issue was edited.", + "operationId": "issues/edited", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -8177,9 +8270,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-issues-milestoned" - } + "schema": { "$ref": "#/components/schemas/webhook-issues-edited" } } } }, @@ -8196,11 +8287,11 @@ } } }, - "issues-opened": { + "issues-labeled": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was created. When a closed issue is reopened, the action will be `reopened` instead.", - "operationId": "issues/opened", + "description": "A label was added to an issue.", + "operationId": "issues/labeled", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -8259,7 +8350,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-issues-opened" } + "schema": { + "$ref": "#/components/schemas/webhook-issues-labeled" + } } } }, @@ -8276,11 +8369,11 @@ } } }, - "issues-pinned": { + "issues-locked": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was pinned to a repository. For more information, see \"[Pinning an issue to your repository](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository).\"", - "operationId": "issues/pinned", + "description": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/enterprise-cloud@latest//communities/moderating-comments-and-conversations/locking-conversations).\"", + "operationId": "issues/locked", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -8339,7 +8432,7 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-issues-pinned" } + "schema": { "$ref": "#/components/schemas/webhook-issues-locked" } } } }, @@ -8356,11 +8449,11 @@ } } }, - "issues-reopened": { + "issues-milestoned": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A closed issue was reopened.", - "operationId": "issues/reopened", + "description": "An issue was added to a milestone.", + "operationId": "issues/milestoned", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -8420,7 +8513,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-reopened" + "$ref": "#/components/schemas/webhook-issues-milestoned" } } } @@ -8438,11 +8531,11 @@ } } }, - "issues-transferred": { + "issues-opened": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was transferred to another repository. For more information, see \"[Transferring an issue to another repository](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository).\"", - "operationId": "issues/transferred", + "description": "An issue was created. When a closed issue is reopened, the action will be `reopened` instead.", + "operationId": "issues/opened", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -8501,9 +8594,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-issues-transferred" - } + "schema": { "$ref": "#/components/schemas/webhook-issues-opened" } } } }, @@ -8520,11 +8611,11 @@ } } }, - "issues-typed": { + "issues-pinned": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue type was added to an issue.", - "operationId": "issues/typed", + "description": "An issue was pinned to a repository. For more information, see \"[Pinning an issue to your repository](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository).\"", + "operationId": "issues/pinned", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -8583,7 +8674,7 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-issues-typed" } + "schema": { "$ref": "#/components/schemas/webhook-issues-pinned" } } } }, @@ -8600,11 +8691,11 @@ } } }, - "issues-unassigned": { + "issues-reopened": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A user was unassigned from an issue.", - "operationId": "issues/unassigned", + "description": "A closed issue was reopened.", + "operationId": "issues/reopened", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -8664,7 +8755,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unassigned" + "$ref": "#/components/schemas/webhook-issues-reopened" } } } @@ -8682,11 +8773,11 @@ } } }, - "issues-unlabeled": { + "issues-transferred": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A label was removed from an issue.", - "operationId": "issues/unlabeled", + "description": "An issue was transferred to another repository. For more information, see \"[Transferring an issue to another repository](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository).\"", + "operationId": "issues/transferred", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -8746,7 +8837,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unlabeled" + "$ref": "#/components/schemas/webhook-issues-transferred" } } } @@ -8764,11 +8855,11 @@ } } }, - "issues-unlocked": { + "issues-typed": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/enterprise-cloud@latest//communities/moderating-comments-and-conversations/locking-conversations).\"", - "operationId": "issues/unlocked", + "description": "An issue type was added to an issue.", + "operationId": "issues/typed", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -8827,9 +8918,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-issues-unlocked" - } + "schema": { "$ref": "#/components/schemas/webhook-issues-typed" } } } }, @@ -8846,11 +8935,11 @@ } } }, - "issues-unpinned": { + "issues-unassigned": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was unpinned from a repository. For more information, see \"[Pinning an issue to your repository](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository).\"", - "operationId": "issues/unpinned", + "description": "A user was unassigned from an issue.", + "operationId": "issues/unassigned", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -8910,7 +8999,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unpinned" + "$ref": "#/components/schemas/webhook-issues-unassigned" } } } @@ -8928,11 +9017,11 @@ } } }, - "issues-untyped": { + "issues-unlabeled": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue type was removed from an issue.", - "operationId": "issues/untyped", + "description": "A label was removed from an issue.", + "operationId": "issues/unlabeled", "externalDocs": { "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, @@ -8992,7 +9081,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-untyped" + "$ref": "#/components/schemas/webhook-issues-unlabeled" } } } @@ -9010,13 +9099,13 @@ } } }, - "label-created": { + "issues-unlocked": { "post": { - "summary": "This event occurs when there is activity relating to labels. For more information, see \"[Managing labels](https://docs.github.com/enterprise-cloud@latest//issues/using-labels-and-milestones-to-track-work/managing-labels).\" For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#label) or \"[Labels](https://docs.github.com/enterprise-cloud@latest//rest/issues/labels)\" in the REST API documentation.\n\nIf you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "A label was created.", - "operationId": "label/created", + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/enterprise-cloud@latest//communities/moderating-comments-and-conversations/locking-conversations).\"", + "operationId": "issues/unlocked", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#label" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" }, "parameters": [ { @@ -9073,7 +9162,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-label-created" } + "schema": { + "$ref": "#/components/schemas/webhook-issues-unlocked" + } } } }, @@ -9085,18 +9176,262 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "label", + "subcategory": "issues", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "label-deleted": { + "issues-unpinned": { "post": { - "summary": "This event occurs when there is activity relating to labels. For more information, see \"[Managing labels](https://docs.github.com/enterprise-cloud@latest//issues/using-labels-and-milestones-to-track-work/managing-labels).\" For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#label) or \"[Labels](https://docs.github.com/enterprise-cloud@latest//rest/issues/labels)\" in the REST API documentation.\n\nIf you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "A label was deleted.", - "operationId": "label/deleted", + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "An issue was unpinned from a repository. For more information, see \"[Pinning an issue to your repository](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository).\"", + "operationId": "issues/unpinned", "externalDocs": { - "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#label" + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" }, + "required": true + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-issues-unpinned" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "issues", + "supported-webhook-types": ["repository", "organization", "app"] + } + } + }, + "issues-untyped": { + "post": { + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-cloud@latest//issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-cloud@latest//rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "An issue type was removed from an issue.", + "operationId": "issues/untyped", + "externalDocs": { + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#issues" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" }, + "required": true + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-issues-untyped" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "issues", + "supported-webhook-types": ["repository", "organization", "app"] + } + } + }, + "label-created": { + "post": { + "summary": "This event occurs when there is activity relating to labels. For more information, see \"[Managing labels](https://docs.github.com/enterprise-cloud@latest//issues/using-labels-and-milestones-to-track-work/managing-labels).\" For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#label) or \"[Labels](https://docs.github.com/enterprise-cloud@latest//rest/issues/labels)\" in the REST API documentation.\n\nIf you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "description": "A label was created.", + "operationId": "label/created", + "externalDocs": { + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#label" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" }, + "required": true + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/webhook-label-created" } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "label", + "supported-webhook-types": ["repository", "organization", "app"] + } + } + }, + "label-deleted": { + "post": { + "summary": "This event occurs when there is activity relating to labels. For more information, see \"[Managing labels](https://docs.github.com/enterprise-cloud@latest//issues/using-labels-and-milestones-to-track-work/managing-labels).\" For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-cloud@latest//graphql/reference/objects#label) or \"[Labels](https://docs.github.com/enterprise-cloud@latest//rest/issues/labels)\" in the REST API documentation.\n\nIf you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "description": "A label was deleted.", + "operationId": "label/deleted", + "externalDocs": { + "url": "https://docs.github.com/enterprise-cloud@latest//webhooks/webhook-events-and-payloads#label" }, "parameters": [ { @@ -24272,12 +24607,7 @@ "description": "A check performed on the code of a given code change", "type": "object", "properties": { - "app": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/integration" } - ] - }, + "app": { "$ref": "#/components/schemas/integration" }, "check_suite": { "$ref": "#/components/schemas/simple-check-suite" }, "completed_at": { "type": ["string", "null"], @@ -24988,6 +25318,11 @@ }, "security_and_analysis": { "$ref": "#/components/schemas/security-and-analysis" + }, + "custom_properties": { + "type": "object", + "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", + "additionalProperties": true } }, "required": [ @@ -25067,6 +25402,7 @@ "type": ["object", "null"], "properties": { "advanced_security": { + "description": "Enable or disable GitHub Advanced Security for the repository.\n\nFor standalone Code Scanning or Secret Protection products, this parameter cannot be used.\n", "type": "object", "properties": { "status": { "type": "string", "enum": ["enabled", "disabled"] } @@ -35012,7 +35348,7 @@ "type": ["null", "object"] }, "repository_selection": { - "description": "Describe whether all repositories have been selected or there's a selection involved", + "description": "Describe whether all repositories have been selected or there's a selection involved. For enterprise installations this is `selected`.", "type": "string", "enum": ["all", "selected"] }, @@ -35036,6 +35372,10 @@ ] }, "app_id": { "type": "integer", "examples": [1] }, + "client_id": { + "type": "string", + "examples": ["Iv1.ab1112223334445c"] + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -36448,14 +36788,10 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -36725,6 +37061,32 @@ }, "required": ["action", "issue", "comment", "repository", "sender"] }, + "sub-issues-summary": { + "title": "Sub-issues Summary", + "type": "object", + "properties": { + "total": { "type": "integer" }, + "completed": { "type": "integer" }, + "percent_completed": { "type": "integer" } + }, + "required": ["total", "completed", "percent_completed"] + }, + "issue-dependencies-summary": { + "title": "Issue Dependencies Summary", + "type": "object", + "properties": { + "blocked_by": { "type": "integer" }, + "blocking": { "type": "integer" }, + "total_blocked_by": { "type": "integer" }, + "total_blocking": { "type": "integer" } + }, + "required": [ + "blocked_by", + "blocking", + "total_blocked_by", + "total_blocking" + ] + }, "issue-type": { "title": "Issue Type", "description": "The type of issue.", @@ -37440,14 +37802,10 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -38501,14 +38859,10 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -38801,6 +39155,402 @@ } } }, + "webhook-issue-dependencies-blocked-by-added": { + "title": "blocked by issue added event", + "type": "object", + "properties": { + "action": { "type": "string", "enum": ["blocked_by_added"] }, + "blocked_issue_id": { + "description": "The ID of the blocked issue.", + "type": "number" + }, + "blocked_issue": { "$ref": "#/components/schemas/issue" }, + "blocking_issue_id": { + "description": "The ID of the blocking issue.", + "type": "number" + }, + "blocking_issue": { "$ref": "#/components/schemas/issue" }, + "blocking_issue_repo": { "$ref": "#/components/schemas/repository" }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "repository": { "$ref": "#/components/schemas/repository-webhooks" }, + "sender": { "$ref": "#/components/schemas/simple-user" } + }, + "required": [ + "action", + "blocked_issue_id", + "blocked_issue", + "blocking_issue_id", + "blocking_issue", + "blocking_issue_repo", + "organization", + "repository", + "sender" + ] + }, + "issue": { + "title": "Issue", + "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", + "type": "object", + "properties": { + "id": { "type": "integer", "format": "int64" }, + "node_id": { "type": "string" }, + "url": { + "description": "URL for the issue", + "type": "string", + "format": "uri", + "examples": ["https://api.github.com/repositories/42/issues/1"] + }, + "repository_url": { "type": "string", "format": "uri" }, + "labels_url": { "type": "string" }, + "comments_url": { "type": "string", "format": "uri" }, + "events_url": { "type": "string", "format": "uri" }, + "html_url": { "type": "string", "format": "uri" }, + "number": { + "description": "Number uniquely identifying the issue within its repository", + "type": "integer", + "examples": [42] + }, + "state": { + "description": "State of the issue; either 'open' or 'closed'", + "type": "string", + "examples": ["open"] + }, + "state_reason": { + "description": "The reason for the current state", + "type": ["string", "null"], + "enum": ["completed", "reopened", "not_planned", "duplicate", null], + "examples": ["not_planned"] + }, + "title": { + "description": "Title of the issue", + "type": "string", + "examples": ["Widget creation fails in Safari on OS X 10.8"] + }, + "body": { + "description": "Contents of the issue", + "type": ["string", "null"], + "examples": [ + "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?" + ] + }, + "user": { + "anyOf": [ + { "type": "null" }, + { "$ref": "#/components/schemas/simple-user" } + ] + }, + "labels": { + "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", + "type": "array", + "items": { + "oneOf": [ + { "type": "string" }, + { + "type": "object", + "properties": { + "id": { "type": "integer", "format": "int64" }, + "node_id": { "type": "string" }, + "url": { "type": "string", "format": "uri" }, + "name": { "type": "string" }, + "description": { "type": ["string", "null"] }, + "color": { "type": ["string", "null"] }, + "default": { "type": "boolean" } + } + } + ] + }, + "examples": ["bug", "registration"] + }, + "assignee": { + "anyOf": [ + { "type": "null" }, + { "$ref": "#/components/schemas/simple-user" } + ] + }, + "assignees": { + "type": ["array", "null"], + "items": { "$ref": "#/components/schemas/simple-user" } + }, + "milestone": { + "anyOf": [ + { "type": "null" }, + { "$ref": "#/components/schemas/milestone" } + ] + }, + "locked": { "type": "boolean" }, + "active_lock_reason": { "type": ["string", "null"] }, + "comments": { "type": "integer" }, + "pull_request": { + "type": "object", + "properties": { + "merged_at": { + "type": ["string", "null"], + "format": "date-time" + }, + "diff_url": { "type": ["string", "null"], "format": "uri" }, + "html_url": { "type": ["string", "null"], "format": "uri" }, + "patch_url": { "type": ["string", "null"], "format": "uri" }, + "url": { "type": ["string", "null"], "format": "uri" } + }, + "required": ["diff_url", "html_url", "patch_url", "url"] + }, + "closed_at": { "type": ["string", "null"], "format": "date-time" }, + "created_at": { "type": "string", "format": "date-time" }, + "updated_at": { "type": "string", "format": "date-time" }, + "draft": { "type": "boolean" }, + "closed_by": { + "anyOf": [ + { "type": "null" }, + { "$ref": "#/components/schemas/simple-user" } + ] + }, + "body_html": { "type": "string" }, + "body_text": { "type": "string" }, + "timeline_url": { "type": "string", "format": "uri" }, + "type": { "$ref": "#/components/schemas/issue-type" }, + "repository": { "$ref": "#/components/schemas/repository" }, + "performed_via_github_app": { + "anyOf": [ + { "type": "null" }, + { "$ref": "#/components/schemas/integration" } + ] + }, + "author_association": { + "$ref": "#/components/schemas/author-association" + }, + "reactions": { "$ref": "#/components/schemas/reaction-rollup" }, + "sub_issues_summary": { + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } + } + }, + "required": [ + "assignee", + "closed_at", + "comments", + "comments_url", + "events_url", + "html_url", + "id", + "node_id", + "labels", + "labels_url", + "milestone", + "number", + "repository_url", + "state", + "locked", + "title", + "url", + "user", + "author_association", + "created_at", + "updated_at" + ] + }, + "reaction-rollup": { + "title": "Reaction Rollup", + "type": "object", + "properties": { + "url": { "type": "string", "format": "uri" }, + "total_count": { "type": "integer" }, + "+1": { "type": "integer" }, + "-1": { "type": "integer" }, + "laugh": { "type": "integer" }, + "confused": { "type": "integer" }, + "heart": { "type": "integer" }, + "hooray": { "type": "integer" }, + "eyes": { "type": "integer" }, + "rocket": { "type": "integer" } + }, + "required": [ + "url", + "total_count", + "+1", + "-1", + "laugh", + "confused", + "heart", + "hooray", + "eyes", + "rocket" + ] + }, + "issue-field-value": { + "title": "Issue Field Value", + "description": "A value assigned to an issue field", + "type": "object", + "properties": { + "issue_field_id": { + "description": "Unique identifier for the issue field.", + "type": "integer", + "format": "int64", + "examples": [1] + }, + "node_id": { "type": "string", "examples": ["IFT_GDKND"] }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": ["text", "single_select", "number", "date"], + "examples": ["text"] + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { "type": "string", "examples": ["Sample text"] }, + { "type": "number", "examples": [42.5] }, + { "type": "integer", "examples": [1] } + ], + "type": ["null", "string", "number", "integer"] + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": ["object", "null"], + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [1] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": ["High"] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": ["red"] + } + }, + "required": ["id", "name", "color"] + } + }, + "required": ["issue_field_id", "node_id", "data_type", "value"] + }, + "webhook-issue-dependencies-blocked-by-removed": { + "title": "blocked by issue removed event", + "type": "object", + "properties": { + "action": { "type": "string", "enum": ["blocked_by_removed"] }, + "blocked_issue_id": { + "description": "The ID of the blocked issue.", + "type": "number" + }, + "blocked_issue": { "$ref": "#/components/schemas/issue" }, + "blocking_issue_id": { + "description": "The ID of the blocking issue.", + "type": "number" + }, + "blocking_issue": { "$ref": "#/components/schemas/issue" }, + "blocking_issue_repo": { "$ref": "#/components/schemas/repository" }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "repository": { "$ref": "#/components/schemas/repository-webhooks" }, + "sender": { "$ref": "#/components/schemas/simple-user" } + }, + "required": [ + "action", + "blocked_issue_id", + "blocked_issue", + "blocking_issue_id", + "blocking_issue", + "blocking_issue_repo", + "organization", + "repository", + "sender" + ] + }, + "webhook-issue-dependencies-blocking-added": { + "title": "blocking issue added event", + "type": "object", + "properties": { + "action": { "type": "string", "enum": ["blocking_added"] }, + "blocked_issue_id": { + "description": "The ID of the blocked issue.", + "type": "number" + }, + "blocked_issue": { "$ref": "#/components/schemas/issue" }, + "blocked_issue_repo": { "$ref": "#/components/schemas/repository" }, + "blocking_issue_id": { + "description": "The ID of the blocking issue.", + "type": "number" + }, + "blocking_issue": { "$ref": "#/components/schemas/issue" }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "repository": { "$ref": "#/components/schemas/repository-webhooks" }, + "sender": { "$ref": "#/components/schemas/simple-user" } + }, + "required": [ + "action", + "blocked_issue_id", + "blocked_issue", + "blocked_issue_repo", + "blocking_issue_id", + "blocking_issue", + "organization", + "repository", + "sender" + ] + }, + "webhook-issue-dependencies-blocking-removed": { + "title": "blocking issue removed event", + "type": "object", + "properties": { + "action": { "type": "string", "enum": ["blocking_removed"] }, + "blocked_issue_id": { + "description": "The ID of the blocked issue.", + "type": "number" + }, + "blocked_issue": { "$ref": "#/components/schemas/issue" }, + "blocked_issue_repo": { "$ref": "#/components/schemas/repository" }, + "blocking_issue_id": { + "description": "The ID of the blocking issue.", + "type": "number" + }, + "blocking_issue": { "$ref": "#/components/schemas/issue" }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "repository": { "$ref": "#/components/schemas/repository-webhooks" }, + "sender": { "$ref": "#/components/schemas/simple-user" } + }, + "required": [ + "action", + "blocked_issue_id", + "blocked_issue", + "blocked_issue_repo", + "blocking_issue_id", + "blocking_issue", + "organization", + "repository", + "sender" + ] + }, "webhook-issues-assigned": { "title": "issues assigned event", "type": "object", @@ -39337,14 +40087,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -40086,14 +40836,16 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { + "$ref": "#/components/schemas/issue-field-value" + } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -40882,14 +41634,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -41602,14 +42354,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -42389,14 +43141,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -43090,14 +43842,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -43816,14 +44568,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -44514,14 +45266,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -45244,14 +45996,16 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { + "$ref": "#/components/schemas/issue-field-value" + } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -46305,14 +47059,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -46929,14 +47683,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -47638,14 +48392,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -48367,14 +49121,16 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { + "$ref": "#/components/schemas/issue-field-value" + } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -49586,14 +50342,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -50700,7 +51456,7 @@ "action": { "type": "string", "enum": ["deleted"] }, "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, "hook": { - "description": "The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, business, app, or GitHub Marketplace.", + "description": "The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, business, app, or GitHub Marketplace.", "type": "object", "properties": { "active": { "type": "boolean" }, @@ -50719,6 +51475,7 @@ }, "created_at": { "type": "string" }, "events": { + "description": "", "type": "array", "items": { "type": "string", @@ -51251,6 +52008,18 @@ "properties": { "organization_url": { "type": "string", "format": "uri" }, "role": { "type": "string" }, + "direct_membership": { + "type": "boolean", + "description": "Whether the user has direct membership in the organization.", + "examples": [true] + }, + "enterprise_teams_providing_indirect_membership": { + "type": "array", + "description": "The slugs of the enterprise teams providing the user with indirect membership in the organization.\nA limit of 100 enterprise team slugs is returned.", + "maxItems": 100, + "items": { "type": "string" }, + "examples": ["ent:team-one", "ent:team-two"] + }, "state": { "type": "string" }, "url": { "type": "string", "format": "uri" }, "user": { @@ -53409,6 +54178,17 @@ { "type": "null" }, { "$ref": "#/components/schemas/simple-user" } ] + }, + "state": { "type": "string", "enum": ["open", "closed"] }, + "latest_status_update": { + "anyOf": [ + { "type": "null" }, + { "$ref": "#/components/schemas/projects-v2-status-update" } + ] + }, + "is_template": { + "type": "boolean", + "description": "Whether this project is a template" } }, "required": [ @@ -53428,6 +54208,54 @@ "deleted_by" ] }, + "projects-v2-status-update": { + "title": "Projects v2 Status Update", + "description": "An status update belonging to a project", + "type": "object", + "properties": { + "id": { "type": "number" }, + "node_id": { "type": "string" }, + "project_node_id": { "type": "string" }, + "creator": { "$ref": "#/components/schemas/simple-user" }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": ["2022-04-28T12:00:00Z"] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": ["2022-04-28T12:00:00Z"] + }, + "status": { + "type": ["string", "null"], + "enum": [ + "INACTIVE", + "ON_TRACK", + "AT_RISK", + "OFF_TRACK", + "COMPLETE", + null + ] + }, + "start_date": { + "type": "string", + "format": "date", + "examples": ["2022-04-28"] + }, + "target_date": { + "type": "string", + "format": "date", + "examples": ["2022-04-28"] + }, + "body": { + "description": "Body of the status update", + "type": ["string", "null"], + "examples": ["The project is off to a great start!"] + } + }, + "required": ["id", "node_id", "created_at", "updated_at"] + }, "webhook-projects-v2-project-created": { "description": "A project was created", "type": "object", @@ -53766,8 +54594,10 @@ "properties": { "id": { "type": "string" }, "title": { "type": "string" }, + "title_html": { "type": "string" }, "duration": { "type": ["number", "null"] }, - "start_date": { "type": ["string", "null"] } + "start_date": { "type": ["string", "null"] }, + "completed": { "type": "boolean" } }, "required": ["id", "title"] }, @@ -53873,54 +54703,6 @@ "sender" ] }, - "projects-v2-status-update": { - "title": "Projects v2 Status Update", - "description": "An status update belonging to a project", - "type": "object", - "properties": { - "id": { "type": "number" }, - "node_id": { "type": "string" }, - "project_node_id": { "type": "string" }, - "creator": { "$ref": "#/components/schemas/simple-user" }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": ["2022-04-28T12:00:00Z"] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": ["2022-04-28T12:00:00Z"] - }, - "status": { - "type": ["string", "null"], - "enum": [ - "INACTIVE", - "ON_TRACK", - "AT_RISK", - "OFF_TRACK", - "COMPLETE", - null - ] - }, - "start_date": { - "type": "string", - "format": "date", - "examples": ["2022-04-28"] - }, - "target_date": { - "type": "string", - "format": "date", - "examples": ["2022-04-28"] - }, - "body": { - "description": "Body of the status update", - "type": ["string", "null"], - "examples": ["The project is off to a great start!"] - } - }, - "required": ["id", "node_id", "created_at", "updated_at"] - }, "webhook-projects-v2-status-update-deleted": { "title": "Projects v2 Status Update Deleted Event", "type": "object", @@ -76515,6 +77297,10 @@ "enum": ["dismissed", "approved", "changes_requested"] }, "submitted_at": { "type": "string", "format": "date-time" }, + "updated_at": { + "type": ["string", "null"], + "format": "date-time" + }, "user": { "title": "User", "type": ["object", "null"], @@ -78360,6 +79146,7 @@ "pull_request_url": { "type": "string", "format": "uri" }, "state": { "type": "string" }, "submitted_at": { "type": ["string", "null"], "format": "date-time" }, + "updated_at": { "type": ["string", "null"], "format": "date-time" }, "user": { "title": "User", "type": ["object", "null"], @@ -90600,7 +91387,8 @@ "node_id": { "type": "string" } }, "required": ["node_id", "comments"] - } + }, + "updated_at": { "type": ["string", "null"], "format": "date-time" } }, "required": ["action", "thread", "pull_request", "repository"] }, @@ -92590,7 +93378,8 @@ "node_id": { "type": "string" } }, "required": ["node_id", "comments"] - } + }, + "updated_at": { "type": ["string", "null"], "format": "date-time" } }, "required": ["action", "thread", "pull_request", "repository"] }, @@ -101382,6 +102171,7 @@ }, "body": { "type": ["string", "null"] }, "created_at": { "type": ["string", "null"], "format": "date-time" }, + "updated_at": { "type": ["string", "null"], "format": "date-time" }, "discussion_url": { "type": "string", "format": "uri" }, "draft": { "description": "Whether the release is a draft or published", @@ -101389,6 +102179,10 @@ }, "html_url": { "type": "string", "format": "uri" }, "id": { "type": "integer" }, + "immutable": { + "description": "Whether or not the release is immutable.", + "type": "boolean" + }, "name": { "type": ["string", "null"] }, "node_id": { "type": "string" }, "prerelease": { @@ -101450,10 +102244,12 @@ "draft", "author", "prerelease", + "immutable", "created_at", "published_at", "assets", "tarball_url", + "updated_at", "zipball_url", "body" ] @@ -101564,6 +102360,7 @@ "draft", "html_url", "id", + "immutable", "name", "node_id", "prerelease", @@ -101571,6 +102368,7 @@ "tag_name", "tarball_url", "target_commitish", + "updated_at", "upload_url", "url", "zipball_url" @@ -101724,6 +102522,10 @@ }, "html_url": { "type": "string", "format": "uri" }, "id": { "type": "integer" }, + "immutable": { + "description": "Whether or not the release is immutable.", + "type": "boolean" + }, "name": { "type": ["string", "null"] }, "node_id": { "type": "string" }, "prerelease": { @@ -101773,6 +102575,10 @@ "type": "string" }, "upload_url": { "type": "string", "format": "uri-template" }, + "updated_at": { + "type": ["string", "null"], + "format": "date-time" + }, "url": { "type": "string", "format": "uri" }, "zipball_url": { "type": ["string", "null"], "format": "uri" } } @@ -101816,10 +102622,12 @@ "name", "node_id", "prerelease", + "immutable", "published_at", "tag_name", "tarball_url", "target_commitish", + "updated_at", "upload_url", "url", "zipball_url" @@ -101955,6 +102763,10 @@ }, "html_url": { "type": "string", "format": "uri" }, "id": { "type": "integer" }, + "immutable": { + "description": "Whether or not the release is immutable.", + "type": "boolean" + }, "name": { "type": ["string", "null"] }, "node_id": { "type": "string" }, "prerelease": { @@ -101999,6 +102811,7 @@ "description": "Specifies the commitish value that determines where the Git tag is created from.", "type": "string" }, + "updated_at": { "type": ["string", "null"], "format": "date-time" }, "upload_url": { "type": "string", "format": "uri-template" }, "url": { "type": "string", "format": "uri" }, "zipball_url": { "type": ["string", "null"], "format": "uri" } @@ -103157,7 +103970,7 @@ "properties": { "actor_id": { "type": ["integer", "null"], - "description": "The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. If `actor_type` is `EnterpriseOwner`, `actor_id` is ignored. `OrganizationAdmin` and `EnterpriseOwner` are not applicable for personal repositories." + "description": "The ID of the actor that can bypass a ruleset. Required for `Integration`, `RepositoryRole`, and `Team` actor types. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. If `actor_type` is `EnterpriseOwner`, `actor_id` is ignored. `OrganizationAdmin` and `EnterpriseOwner` are not applicable for personal repositories." }, "actor_type": { "type": "string", @@ -103539,7 +104352,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -103826,7 +104639,7 @@ "type": "integer", "description": "The maximum amount of characters allowed in file paths.", "minimum": 1, - "maximum": 256 + "maximum": 32767 } }, "required": ["max_file_path_length"] @@ -106677,204 +107490,6 @@ "sub_issue" ] }, - "issue": { - "title": "Issue", - "description": "Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.", - "type": "object", - "properties": { - "id": { "type": "integer", "format": "int64" }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the issue", - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/repositories/42/issues/1"] - }, - "repository_url": { "type": "string", "format": "uri" }, - "labels_url": { "type": "string" }, - "comments_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "number": { - "description": "Number uniquely identifying the issue within its repository", - "type": "integer", - "examples": [42] - }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "examples": ["open"] - }, - "state_reason": { - "description": "The reason for the current state", - "type": ["string", "null"], - "enum": ["completed", "reopened", "not_planned", null], - "examples": ["not_planned"] - }, - "title": { - "description": "Title of the issue", - "type": "string", - "examples": ["Widget creation fails in Safari on OS X 10.8"] - }, - "body": { - "description": "Contents of the issue", - "type": ["string", "null"], - "examples": [ - "It looks like the new widget form is broken on Safari. When I try and create the widget, Safari crashes. This is reproducible on 10.8, but not 10.9. Maybe a browser bug?" - ] - }, - "user": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "labels": { - "description": "Labels to associate with this issue; pass one or more label names to replace the set of labels on this issue; send an empty array to clear all labels from the issue; note that the labels are silently dropped for users without push access to the repository", - "type": "array", - "items": { - "oneOf": [ - { "type": "string" }, - { - "type": "object", - "properties": { - "id": { "type": "integer", "format": "int64" }, - "node_id": { "type": "string" }, - "url": { "type": "string", "format": "uri" }, - "name": { "type": "string" }, - "description": { "type": ["string", "null"] }, - "color": { "type": ["string", "null"] }, - "default": { "type": "boolean" } - } - } - ] - }, - "examples": ["bug", "registration"] - }, - "assignee": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "assignees": { - "type": ["array", "null"], - "items": { "$ref": "#/components/schemas/simple-user" } - }, - "milestone": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/milestone" } - ] - }, - "locked": { "type": "boolean" }, - "active_lock_reason": { "type": ["string", "null"] }, - "comments": { "type": "integer" }, - "pull_request": { - "type": "object", - "properties": { - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "diff_url": { "type": ["string", "null"], "format": "uri" }, - "html_url": { "type": ["string", "null"], "format": "uri" }, - "patch_url": { "type": ["string", "null"], "format": "uri" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["diff_url", "html_url", "patch_url", "url"] - }, - "closed_at": { "type": ["string", "null"], "format": "date-time" }, - "created_at": { "type": "string", "format": "date-time" }, - "updated_at": { "type": "string", "format": "date-time" }, - "draft": { "type": "boolean" }, - "closed_by": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "body_html": { "type": "string" }, - "body_text": { "type": "string" }, - "timeline_url": { "type": "string", "format": "uri" }, - "type": { "$ref": "#/components/schemas/issue-type" }, - "repository": { "$ref": "#/components/schemas/repository" }, - "performed_via_github_app": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/integration" } - ] - }, - "author_association": { - "$ref": "#/components/schemas/author-association" - }, - "reactions": { "$ref": "#/components/schemas/reaction-rollup" }, - "sub_issues_summary": { - "$ref": "#/components/schemas/sub-issues-summary" - } - }, - "required": [ - "assignee", - "closed_at", - "comments", - "comments_url", - "events_url", - "html_url", - "id", - "node_id", - "labels", - "labels_url", - "milestone", - "number", - "repository_url", - "state", - "locked", - "title", - "url", - "user", - "author_association", - "created_at", - "updated_at" - ] - }, - "reaction-rollup": { - "title": "Reaction Rollup", - "type": "object", - "properties": { - "url": { "type": "string", "format": "uri" }, - "total_count": { "type": "integer" }, - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "laugh": { "type": "integer" }, - "confused": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "eyes": { "type": "integer" }, - "rocket": { "type": "integer" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] - }, - "sub-issues-summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] - }, "webhook-sub-issues-parent-issue-removed": { "title": "parent issue removed event", "type": "object", diff --git a/packages/openapi-webhooks/generated/ghes-3.13.json b/packages/openapi-webhooks/generated/ghes-3.13.json deleted file mode 100644 index 319435e..0000000 --- a/packages/openapi-webhooks/generated/ghes-3.13.json +++ /dev/null @@ -1,106329 +0,0 @@ -{ - "openapi": "3.1.0", - "info": { - "version": "0.0.0-development", - "title": "GitHub's official Webhooks OpenAPI spec + Octokit extension", - "description": "Webhooks OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs", - "license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" }, - "termsOfService": "https://docs.github.com/articles/github-terms-of-service", - "contact": { - "name": "Support", - "url": "https://github.com/octokit/openapi" - }, - "x-github-plan": "ghes", - "x-github-release": 3.13 - }, - "tags": [ - { - "name": "actions", - "description": "Endpoints to manage GitHub Actions using the REST API." - }, - { - "name": "activity", - "description": "Activity APIs provide access to notifications, subscriptions, and timelines." - }, - { - "name": "apps", - "description": "Information for integrations and installations." - }, - { - "name": "billing", - "description": "Monitor charges and usage from Actions and Packages." - }, - { - "name": "checks", - "description": "Rich interactions with checks run by your integrations." - }, - { - "name": "code-scanning", - "description": "Retrieve code scanning alerts from a repository." - }, - { - "name": "codes-of-conduct", - "description": "Insight into codes of conduct for your communities." - }, - { - "name": "emojis", - "description": "List emojis available to use on GitHub." - }, - { "name": "dependabot", "description": "Endpoints to manage Dependabot." }, - { - "name": "dependency-graph", - "description": "Endpoints to access Dependency Graph features." - }, - { "name": "gists", "description": "View, modify your gists." }, - { "name": "git", "description": "Raw Git functionality." }, - { "name": "gitignore", "description": "View gitignore templates" }, - { "name": "issues", "description": "Interact with GitHub Issues." }, - { "name": "licenses", "description": "View various OSS licenses." }, - { "name": "markdown", "description": "Render GitHub flavored markdown" }, - { - "name": "merge-queue", - "description": "Interact with GitHub Merge Queues." - }, - { - "name": "meta", - "description": "Endpoints that give information about the API." - }, - { "name": "migrations", "description": "Move projects to or from GitHub." }, - { - "name": "oidc", - "description": "Endpoints to manage GitHub OIDC configuration using the REST API." - }, - { "name": "orgs", "description": "Interact with GitHub Orgs." }, - { - "name": "packages", - "description": "Manage packages for authenticated users and organizations." - }, - { "name": "projects", "description": "Interact with GitHub Projects." }, - { "name": "pulls", "description": "Interact with GitHub Pull Requests." }, - { - "name": "rate-limit", - "description": "Check your current rate limit status" - }, - { - "name": "reactions", - "description": "Interact with reactions to various GitHub entities." - }, - { "name": "repos", "description": "Interact with GitHub Repos." }, - { "name": "search", "description": "Look for stuff on GitHub." }, - { - "name": "secret-scanning", - "description": "Retrieve secret scanning alerts from a repository." - }, - { "name": "teams", "description": "Interact with GitHub Teams." }, - { - "name": "users", - "description": "Interact with and view information about users and also current user." - }, - { - "name": "scim", - "description": "Provisioning of GitHub organization membership for SCIM-enabled providers." - }, - { "name": "enterprise-admin", "description": "Enterprise Administration" }, - { - "name": "oauth-authorizations", - "description": "OAuth Authorizations API" - }, - { - "name": "security-advisories", - "description": "Manage security advisories." - } - ], - "servers": [ - { - "url": "{protocol}://{hostname}/api/v3", - "variables": { - "hostname": { - "description": "Self-hosted Enterprise Server hostname", - "default": "HOSTNAME" - }, - "protocol": { - "description": "Self-hosted Enterprise Server protocol", - "default": "http" - } - } - } - ], - "externalDocs": { - "description": "GitHub Enterprise Developer Docs", - "url": "https://docs.github.com/enterprise-server@3.13/rest/" - }, - "webhooks": { - "branch-protection-configuration-disabled": { - "post": { - "summary": "This event occurs when there is a change to branch protection configurations for a repository.\nFor more information, see \"[About protected branches](https://docs.github.com/enterprise-server@3.13/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches).\"\nFor information about using the APIs to manage branch protection rules, see \"[Branch protection rule](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#branchprotectionrule)\" in the GraphQL documentation or \"[Branch protection](https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository permission.", - "description": "All branch protections were disabled for a repository.", - "operationId": "branch-protection-configuration/disabled", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#branch_protection_configuration" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-branch-protection-configuration-disabled" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "branch_protection_configuration", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "branch-protection-configuration-enabled": { - "post": { - "summary": "This event occurs when there is a change to branch protection configurations for a repository.\nFor more information, see \"[About protected branches](https://docs.github.com/enterprise-server@3.13/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches).\"\nFor information about using the APIs to manage branch protection rules, see \"[Branch protection rule](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#branchprotectionrule)\" in the GraphQL documentation or \"[Branch protection](https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository permission.", - "description": "All branch protections were enabled for a repository.", - "operationId": "branch-protection-configuration/enabled", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#branch_protection_configuration" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-branch-protection-configuration-enabled" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "branch_protection_configuration", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "branch-protection-rule-created": { - "post": { - "summary": "This event occurs when there is activity relating to branch protection rules. For more information, see \"[About protected branches](https://docs.github.com/enterprise-server@3.13/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches).\" For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#branchprotectionrule) or \"[Branch protection](https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository permission.", - "description": "A branch protection rule was created.", - "operationId": "branch-protection-rule/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#branch_protection_rule" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-branch-protection-rule-created" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "branch_protection_rule", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "branch-protection-rule-deleted": { - "post": { - "summary": "This event occurs when there is activity relating to branch protection rules. For more information, see \"[About protected branches](https://docs.github.com/enterprise-server@3.13/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches).\" For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#branchprotectionrule) or \"[Branch protection](https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository permission.", - "description": "A branch protection rule was deleted.", - "operationId": "branch-protection-rule/deleted", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#branch_protection_rule" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-branch-protection-rule-deleted" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "branch_protection_rule", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "branch-protection-rule-edited": { - "post": { - "summary": "This event occurs when there is activity relating to branch protection rules. For more information, see \"[About protected branches](https://docs.github.com/enterprise-server@3.13/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches).\" For information about the APIs to manage branch protection rules, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#branchprotectionrule) or \"[Branch protection](https://docs.github.com/enterprise-server@3.13/rest/branches/branch-protection)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository permission.", - "description": "A branch protection rule was edited.", - "operationId": "branch-protection-rule/edited", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#branch_protection_rule" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-branch-protection-rule-edited" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "branch_protection_rule", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "cache-sync": { - "post": { - "summary": "This event occurs when a Git ref has been successfully synced to a cache replica. For more information, see \"[About repository caching](https://docs.github.com/enterprise-server@3.13/admin/enterprise-management/caching-repositories/about-repository-caching).\"", - "operationId": "cache-sync", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#cache_sync" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-cache-sync" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "cache_sync", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "check-run-completed": { - "post": { - "summary": "This event occurs when there is activity relating to a check run. For information about check runs, see \"[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-checks-api).\" For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#checkrun) or \"[Check Runs](https://docs.github.com/enterprise-server@3.13/rest/checks/runs)\" in the REST API documentation.\n\nFor activity relating to check suites, use the `check-suite` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Checks\" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the \"Checks\" permission. GitHub Apps with write-level access for the \"Checks\" permission are automatically subscribed to this webhook event.\n\nRepository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories.\n\n> [!NOTE]\n> The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.", - "description": "A check run was completed, and a conclusion is available.", - "operationId": "check-run/completed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#check_run" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-check-run-completed" - }, - "examples": { - "default": { - "$ref": "#/components/examples/check-run-completed" - } - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "check_run", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "check-run-created": { - "post": { - "summary": "This event occurs when there is activity relating to a check run. For information about check runs, see \"[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-checks-api).\" For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#checkrun) or \"[Check Runs](https://docs.github.com/enterprise-server@3.13/rest/checks/runs)\" in the REST API documentation.\n\nFor activity relating to check suites, use the `check-suite` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Checks\" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the \"Checks\" permission. GitHub Apps with write-level access for the \"Checks\" permission are automatically subscribed to this webhook event.\n\nRepository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories.\n\n> [!NOTE]\n> The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.", - "description": "A new check run was created.", - "operationId": "check-run/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#check_run" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-check-run-created" - }, - "examples": { - "default": { "$ref": "#/components/examples/check-run-created" } - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "check_run", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "check-run-requested-action": { - "post": { - "summary": "This event occurs when there is activity relating to a check run. For information about check runs, see \"[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-checks-api).\" For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#checkrun) or \"[Check Runs](https://docs.github.com/enterprise-server@3.13/rest/checks/runs)\" in the REST API documentation.\n\nFor activity relating to check suites, use the `check-suite` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Checks\" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the \"Checks\" permission. GitHub Apps with write-level access for the \"Checks\" permission are automatically subscribed to this webhook event.\n\nRepository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories.\n\n> [!NOTE]\n> The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.", - "description": "A check run completed, and someone requested a followup action that your app provides. Only the GitHub App someone requests to perform an action will receive the `requested_action` payload. For more information, see \"[Creating CI tests with the Checks API](https://docs.github.com/enterprise-server@3.13/developers/apps/guides/creating-ci-tests-with-the-checks-api).\"", - "operationId": "check-run/requested-action", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#check_run" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-check-run-requested-action" - }, - "examples": { - "default": { - "$ref": "#/components/examples/check-run-requested-action" - } - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "check_run", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "check-run-rerequested": { - "post": { - "summary": "This event occurs when there is activity relating to a check run. For information about check runs, see \"[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-checks-api).\" For information about the APIs to manage check runs, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#checkrun) or \"[Check Runs](https://docs.github.com/enterprise-server@3.13/rest/checks/runs)\" in the REST API documentation.\n\nFor activity relating to check suites, use the `check-suite` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Checks\" repository permission. To receive the `rerequested` and `requested_action` event types, the app must have at least write-level access for the \"Checks\" permission. GitHub Apps with write-level access for the \"Checks\" permission are automatically subscribed to this webhook event.\n\nRepository and organization webhooks only receive payloads for the `created` and `completed` event types in repositories.\n\n> [!NOTE]\n> The API only looks for pushes in the repository where the check run was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.", - "description": "Someone requested to re-run a check run. Only the GitHub App that someone requests to re-run the check will receive the `rerequested` payload.", - "operationId": "check-run/rerequested", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#check_run" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-check-run-rerequested" - }, - "examples": { - "default": { - "$ref": "#/components/examples/check-run-rerequested" - } - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "check_run", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "check-suite-completed": { - "post": { - "summary": "This event occurs when there is activity relating to a check suite. For information about check suites, see \"[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-checks-api).\" For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#checksuite) or \"[Check Suites](https://docs.github.com/enterprise-server@3.13/rest/checks/suites)\" in the REST API documentation.\n\nFor activity relating to check runs, use the `check_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Checks\" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the \"Checks\" permission. GitHub Apps with write-level access for the \"Checks\" permission are automatically subscribed to this webhook event.\n\nRepository and organization webhooks only receive payloads for the `completed` event types in repositories.\n\n> [!NOTE]\n> The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.", - "description": "All check runs in a check suite have completed, and a conclusion is available.", - "operationId": "check-suite/completed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#check_suite" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-check-suite-completed" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "check_suite", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "check-suite-requested": { - "post": { - "summary": "This event occurs when there is activity relating to a check suite. For information about check suites, see \"[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-checks-api).\" For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#checksuite) or \"[Check Suites](https://docs.github.com/enterprise-server@3.13/rest/checks/suites)\" in the REST API documentation.\n\nFor activity relating to check runs, use the `check_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Checks\" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the \"Checks\" permission. GitHub Apps with write-level access for the \"Checks\" permission are automatically subscribed to this webhook event.\n\nRepository and organization webhooks only receive payloads for the `completed` event types in repositories.\n\n> [!NOTE]\n> The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.", - "description": "Someone requested to run a check suite. By default, check suites are automatically created when you create a check run. For more information, see [the GraphQL API documentation for creating a check run](https://docs.github.com/enterprise-server@3.13/graphql/reference/mutations#createcheckrun) or \"[Create a check run](https://docs.github.com/enterprise-server@3.13/rest/checks/runs#create-a-check-run)\" in the REST API documentation.", - "operationId": "check-suite/requested", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#check_suite" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-check-suite-requested" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "check_suite", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "check-suite-rerequested": { - "post": { - "summary": "This event occurs when there is activity relating to a check suite. For information about check suites, see \"[Getting started with the Checks API](https://docs.github.com/enterprise-server@3.13/rest/guides/getting-started-with-the-checks-api).\" For information about the APIs to manage check suites, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#checksuite) or \"[Check Suites](https://docs.github.com/enterprise-server@3.13/rest/checks/suites)\" in the REST API documentation.\n\nFor activity relating to check runs, use the `check_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Checks\" permission. To receive the `requested` and `rerequested` event types, the app must have at least write-level access for the \"Checks\" permission. GitHub Apps with write-level access for the \"Checks\" permission are automatically subscribed to this webhook event.\n\nRepository and organization webhooks only receive payloads for the `completed` event types in repositories.\n\n> [!NOTE]\n> The API only looks for pushes in the repository where the check suite was created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.", - "description": "Someone requested to re-run the check runs in a check suite. For more information, see [the GraphQL API documentation for creating a check suite](https://docs.github.com/enterprise-server@3.13/graphql/reference/mutations#createchecksuite) or \"[Create a check suite](https://docs.github.com/enterprise-server@3.13/rest/checks/suites#create-a-check-suite)\" in the REST API documentation.", - "operationId": "check-suite/rerequested", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#check_suite" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-check-suite-rerequested" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "check_suite", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "code-scanning-alert-appeared-in-branch": { - "post": { - "summary": "This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see \"[About code scanning](https://docs.github.com/enterprise-server@3.13/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)\" and \"[About code scanning alerts](https://docs.github.com/enterprise-server@3.13/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts).\" For information about the API to manage code scanning, see \"[Code scanning](https://docs.github.com/enterprise-server@3.13/rest/code-scanning)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Code scanning alerts\" repository permission.", - "description": "A previously created code scanning alert appeared in another branch. This can happen when a branch is merged into or created from a branch with a pre-existing code scanning alert.", - "operationId": "code-scanning-alert/appeared-in-branch", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#code_scanning_alert" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-code-scanning-alert-appeared-in-branch" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "code_scanning_alert", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "code-scanning-alert-closed-by-user": { - "post": { - "summary": "This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see \"[About code scanning](https://docs.github.com/enterprise-server@3.13/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)\" and \"[About code scanning alerts](https://docs.github.com/enterprise-server@3.13/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts).\" For information about the API to manage code scanning, see \"[Code scanning](https://docs.github.com/enterprise-server@3.13/rest/code-scanning)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Code scanning alerts\" repository permission.", - "description": "Someone closed a code scanning alert.", - "operationId": "code-scanning-alert/closed-by-user", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#code_scanning_alert" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-code-scanning-alert-closed-by-user" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "code_scanning_alert", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "code-scanning-alert-created": { - "post": { - "summary": "This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see \"[About code scanning](https://docs.github.com/enterprise-server@3.13/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)\" and \"[About code scanning alerts](https://docs.github.com/enterprise-server@3.13/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts).\" For information about the API to manage code scanning, see \"[Code scanning](https://docs.github.com/enterprise-server@3.13/rest/code-scanning)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Code scanning alerts\" repository permission.", - "description": "A code scanning alert was created in a repository.", - "operationId": "code-scanning-alert/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#code_scanning_alert" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-code-scanning-alert-created" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "code_scanning_alert", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "code-scanning-alert-fixed": { - "post": { - "summary": "This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see \"[About code scanning](https://docs.github.com/enterprise-server@3.13/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)\" and \"[About code scanning alerts](https://docs.github.com/enterprise-server@3.13/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts).\" For information about the API to manage code scanning, see \"[Code scanning](https://docs.github.com/enterprise-server@3.13/rest/code-scanning)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Code scanning alerts\" repository permission.", - "description": "A code scanning alert was fixed in a branch by a commit.", - "operationId": "code-scanning-alert/fixed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#code_scanning_alert" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-code-scanning-alert-fixed" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "code_scanning_alert", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "code-scanning-alert-reopened": { - "post": { - "summary": "This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see \"[About code scanning](https://docs.github.com/enterprise-server@3.13/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)\" and \"[About code scanning alerts](https://docs.github.com/enterprise-server@3.13/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts).\" For information about the API to manage code scanning, see \"[Code scanning](https://docs.github.com/enterprise-server@3.13/rest/code-scanning)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Code scanning alerts\" repository permission.", - "description": "A previously fixed code scanning alert reappeared in a branch.", - "operationId": "code-scanning-alert/reopened", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#code_scanning_alert" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-code-scanning-alert-reopened" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "code_scanning_alert", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "code-scanning-alert-reopened-by-user": { - "post": { - "summary": "This event occurs when there is activity relating to code scanning alerts in a repository. For more information, see \"[About code scanning](https://docs.github.com/enterprise-server@3.13/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning)\" and \"[About code scanning alerts](https://docs.github.com/enterprise-server@3.13/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts).\" For information about the API to manage code scanning, see \"[Code scanning](https://docs.github.com/enterprise-server@3.13/rest/code-scanning)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Code scanning alerts\" repository permission.", - "description": "Someone reopened a code scanning alert.", - "operationId": "code-scanning-alert/reopened-by-user", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#code_scanning_alert" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-code-scanning-alert-reopened-by-user" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "code_scanning_alert", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "commit-comment-created": { - "post": { - "summary": "This event occurs when there is activity relating to commit comments. For more information about commit comments, see \"[Commenting on a pull request](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request).\" For information about the APIs to manage commit comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#commitcomment) or \"[Commit comments](https://docs.github.com/enterprise-server@3.13/rest/commits/comments)\" in the REST API documentation.\n\nFor activity relating to comments on pull request reviews, use the `pull_request_review_comment` event. For activity relating to issue comments, use the `issue_comment` event. For activity relating to discussion comments, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", - "description": "Someone commented on a commit.", - "operationId": "commit-comment/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#commit_comment" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-commit-comment-created" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "commit_comment", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "create": { - "post": { - "summary": "This event occurs when a Git branch or tag is created.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.\n\n**Notes**:\n- This event will not occur when more than three tags are created at once.\n- Payloads are capped at 25 MB. If an event generates a larger payload, GitHub will not deliver a payload for that webhook event. This may happen, for example, if many branches or tags are pushed at once. We suggest monitoring your payload size to ensure delivery.", - "operationId": "create", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#create" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-create" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "create", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "delete": { - "post": { - "summary": "This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including\nbranch and tag deletions, use the [`push`](#push) webhook event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.\n\n> [!NOTE]\n> This event will not occur when more than three tags are deleted at once.", - "operationId": "delete", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#delete" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-delete" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "delete", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "dependabot-alert-auto-dismissed": { - "post": { - "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.13/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.13/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A Dependabot alert was automatically closed by a Dependabot auto-triage rule.", - "operationId": "dependabot-alert/auto-dismissed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#dependabot_alert" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-auto-dismissed" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "dependabot_alert", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "dependabot-alert-auto-reopened": { - "post": { - "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.13/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.13/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A Dependabot alert, that had been automatically closed by a Dependabot auto-triage rule, was automatically reopened because the alert metadata or rule changed.", - "operationId": "dependabot-alert/auto-reopened", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#dependabot_alert" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-auto-reopened" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "dependabot_alert", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "dependabot-alert-created": { - "post": { - "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.13/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.13/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A manifest file change introduced a vulnerable dependency, or a GitHub Security Advisory was published and an existing dependency was found to be vulnerable.", - "operationId": "dependabot-alert/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#dependabot_alert" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-created" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "dependabot_alert", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "dependabot-alert-dismissed": { - "post": { - "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.13/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.13/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A Dependabot alert was manually closed.", - "operationId": "dependabot-alert/dismissed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#dependabot_alert" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-dismissed" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "dependabot_alert", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "dependabot-alert-fixed": { - "post": { - "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.13/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.13/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A manifest file change removed a vulnerability.", - "operationId": "dependabot-alert/fixed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#dependabot_alert" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-fixed" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "dependabot_alert", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "dependabot-alert-reintroduced": { - "post": { - "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.13/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.13/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A manifest file change introduced a vulnerable dependency that had previously been fixed.", - "operationId": "dependabot-alert/reintroduced", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#dependabot_alert" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-reintroduced" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "dependabot_alert", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "dependabot-alert-reopened": { - "post": { - "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.13/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.13/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A Dependabot alert was manually reopened.", - "operationId": "dependabot-alert/reopened", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#dependabot_alert" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-reopened" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "dependabot_alert", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "deploy-key-created": { - "post": { - "summary": "This event occurs when there is activity relating to deploy keys. For more information, see \"[Managing deploy keys](https://docs.github.com/enterprise-server@3.13/developers/overview/managing-deploy-keys).\" For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#deploykey) or \"[Deploy keys](https://docs.github.com/enterprise-server@3.13/rest/deploy-keys)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deploy key was created.", - "operationId": "deploy-key/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#deploy_key" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-deploy-key-created" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "deploy_key", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "deploy-key-deleted": { - "post": { - "summary": "This event occurs when there is activity relating to deploy keys. For more information, see \"[Managing deploy keys](https://docs.github.com/enterprise-server@3.13/developers/overview/managing-deploy-keys).\" For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#deploykey) or \"[Deploy keys](https://docs.github.com/enterprise-server@3.13/rest/deploy-keys)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deploy key was deleted.", - "operationId": "deploy-key/deleted", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#deploy_key" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-deploy-key-deleted" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "deploy_key", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "deployment-created": { - "post": { - "summary": "This event occurs when there is activity relating to deployments. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.13/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.13/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment status, use the `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deployment was created.", - "operationId": "deployment/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#deployment" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-deployment-created" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "deployment", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "deployment-protection-rule-requested": { - "post": { - "summary": "This event occurs when there is activity relating to deployment protection rules. For more information, see \"[Using environments for deployment](https://docs.github.com/enterprise-server@3.13/actions/deployment/targeting-different-environments/using-environments-for-deployment#environment-protection-rules).\" For information about the API to manage deployment protection rules, see [the REST API documentation](https://docs.github.com/enterprise-server@3.13/rest/deployments/environments).\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deployment protection rule was requested for an environment.", - "operationId": "deployment-protection-rule/requested", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#deployment_protection_rule" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-deployment-protection-rule-requested" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "deployment_protection_rule", - "supported-webhook-types": ["app"] - } - } - }, - "deployment-review-approved": { - "post": { - "summary": "This event occurs when there is activity relating to deployment reviews. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.13/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.13/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deployment review was approved.", - "operationId": "deployment-review/approved", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#deployment_review" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-deployment-review-approved" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "deployment_review", - "supported-webhook-types": ["app"] - } - } - }, - "deployment-review-rejected": { - "post": { - "summary": "This event occurs when there is activity relating to deployment reviews. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.13/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.13/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deployment review was rejected.", - "operationId": "deployment-review/rejected", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#deployment_review" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-deployment-review-rejected" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "deployment_review", - "supported-webhook-types": ["app"] - } - } - }, - "deployment-review-requested": { - "post": { - "summary": "This event occurs when there is activity relating to deployment reviews. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.13/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.13/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deployment review was requested.", - "operationId": "deployment-review/requested", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#deployment_review" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-deployment-review-requested" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "deployment_review", - "supported-webhook-types": ["app"] - } - } - }, - "deployment-status-created": { - "post": { - "summary": "This event occurs when there is activity relating to deployment statuses. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.13/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.13/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation, use the `deployment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.\n\n> [!NOTE]\n> A webhook event is not fired for deployment statuses with an `inactive` state.", - "description": "A new deployment status was created.", - "operationId": "deployment-status/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#deployment_status" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-deployment-status-created" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "deployment_status", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "discussion-answered": { - "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A comment on the discussion was marked as the answer.", - "operationId": "discussion/answered", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#discussion" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-discussion-answered" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "discussion", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "discussion-category-changed": { - "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "The category of a discussion was changed.", - "operationId": "discussion/category-changed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#discussion" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-discussion-category-changed" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "discussion", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "discussion-closed": { - "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was closed.", - "operationId": "discussion/closed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#discussion" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "discussions", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.9.0", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-discussion-closed" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "discussion", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "discussion-comment-created": { - "post": { - "summary": "This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion).\n\nFor activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A comment on a discussion was created.", - "operationId": "discussion-comment/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#discussion_comment" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-discussion-comment-created" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "discussion_comment", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "discussion-comment-deleted": { - "post": { - "summary": "This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion).\n\nFor activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A comment on a discussion was deleted.", - "operationId": "discussion-comment/deleted", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#discussion_comment" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-discussion-comment-deleted" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "discussion_comment", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "discussion-comment-edited": { - "post": { - "summary": "This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion).\n\nFor activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A comment on a discussion was edited.", - "operationId": "discussion-comment/edited", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#discussion_comment" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-discussion-comment-edited" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "discussion_comment", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "discussion-created": { - "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was created.", - "operationId": "discussion/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#discussion" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-discussion-created" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "discussion", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "discussion-deleted": { - "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was deleted.", - "operationId": "discussion/deleted", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#discussion" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-discussion-deleted" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "discussion", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "discussion-edited": { - "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "The title or body on a discussion was edited, or the category of the discussion was changed.", - "operationId": "discussion/edited", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#discussion" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-discussion-edited" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "discussion", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "discussion-labeled": { - "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A label was added to a discussion.", - "operationId": "discussion/labeled", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#discussion" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-discussion-labeled" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "discussion", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "discussion-locked": { - "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was locked.", - "operationId": "discussion/locked", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#discussion" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-discussion-locked" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "discussion", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "discussion-pinned": { - "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was pinned.", - "operationId": "discussion/pinned", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#discussion" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-discussion-pinned" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "discussion", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "discussion-reopened": { - "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was reopened.", - "operationId": "discussion/reopened", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#discussion" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "discussions", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.9.0", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-discussion-reopened" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "discussion", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "discussion-transferred": { - "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was transferred to another repository.", - "operationId": "discussion/transferred", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#discussion" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-discussion-transferred" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "discussion", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "discussion-unanswered": { - "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A comment on the discussion was unmarked as the answer.", - "operationId": "discussion/unanswered", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#discussion" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-discussion-unanswered" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "discussion", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "discussion-unlabeled": { - "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A label was removed from a discussion.", - "operationId": "discussion/unlabeled", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#discussion" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-discussion-unlabeled" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "discussion", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "discussion-unlocked": { - "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was unlocked.", - "operationId": "discussion/unlocked", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#discussion" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-discussion-unlocked" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "discussion", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "discussion-unpinned": { - "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.13/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was unpinned.", - "operationId": "discussion/unpinned", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#discussion" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-discussion-unpinned" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "discussion", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "enterprise-anonymous-access-disabled": { - "post": { - "summary": "This event occurs when there is activity relating to anonymous Git read access in an enterprise. For more information, see \"[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.13/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access).\"", - "description": "Anonymous Git read access was disabled.", - "operationId": "enterprise/anonymous-access-disabled", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#enterprise" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-enterprise-anonymous-access-disabled" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "enterprise", - "supported-webhook-types": ["business"] - } - } - }, - "enterprise-anonymous-access-enabled": { - "post": { - "summary": "This event occurs when there is activity relating to anonymous Git read access in an enterprise. For more information, see \"[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.13/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access).\"", - "description": "Anonymous Git read access was enabled.", - "operationId": "enterprise/anonymous-access-enabled", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#enterprise" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-enterprise-anonymous-access-enabled" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "enterprise", - "supported-webhook-types": ["business"] - } - } - }, - "fork": { - "post": { - "summary": "This event occurs when someone forks a repository. For more information, see \"[Fork a repo](https://docs.github.com/enterprise-server@3.13/get-started/quickstart/fork-a-repo).\" For information about the API to manage forks, see \"[Forks](https://docs.github.com/enterprise-server@3.13/rest/repos/forks)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", - "operationId": "fork", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#fork" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-fork" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "fork", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] - } - } - }, - "github-app-authorization-revoked": { - "post": { - "summary": "This event occurs when a user revokes their authorization of a GitHub App. For more information, see \"[About apps](https://docs.github.com/enterprise-server@3.13/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the API to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.13/rest/apps)\" in the REST API documentation.\n\nA GitHub App receives this webhook by default and cannot unsubscribe from this event.\n\nAnyone can revoke their authorization of a GitHub App from their [GitHub account settings page](https://github.com/settings/apps/authorizations). Revoking the authorization of a GitHub App does not uninstall the GitHub App. You should program your GitHub App so that when it receives this webhook, it stops calling the API on behalf of the person who revoked the token. If your GitHub App continues to use a revoked access token, it will receive the `401 Bad Credentials` error. For details about requests with a user access token, which require GitHub App authorization, see \"[Authenticating with a GitHub App on behalf of a user](https://docs.github.com/enterprise-server@3.13/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-with-a-github-app-on-behalf-of-a-user).\"", - "description": "Someone revoked their authorization of a GitHub App.", - "operationId": "github-app-authorization/revoked", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#github_app_authorization" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-github-app-authorization-revoked" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "github_app_authorization", - "supported-webhook-types": ["app"] - } - } - }, - "gollum": { - "post": { - "summary": "This event occurs when someone creates or updates a wiki page. For more information, see \"[About wikis](https://docs.github.com/enterprise-server@3.13/communities/documenting-your-project-with-wikis/about-wikis).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", - "operationId": "gollum", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#gollum" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-gollum" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "gollum", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "installation-created": { - "post": { - "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.13/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.13/rest/apps)\" in the REST API documentation.", - "description": "Someone installed a GitHub App on a user or organization account.", - "operationId": "installation/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#installation" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-installation-created" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "installation", - "supported-webhook-types": ["app"] - } - } - }, - "installation-deleted": { - "post": { - "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.13/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.13/rest/apps)\" in the REST API documentation.", - "description": "Someone uninstalled a GitHub App from their user or organization account.", - "operationId": "installation/deleted", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#installation" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-installation-deleted" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "installation", - "supported-webhook-types": ["app"] - } - } - }, - "installation-new-permissions-accepted": { - "post": { - "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.13/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.13/rest/apps)\" in the REST API documentation.", - "description": "Someone granted new permissions to a GitHub App.", - "operationId": "installation/new-permissions-accepted", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#installation" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-installation-new-permissions-accepted" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "installation", - "supported-webhook-types": ["app"] - } - } - }, - "installation-repositories-added": { - "post": { - "summary": "This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.13/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.13/rest/apps)\" in the REST API documentation.", - "description": "A GitHub App installation was granted access to one or more repositories.", - "operationId": "installation-repositories/added", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#installation_repositories" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-installation-repositories-added" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "installation_repositories", - "supported-webhook-types": ["app"] - } - } - }, - "installation-repositories-removed": { - "post": { - "summary": "This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.13/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.13/rest/apps)\" in the REST API documentation.", - "description": "Access to one or more repositories was revoked for a GitHub App installation.", - "operationId": "installation-repositories/removed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#installation_repositories" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-installation-repositories-removed" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "installation_repositories", - "supported-webhook-types": ["app"] - } - } - }, - "installation-suspend": { - "post": { - "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.13/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.13/rest/apps)\" in the REST API documentation.", - "description": "Someone blocked access by a GitHub App to their user or organization account.", - "operationId": "installation/suspend", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#installation" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-installation-suspend" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "installation", - "supported-webhook-types": ["app"] - } - } - }, - "installation-target-renamed": { - "post": { - "summary": "This event occurs when there is activity relating to the user or organization account that a GitHub App is installed on. For more information, see \"[About apps](https://docs.github.com/enterprise-server@3.13/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.13/rest/apps)\" in the REST API documentation.", - "description": "Somebody renamed the user or organization account that a GitHub App is installed on.", - "operationId": "installation-target/renamed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#installation_target" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-installation-target-renamed" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "installation_target", - "supported-webhook-types": ["app"] - } - } - }, - "installation-unsuspend": { - "post": { - "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.13/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.13/rest/apps)\" in the REST API documentation.", - "description": "A GitHub App that was blocked from accessing a user or organization account was given access the account again.", - "operationId": "installation/unsuspend", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#installation" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-installation-unsuspend" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "installation", - "supported-webhook-types": ["app"] - } - } - }, - "issue-comment-created": { - "post": { - "summary": "This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see \"[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues)\" and \"[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issuecomment) or \"[Issue comments](https://docs.github.com/enterprise-server@3.13/rest/issues/comments)\" in the REST API documentation.\n\nFor activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see \"[Working with comments](https://docs.github.com/enterprise-server@3.13/rest/guides/working-with-comments).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A comment on an issue or pull request was created.", - "operationId": "issue-comment/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#issue_comment" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-issue-comment-created" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "issue_comment", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "issue-comment-deleted": { - "post": { - "summary": "This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see \"[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues)\" and \"[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issuecomment) or \"[Issue comments](https://docs.github.com/enterprise-server@3.13/rest/issues/comments)\" in the REST API documentation.\n\nFor activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see \"[Working with comments](https://docs.github.com/enterprise-server@3.13/rest/guides/working-with-comments).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A comment on an issue or pull request was deleted.", - "operationId": "issue-comment/deleted", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#issue_comment" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-issue-comment-deleted" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "issue_comment", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "issue-comment-edited": { - "post": { - "summary": "This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see \"[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues)\" and \"[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issuecomment) or \"[Issue comments](https://docs.github.com/enterprise-server@3.13/rest/issues/comments)\" in the REST API documentation.\n\nFor activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see \"[Working with comments](https://docs.github.com/enterprise-server@3.13/rest/guides/working-with-comments).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A comment on an issue or pull request was edited.", - "operationId": "issue-comment/edited", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#issue_comment" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-issue-comment-edited" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "issue_comment", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "issues-assigned": { - "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was assigned to a user.", - "operationId": "issues/assigned", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#issues" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-issues-assigned" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "issues", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "issues-closed": { - "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was closed.", - "operationId": "issues/closed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#issues" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-issues-closed" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "issues", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "issues-deleted": { - "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was deleted.", - "operationId": "issues/deleted", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#issues" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-issues-deleted" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "issues", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "issues-demilestoned": { - "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was removed from a milestone.", - "operationId": "issues/demilestoned", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#issues" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-issues-demilestoned" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "issues", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "issues-edited": { - "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "The title or body on an issue was edited.", - "operationId": "issues/edited", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#issues" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-issues-edited" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "issues", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "issues-labeled": { - "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A label was added to an issue.", - "operationId": "issues/labeled", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#issues" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-issues-labeled" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "issues", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "issues-locked": { - "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/enterprise-server@3.13/communities/moderating-comments-and-conversations/locking-conversations).\"", - "operationId": "issues/locked", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#issues" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-issues-locked" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "issues", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "issues-milestoned": { - "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was added to a milestone.", - "operationId": "issues/milestoned", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#issues" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-issues-milestoned" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "issues", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "issues-opened": { - "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was created. When a closed issue is reopened, the action will be `reopened` instead.", - "operationId": "issues/opened", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#issues" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-issues-opened" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "issues", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "issues-pinned": { - "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was pinned to a repository. For more information, see \"[Pinning an issue to your repository](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository).\"", - "operationId": "issues/pinned", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#issues" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-issues-pinned" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "issues", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "issues-reopened": { - "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A closed issue was reopened.", - "operationId": "issues/reopened", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#issues" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-issues-reopened" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "issues", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "issues-transferred": { - "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was transferred to another repository. For more information, see \"[Transferring an issue to another repository](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository).\"", - "operationId": "issues/transferred", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#issues" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-issues-transferred" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "issues", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "issues-unassigned": { - "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A user was unassigned from an issue.", - "operationId": "issues/unassigned", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#issues" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-issues-unassigned" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "issues", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "issues-unlabeled": { - "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A label was removed from an issue.", - "operationId": "issues/unlabeled", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#issues" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-issues-unlabeled" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "issues", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "issues-unlocked": { - "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/enterprise-server@3.13/communities/moderating-comments-and-conversations/locking-conversations).\"", - "operationId": "issues/unlocked", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#issues" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-issues-unlocked" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "issues", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "issues-unpinned": { - "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.13/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was unpinned from a repository. For more information, see \"[Pinning an issue to your repository](https://docs.github.com/enterprise-server@3.13/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository).\"", - "operationId": "issues/unpinned", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#issues" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-issues-unpinned" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "issues", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "label-created": { - "post": { - "summary": "This event occurs when there is activity relating to labels. For more information, see \"[Managing labels](https://docs.github.com/enterprise-server@3.13/issues/using-labels-and-milestones-to-track-work/managing-labels).\" For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#label) or \"[Labels](https://docs.github.com/enterprise-server@3.13/rest/issues/labels)\" in the REST API documentation.\n\nIf you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "A label was created.", - "operationId": "label/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#label" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-label-created" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "label", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "label-deleted": { - "post": { - "summary": "This event occurs when there is activity relating to labels. For more information, see \"[Managing labels](https://docs.github.com/enterprise-server@3.13/issues/using-labels-and-milestones-to-track-work/managing-labels).\" For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#label) or \"[Labels](https://docs.github.com/enterprise-server@3.13/rest/issues/labels)\" in the REST API documentation.\n\nIf you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "A label was deleted.", - "operationId": "label/deleted", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#label" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-label-deleted" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "label", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "label-edited": { - "post": { - "summary": "This event occurs when there is activity relating to labels. For more information, see \"[Managing labels](https://docs.github.com/enterprise-server@3.13/issues/using-labels-and-milestones-to-track-work/managing-labels).\" For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#label) or \"[Labels](https://docs.github.com/enterprise-server@3.13/rest/issues/labels)\" in the REST API documentation.\n\nIf you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "A label's name, description, or color was changed.", - "operationId": "label/edited", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#label" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-label-edited" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "label", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "member-added": { - "post": { - "summary": "This event occurs when there is activity relating to collaborators in a repository. For more information, see \"[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.13/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization).\" For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repositorycollaboratorconnection) or \"[Collaborators](https://docs.github.com/enterprise-server@3.13/rest/collaborators/collaborators)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "A GitHub user accepted an invitation to a repository.", - "operationId": "member/added", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#member" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-member-added" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "member", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] - } - } - }, - "member-edited": { - "post": { - "summary": "This event occurs when there is activity relating to collaborators in a repository. For more information, see \"[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.13/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization).\" For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repositorycollaboratorconnection) or \"[Collaborators](https://docs.github.com/enterprise-server@3.13/rest/collaborators/collaborators)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "Permissions were changed for a collaborator on a repository.", - "operationId": "member/edited", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#member" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-member-edited" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "member", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] - } - } - }, - "member-removed": { - "post": { - "summary": "This event occurs when there is activity relating to collaborators in a repository. For more information, see \"[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.13/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization).\" For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repositorycollaboratorconnection) or \"[Collaborators](https://docs.github.com/enterprise-server@3.13/rest/collaborators/collaborators)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "A collaborator was removed from a repository.", - "operationId": "member/removed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#member" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-member-removed" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "member", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] - } - } - }, - "membership-added": { - "post": { - "summary": "This event occurs when there is activity relating to team membership. For more information, see \"[About teams](https://docs.github.com/enterprise-server@3.13/organizations/organizing-members-into-teams/about-teams).\" For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#team) or \"[Team members](https://docs.github.com/enterprise-server@3.13/rest/teams/members)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "An organization member was added to a team.", - "operationId": "membership/added", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#membership" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-membership-added" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "membership", - "supported-webhook-types": ["organization", "business", "app"] - } - } - }, - "membership-removed": { - "post": { - "summary": "This event occurs when there is activity relating to team membership. For more information, see \"[About teams](https://docs.github.com/enterprise-server@3.13/organizations/organizing-members-into-teams/about-teams).\" For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#team) or \"[Team members](https://docs.github.com/enterprise-server@3.13/rest/teams/members)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "An organization member was removed from a team.", - "operationId": "membership/removed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#membership" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-membership-removed" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "membership", - "supported-webhook-types": ["organization", "business", "app"] - } - } - }, - "meta-deleted": { - "post": { - "summary": "This event occurs when there is activity relating to a webhook itself.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Meta\" app permission.", - "description": "The webhook was deleted.", - "operationId": "meta/deleted", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#meta" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-meta-deleted" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "meta", - "supported-webhook-types": [ - "marketplace", - "business", - "repository", - "organization", - "app" - ] - } - } - }, - "milestone-closed": { - "post": { - "summary": "This event occurs when there is activity relating to milestones. For more information, see \"[About milestones](https://docs.github.com/enterprise-server@3.13/issues/using-labels-and-milestones-to-track-work/about-milestones).\" For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#milestone) or \"[Milestones](https://docs.github.com/enterprise-server@3.13/rest/issues/milestones)\" in the REST API documentation.\n\nIf you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", - "description": "A milestone was closed.", - "operationId": "milestone/closed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#milestone" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-milestone-closed" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "milestone", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "milestone-created": { - "post": { - "summary": "This event occurs when there is activity relating to milestones. For more information, see \"[About milestones](https://docs.github.com/enterprise-server@3.13/issues/using-labels-and-milestones-to-track-work/about-milestones).\" For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#milestone) or \"[Milestones](https://docs.github.com/enterprise-server@3.13/rest/issues/milestones)\" in the REST API documentation.\n\nIf you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", - "description": "A milestone was created.", - "operationId": "milestone/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#milestone" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-milestone-created" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "milestone", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "milestone-deleted": { - "post": { - "summary": "This event occurs when there is activity relating to milestones. For more information, see \"[About milestones](https://docs.github.com/enterprise-server@3.13/issues/using-labels-and-milestones-to-track-work/about-milestones).\" For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#milestone) or \"[Milestones](https://docs.github.com/enterprise-server@3.13/rest/issues/milestones)\" in the REST API documentation.\n\nIf you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", - "description": "A milestone was deleted.", - "operationId": "milestone/deleted", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#milestone" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-milestone-deleted" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "milestone", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "milestone-edited": { - "post": { - "summary": "This event occurs when there is activity relating to milestones. For more information, see \"[About milestones](https://docs.github.com/enterprise-server@3.13/issues/using-labels-and-milestones-to-track-work/about-milestones).\" For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#milestone) or \"[Milestones](https://docs.github.com/enterprise-server@3.13/rest/issues/milestones)\" in the REST API documentation.\n\nIf you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", - "description": "A milestone was edited.", - "operationId": "milestone/edited", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#milestone" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-milestone-edited" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "milestone", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "milestone-opened": { - "post": { - "summary": "This event occurs when there is activity relating to milestones. For more information, see \"[About milestones](https://docs.github.com/enterprise-server@3.13/issues/using-labels-and-milestones-to-track-work/about-milestones).\" For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#milestone) or \"[Milestones](https://docs.github.com/enterprise-server@3.13/rest/issues/milestones)\" in the REST API documentation.\n\nIf you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", - "description": "A milestone was opened.", - "operationId": "milestone/opened", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#milestone" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-milestone-opened" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "milestone", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "organization-deleted": { - "post": { - "summary": "This event occurs when there is activity relating to an organization and its members. For more information, see \"[About organizations](https://docs.github.com/enterprise-server@3.13/organizations/collaborating-with-groups-in-organizations/about-organizations).\" For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#organization) or \"[Organizations](https://docs.github.com/enterprise-server@3.13/rest/orgs)\" in the REST API documentation.\n\nIf you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "An organization was deleted.", - "operationId": "organization/deleted", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#organization" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-organization-deleted" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "organization", - "supported-webhook-types": ["organization", "business", "app"] - } - } - }, - "organization-member-added": { - "post": { - "summary": "This event occurs when there is activity relating to an organization and its members. For more information, see \"[About organizations](https://docs.github.com/enterprise-server@3.13/organizations/collaborating-with-groups-in-organizations/about-organizations).\" For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#organization) or \"[Organizations](https://docs.github.com/enterprise-server@3.13/rest/orgs)\" in the REST API documentation.\n\nIf you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "A member accepted an invitation to join an organization.", - "operationId": "organization/member-added", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#organization" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-organization-member-added" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "organization", - "supported-webhook-types": ["organization", "business", "app"] - } - } - }, - "organization-member-invited": { - "post": { - "summary": "This event occurs when there is activity relating to an organization and its members. For more information, see \"[About organizations](https://docs.github.com/enterprise-server@3.13/organizations/collaborating-with-groups-in-organizations/about-organizations).\" For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#organization) or \"[Organizations](https://docs.github.com/enterprise-server@3.13/rest/orgs)\" in the REST API documentation.\n\nIf you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "A member was invited to join the organization.", - "operationId": "organization/member-invited", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#organization" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-organization-member-invited" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "organization", - "supported-webhook-types": ["organization", "business", "app"] - } - } - }, - "organization-member-removed": { - "post": { - "summary": "This event occurs when there is activity relating to an organization and its members. For more information, see \"[About organizations](https://docs.github.com/enterprise-server@3.13/organizations/collaborating-with-groups-in-organizations/about-organizations).\" For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#organization) or \"[Organizations](https://docs.github.com/enterprise-server@3.13/rest/orgs)\" in the REST API documentation.\n\nIf you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "A member was removed from the organization.", - "operationId": "organization/member-removed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#organization" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-organization-member-removed" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "organization", - "supported-webhook-types": ["organization", "business", "app"] - } - } - }, - "organization-renamed": { - "post": { - "summary": "This event occurs when there is activity relating to an organization and its members. For more information, see \"[About organizations](https://docs.github.com/enterprise-server@3.13/organizations/collaborating-with-groups-in-organizations/about-organizations).\" For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#organization) or \"[Organizations](https://docs.github.com/enterprise-server@3.13/rest/orgs)\" in the REST API documentation.\n\nIf you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "The name of an organization was changed.", - "operationId": "organization/renamed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#organization" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-organization-renamed" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "organization", - "supported-webhook-types": ["organization", "business", "app"] - } - } - }, - "package-published": { - "post": { - "summary": "This event occurs when there is activity relating to GitHub Packages. For more information, see \"[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.13/packages/learn-github-packages/introduction-to-github-packages).\" For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#package) or \"[Packages](https://docs.github.com/enterprise-server@3.13/rest/packages)\" in the REST API documentation.\n\nTo install this event on a GitHub App, the app must have at least read-level access for the \"Packages\" repository permission.", - "description": "A package was published to a registry.", - "operationId": "package/published", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#package" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-package-published" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "package", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "package-updated": { - "post": { - "summary": "This event occurs when there is activity relating to GitHub Packages. For more information, see \"[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.13/packages/learn-github-packages/introduction-to-github-packages).\" For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#package) or \"[Packages](https://docs.github.com/enterprise-server@3.13/rest/packages)\" in the REST API documentation.\n\nTo install this event on a GitHub App, the app must have at least read-level access for the \"Packages\" repository permission.", - "description": "A previously published package was updated.", - "operationId": "package/updated", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#package" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-package-updated" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "package", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "page-build": { - "post": { - "summary": "This event occurs when there is an attempted build of a GitHub Pages site. This event occurs regardless of whether the build is successful. For more information, see \"[Configuring a publishing source for your GitHub Pages site](https://docs.github.com/enterprise-server@3.13/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site).\" For information about the API to manage GitHub Pages, see \"[Pages](https://docs.github.com/enterprise-server@3.13/rest/pages)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pages\" repository permission.", - "operationId": "page-build", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#page_build" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-page-build" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "page_build", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "personal-access-token-request-approved": { - "post": { - "summary": "This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see \"[Creating a personal access token](https://docs.github.com/enterprise-server@3.13/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Personal access token requests\" organization permission.", - "description": "A fine-grained personal access token request was approved.", - "operationId": "personal-access-token-request/approved", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#personal_access_token_request" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "personal_access_token_request", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "integration", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-personal-access-token-request-approved" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "personal_access_token_request", - "supported-webhook-types": ["app", "organization"] - } - } - }, - "personal-access-token-request-cancelled": { - "post": { - "summary": "This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see \"[Creating a personal access token](https://docs.github.com/enterprise-server@3.13/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Personal access token requests\" organization permission.", - "description": "A fine-grained personal access token request was cancelled by the requester.", - "operationId": "personal-access-token-request/cancelled", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#personal_access_token_request" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "personal_access_token_request", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "integration", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-personal-access-token-request-cancelled" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "personal_access_token_request", - "supported-webhook-types": ["app", "organization"] - } - } - }, - "personal-access-token-request-created": { - "post": { - "summary": "This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see \"[Creating a personal access token](https://docs.github.com/enterprise-server@3.13/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Personal access token requests\" organization permission.", - "description": "A fine-grained personal access token request was created.", - "operationId": "personal-access-token-request/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#personal_access_token_request" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "personal_access_token_request", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "integration", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-personal-access-token-request-created" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "personal_access_token_request", - "supported-webhook-types": ["app", "organization"] - } - } - }, - "personal-access-token-request-denied": { - "post": { - "summary": "This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see \"[Creating a personal access token](https://docs.github.com/enterprise-server@3.13/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Personal access token requests\" organization permission.", - "description": "A fine-grained personal access token request was denied.", - "operationId": "personal-access-token-request/denied", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#personal_access_token_request" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "personal_access_token_request", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "integration", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-personal-access-token-request-denied" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "personal_access_token_request", - "supported-webhook-types": ["app", "organization"] - } - } - }, - "ping": { - "post": { - "summary": "This event occurs when you create a new webhook. The ping event is a confirmation from GitHub that you configured the webhook correctly.", - "operationId": "ping", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#ping" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-ping" }, - "examples": { - "default": { "$ref": "#/components/examples/ping" } - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "ping", - "supported-webhook-types": [ - "repository", - "organization", - "app", - "business", - "marketplace" - ] - } - } - }, - "project-card-converted": { - "post": { - "summary": "This event occurs when there is activity relating to a card on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", - "description": "A note in a project (classic) was converted to an issue.", - "operationId": "project-card/converted", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#project_card" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-project-card-converted" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "project_card", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "project-card-created": { - "post": { - "summary": "This event occurs when there is activity relating to a card on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", - "description": "A card was added to a project (classic).", - "operationId": "project-card/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#project_card" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-project-card-created" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "project_card", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "project-card-deleted": { - "post": { - "summary": "This event occurs when there is activity relating to a card on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", - "description": "A card on a project (classic) was deleted.", - "operationId": "project-card/deleted", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#project_card" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-project-card-deleted" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "project_card", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "project-card-edited": { - "post": { - "summary": "This event occurs when there is activity relating to a card on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", - "description": "A note on a project (classic) was edited.", - "operationId": "project-card/edited", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#project_card" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-project-card-edited" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "project_card", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "project-card-moved": { - "post": { - "summary": "This event occurs when there is activity relating to a card on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a column on a project (classic), use the `project` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", - "description": "A card on a project (classic) was moved to another column or to another position in its column.", - "operationId": "project-card/moved", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#project_card" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-project-card-moved" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "project_card", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "project-closed": { - "post": { - "summary": "This event occurs when there is activity relating to a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", - "description": "A project (classic) was closed.", - "operationId": "project/closed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#project" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-project-closed" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "project", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "project-column-created": { - "post": { - "summary": "This event occurs when there is activity relating to a column on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", - "description": "A column was added to a project (classic).", - "operationId": "project-column/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#project_column" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-project-column-created" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "project_column", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "project-column-deleted": { - "post": { - "summary": "This event occurs when there is activity relating to a column on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", - "description": "A column was deleted from a project (classic).", - "operationId": "project-column/deleted", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#project_column" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-project-column-deleted" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "project_column", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "project-column-edited": { - "post": { - "summary": "This event occurs when there is activity relating to a column on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", - "description": "The name of a column on a project (classic) was changed.", - "operationId": "project-column/edited", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#project_column" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-project-column-edited" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "project_column", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "project-column-moved": { - "post": { - "summary": "This event occurs when there is activity relating to a column on a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a project (classic) or a card on a project (classic), use the `project` and `project_card` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", - "description": "A column was moved to a new position on a project (classic).", - "operationId": "project-column/moved", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#project_column" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-project-column-moved" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "project_column", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "project-created": { - "post": { - "summary": "This event occurs when there is activity relating to a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", - "description": "A project (classic) was created.", - "operationId": "project/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#project" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-project-created" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "project", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "project-deleted": { - "post": { - "summary": "This event occurs when there is activity relating to a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", - "description": "A project (classic) was deleted.", - "operationId": "project/deleted", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#project" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-project-deleted" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "project", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "project-edited": { - "post": { - "summary": "This event occurs when there is activity relating to a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", - "description": "The name or description of a project (classic) was changed.", - "operationId": "project/edited", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#project" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-project-edited" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "project", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "project-reopened": { - "post": { - "summary": "This event occurs when there is activity relating to a project (classic). For more information, see \"[About projects (classic)](https://docs.github.com/enterprise-server@3.13/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards).\" For information about the API to manage classic projects, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#project) or \"[Projects (classic)](https://docs.github.com/enterprise-server@3.13/rest/projects)\" in the REST API documentation.\n\nFor activity relating to a card or column on a project (classic), use the `project_card` and `project_column` event.\n\nThis event relates to projects (classic) only. For activity relating to the new Projects experience, use the `projects_v2` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" repository or organization permission.", - "description": "A project (classic) was closed.", - "operationId": "project/reopened", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#project" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-project-reopened" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "project", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "projects-v2-closed": { - "post": { - "summary": "This event occurs when there is activity relating to an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#projectv2).\n\nFor activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "A project in the organization was closed.", - "operationId": "projects-v2/closed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#projects_v2" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "project-v2", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-projects-v2-project-closed" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "projects_v2", - "supported-webhook-types": ["organization"] - } - } - }, - "projects-v2-created": { - "post": { - "summary": "This event occurs when there is activity relating to an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#projectv2).\n\nFor activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "A project in the organization was created.", - "operationId": "projects-v2/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#projects_v2" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "project-v2", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-projects-v2-project-created" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "projects_v2", - "supported-webhook-types": ["organization"] - } - } - }, - "projects-v2-deleted": { - "post": { - "summary": "This event occurs when there is activity relating to an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#projectv2).\n\nFor activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "A project in the organization was deleted.", - "operationId": "projects-v2/deleted", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#projects_v2" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "project-v2", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-projects-v2-project-deleted" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "projects_v2", - "supported-webhook-types": ["organization"] - } - } - }, - "projects-v2-edited": { - "post": { - "summary": "This event occurs when there is activity relating to an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#projectv2).\n\nFor activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "The title, description, or README of a project in the organization was changed.", - "operationId": "projects-v2/edited", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#projects_v2" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "project-v2", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-projects-v2-project-edited" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "projects_v2", - "supported-webhook-types": ["organization"] - } - } - }, - "projects-v2-item-archived": { - "post": { - "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "An item on an organization project was archived. For more information, see \"[Archiving items from your project](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project).\"", - "operationId": "projects-v2-item/archived", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#projects_v2_item" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "project-v2-item", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-projects-v2-item-archived" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "projects_v2_item", - "supported-webhook-types": ["organization"] - } - } - }, - "projects-v2-item-converted": { - "post": { - "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "A draft issue in an organization project was converted to an issue.", - "operationId": "projects-v2-item/converted", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#projects_v2_item" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "project-v2-item", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-projects-v2-item-converted" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "projects_v2_item", - "supported-webhook-types": ["organization"] - } - } - }, - "projects-v2-item-created": { - "post": { - "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "An item was added to a project in the organization.", - "operationId": "projects-v2-item/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#projects_v2_item" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "project-v2-item", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-projects-v2-item-created" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "projects_v2_item", - "supported-webhook-types": ["organization"] - } - } - }, - "projects-v2-item-deleted": { - "post": { - "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "An item was deleted from a project in the organization.", - "operationId": "projects-v2-item/deleted", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#projects_v2_item" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "project-v2-item", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-projects-v2-item-deleted" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "projects_v2_item", - "supported-webhook-types": ["organization"] - } - } - }, - "projects-v2-item-edited": { - "post": { - "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "The values or state of an item in an organization project were changed. For example, the value of a field was updated, the body of a draft issue was changed, or a draft issue was converted to an issue.", - "operationId": "projects-v2-item/edited", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#projects_v2_item" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "project-v2-item", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-projects-v2-item-edited" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "projects_v2_item", - "supported-webhook-types": ["organization"] - } - } - }, - "projects-v2-item-reordered": { - "post": { - "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "The position of an item in an organization project was changed. For example, an item was moved above or below another item in the table or board layout.", - "operationId": "projects-v2-item/reordered", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#projects_v2_item" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "project-v2-item", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-projects-v2-item-reordered" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "projects_v2_item", - "supported-webhook-types": ["organization"] - } - } - }, - "projects-v2-item-restored": { - "post": { - "summary": "This event occurs when there is activity relating to an item on an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#projectv2item).\n\nFor activity relating to a project (instead of an item on a project), use the `projects_v2` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "An archived item on an organization project was restored from the archive. For more information, see \"[Archiving items from your project](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project).\"", - "operationId": "projects-v2-item/restored", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#projects_v2_item" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "project-v2-item", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-projects-v2-item-restored" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "projects_v2_item", - "supported-webhook-types": ["organization"] - } - } - }, - "projects-v2-reopened": { - "post": { - "summary": "This event occurs when there is activity relating to an organization-level project. For more information, see \"[About Projects](https://docs.github.com/enterprise-server@3.13/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects).\" For information about the Projects API, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#projectv2).\n\nFor activity relating to a item on a project, use the `projects_v2_item` event. For activity relating to Projects (classic), use the `project`, `project_card`, and `project_column` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Projects\" organization permission.\n\n> [!NOTE]\n> Webhook events for projects are currently in public preview and subject to change. To share feedback about projects webhooks with GitHub, see the [Projects webhook feedback discussion](https://github.com/orgs/community/discussions/17405).", - "description": "A project in the organization was reopened.", - "operationId": "projects-v2/reopened", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#projects_v2" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "project-v2", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-projects-v2-project-reopened" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "projects_v2", - "supported-webhook-types": ["organization"] - } - } - }, - "public": { - "post": { - "summary": "This event occurs when repository visibility changes from private to public. For more information, see \"[Setting repository visibility](https://docs.github.com/enterprise-server@3.13/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "operationId": "public", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#public" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-public" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "public", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "pull-request-assigned": { - "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A pull request was assigned to a user.", - "operationId": "pull-request/assigned", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#pull_request" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-assigned" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "pull_request", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "pull-request-auto-merge-disabled": { - "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "Auto merge was disabled for a pull request. For more information, see \"[Automatically merging a pull request](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request).\"", - "operationId": "pull-request/auto-merge-disabled", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#pull_request" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-auto-merge-disabled" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "pull_request", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "pull-request-auto-merge-enabled": { - "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "Auto merge was enabled for a pull request. For more information, see \"[Automatically merging a pull request](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request).\"", - "operationId": "pull-request/auto-merge-enabled", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#pull_request" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-auto-merge-enabled" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "pull_request", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "pull-request-closed": { - "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A pull request was closed. If `merged` is false in the webhook payload, the pull request was closed with unmerged commits. If `merged` is true in the webhook payload, the pull request was merged.", - "operationId": "pull-request/closed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#pull_request" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-closed" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "pull_request", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "pull-request-converted-to-draft": { - "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A pull request was converted to a draft. For more information, see \"[Changing the stage of a pull request](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request).\"", - "operationId": "pull-request/converted-to-draft", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#pull_request" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-converted-to-draft" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "pull_request", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "pull-request-demilestoned": { - "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A pull request was removed from a milestone.", - "operationId": "pull-request/demilestoned", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#pull_request" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-demilestoned" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "pull_request", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "pull-request-edited": { - "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "The title or body of a pull request was edited, or the base branch of a pull request was changed.", - "operationId": "pull-request/edited", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#pull_request" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-edited" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "pull_request", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "pull-request-labeled": { - "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A label was added to a pull request.", - "operationId": "pull-request/labeled", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#pull_request" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-labeled" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "pull_request", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "pull-request-locked": { - "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "Conversation on a pull request was locked. For more information, see \"[Locking conversations](https://docs.github.com/enterprise-server@3.13/communities/moderating-comments-and-conversations/locking-conversations).\"", - "operationId": "pull-request/locked", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#pull_request" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-locked" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "pull_request", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "pull-request-milestoned": { - "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A pull request was added to a milestone.", - "operationId": "pull-request/milestoned", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#pull_request" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-milestoned" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "pull_request", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "pull-request-opened": { - "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A pull request was created", - "operationId": "pull-request/opened", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#pull_request" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-opened" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "pull_request", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "pull-request-ready-for-review": { - "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A draft pull request was marked as ready for review. For more information, see \"[Changing the stage of a pull request](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request).\"", - "operationId": "pull-request/ready-for-review", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#pull_request" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-ready-for-review" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "pull_request", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "pull-request-reopened": { - "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A previously closed pull request was reopened.", - "operationId": "pull-request/reopened", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#pull_request" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-reopened" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "pull_request", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "pull-request-review-comment-created": { - "post": { - "summary": "This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see \"[Commenting on a pull request](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request).\" For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequestreviewcomment) or \"[Pull request review comments](https://docs.github.com/enterprise-server@3.13/rest/pulls/comments)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A comment on a pull request diff was created.", - "operationId": "pull-request-review-comment/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#pull_request_review_comment" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-review-comment-created" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "pull_request_review_comment", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "pull-request-review-comment-deleted": { - "post": { - "summary": "This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see \"[Commenting on a pull request](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request).\" For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequestreviewcomment) or \"[Pull request review comments](https://docs.github.com/enterprise-server@3.13/rest/pulls/comments)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A comment on a pull request diff was deleted.", - "operationId": "pull-request-review-comment/deleted", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#pull_request_review_comment" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-review-comment-deleted" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "pull_request_review_comment", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "pull-request-review-comment-edited": { - "post": { - "summary": "This event occurs when there is activity relating to a pull request review comment. A pull request review comment is a comment on a pull request's diff. For more information, see \"[Commenting on a pull request](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request).\" For information about the APIs to manage pull request review comments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequestreviewcomment) or \"[Pull request review comments](https://docs.github.com/enterprise-server@3.13/rest/pulls/comments)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request comments, or pull request review threads, use the `pull_request_review`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "The content of a comment on a pull request diff was changed.", - "operationId": "pull-request-review-comment/edited", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#pull_request_review_comment" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-review-comment-edited" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "pull_request_review_comment", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "pull-request-review-dismissed": { - "post": { - "summary": "This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see \"[About pull request reviews](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews).\" For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequestreview) or \"[Pull request reviews](https://docs.github.com/enterprise-server@3.13/rest/pulls/reviews)\" in the REST API documentation.\n\nFor activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A review on a pull request was dismissed.", - "operationId": "pull-request-review/dismissed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#pull_request_review" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-review-dismissed" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "pull_request_review", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "pull-request-review-edited": { - "post": { - "summary": "This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see \"[About pull request reviews](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews).\" For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequestreview) or \"[Pull request reviews](https://docs.github.com/enterprise-server@3.13/rest/pulls/reviews)\" in the REST API documentation.\n\nFor activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "The body comment on a pull request review was edited.", - "operationId": "pull-request-review/edited", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#pull_request_review" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-review-edited" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "pull_request_review", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "pull-request-review-request-removed": { - "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A request for review by a person or team was removed from a pull request.", - "operationId": "pull-request/review-request-removed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#pull_request" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-review-request-removed" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "pull_request", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "pull-request-review-requested": { - "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "Review by a person or team was requested for a pull request. For more information, see \"[Requesting a pull request review](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/requesting-a-pull-request-review).\"", - "operationId": "pull-request/review-requested", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#pull_request" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-review-requested" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "pull_request", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "pull-request-review-submitted": { - "post": { - "summary": "This event occurs when there is activity relating to a pull request review. A pull request review is a group of pull request review comments in addition to a body comment and a state. For more information, see \"[About pull request reviews](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews).\" For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequestreview) or \"[Pull request reviews](https://docs.github.com/enterprise-server@3.13/rest/pulls/reviews)\" in the REST API documentation.\n\nFor activity related to pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A review on a pull request was submitted.", - "operationId": "pull-request-review/submitted", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#pull_request_review" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-review-submitted" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "pull_request_review", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "pull-request-review-thread-resolved": { - "post": { - "summary": "This event occurs when there is activity relating to a comment thread on a pull request. For more information, see \"[About pull request reviews](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews).\" For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequestreviewthread) or \"[Pull request review comments](https://docs.github.com/enterprise-server@3.13/rest/pulls/comments)\" in the REST API documentation.\n\nFor activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A comment thread on a pull request was marked as resolved.", - "operationId": "pull-request-review-thread/resolved", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#pull_request_review_thread" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-review-thread-resolved" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "pull_request_review_thread", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "pull-request-review-thread-unresolved": { - "post": { - "summary": "This event occurs when there is activity relating to a comment thread on a pull request. For more information, see \"[About pull request reviews](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews).\" For information about the APIs to manage pull request reviews, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequestreviewthread) or \"[Pull request review comments](https://docs.github.com/enterprise-server@3.13/rest/pulls/comments)\" in the REST API documentation.\n\nFor activity related to pull request review comments, pull request comments, or pull request reviews, use the `pull_request_review_comment`, `issue_comment`, or `pull_request_review` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A previously resolved comment thread on a pull request was marked as unresolved.", - "operationId": "pull-request-review-thread/unresolved", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#pull_request_review_thread" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-review-thread-unresolved" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "pull_request_review_thread", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "pull-request-synchronize": { - "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A pull request's head branch was updated. For example, the head branch was updated from the base branch or new commits were pushed to the head branch.", - "operationId": "pull-request/synchronize", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#pull_request" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-synchronize" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "pull_request", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "pull-request-unassigned": { - "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A user was unassigned from a pull request.", - "operationId": "pull-request/unassigned", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#pull_request" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-unassigned" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "pull_request", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "pull-request-unlabeled": { - "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "A label was removed from a pull request.", - "operationId": "pull-request/unlabeled", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#pull_request" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-unlabeled" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "pull_request", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "pull-request-unlocked": { - "post": { - "summary": "This event occurs when there is activity on a pull request. For more information, see \"[About pull requests](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage pull requests, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#pullrequest) or \"[Pulls](https://docs.github.com/enterprise-server@3.13/rest/pulls/pulls)\" in the REST API documentation.\n\nFor activity related to pull request reviews, pull request review comments, pull request comments, or pull request review threads, use the `pull_request_review`, `pull_request_review_comment`, `issue_comment`, or `pull_request_review_thread` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Pull requests\" repository permission.", - "description": "Conversation on a pull request was unlocked. For more information, see \"[Locking conversations](https://docs.github.com/enterprise-server@3.13/communities/moderating-comments-and-conversations/locking-conversations).\"", - "operationId": "pull-request/unlocked", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#pull_request" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-pull-request-unlocked" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "pull_request", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "push": { - "post": { - "summary": "This event occurs when there is a push to a repository branch. This includes when a commit is pushed, when a commit tag is pushed,\nwhen a branch is deleted, when a tag is deleted, or when a repository is created from a template. To subscribe to only branch\nand tag deletions, use the [`delete`](#delete) webhook event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.\n\n> [!NOTE]\n> Events will not be created if more than 5000 branches are pushed at once. Events will not be created for tags when more than three tags are pushed at once.", - "operationId": "push", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#push" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-push" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "push", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "registry-package-published": { - "post": { - "summary": "This event occurs when there is activity relating to GitHub Packages. For more information, see \"[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.13/packages/learn-github-packages/introduction-to-github-packages).\" For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#package) or \"[Packages](https://docs.github.com/enterprise-server@3.13/rest/packages)\" in the REST API documentation.\n\nTo install this event on a GitHub App, the app must have at least read-level access for the \"Packages\" repository permission.\n\n> [!NOTE]\n> GitHub recommends that you use the newer `package` event instead.", - "description": "A package was published to a registry.", - "operationId": "registry-package/published", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#registry_package" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-registry-package-published" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "registry_package", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "registry-package-updated": { - "post": { - "summary": "This event occurs when there is activity relating to GitHub Packages. For more information, see \"[Introduction to GitHub Packages](https://docs.github.com/enterprise-server@3.13/packages/learn-github-packages/introduction-to-github-packages).\" For information about the APIs to manage GitHub Packages, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#package) or \"[Packages](https://docs.github.com/enterprise-server@3.13/rest/packages)\" in the REST API documentation.\n\nTo install this event on a GitHub App, the app must have at least read-level access for the \"Packages\" repository permission.\n\n> [!NOTE]\n> GitHub recommends that you use the newer `package` event instead.", - "description": "A package that was previously published to a registry was updated.", - "operationId": "registry-package/updated", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#registry_package" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-registry-package-updated" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "registry_package", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "release-created": { - "post": { - "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/enterprise-server@3.13/repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#release) or \"[Releases](https://docs.github.com/enterprise-server@3.13/rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", - "description": "A draft was saved, or a release or pre-release was published without previously being saved as a draft.", - "operationId": "release/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#release" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-release-created" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "release", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "release-deleted": { - "post": { - "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/enterprise-server@3.13/repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#release) or \"[Releases](https://docs.github.com/enterprise-server@3.13/rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", - "description": "A release, pre-release, or draft release was deleted.", - "operationId": "release/deleted", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#release" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-release-deleted" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "release", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "release-edited": { - "post": { - "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/enterprise-server@3.13/repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#release) or \"[Releases](https://docs.github.com/enterprise-server@3.13/rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", - "description": "The details of a release, pre-release, or draft release were edited. For more information, see \"[Managing releases in a repository](https://docs.github.com/enterprise-server@3.13/repositories/releasing-projects-on-github/managing-releases-in-a-repository#editing-a-release).\"", - "operationId": "release/edited", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#release" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-release-edited" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "release", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "release-prereleased": { - "post": { - "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/enterprise-server@3.13/repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#release) or \"[Releases](https://docs.github.com/enterprise-server@3.13/rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", - "description": "A release was created and identified as a pre-release. A pre-release is a release that is not ready for production and may be unstable.", - "operationId": "release/prereleased", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#release" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-release-prereleased" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "release", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "release-published": { - "post": { - "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/enterprise-server@3.13/repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#release) or \"[Releases](https://docs.github.com/enterprise-server@3.13/rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", - "description": "A release, pre-release, or draft of a release was published.", - "operationId": "release/published", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#release" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-release-published" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "release", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "release-released": { - "post": { - "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/enterprise-server@3.13/repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#release) or \"[Releases](https://docs.github.com/enterprise-server@3.13/rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", - "description": "A release was published, or a pre-release was changed to a release.", - "operationId": "release/released", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#release" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-release-released" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "release", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "release-unpublished": { - "post": { - "summary": "This event occurs when there is activity relating to releases. For more information, see \"[About releases](https://docs.github.com/enterprise-server@3.13/repositories/releasing-projects-on-github/about-releases).\" For information about the APIs to manage releases, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#release) or \"[Releases](https://docs.github.com/enterprise-server@3.13/rest/releases)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", - "description": "A release or pre-release was unpublished.", - "operationId": "release/unpublished", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#release" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-release-unpublished" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "release", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "repository-anonymous-access-disabled": { - "post": { - "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-server@3.13/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-server@3.13/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "Someone disabled anonymous Git read access to the repository. For more information, see \"[Enabling anonymous Git read access for a repository](/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/enabling-anonymous-git-read-access-for-a-repository).\"", - "operationId": "repository/anonymous-access-disabled", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#repository" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-repository-anonymous-access-disabled" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "repository", - "supported-webhook-types": [ - "app", - "business", - "organization", - "repository" - ] - } - } - }, - "repository-anonymous-access-enabled": { - "post": { - "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-server@3.13/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-server@3.13/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "Someone enabled anonymous Git read access to the repository. For more information, see \"[Enabling anonymous Git read access for a repository](/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/enabling-anonymous-git-read-access-for-a-repository).\"", - "operationId": "repository/anonymous-access-enabled", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#repository" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-repository-anonymous-access-enabled" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "repository", - "supported-webhook-types": [ - "app", - "business", - "organization", - "repository" - ] - } - } - }, - "repository-archived": { - "post": { - "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-server@3.13/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-server@3.13/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "A repository was archived.", - "operationId": "repository/archived", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#repository" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-repository-archived" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "repository", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] - } - } - }, - "repository-created": { - "post": { - "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-server@3.13/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-server@3.13/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "A repository was created.", - "operationId": "repository/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#repository" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-repository-created" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "repository", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] - } - } - }, - "repository-deleted": { - "post": { - "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-server@3.13/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-server@3.13/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "A repository was deleted. GitHub Apps and repository webhooks will not receive this event.", - "operationId": "repository/deleted", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#repository" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-repository-deleted" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "repository", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] - } - } - }, - "repository-dispatch-sample.collected": { - "post": { - "summary": "This event occurs when a GitHub App sends a `POST` request to `/repos/{owner}/{repo}/dispatches`. For more information, see [the REST API documentation for creating a repository dispatch event](https://docs.github.com/enterprise-server@3.13/rest/repos/repos#create-a-repository-dispatch-event). In the payload, the `action` will be the `event_type` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", - "operationId": "repository-dispatch/sample.collected", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#repository_dispatch" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-repository-dispatch-sample" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "repository_dispatch", - "supported-webhook-types": ["app"] - } - } - }, - "repository-edited": { - "post": { - "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-server@3.13/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-server@3.13/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "The topics, default branch, description, or homepage of a repository was changed.", - "operationId": "repository/edited", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#repository" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-repository-edited" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "repository", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] - } - } - }, - "repository-privatized": { - "post": { - "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-server@3.13/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-server@3.13/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "The visibility of a repository was changed to `private`.", - "operationId": "repository/privatized", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#repository" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-repository-privatized" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "repository", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] - } - } - }, - "repository-publicized": { - "post": { - "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-server@3.13/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-server@3.13/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "The visibility of a repository was changed to `public`.", - "operationId": "repository/publicized", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#repository" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-repository-publicized" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "repository", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] - } - } - }, - "repository-renamed": { - "post": { - "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-server@3.13/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-server@3.13/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "The name of a repository was changed.", - "operationId": "repository/renamed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#repository" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-repository-renamed" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "repository", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] - } - } - }, - "repository-ruleset-created": { - "post": { - "summary": "This event occurs when there is activity relating to repository rulesets.\nFor more information about repository rulesets, see \"[Managing rulesets](https://docs.github.com/enterprise-server@3.13/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets).\"\nFor more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repositoryruleset) in the GraphQL documentation or \"[Repository rules](https://docs.github.com/enterprise-server@3.13/rest/repos/rules)\" and \"[Organization rules](https://docs.github.com/enterprise-server@3.13/rest/orgs/rules) in the REST API documentation.\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository or organization permission.", - "description": "A repository ruleset was created.", - "operationId": "repository-ruleset/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#repository_ruleset" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-repository-ruleset-created" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "repository_ruleset", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "repository-ruleset-deleted": { - "post": { - "summary": "This event occurs when there is activity relating to repository rulesets.\nFor more information about repository rulesets, see \"[Managing rulesets](https://docs.github.com/enterprise-server@3.13/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets).\"\nFor more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repositoryruleset) in the GraphQL documentation or \"[Repository rules](https://docs.github.com/enterprise-server@3.13/rest/repos/rules)\" and \"[Organization rules](https://docs.github.com/enterprise-server@3.13/rest/orgs/rules) in the REST API documentation.\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository or organization permission.", - "description": "A repository ruleset was deleted.", - "operationId": "repository-ruleset/deleted", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#repository_ruleset" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-repository-ruleset-deleted" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "repository_ruleset", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "repository-ruleset-edited": { - "post": { - "summary": "This event occurs when there is activity relating to repository rulesets.\nFor more information about repository rulesets, see \"[Managing rulesets](https://docs.github.com/enterprise-server@3.13/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets).\"\nFor more information on managing rulesets via the APIs, see [Repository ruleset](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repositoryruleset) in the GraphQL documentation or \"[Repository rules](https://docs.github.com/enterprise-server@3.13/rest/repos/rules)\" and \"[Organization rules](https://docs.github.com/enterprise-server@3.13/rest/orgs/rules) in the REST API documentation.\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository or organization permission.", - "description": "A repository ruleset was edited.", - "operationId": "repository-ruleset/edited", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#repository_ruleset" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-repository-ruleset-edited" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "repository_ruleset", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "repository-transferred": { - "post": { - "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-server@3.13/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-server@3.13/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "Ownership of the repository was transferred to a user or organization account. This event is only sent to the account where the ownership is transferred. To receive the `repository.transferred` event, the new owner account must have the GitHub App installed, and the App must be subscribed to \"Repository\" events.", - "operationId": "repository/transferred", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#repository" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-repository-transferred" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "repository", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] - } - } - }, - "repository-unarchived": { - "post": { - "summary": "This event occurs when there is activity relating to repositories. For more information, see \"[About repositories](https://docs.github.com/enterprise-server@3.13/repositories/creating-and-managing-repositories/about-repositories).\" For information about the APIs to manage repositories, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#repository) or \"[Repositories](https://docs.github.com/enterprise-server@3.13/rest/repos)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "A previously archived repository was unarchived.", - "operationId": "repository/unarchived", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#repository" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-repository-unarchived" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "repository", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] - } - } - }, - "repository-vulnerability-alert-create": { - "post": { - "summary": "This event occurs when there is activity relating to a security vulnerability alert in a repository.\n\n> [!WARNING]\n> **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead.", - "description": "A repository vulnerability alert was created.", - "operationId": "repository-vulnerability-alert/create", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#repository_vulnerability_alert" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-repository-vulnerability-alert-create" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "repository_vulnerability_alert", - "supported-webhook-types": ["repository", "organization"] - } - } - }, - "repository-vulnerability-alert-dismiss": { - "post": { - "summary": "This event occurs when there is activity relating to a security vulnerability alert in a repository.\n\n> [!WARNING]\n> **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead.", - "description": "A repository vulnerability alert was dismissed.", - "operationId": "repository-vulnerability-alert/dismiss", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#repository_vulnerability_alert" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-repository-vulnerability-alert-dismiss" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "repository_vulnerability_alert", - "supported-webhook-types": ["repository", "organization"] - } - } - }, - "repository-vulnerability-alert-reopen": { - "post": { - "summary": "This event occurs when there is activity relating to a security vulnerability alert in a repository.\n\n> [!WARNING]\n> **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead.", - "description": "A previously dismissed or resolved repository vulnerability alert was reopened.", - "operationId": "repository-vulnerability-alert/reopen", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#repository_vulnerability_alert" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-repository-vulnerability-alert-reopen" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "repository_vulnerability_alert", - "supported-webhook-types": ["repository", "organization"] - } - } - }, - "repository-vulnerability-alert-resolve": { - "post": { - "summary": "This event occurs when there is activity relating to a security vulnerability alert in a repository.\n\n> [!WARNING]\n> **Closing down notice:** This event is closing down. Use the `dependabot_alert` event instead.", - "description": "A repository vulnerability alert was marked as resolved.", - "operationId": "repository-vulnerability-alert/resolve", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#repository_vulnerability_alert" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-repository-vulnerability-alert-resolve" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "repository_vulnerability_alert", - "supported-webhook-types": ["repository", "organization"] - } - } - }, - "secret-scanning-alert-created": { - "post": { - "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-server@3.13/code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/enterprise-server@3.13/rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", - "description": "A secret scanning alert was created.", - "operationId": "secret-scanning-alert/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#secret_scanning_alert" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-secret-scanning-alert-created" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "secret_scanning_alert", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "secret-scanning-alert-location-created": { - "post": { - "summary": "This event occurs when there is activity relating to the locations of a secret in a secret scanning alert.\n\nFor more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-server@3.13/code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/enterprise-server@3.13/rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alerts, use the `secret_scanning_alert` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", - "description": "A new instance of a previously detected secret was detected in a repository, and the location of the secret was added to the existing alert.", - "operationId": "secret-scanning-alert-location/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#secret_scanning_alert_location" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-secret-scanning-alert-location-created" - }, - "examples": { - "default": { - "$ref": "#/components/examples/secret-scanning-alert-location-created" - } - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "webhooks", - "subcategory": "secret_scanning_alert_location", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "secret-scanning-alert-reopened": { - "post": { - "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-server@3.13/code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/enterprise-server@3.13/rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", - "description": "A previously closed secret scanning alert was reopened.", - "operationId": "secret-scanning-alert/reopened", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#secret_scanning_alert" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-secret-scanning-alert-reopened" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "secret_scanning_alert", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "secret-scanning-alert-resolved": { - "post": { - "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-server@3.13/code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/enterprise-server@3.13/rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", - "description": "A secret scanning alert was closed.", - "operationId": "secret-scanning-alert/resolved", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#secret_scanning_alert" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-secret-scanning-alert-resolved" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "secret_scanning_alert", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "secret-scanning-alert-validated": { - "post": { - "summary": "This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"[About secret scanning](https://docs.github.com/enterprise-server@3.13/code-security/secret-scanning/about-secret-scanning).\" For information about the API to manage secret scanning alerts, see \"[Secret scanning](https://docs.github.com/enterprise-server@3.13/rest/secret-scanning)\" in the REST API documentation.\n\nFor activity relating to secret scanning alert locations, use the `secret_scanning_alert_location` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.", - "description": "A secret scanning alert was validated.", - "operationId": "secret-scanning-alert/validated", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#secret_scanning_alert" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-secret-scanning-alert-validated" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "secret_scanning_alert", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "security-advisory-published": { - "post": { - "summary": "This event occurs when there is activity relating to a global security advisory that was reviewed by GitHub. A GitHub-reviewed global security advisory provides information about security vulnerabilities or malware that have been mapped to packages in ecosystems we support. For more information about global security advisories, see \"[About global security advisories](https://docs.github.com/enterprise-server@3.13/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-global-security-advisories).\" For information about the API to manage security advisories, see [the REST API documentation](https://docs.github.com/enterprise-server@3.13/rest/security-advisories/global-advisories) or [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#securityadvisory).\n\nGitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.13/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\"", - "description": "A security advisory was published to the GitHub community.", - "operationId": "security-advisory/published", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#security_advisory" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-security-advisory-published" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "security_advisory", - "supported-webhook-types": ["app"] - } - } - }, - "security-advisory-updated": { - "post": { - "summary": "This event occurs when there is activity relating to a global security advisory that was reviewed by GitHub. A GitHub-reviewed global security advisory provides information about security vulnerabilities or malware that have been mapped to packages in ecosystems we support. For more information about global security advisories, see \"[About global security advisories](https://docs.github.com/enterprise-server@3.13/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-global-security-advisories).\" For information about the API to manage security advisories, see [the REST API documentation](https://docs.github.com/enterprise-server@3.13/rest/security-advisories/global-advisories) or [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#securityadvisory).\n\nGitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.13/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\"", - "description": "The metadata or description of a security advisory was changed.", - "operationId": "security-advisory/updated", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#security_advisory" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-security-advisory-updated" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "security_advisory", - "supported-webhook-types": ["app"] - } - } - }, - "security-advisory-withdrawn": { - "post": { - "summary": "This event occurs when there is activity relating to a global security advisory that was reviewed by GitHub. A GitHub-reviewed global security advisory provides information about security vulnerabilities or malware that have been mapped to packages in ecosystems we support. For more information about global security advisories, see \"[About global security advisories](https://docs.github.com/enterprise-server@3.13/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-global-security-advisories).\" For information about the API to manage security advisories, see [the REST API documentation](https://docs.github.com/enterprise-server@3.13/rest/security-advisories/global-advisories) or [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#securityadvisory).\n\nGitHub Dependabot alerts are also powered by the security advisory dataset. For more information, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.13/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\"", - "description": "A previously published security advisory was withdrawn.", - "operationId": "security-advisory/withdrawn", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#security_advisory" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-security-advisory-withdrawn" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "security_advisory", - "supported-webhook-types": ["app"] - } - } - }, - "security-and-analysis": { - "post": { - "summary": "This event occurs when code security and analysis features are enabled or disabled for a repository. For more information, see \"[GitHub security features](https://docs.github.com/enterprise-server@3.13/code-security/getting-started/github-security-features).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Administration\" repository permission.", - "operationId": "security-and-analysis", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#security_and_analysis" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-security-and-analysis" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "security_and_analysis", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "sponsorship-cancelled": { - "post": { - "summary": "This event occurs when there is activity relating to a sponsorship listing. For more information, see \"[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.13/sponsors/getting-started-with-github-sponsors/about-github-sponsors).\" For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#sponsorship).\n\nYou can only create a sponsorship webhook on GitHub.com. For more information, see \"[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.13/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account).\"", - "description": "A sponsorship was cancelled and the last billing cycle has ended.\n\nThis event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships.", - "operationId": "sponsorship/cancelled", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#sponsorship" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-sponsorship-cancelled" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "sponsorship", - "supported-webhook-types": ["sponsors_listing"] - } - } - }, - "sponsorship-created": { - "post": { - "summary": "This event occurs when there is activity relating to a sponsorship listing. For more information, see \"[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.13/sponsors/getting-started-with-github-sponsors/about-github-sponsors).\" For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#sponsorship).\n\nYou can only create a sponsorship webhook on GitHub.com. For more information, see \"[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.13/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account).\"", - "description": "A sponsor created a sponsorship for a sponsored account. This event occurs once the payment is successfully processed.", - "operationId": "sponsorship/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#sponsorship" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-sponsorship-created" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "sponsorship", - "supported-webhook-types": ["sponsors_listing"] - } - } - }, - "sponsorship-edited": { - "post": { - "summary": "This event occurs when there is activity relating to a sponsorship listing. For more information, see \"[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.13/sponsors/getting-started-with-github-sponsors/about-github-sponsors).\" For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#sponsorship).\n\nYou can only create a sponsorship webhook on GitHub.com. For more information, see \"[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.13/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account).\"", - "description": "A monthly sponsor changed who can see their sponsorship. If you recognize your sponsors publicly, you may want to update your sponsor recognition to reflect the change when this event occurs.", - "operationId": "sponsorship/edited", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#sponsorship" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-sponsorship-edited" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "sponsorship", - "supported-webhook-types": ["sponsors_listing"] - } - } - }, - "sponsorship-pending-cancellation": { - "post": { - "summary": "This event occurs when there is activity relating to a sponsorship listing. For more information, see \"[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.13/sponsors/getting-started-with-github-sponsors/about-github-sponsors).\" For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#sponsorship).\n\nYou can only create a sponsorship webhook on GitHub.com. For more information, see \"[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.13/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account).\"", - "description": "A sponsor scheduled a cancellation for their sponsorship. The cancellation will become effective on their next billing date.\n\nThis event is only sent when a recurring (monthly) sponsorship is cancelled; it is not sent for one-time sponsorships.", - "operationId": "sponsorship/pending-cancellation", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#sponsorship" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-sponsorship-pending-cancellation" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "sponsorship", - "supported-webhook-types": ["sponsors_listing"] - } - } - }, - "sponsorship-pending-tier-change": { - "post": { - "summary": "This event occurs when there is activity relating to a sponsorship listing. For more information, see \"[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.13/sponsors/getting-started-with-github-sponsors/about-github-sponsors).\" For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#sponsorship).\n\nYou can only create a sponsorship webhook on GitHub.com. For more information, see \"[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.13/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account).\"", - "description": "A sponsor scheduled a downgrade to a lower sponsorship tier. The new tier will become effective on their next billing date.", - "operationId": "sponsorship/pending-tier-change", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#sponsorship" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-sponsorship-pending-tier-change" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "sponsorship", - "supported-webhook-types": ["sponsors_listing"] - } - } - }, - "sponsorship-tier-changed": { - "post": { - "summary": "This event occurs when there is activity relating to a sponsorship listing. For more information, see \"[About GitHub Sponsors](https://docs.github.com/enterprise-server@3.13/sponsors/getting-started-with-github-sponsors/about-github-sponsors).\" For information about the API to manage sponsors, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#sponsorship).\n\nYou can only create a sponsorship webhook on GitHub.com. For more information, see \"[Configuring webhooks for events in your sponsored account](https://docs.github.com/enterprise-server@3.13/sponsors/integrating-with-github-sponsors/configuring-webhooks-for-events-in-your-sponsored-account).\"", - "description": "A sponsor changed the tier of their sponsorship and the change has taken effect. If a sponsor upgraded their tier, the change took effect immediately. If a sponsor downgraded their tier, the change took effect at the beginning of the sponsor's next billing cycle.", - "operationId": "sponsorship/tier-changed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#sponsorship" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-sponsorship-tier-changed" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "sponsorship", - "supported-webhook-types": ["sponsors_listing"] - } - } - }, - "star-created": { - "post": { - "summary": "This event occurs when there is activity relating to repository stars. For more information about stars, see \"[Saving repositories with stars](https://docs.github.com/enterprise-server@3.13/get-started/exploring-projects-on-github/saving-repositories-with-stars).\" For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#starredrepositoryconnection) or \"[Starring](https://docs.github.com/enterprise-server@3.13/rest/activity/starring)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "Someone starred a repository.", - "operationId": "star/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#star" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-star-created" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "star", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "star-deleted": { - "post": { - "summary": "This event occurs when there is activity relating to repository stars. For more information about stars, see \"[Saving repositories with stars](https://docs.github.com/enterprise-server@3.13/get-started/exploring-projects-on-github/saving-repositories-with-stars).\" For information about the APIs to manage stars, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#starredrepositoryconnection) or \"[Starring](https://docs.github.com/enterprise-server@3.13/rest/activity/starring)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "Someone unstarred the repository.", - "operationId": "star/deleted", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#star" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-star-deleted" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "star", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "status": { - "post": { - "summary": "This event occurs when the status of a Git commit changes. For example, commits can be marked as `error`, `failure`, `pending`, or `success`. For more information, see \"[About status checks](https://docs.github.com/enterprise-server@3.13/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/about-status-checks).\" For information about the APIs to manage commit statuses, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#status) or \"[Commit statuses](https://docs.github.com/enterprise-server@3.13/rest/commits/statuses)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Commit statuses\" repository permission.", - "operationId": "status", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#status" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-status" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "status", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "team-add": { - "post": { - "summary": "This event occurs when a team is added to a repository.\nFor more information, see \"[Managing teams and people with access to your repository](https://docs.github.com/enterprise-server@3.13/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-teams-and-people-with-access-to-your-repository).\"\n\nFor activity relating to teams, see the `teams` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "operationId": "team-add", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#team_add" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-team-add" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "team_add", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "team-added-to-repository": { - "post": { - "summary": "This event occurs when there is activity relating to teams in an organization.\nFor more information, see \"[About teams](https://docs.github.com/enterprise-server@3.13/organizations/organizing-members-into-teams/about-teams).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "A team was granted access to a repository.", - "operationId": "team/added-to-repository", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#team" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-team-added-to-repository" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "team", - "supported-webhook-types": ["organization", "business", "app"] - } - } - }, - "team-created": { - "post": { - "summary": "This event occurs when there is activity relating to teams in an organization.\nFor more information, see \"[About teams](https://docs.github.com/enterprise-server@3.13/organizations/organizing-members-into-teams/about-teams).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "A team was created.", - "operationId": "team/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#team" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-team-created" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "team", - "supported-webhook-types": ["organization", "business", "app"] - } - } - }, - "team-deleted": { - "post": { - "summary": "This event occurs when there is activity relating to teams in an organization.\nFor more information, see \"[About teams](https://docs.github.com/enterprise-server@3.13/organizations/organizing-members-into-teams/about-teams).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "A team was deleted.", - "operationId": "team/deleted", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#team" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-team-deleted" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "team", - "supported-webhook-types": ["organization", "business", "app"] - } - } - }, - "team-edited": { - "post": { - "summary": "This event occurs when there is activity relating to teams in an organization.\nFor more information, see \"[About teams](https://docs.github.com/enterprise-server@3.13/organizations/organizing-members-into-teams/about-teams).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "The name, description, or visibility of a team was changed.", - "operationId": "team/edited", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#team" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-team-edited" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "team", - "supported-webhook-types": ["organization", "business", "app"] - } - } - }, - "team-removed-from-repository": { - "post": { - "summary": "This event occurs when there is activity relating to teams in an organization.\nFor more information, see \"[About teams](https://docs.github.com/enterprise-server@3.13/organizations/organizing-members-into-teams/about-teams).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "A team's access to a repository was removed.", - "operationId": "team/removed-from-repository", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#team" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-team-removed-from-repository" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "team", - "supported-webhook-types": ["organization", "business", "app"] - } - } - }, - "user-created": { - "post": { - "summary": "This event occurs when there is activity relating to user accounts in an enterprise.", - "description": "A user account was added to the enterprise.", - "operationId": "user/created", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#user" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-user-created" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": true, - "category": "webhooks", - "subcategory": "user", - "supported-webhook-types": ["business"] - } - } - }, - "user-deleted": { - "post": { - "summary": "This event occurs when there is activity relating to user accounts in an enterprise.", - "description": "A user account was removed from the enterprise.", - "operationId": "user/deleted", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#user" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-user-deleted" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": true, - "category": "webhooks", - "subcategory": "user", - "supported-webhook-types": ["business"] - } - } - }, - "watch-started": { - "post": { - "summary": "This event occurs when there is activity relating to watching, or subscribing to, a repository. For more information about watching, see \"[Managing your subscriptions](https://docs.github.com/enterprise-server@3.13/account-and-profile/managing-subscriptions-and-notifications-on-github/managing-subscriptions-for-activity-on-github/managing-your-subscriptions).\" For information about the APIs to manage watching, see \"[Watching](https://docs.github.com/enterprise-server@3.13/rest/activity/watching)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "Someone started watching the repository.", - "operationId": "watch/started", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#watch" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-watch-started" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "watch", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "workflow-dispatch": { - "post": { - "summary": "This event occurs when a GitHub Actions workflow is manually triggered. For more information, see \"[Manually running a workflow](https://docs.github.com/enterprise-server@3.13/actions/managing-workflow-runs/manually-running-a-workflow).\"\n\nFor activity relating to workflow runs, use the `workflow_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", - "operationId": "workflow-dispatch", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#workflow_dispatch" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-workflow-dispatch" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "workflow_dispatch", - "supported-webhook-types": ["app"] - } - } - }, - "workflow-job-completed": { - "post": { - "summary": "This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see \"[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.13/actions/using-jobs/using-jobs-in-a-workflow).\" For information about the API to manage workflow jobs, see \"[Workflow jobs](https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-jobs)\" in the REST API documentation.\n\nFor activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", - "description": "A job in a workflow run finished. This event occurs when a job in a workflow is completed, regardless of whether the job was successful or unsuccessful.", - "operationId": "workflow-job/completed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#workflow_job" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-workflow-job-completed" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "workflow_job", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] - } - } - }, - "workflow-job-in-progress": { - "post": { - "summary": "This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see \"[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.13/actions/using-jobs/using-jobs-in-a-workflow).\" For information about the API to manage workflow jobs, see \"[Workflow jobs](https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-jobs)\" in the REST API documentation.\n\nFor activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", - "description": "A job in a workflow run started processing on a runner.", - "operationId": "workflow-job/in-progress", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#workflow_job" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-workflow-job-in-progress" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "workflow_job", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] - } - } - }, - "workflow-job-queued": { - "post": { - "summary": "This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see \"[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.13/actions/using-jobs/using-jobs-in-a-workflow).\" For information about the API to manage workflow jobs, see \"[Workflow jobs](https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-jobs)\" in the REST API documentation.\n\nFor activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", - "description": "A job in a workflow run was created.", - "operationId": "workflow-job/queued", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#workflow_job" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-workflow-job-queued" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "workflow_job", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] - } - } - }, - "workflow-job-waiting": { - "post": { - "summary": "This event occurs when there is activity relating to a job in a GitHub Actions workflow. For more information, see \"[Using jobs in a workflow](https://docs.github.com/enterprise-server@3.13/actions/using-jobs/using-jobs-in-a-workflow).\" For information about the API to manage workflow jobs, see \"[Workflow jobs](https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-jobs)\" in the REST API documentation.\n\nFor activity relating to a workflow run instead of a job in a workflow run, use the `workflow_run` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", - "description": "A job in a workflow run was created and is waiting for approvals.", - "operationId": "workflow-job/waiting", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#workflow_job" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-workflow-job-waiting" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "workflow_job", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] - } - } - }, - "workflow-run-completed": { - "post": { - "summary": "This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see \"[About workflows](https://docs.github.com/enterprise-server@3.13/actions/using-workflows/about-workflows).\" For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#workflowrun) or \"[Workflow runs](https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-runs)\" in the REST API documentation.\n\nFor activity relating to a job in a workflow run, use the `workflow_job` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", - "description": "A workflow run finished. This event occurs when a workflow run is completed, regardless of whether the workflow was successful or unsuccessful.", - "operationId": "workflow-run/completed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#workflow_run" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-workflow-run-completed" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "workflow_run", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] - } - } - }, - "workflow-run-in-progress": { - "post": { - "summary": "This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see \"[About workflows](https://docs.github.com/enterprise-server@3.13/actions/using-workflows/about-workflows).\" For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#workflowrun) or \"[Workflow runs](https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-runs)\" in the REST API documentation.\n\nFor activity relating to a job in a workflow run, use the `workflow_job` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", - "description": "A workflow run started processing on a runner.", - "operationId": "workflow-run/in-progress", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#workflow_run" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-workflow-run-in-progress" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "workflow_run", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] - } - } - }, - "workflow-run-requested": { - "post": { - "summary": "This event occurs when there is activity relating to a run of a GitHub Actions workflow. For more information, see \"[About workflows](https://docs.github.com/enterprise-server@3.13/actions/using-workflows/about-workflows).\" For information about the APIs to manage workflow runs, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.13/graphql/reference/objects#workflowrun) or \"[Workflow runs](https://docs.github.com/enterprise-server@3.13/rest/actions/workflow-runs)\" in the REST API documentation.\n\nFor activity relating to a job in a workflow run, use the `workflow_job` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Actions\" repository permission.", - "description": "A workflow run was triggered.", - "operationId": "workflow-run/requested", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.13/webhooks/webhook-events-and-payloads#workflow_run" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-workflow-run-requested" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "workflow_run", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] - } - } - } - }, - "components": { - "schemas": { - "webhook-branch-protection-configuration-disabled": { - "title": "branch protection configuration disabled event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["disabled"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "repository", "sender"] - }, - "enterprise-webhooks": { - "title": "Enterprise", - "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/enterprise-server@3.13/admin/overview/about-enterprise-accounts).\"", - "type": "object", - "properties": { - "description": { - "description": "A short description of the enterprise.", - "type": ["string", "null"] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": ["https://github.com/enterprises/octo-business"] - }, - "website_url": { - "description": "The enterprise's website URL.", - "type": ["string", "null"], - "format": "uri" - }, - "id": { - "description": "Unique identifier of the enterprise", - "type": "integer", - "examples": [42] - }, - "node_id": { - "type": "string", - "examples": ["MDEwOlJlcG9zaXRvcnkxMjk2MjY5"] - }, - "name": { - "description": "The name of the enterprise.", - "type": "string", - "examples": ["Octo Business"] - }, - "slug": { - "description": "The slug url identifier for the enterprise.", - "type": "string", - "examples": ["octo-business"] - }, - "created_at": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2019-01-26T19:01:12Z"] - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2019-01-26T19:14:43Z"] - }, - "avatar_url": { "type": "string", "format": "uri" } - }, - "required": [ - "id", - "node_id", - "name", - "slug", - "html_url", - "created_at", - "updated_at", - "avatar_url" - ] - }, - "simple-installation": { - "title": "Simple Installation", - "description": "The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured\nfor and sent to a GitHub App. For more information,\nsee \"[Using webhooks with GitHub Apps](https://docs.github.com/enterprise-server@3.13/apps/creating-github-apps/registering-a-github-app/using-webhooks-with-github-apps).\"", - "type": "object", - "properties": { - "id": { - "description": "The ID of the installation.", - "type": "integer", - "examples": [1] - }, - "node_id": { - "description": "The global node ID of the installation.", - "type": "string", - "examples": ["MDQ6VXNlcjU4MzIzMQ=="] - } - }, - "required": ["id", "node_id"] - }, - "organization-simple-webhooks": { - "title": "Organization Simple", - "description": "A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.", - "type": "object", - "properties": { - "login": { "type": "string", "examples": ["github"] }, - "id": { "type": "integer", "examples": [1] }, - "node_id": { - "type": "string", - "examples": ["MDEyOk9yZ2FuaXphdGlvbjE="] - }, - "url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/orgs/github"] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/orgs/github/repos"] - }, - "events_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/orgs/github/events"] - }, - "hooks_url": { - "type": "string", - "examples": ["https://api.github.com/orgs/github/hooks"] - }, - "issues_url": { - "type": "string", - "examples": ["https://api.github.com/orgs/github/issues"] - }, - "members_url": { - "type": "string", - "examples": ["https://api.github.com/orgs/github/members{/member}"] - }, - "public_members_url": { - "type": "string", - "examples": [ - "https://api.github.com/orgs/github/public_members{/member}" - ] - }, - "avatar_url": { - "type": "string", - "examples": ["https://github.com/images/error/octocat_happy.gif"] - }, - "description": { - "type": ["string", "null"], - "examples": ["A great organization"] - } - }, - "required": [ - "login", - "url", - "id", - "node_id", - "repos_url", - "events_url", - "hooks_url", - "issues_url", - "members_url", - "public_members_url", - "avatar_url", - "description" - ] - }, - "repository-webhooks": { - "title": "Repository", - "description": "The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property\nwhen the event occurs from activity in a repository.", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64", - "examples": [42] - }, - "node_id": { - "type": "string", - "examples": ["MDEwOlJlcG9zaXRvcnkxMjk2MjY5"] - }, - "name": { - "description": "The name of the repository.", - "type": "string", - "examples": ["Team Environment"] - }, - "full_name": { - "type": "string", - "examples": ["octocat/Hello-World"] - }, - "license": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/license-simple" } - ] - }, - "organization": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "forks": { "type": "integer" }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "triage": { "type": "boolean" }, - "push": { "type": "boolean" }, - "maintain": { "type": "boolean" } - }, - "required": ["admin", "pull", "push"] - }, - "owner": { "$ref": "#/components/schemas/simple-user" }, - "private": { - "description": "Whether the repository is private or public.", - "default": false, - "type": "boolean" - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": ["https://github.com/octocat/Hello-World"] - }, - "description": { - "type": ["string", "null"], - "examples": ["This your first repo!"] - }, - "fork": { "type": "boolean" }, - "url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/repos/octocat/Hello-World"] - }, - "archive_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" - ] - }, - "assignees_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" - ] - }, - "blobs_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" - ] - }, - "branches_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" - ] - }, - "collaborators_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" - ] - }, - "comments_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/comments{/number}" - ] - }, - "commits_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" - ] - }, - "compare_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" - ] - }, - "contents_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" - ] - }, - "contributors_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/contributors" - ] - }, - "deployments_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/deployments" - ] - }, - "downloads_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/downloads" - ] - }, - "events_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/events" - ] - }, - "forks_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/forks" - ] - }, - "git_commits_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" - ] - }, - "git_refs_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" - ] - }, - "git_tags_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" - ] - }, - "git_url": { - "type": "string", - "examples": ["git:github.com/octocat/Hello-World.git"] - }, - "issue_comment_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" - ] - }, - "issue_events_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" - ] - }, - "issues_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/issues{/number}" - ] - }, - "keys_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" - ] - }, - "labels_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/labels{/name}" - ] - }, - "languages_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/languages" - ] - }, - "merges_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/merges" - ] - }, - "milestones_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" - ] - }, - "notifications_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" - ] - }, - "pulls_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" - ] - }, - "releases_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/releases{/id}" - ] - }, - "ssh_url": { - "type": "string", - "examples": ["git@github.com:octocat/Hello-World.git"] - }, - "stargazers_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/stargazers" - ] - }, - "statuses_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" - ] - }, - "subscribers_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/subscribers" - ] - }, - "subscription_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/subscription" - ] - }, - "tags_url": { - "type": "string", - "format": "uri", - "examples": ["http://api.github.com/repos/octocat/Hello-World/tags"] - }, - "teams_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/teams" - ] - }, - "trees_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" - ] - }, - "clone_url": { - "type": "string", - "examples": ["https://github.com/octocat/Hello-World.git"] - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri", - "examples": ["git:git.example.com/octocat/Hello-World"] - }, - "hooks_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/hooks" - ] - }, - "svn_url": { - "type": "string", - "format": "uri", - "examples": ["https://svn.github.com/octocat/Hello-World"] - }, - "homepage": { - "type": ["string", "null"], - "format": "uri", - "examples": ["https://github.com"] - }, - "language": { "type": ["string", "null"] }, - "forks_count": { "type": "integer", "examples": [9] }, - "stargazers_count": { "type": "integer", "examples": [80] }, - "watchers_count": { "type": "integer", "examples": [80] }, - "size": { - "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", - "type": "integer", - "examples": [108] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string", - "examples": ["master"] - }, - "open_issues_count": { "type": "integer", "examples": [0] }, - "is_template": { - "description": "Whether this repository acts as a template that can be used to generate new repositories.", - "default": false, - "type": "boolean", - "examples": [true] - }, - "topics": { "type": "array", "items": { "type": "string" } }, - "custom_properties": { - "type": "object", - "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", - "additionalProperties": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "default": true, - "type": "boolean", - "examples": [true] - }, - "has_projects": { - "description": "Whether projects are enabled.", - "default": true, - "type": "boolean", - "examples": [true] - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "default": true, - "type": "boolean", - "examples": [true] - }, - "has_pages": { "type": "boolean" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "default": true, - "type": "boolean", - "examples": [true] - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "default": false, - "type": "boolean", - "examples": [true] - }, - "archived": { - "description": "Whether the repository is archived.", - "default": false, - "type": "boolean" - }, - "disabled": { - "type": "boolean", - "description": "Returns whether or not this repository disabled." - }, - "visibility": { - "description": "The repository visibility: public, private, or internal.", - "default": "public", - "type": "string" - }, - "pushed_at": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2011-01-26T19:06:43Z"] - }, - "created_at": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2011-01-26T19:01:12Z"] - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2011-01-26T19:14:43Z"] - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "default": true, - "type": "boolean", - "examples": [true] - }, - "template_repository": { - "type": ["object", "null"], - "properties": { - "id": { "type": "integer" }, - "node_id": { "type": "string" }, - "name": { "type": "string" }, - "full_name": { "type": "string" }, - "owner": { - "type": "object", - "properties": { - "login": { "type": "string" }, - "id": { "type": "integer" }, - "node_id": { "type": "string" }, - "avatar_url": { "type": "string" }, - "gravatar_id": { "type": "string" }, - "url": { "type": "string" }, - "html_url": { "type": "string" }, - "followers_url": { "type": "string" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "organizations_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "events_url": { "type": "string" }, - "received_events_url": { "type": "string" }, - "type": { "type": "string" }, - "site_admin": { "type": "boolean" } - } - }, - "private": { "type": "boolean" }, - "html_url": { "type": "string" }, - "description": { "type": "string" }, - "fork": { "type": "boolean" }, - "url": { "type": "string" }, - "archive_url": { "type": "string" }, - "assignees_url": { "type": "string" }, - "blobs_url": { "type": "string" }, - "branches_url": { "type": "string" }, - "collaborators_url": { "type": "string" }, - "comments_url": { "type": "string" }, - "commits_url": { "type": "string" }, - "compare_url": { "type": "string" }, - "contents_url": { "type": "string" }, - "contributors_url": { "type": "string" }, - "deployments_url": { "type": "string" }, - "downloads_url": { "type": "string" }, - "events_url": { "type": "string" }, - "forks_url": { "type": "string" }, - "git_commits_url": { "type": "string" }, - "git_refs_url": { "type": "string" }, - "git_tags_url": { "type": "string" }, - "git_url": { "type": "string" }, - "issue_comment_url": { "type": "string" }, - "issue_events_url": { "type": "string" }, - "issues_url": { "type": "string" }, - "keys_url": { "type": "string" }, - "labels_url": { "type": "string" }, - "languages_url": { "type": "string" }, - "merges_url": { "type": "string" }, - "milestones_url": { "type": "string" }, - "notifications_url": { "type": "string" }, - "pulls_url": { "type": "string" }, - "releases_url": { "type": "string" }, - "ssh_url": { "type": "string" }, - "stargazers_url": { "type": "string" }, - "statuses_url": { "type": "string" }, - "subscribers_url": { "type": "string" }, - "subscription_url": { "type": "string" }, - "tags_url": { "type": "string" }, - "teams_url": { "type": "string" }, - "trees_url": { "type": "string" }, - "clone_url": { "type": "string" }, - "mirror_url": { "type": "string" }, - "hooks_url": { "type": "string" }, - "svn_url": { "type": "string" }, - "homepage": { "type": "string" }, - "language": { "type": "string" }, - "forks_count": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "size": { "type": "integer" }, - "default_branch": { "type": "string" }, - "open_issues_count": { "type": "integer" }, - "is_template": { "type": "boolean" }, - "topics": { "type": "array", "items": { "type": "string" } }, - "has_issues": { "type": "boolean" }, - "has_projects": { "type": "boolean" }, - "has_wiki": { "type": "boolean" }, - "has_pages": { "type": "boolean" }, - "has_downloads": { "type": "boolean" }, - "archived": { "type": "boolean" }, - "disabled": { "type": "boolean" }, - "visibility": { "type": "string" }, - "pushed_at": { "type": "string" }, - "created_at": { "type": "string" }, - "updated_at": { "type": "string" }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" }, - "pull": { "type": "boolean" } - } - }, - "allow_rebase_merge": { "type": "boolean" }, - "temp_clone_token": { "type": "string" }, - "allow_squash_merge": { "type": "boolean" }, - "allow_auto_merge": { "type": "boolean" }, - "delete_branch_on_merge": { "type": "boolean" }, - "allow_update_branch": { "type": "boolean" }, - "use_squash_pr_title_as_default": { "type": "boolean" }, - "squash_merge_commit_title": { - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"], - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." - }, - "squash_merge_commit_message": { - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"], - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." - }, - "merge_commit_title": { - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"], - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." - }, - "merge_commit_message": { - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"], - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." - }, - "allow_merge_commit": { "type": "boolean" }, - "subscribers_count": { "type": "integer" }, - "network_count": { "type": "integer" } - } - }, - "temp_clone_token": { "type": "string" }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "default": true, - "type": "boolean", - "examples": [true] - }, - "allow_auto_merge": { - "description": "Whether to allow Auto-merge to be used on pull requests.", - "default": false, - "type": "boolean", - "examples": [false] - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "default": false, - "type": "boolean", - "examples": [false] - }, - "allow_update_branch": { - "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", - "default": false, - "type": "boolean", - "examples": [false] - }, - "use_squash_pr_title_as_default": { - "type": "boolean", - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "default": false, - "deprecated": true - }, - "squash_merge_commit_title": { - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"], - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." - }, - "squash_merge_commit_message": { - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"], - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." - }, - "merge_commit_title": { - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"], - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." - }, - "merge_commit_message": { - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"], - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "default": true, - "type": "boolean", - "examples": [true] - }, - "allow_forking": { - "description": "Whether to allow forking this repo", - "type": "boolean" - }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "default": false, - "type": "boolean" - }, - "subscribers_count": { "type": "integer" }, - "network_count": { "type": "integer" }, - "open_issues": { "type": "integer" }, - "watchers": { "type": "integer" }, - "master_branch": { "type": "string" }, - "starred_at": { - "type": "string", - "examples": ["\"2020-07-09T00:17:42Z\""] - }, - "anonymous_access_enabled": { - "type": "boolean", - "description": "Whether anonymous git access is enabled for this repository" - } - }, - "required": [ - "archive_url", - "assignees_url", - "blobs_url", - "branches_url", - "collaborators_url", - "comments_url", - "commits_url", - "compare_url", - "contents_url", - "contributors_url", - "deployments_url", - "description", - "downloads_url", - "events_url", - "fork", - "forks_url", - "full_name", - "git_commits_url", - "git_refs_url", - "git_tags_url", - "hooks_url", - "html_url", - "id", - "node_id", - "issue_comment_url", - "issue_events_url", - "issues_url", - "keys_url", - "labels_url", - "languages_url", - "merges_url", - "milestones_url", - "name", - "notifications_url", - "owner", - "private", - "pulls_url", - "releases_url", - "stargazers_url", - "statuses_url", - "subscribers_url", - "subscription_url", - "tags_url", - "teams_url", - "trees_url", - "url", - "clone_url", - "default_branch", - "forks", - "forks_count", - "git_url", - "has_downloads", - "has_issues", - "has_projects", - "has_wiki", - "has_pages", - "homepage", - "language", - "archived", - "disabled", - "mirror_url", - "open_issues", - "open_issues_count", - "license", - "pushed_at", - "size", - "ssh_url", - "stargazers_count", - "svn_url", - "watchers", - "watchers_count", - "created_at", - "updated_at" - ] - }, - "license-simple": { - "title": "License Simple", - "description": "License Simple", - "type": "object", - "properties": { - "key": { "type": "string", "examples": ["mit"] }, - "name": { "type": "string", "examples": ["MIT License"] }, - "url": { - "type": ["string", "null"], - "format": "uri", - "examples": ["https://api.github.com/licenses/mit"] - }, - "spdx_id": { "type": ["string", "null"], "examples": ["MIT"] }, - "node_id": { "type": "string", "examples": ["MDc6TGljZW5zZW1pdA=="] }, - "html_url": { "type": "string", "format": "uri" } - }, - "required": ["key", "name", "url", "spdx_id", "node_id"] - }, - "simple-user": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { "type": ["string", "null"] }, - "email": { "type": ["string", "null"] }, - "login": { "type": "string", "examples": ["octocat"] }, - "id": { "type": "integer", "format": "int64", "examples": [1] }, - "node_id": { "type": "string", "examples": ["MDQ6VXNlcjE="] }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": ["https://github.com/images/error/octocat_happy.gif"] - }, - "gravatar_id": { - "type": ["string", "null"], - "examples": ["41d064eb2195891e12d0413f63227ea7"] - }, - "url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/users/octocat"] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": ["https://github.com/octocat"] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/users/octocat/followers"] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": ["https://api.github.com/users/octocat/gists{/gist_id}"] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/users/octocat/subscriptions"] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/users/octocat/orgs"] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/users/octocat/repos"] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/users/octocat/received_events"] - }, - "type": { "type": "string", "examples": ["User"] }, - "site_admin": { "type": "boolean" }, - "starred_at": { - "type": "string", - "examples": ["\"2020-07-09T00:17:55Z\""] - }, - "user_view_type": { "type": "string", "examples": ["public"] } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - "webhook-branch-protection-configuration-enabled": { - "title": "branch protection configuration enabled event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["enabled"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "repository", "sender"] - }, - "webhook-branch-protection-rule-created": { - "title": "branch protection rule created event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "rule": { "$ref": "#/components/schemas/webhooks_rule" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "rule", "repository", "sender"] - }, - "webhooks_rule": { - "title": "branch protection rule", - "description": "The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-server@3.13/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) applied to branches that match the name. Binary settings are boolean. Multi-level configurations are one of `off`, `non_admins`, or `everyone`. Actor and build lists are arrays of strings.", - "type": "object", - "properties": { - "admin_enforced": { "type": "boolean" }, - "allow_deletions_enforcement_level": { - "type": "string", - "enum": ["off", "non_admins", "everyone"] - }, - "allow_force_pushes_enforcement_level": { - "type": "string", - "enum": ["off", "non_admins", "everyone"] - }, - "authorized_actor_names": { - "type": "array", - "items": { "type": "string" } - }, - "authorized_actors_only": { "type": "boolean" }, - "authorized_dismissal_actors_only": { "type": "boolean" }, - "create_protected": { "type": "boolean" }, - "created_at": { "type": "string", "format": "date-time" }, - "dismiss_stale_reviews_on_push": { "type": "boolean" }, - "id": { "type": "integer" }, - "ignore_approvals_from_contributors": { "type": "boolean" }, - "linear_history_requirement_enforcement_level": { - "type": "string", - "enum": ["off", "non_admins", "everyone"] - }, - "merge_queue_enforcement_level": { - "type": "string", - "enum": ["off", "non_admins", "everyone"] - }, - "name": { "type": "string" }, - "pull_request_reviews_enforcement_level": { - "type": "string", - "enum": ["off", "non_admins", "everyone"] - }, - "repository_id": { "type": "integer" }, - "require_code_owner_review": { "type": "boolean" }, - "require_last_push_approval": { - "description": "Whether the most recent push must be approved by someone other than the person who pushed it", - "type": "boolean" - }, - "required_approving_review_count": { "type": "integer" }, - "required_conversation_resolution_level": { - "type": "string", - "enum": ["off", "non_admins", "everyone"] - }, - "required_deployments_enforcement_level": { - "type": "string", - "enum": ["off", "non_admins", "everyone"] - }, - "required_status_checks": { - "type": "array", - "items": { "type": "string" } - }, - "required_status_checks_enforcement_level": { - "type": "string", - "enum": ["off", "non_admins", "everyone"] - }, - "signature_requirement_enforcement_level": { - "type": "string", - "enum": ["off", "non_admins", "everyone"] - }, - "strict_required_status_checks_policy": { "type": "boolean" }, - "updated_at": { "type": "string", "format": "date-time" } - }, - "required": [ - "id", - "repository_id", - "name", - "created_at", - "updated_at", - "pull_request_reviews_enforcement_level", - "required_approving_review_count", - "dismiss_stale_reviews_on_push", - "require_code_owner_review", - "authorized_dismissal_actors_only", - "ignore_approvals_from_contributors", - "required_status_checks", - "required_status_checks_enforcement_level", - "strict_required_status_checks_policy", - "signature_requirement_enforcement_level", - "linear_history_requirement_enforcement_level", - "lock_branch_enforcement_level", - "admin_enforced", - "allow_force_pushes_enforcement_level", - "allow_deletions_enforcement_level", - "merge_queue_enforcement_level", - "required_deployments_enforcement_level", - "required_conversation_resolution_level", - "authorized_actors_only", - "authorized_actor_names" - ] - }, - "webhook-branch-protection-rule-deleted": { - "title": "branch protection rule deleted event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["deleted"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "rule": { "$ref": "#/components/schemas/webhooks_rule" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "rule", "repository", "sender"] - }, - "webhook-branch-protection-rule-edited": { - "title": "branch protection rule edited event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["edited"] }, - "changes": { - "description": "If the action was `edited`, the changes to the rule.", - "type": "object", - "properties": { - "admin_enforced": { - "type": "object", - "properties": { "from": { "type": ["boolean", "null"] } }, - "required": ["from"] - }, - "authorized_actor_names": { - "type": "object", - "properties": { - "from": { "type": "array", "items": { "type": "string" } } - }, - "required": ["from"] - }, - "authorized_actors_only": { - "type": "object", - "properties": { "from": { "type": ["boolean", "null"] } }, - "required": ["from"] - }, - "authorized_dismissal_actors_only": { - "type": "object", - "properties": { "from": { "type": ["boolean", "null"] } }, - "required": ["from"] - }, - "linear_history_requirement_enforcement_level": { - "type": "object", - "properties": { - "from": { - "type": "string", - "enum": ["off", "non_admins", "everyone"] - } - }, - "required": ["from"] - }, - "pull_request_reviews_enforcement_level": { - "type": "object", - "properties": { - "from": { - "type": "string", - "enum": ["off", "non_admins", "everyone"] - } - }, - "required": ["from"] - }, - "require_last_push_approval": { - "type": "object", - "properties": { "from": { "type": ["boolean", "null"] } }, - "required": ["from"] - }, - "required_status_checks": { - "type": "object", - "properties": { - "from": { "type": "array", "items": { "type": "string" } } - }, - "required": ["from"] - }, - "required_status_checks_enforcement_level": { - "type": "object", - "properties": { - "from": { - "type": "string", - "enum": ["off", "non_admins", "everyone"] - } - }, - "required": ["from"] - } - } - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "rule": { "$ref": "#/components/schemas/webhooks_rule" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "rule", "repository", "sender"] - }, - "webhook-cache-sync": { - "type": "object", - "properties": { - "after": { "type": "string" }, - "before": { "type": "string" }, - "cache_location": { "type": "string" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "ref": { "type": "string" }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["cache_location", "ref", "before", "after"] - }, - "webhook-check-run-completed": { - "title": "Check Run Completed Event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["completed"] }, - "check_run": { - "$ref": "#/components/schemas/check-run-with-simple-check-suite" - }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["check_run", "repository", "sender", "action"] - }, - "check-run-with-simple-check-suite": { - "title": "CheckRun", - "description": "A check performed on the code of a given code change", - "type": "object", - "properties": { - "app": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/integration" } - ] - }, - "check_suite": { "$ref": "#/components/schemas/simple-check-suite" }, - "completed_at": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2018-05-04T01:14:52Z"] - }, - "conclusion": { - "type": ["string", "null"], - "enum": [ - "waiting", - "pending", - "startup_failure", - "stale", - "success", - "failure", - "neutral", - "cancelled", - "skipped", - "timed_out", - "action_required", - null - ], - "examples": ["neutral"] - }, - "deployment": { "$ref": "#/components/schemas/deployment-simple" }, - "details_url": { - "type": "string", - "examples": ["https://example.com"] - }, - "external_id": { "type": "string", "examples": ["42"] }, - "head_sha": { - "description": "The SHA of the commit that is being checked.", - "type": "string", - "examples": ["009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d"] - }, - "html_url": { - "type": "string", - "examples": ["https://github.com/github/hello-world/runs/4"] - }, - "id": { - "description": "The id of the check.", - "type": "integer", - "examples": [21] - }, - "name": { - "description": "The name of the check.", - "type": "string", - "examples": ["test-coverage"] - }, - "node_id": { "type": "string", "examples": ["MDg6Q2hlY2tSdW40"] }, - "output": { - "type": "object", - "properties": { - "annotations_count": { "type": "integer" }, - "annotations_url": { "type": "string", "format": "uri" }, - "summary": { "type": ["string", "null"] }, - "text": { "type": ["string", "null"] }, - "title": { "type": ["string", "null"] } - }, - "required": [ - "title", - "summary", - "text", - "annotations_count", - "annotations_url" - ] - }, - "pull_requests": { - "type": "array", - "items": { "$ref": "#/components/schemas/pull-request-minimal" } - }, - "started_at": { - "type": "string", - "format": "date-time", - "examples": ["2018-05-04T01:14:52Z"] - }, - "status": { - "description": "The phase of the lifecycle that the check is currently in.", - "type": "string", - "enum": ["queued", "in_progress", "completed", "pending"], - "examples": ["queued"] - }, - "url": { - "type": "string", - "examples": [ - "https://api.github.com/repos/github/hello-world/check-runs/4" - ] - } - }, - "required": [ - "id", - "node_id", - "head_sha", - "name", - "url", - "html_url", - "details_url", - "status", - "conclusion", - "started_at", - "completed_at", - "external_id", - "check_suite", - "output", - "app", - "pull_requests" - ] - }, - "integration": { - "title": "GitHub app", - "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", - "type": ["object", "null"], - "properties": { - "id": { - "description": "Unique identifier of the GitHub app", - "type": "integer", - "examples": [37] - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string", - "examples": ["probot-owners"] - }, - "node_id": { - "type": "string", - "examples": ["MDExOkludGVncmF0aW9uMQ=="] - }, - "owner": { - "oneOf": [ - { "$ref": "#/components/schemas/simple-user" }, - { "$ref": "#/components/schemas/enterprise" } - ] - }, - "name": { - "description": "The name of the GitHub app", - "type": "string", - "examples": ["Probot Owners"] - }, - "description": { - "type": ["string", "null"], - "examples": ["The description of the app."] - }, - "external_url": { - "type": "string", - "format": "uri", - "examples": ["https://example.com"] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": ["https://github.com/apps/super-ci"] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": ["2017-07-08T16:18:44-04:00"] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": ["2017-07-08T16:18:44-04:00"] - }, - "permissions": { - "description": "The set of permissions for the GitHub app", - "type": "object", - "properties": { - "issues": { "type": "string" }, - "checks": { "type": "string" }, - "metadata": { "type": "string" }, - "contents": { "type": "string" }, - "deployments": { "type": "string" } - }, - "additionalProperties": { "type": "string" }, - "example": { "issues": "read", "deployments": "write" } - }, - "events": { - "description": "The list of events for the GitHub app. Note that the `installation_target`, `security_advisory`, and `meta` events are not included because they are global events and not specific to an installation.", - "type": "array", - "items": { "type": "string" }, - "examples": ["label", "deployment"] - }, - "installations_count": { - "description": "The number of installations associated with the GitHub app. Only returned when the integration is requesting details about itself.", - "type": "integer", - "examples": [5] - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at", - "permissions", - "events" - ] - }, - "enterprise": { - "title": "Enterprise", - "description": "An enterprise on GitHub.", - "type": "object", - "properties": { - "description": { - "description": "A short description of the enterprise.", - "type": ["string", "null"] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": ["https://github.com/enterprises/octo-business"] - }, - "website_url": { - "description": "The enterprise's website URL.", - "type": ["string", "null"], - "format": "uri" - }, - "id": { - "description": "Unique identifier of the enterprise", - "type": "integer", - "examples": [42] - }, - "node_id": { - "type": "string", - "examples": ["MDEwOlJlcG9zaXRvcnkxMjk2MjY5"] - }, - "name": { - "description": "The name of the enterprise.", - "type": "string", - "examples": ["Octo Business"] - }, - "slug": { - "description": "The slug url identifier for the enterprise.", - "type": "string", - "examples": ["octo-business"] - }, - "created_at": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2019-01-26T19:01:12Z"] - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2019-01-26T19:14:43Z"] - }, - "avatar_url": { "type": "string", "format": "uri" } - }, - "required": [ - "id", - "node_id", - "name", - "slug", - "html_url", - "created_at", - "updated_at", - "avatar_url" - ] - }, - "simple-check-suite": { - "description": "A suite of checks performed on the code of a given code change", - "type": "object", - "properties": { - "after": { - "type": ["string", "null"], - "examples": ["d6fde92930d4715a2b49857d24b940956b26d2d3"] - }, - "app": { "$ref": "#/components/schemas/integration" }, - "before": { - "type": ["string", "null"], - "examples": ["146e867f55c26428e5f9fade55a9bbf5e95a7912"] - }, - "conclusion": { - "type": ["string", "null"], - "enum": [ - "success", - "failure", - "neutral", - "cancelled", - "skipped", - "timed_out", - "action_required", - "stale", - "startup_failure", - null - ], - "examples": ["neutral"] - }, - "created_at": { "type": "string", "format": "date-time" }, - "head_branch": { "type": ["string", "null"], "examples": ["master"] }, - "head_sha": { - "description": "The SHA of the head commit that is being checked.", - "type": "string", - "examples": ["009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d"] - }, - "id": { "type": "integer", "examples": [5] }, - "node_id": { "type": "string", "examples": ["MDEwOkNoZWNrU3VpdGU1"] }, - "pull_requests": { - "type": "array", - "items": { "$ref": "#/components/schemas/pull-request-minimal" } - }, - "repository": { "$ref": "#/components/schemas/minimal-repository" }, - "status": { - "type": "string", - "enum": [ - "queued", - "in_progress", - "completed", - "pending", - "waiting" - ], - "examples": ["completed"] - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { - "type": "string", - "examples": [ - "https://api.github.com/repos/github/hello-world/check-suites/5" - ] - } - } - }, - "pull-request-minimal": { - "title": "Pull Request Minimal", - "type": "object", - "properties": { - "id": { "type": "integer", "format": "int64" }, - "number": { "type": "integer" }, - "url": { "type": "string" }, - "head": { - "type": "object", - "properties": { - "ref": { "type": "string" }, - "sha": { "type": "string" }, - "repo": { - "type": "object", - "properties": { - "id": { "type": "integer", "format": "int64" }, - "url": { "type": "string" }, - "name": { "type": "string" } - }, - "required": ["id", "url", "name"] - } - }, - "required": ["ref", "sha", "repo"] - }, - "base": { - "type": "object", - "properties": { - "ref": { "type": "string" }, - "sha": { "type": "string" }, - "repo": { - "type": "object", - "properties": { - "id": { "type": "integer", "format": "int64" }, - "url": { "type": "string" }, - "name": { "type": "string" } - }, - "required": ["id", "url", "name"] - } - }, - "required": ["ref", "sha", "repo"] - } - }, - "required": ["id", "number", "url", "head", "base"] - }, - "minimal-repository": { - "title": "Minimal Repository", - "description": "Minimal Repository", - "type": "object", - "properties": { - "id": { "type": "integer", "format": "int64", "examples": [1296269] }, - "node_id": { - "type": "string", - "examples": ["MDEwOlJlcG9zaXRvcnkxMjk2MjY5"] - }, - "name": { "type": "string", "examples": ["Hello-World"] }, - "full_name": { - "type": "string", - "examples": ["octocat/Hello-World"] - }, - "owner": { "$ref": "#/components/schemas/simple-user" }, - "private": { "type": "boolean" }, - "html_url": { - "type": "string", - "format": "uri", - "examples": ["https://github.com/octocat/Hello-World"] - }, - "description": { - "type": ["string", "null"], - "examples": ["This your first repo!"] - }, - "fork": { "type": "boolean" }, - "url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/repos/octocat/Hello-World"] - }, - "archive_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" - ] - }, - "assignees_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" - ] - }, - "blobs_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" - ] - }, - "branches_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" - ] - }, - "collaborators_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" - ] - }, - "comments_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/comments{/number}" - ] - }, - "commits_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" - ] - }, - "compare_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" - ] - }, - "contents_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" - ] - }, - "contributors_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/contributors" - ] - }, - "deployments_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/deployments" - ] - }, - "downloads_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/downloads" - ] - }, - "events_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/events" - ] - }, - "forks_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/forks" - ] - }, - "git_commits_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" - ] - }, - "git_refs_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" - ] - }, - "git_tags_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" - ] - }, - "git_url": { "type": "string" }, - "issue_comment_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" - ] - }, - "issue_events_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" - ] - }, - "issues_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/issues{/number}" - ] - }, - "keys_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" - ] - }, - "labels_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/labels{/name}" - ] - }, - "languages_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/languages" - ] - }, - "merges_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/merges" - ] - }, - "milestones_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" - ] - }, - "notifications_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" - ] - }, - "pulls_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" - ] - }, - "releases_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/releases{/id}" - ] - }, - "ssh_url": { "type": "string" }, - "stargazers_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/stargazers" - ] - }, - "statuses_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" - ] - }, - "subscribers_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/subscribers" - ] - }, - "subscription_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/subscription" - ] - }, - "tags_url": { - "type": "string", - "format": "uri", - "examples": ["http://api.github.com/repos/octocat/Hello-World/tags"] - }, - "teams_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/teams" - ] - }, - "trees_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" - ] - }, - "clone_url": { "type": "string" }, - "mirror_url": { "type": ["string", "null"] }, - "hooks_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/hooks" - ] - }, - "svn_url": { "type": "string" }, - "homepage": { "type": ["string", "null"] }, - "language": { "type": ["string", "null"] }, - "forks_count": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "size": { - "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", - "type": "integer" - }, - "default_branch": { "type": "string" }, - "open_issues_count": { "type": "integer" }, - "is_template": { "type": "boolean" }, - "topics": { "type": "array", "items": { "type": "string" } }, - "has_issues": { "type": "boolean" }, - "has_projects": { "type": "boolean" }, - "has_wiki": { "type": "boolean" }, - "has_pages": { "type": "boolean" }, - "has_downloads": { "type": "boolean" }, - "has_discussions": { "type": "boolean" }, - "archived": { "type": "boolean" }, - "disabled": { "type": "boolean" }, - "visibility": { "type": "string" }, - "pushed_at": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2011-01-26T19:06:43Z"] - }, - "created_at": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2011-01-26T19:01:12Z"] - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2011-01-26T19:14:43Z"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" }, - "pull": { "type": "boolean" } - } - }, - "role_name": { "type": "string", "examples": ["admin"] }, - "temp_clone_token": { "type": "string" }, - "delete_branch_on_merge": { "type": "boolean" }, - "subscribers_count": { "type": "integer" }, - "network_count": { "type": "integer" }, - "code_of_conduct": { "$ref": "#/components/schemas/code-of-conduct" }, - "license": { - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": "string" }, - "node_id": { "type": "string" } - } - }, - "forks": { "type": "integer", "examples": [0] }, - "open_issues": { "type": "integer", "examples": [0] }, - "watchers": { "type": "integer", "examples": [0] }, - "allow_forking": { "type": "boolean" }, - "web_commit_signoff_required": { - "type": "boolean", - "examples": [false] - }, - "security_and_analysis": { - "$ref": "#/components/schemas/security-and-analysis" - } - }, - "required": [ - "archive_url", - "assignees_url", - "blobs_url", - "branches_url", - "collaborators_url", - "comments_url", - "commits_url", - "compare_url", - "contents_url", - "contributors_url", - "deployments_url", - "description", - "downloads_url", - "events_url", - "fork", - "forks_url", - "full_name", - "git_commits_url", - "git_refs_url", - "git_tags_url", - "hooks_url", - "html_url", - "id", - "node_id", - "issue_comment_url", - "issue_events_url", - "issues_url", - "keys_url", - "labels_url", - "languages_url", - "merges_url", - "milestones_url", - "name", - "notifications_url", - "owner", - "private", - "pulls_url", - "releases_url", - "stargazers_url", - "statuses_url", - "subscribers_url", - "subscription_url", - "tags_url", - "teams_url", - "trees_url", - "url" - ] - }, - "code-of-conduct": { - "title": "Code Of Conduct", - "description": "Code Of Conduct", - "type": "object", - "properties": { - "key": { "type": "string", "examples": ["contributor_covenant"] }, - "name": { "type": "string", "examples": ["Contributor Covenant"] }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/codes_of_conduct/contributor_covenant" - ] - }, - "body": { - "type": "string", - "examples": [ - "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.4, available at [http://contributor-covenant.org/version/1/4](http://contributor-covenant.org/version/1/4/).\n" - ] - }, - "html_url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["url", "html_url", "key", "name"] - }, - "security-and-analysis": { - "type": ["object", "null"], - "properties": { - "advanced_security": { - "type": "object", - "properties": { - "status": { "type": "string", "enum": ["enabled", "disabled"] } - } - }, - "dependabot_security_updates": { - "description": "Enable or disable Dependabot security updates for the repository.", - "type": "object", - "properties": { - "status": { - "description": "The enablement status of Dependabot security updates for the repository.", - "type": "string", - "enum": ["enabled", "disabled"] - } - } - }, - "secret_scanning": { - "type": "object", - "properties": { - "status": { "type": "string", "enum": ["enabled", "disabled"] } - } - }, - "secret_scanning_push_protection": { - "type": "object", - "properties": { - "status": { "type": "string", "enum": ["enabled", "disabled"] } - } - } - } - }, - "deployment-simple": { - "title": "Deployment", - "description": "A deployment created as the result of an Actions check run from a workflow that references an environment", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/example/deployments/1" - ] - }, - "id": { - "description": "Unique identifier of the deployment", - "type": "integer", - "examples": [42] - }, - "node_id": { "type": "string", "examples": ["MDEwOkRlcGxveW1lbnQx"] }, - "task": { - "description": "Parameter to specify a task to execute", - "type": "string", - "examples": ["deploy"] - }, - "original_environment": { "type": "string", "examples": ["staging"] }, - "environment": { - "description": "Name for the target deployment environment.", - "type": "string", - "examples": ["production"] - }, - "description": { - "type": ["string", "null"], - "examples": ["Deploy request from hubot"] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": ["2012-07-20T01:19:13Z"] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": ["2012-07-20T01:19:13Z"] - }, - "statuses_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/example/deployments/1/statuses" - ] - }, - "repository_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/repos/octocat/example"] - }, - "transient_environment": { - "description": "Specifies if the given environment is will no longer exist at some point in the future. Default: false.", - "type": "boolean", - "examples": [true] - }, - "production_environment": { - "description": "Specifies if the given environment is one that end-users directly interact with. Default: false.", - "type": "boolean", - "examples": [true] - }, - "performed_via_github_app": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/integration" } - ] - } - }, - "required": [ - "id", - "node_id", - "task", - "environment", - "description", - "statuses_url", - "repository_url", - "url", - "created_at", - "updated_at" - ] - }, - "webhook-check-run-created": { - "title": "Check Run Created Event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "check_run": { - "$ref": "#/components/schemas/check-run-with-simple-check-suite" - }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["check_run", "repository", "sender", "action"] - }, - "webhook-check-run-requested-action": { - "title": "Check Run Requested Action Event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["requested_action"] }, - "check_run": { - "$ref": "#/components/schemas/check-run-with-simple-check-suite" - }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "requested_action": { - "description": "The action requested by the user.", - "type": "object", - "properties": { - "identifier": { - "description": "The integrator reference of the action requested by the user.", - "type": "string" - } - } - }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "check_run", "repository", "sender"] - }, - "webhook-check-run-rerequested": { - "title": "Check Run Re-Requested Event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["rerequested"] }, - "check_run": { - "$ref": "#/components/schemas/check-run-with-simple-check-suite" - }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["check_run", "repository", "sender", "action"] - }, - "webhook-check-suite-completed": { - "title": "check_suite completed event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["completed"] }, - "check_suite": { - "description": "The [check_suite](https://docs.github.com/enterprise-server@3.13/rest/checks/suites#get-a-check-suite).", - "type": "object", - "properties": { - "after": { "type": ["string", "null"] }, - "app": { - "title": "App", - "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", - "type": "object", - "properties": { - "created_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "description": { "type": ["string", "null"] }, - "events": { - "description": "The list of events for the GitHub app", - "type": "array", - "items": { - "type": "string", - "enum": [ - "branch_protection_rule", - "check_run", - "check_suite", - "code_scanning_alert", - "commit_comment", - "content_reference", - "create", - "delete", - "deployment", - "deployment_review", - "deployment_status", - "deploy_key", - "discussion", - "discussion_comment", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "org_block", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "registry_package", - "release", - "repository", - "repository_dispatch", - "secret_scanning_alert", - "star", - "status", - "team", - "team_add", - "watch", - "workflow_dispatch", - "workflow_run", - "merge_group", - "pull_request_review_thread", - "workflow_job", - "merge_queue_entry", - "security_and_analysis", - "projects_v2_item", - "secret_scanning_alert_location" - ] - } - }, - "external_url": { - "type": ["string", "null"], - "format": "uri" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the GitHub app", - "type": ["integer", "null"] - }, - "client_id": { - "description": "The client ID of the GitHub app", - "type": ["string", "null"] - }, - "name": { - "description": "The name of the GitHub app", - "type": "string" - }, - "node_id": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "description": "The set of permissions for the GitHub app", - "type": "object", - "properties": { - "actions": { - "type": "string", - "enum": ["read", "write"] - }, - "administration": { - "type": "string", - "enum": ["read", "write"] - }, - "checks": { "type": "string", "enum": ["read", "write"] }, - "content_references": { - "type": "string", - "enum": ["read", "write"] - }, - "contents": { - "type": "string", - "enum": ["read", "write"] - }, - "deployments": { - "type": "string", - "enum": ["read", "write"] - }, - "discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "emails": { "type": "string", "enum": ["read", "write"] }, - "environments": { - "type": "string", - "enum": ["read", "write"] - }, - "issues": { "type": "string", "enum": ["read", "write"] }, - "keys": { "type": "string", "enum": ["read", "write"] }, - "members": { - "type": "string", - "enum": ["read", "write"] - }, - "metadata": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_administration": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_packages": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_plan": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_projects": { - "type": "string", - "enum": ["read", "write", "admin"] - }, - "organization_secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_self_hosted_runners": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_user_blocking": { - "type": "string", - "enum": ["read", "write"] - }, - "packages": { - "type": "string", - "enum": ["read", "write"] - }, - "pages": { "type": "string", "enum": ["read", "write"] }, - "pull_requests": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_projects": { - "type": "string", - "enum": ["read", "write", "admin"] - }, - "secret_scanning_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "security_events": { - "type": "string", - "enum": ["read", "write"] - }, - "security_scanning_alert": { - "type": "string", - "enum": ["read", "write"] - }, - "single_file": { - "type": "string", - "enum": ["read", "write"] - }, - "statuses": { - "type": "string", - "enum": ["read", "write"] - }, - "team_discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "vulnerability_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "workflows": { - "type": "string", - "enum": ["read", "write"] - } - } - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string" - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time" - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ] - }, - "before": { "type": ["string", "null"] }, - "check_runs_url": { "type": "string", "format": "uri" }, - "conclusion": { - "description": "The summary conclusion for all check runs that are part of the check suite. This value will be `null` until the check run has `completed`.", - "type": ["string", "null"], - "enum": [ - "success", - "failure", - "neutral", - "cancelled", - "timed_out", - "action_required", - "stale", - null, - "skipped", - "startup_failure" - ] - }, - "created_at": { "type": "string", "format": "date-time" }, - "head_branch": { - "description": "The head branch name the changes are on.", - "type": ["string", "null"] - }, - "head_commit": { - "title": "SimpleCommit", - "type": "object", - "properties": { - "author": { - "title": "Committer", - "description": "Metaproperties for Git author/committer information.", - "type": "object", - "properties": { - "date": { "type": "string", "format": "date-time" }, - "email": { - "type": ["string", "null"], - "format": "email" - }, - "name": { - "description": "The git author's name.", - "type": "string" - }, - "username": { "type": "string" } - }, - "required": ["email", "name"] - }, - "committer": { - "title": "Committer", - "description": "Metaproperties for Git author/committer information.", - "type": "object", - "properties": { - "date": { "type": "string", "format": "date-time" }, - "email": { - "type": ["string", "null"], - "format": "email" - }, - "name": { - "description": "The git author's name.", - "type": "string" - }, - "username": { "type": "string" } - }, - "required": ["email", "name"] - }, - "id": { "type": "string" }, - "message": { "type": "string" }, - "timestamp": { "type": "string" }, - "tree_id": { "type": "string" } - }, - "required": [ - "id", - "tree_id", - "message", - "timestamp", - "author", - "committer" - ] - }, - "head_sha": { - "description": "The SHA of the head commit that is being checked.", - "type": "string" - }, - "id": { "type": "integer" }, - "latest_check_runs_count": { "type": "integer" }, - "node_id": { "type": "string" }, - "pull_requests": { - "description": "An array of pull requests that match this check suite. A pull request matches a check suite if they have the same `head_sha` and `head_branch`. When the check suite's `head_branch` is in a forked repository it will be `null` and the `pull_requests` array will be empty.", - "type": "array", - "items": { - "title": "Check Run Pull Request", - "type": "object", - "properties": { - "base": { - "type": "object", - "properties": { - "ref": { "type": "string" }, - "repo": { - "title": "Repo Ref", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "name": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["id", "url", "name"] - }, - "sha": { "type": "string" } - }, - "required": ["ref", "sha", "repo"] - }, - "head": { - "type": "object", - "properties": { - "ref": { "type": "string" }, - "repo": { - "title": "Repo Ref", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "name": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["id", "url", "name"] - }, - "sha": { "type": "string" } - }, - "required": ["ref", "sha", "repo"] - }, - "id": { "type": "integer" }, - "number": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["url", "id", "number", "head", "base"] - } - }, - "rerequestable": { "type": "boolean" }, - "runs_rerequestable": { "type": "boolean" }, - "status": { - "description": "The summary status for all check runs that are part of the check suite. Can be `requested`, `in_progress`, or `completed`.", - "type": ["string", "null"], - "enum": [ - "requested", - "in_progress", - "completed", - "queued", - null, - "pending" - ] - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { - "description": "URL that points to the check suite API resource.", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "head_branch", - "head_sha", - "status", - "conclusion", - "url", - "before", - "after", - "pull_requests", - "app", - "created_at", - "updated_at", - "latest_check_runs_count", - "check_runs_url", - "head_commit" - ] - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "check_suite", "repository", "sender"] - }, - "webhook-check-suite-requested": { - "title": "check_suite requested event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["requested"] }, - "check_suite": { - "description": "The [check_suite](https://docs.github.com/enterprise-server@3.13/rest/checks/suites#get-a-check-suite).", - "type": "object", - "properties": { - "after": { "type": ["string", "null"] }, - "app": { - "title": "App", - "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", - "type": "object", - "properties": { - "created_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "description": { "type": ["string", "null"] }, - "events": { - "description": "The list of events for the GitHub app", - "type": "array", - "items": { - "type": "string", - "enum": [ - "branch_protection_rule", - "check_run", - "check_suite", - "code_scanning_alert", - "commit_comment", - "content_reference", - "create", - "delete", - "deployment", - "deployment_review", - "deployment_status", - "deploy_key", - "discussion", - "discussion_comment", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "org_block", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "registry_package", - "release", - "repository", - "repository_dispatch", - "secret_scanning_alert", - "star", - "status", - "team", - "team_add", - "watch", - "workflow_dispatch", - "workflow_run", - "pull_request_review_thread", - "workflow_job", - "merge_queue_entry", - "security_and_analysis", - "secret_scanning_alert_location", - "projects_v2_item", - "merge_group", - "repository_import" - ] - } - }, - "external_url": { - "type": ["string", "null"], - "format": "uri" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the GitHub app", - "type": ["integer", "null"] - }, - "client_id": { - "description": "Client ID of the GitHub app", - "type": ["string", "null"] - }, - "name": { - "description": "The name of the GitHub app", - "type": "string" - }, - "node_id": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "description": "The set of permissions for the GitHub app", - "type": "object", - "properties": { - "actions": { - "type": "string", - "enum": ["read", "write"] - }, - "administration": { - "type": "string", - "enum": ["read", "write"] - }, - "checks": { "type": "string", "enum": ["read", "write"] }, - "content_references": { - "type": "string", - "enum": ["read", "write"] - }, - "contents": { - "type": "string", - "enum": ["read", "write"] - }, - "deployments": { - "type": "string", - "enum": ["read", "write"] - }, - "discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "emails": { "type": "string", "enum": ["read", "write"] }, - "environments": { - "type": "string", - "enum": ["read", "write"] - }, - "issues": { "type": "string", "enum": ["read", "write"] }, - "keys": { "type": "string", "enum": ["read", "write"] }, - "members": { - "type": "string", - "enum": ["read", "write"] - }, - "metadata": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_administration": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_packages": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_plan": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_projects": { - "type": "string", - "enum": ["read", "write", "admin"] - }, - "organization_secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_self_hosted_runners": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_user_blocking": { - "type": "string", - "enum": ["read", "write"] - }, - "packages": { - "type": "string", - "enum": ["read", "write"] - }, - "pages": { "type": "string", "enum": ["read", "write"] }, - "pull_requests": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_projects": { - "type": "string", - "enum": ["read", "write", "admin"] - }, - "secret_scanning_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "security_events": { - "type": "string", - "enum": ["read", "write"] - }, - "security_scanning_alert": { - "type": "string", - "enum": ["read", "write"] - }, - "single_file": { - "type": "string", - "enum": ["read", "write"] - }, - "statuses": { - "type": "string", - "enum": ["read", "write"] - }, - "team_discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "vulnerability_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "workflows": { - "type": "string", - "enum": ["read", "write"] - } - } - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string" - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time" - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ] - }, - "before": { "type": ["string", "null"] }, - "check_runs_url": { "type": "string", "format": "uri" }, - "conclusion": { - "description": "The summary conclusion for all check runs that are part of the check suite. This value will be `null` until the check run has completed.", - "type": ["string", "null"], - "enum": [ - "success", - "failure", - "neutral", - "cancelled", - "timed_out", - "action_required", - "stale", - null, - "skipped" - ] - }, - "created_at": { "type": "string", "format": "date-time" }, - "head_branch": { - "description": "The head branch name the changes are on.", - "type": ["string", "null"] - }, - "head_commit": { - "title": "SimpleCommit", - "type": "object", - "properties": { - "author": { - "title": "Committer", - "description": "Metaproperties for Git author/committer information.", - "type": "object", - "properties": { - "date": { "type": "string", "format": "date-time" }, - "email": { - "type": ["string", "null"], - "format": "email" - }, - "name": { - "description": "The git author's name.", - "type": "string" - }, - "username": { "type": "string" } - }, - "required": ["email", "name"] - }, - "committer": { - "title": "Committer", - "description": "Metaproperties for Git author/committer information.", - "type": "object", - "properties": { - "date": { "type": "string", "format": "date-time" }, - "email": { - "type": ["string", "null"], - "format": "email" - }, - "name": { - "description": "The git author's name.", - "type": "string" - }, - "username": { "type": "string" } - }, - "required": ["email", "name"] - }, - "id": { "type": "string" }, - "message": { "type": "string" }, - "timestamp": { "type": "string" }, - "tree_id": { "type": "string" } - }, - "required": [ - "id", - "tree_id", - "message", - "timestamp", - "author", - "committer" - ] - }, - "head_sha": { - "description": "The SHA of the head commit that is being checked.", - "type": "string" - }, - "id": { "type": "integer" }, - "latest_check_runs_count": { "type": "integer" }, - "node_id": { "type": "string" }, - "pull_requests": { - "description": "An array of pull requests that match this check suite. A pull request matches a check suite if they have the same `head_sha` and `head_branch`. When the check suite's `head_branch` is in a forked repository it will be `null` and the `pull_requests` array will be empty.", - "type": "array", - "items": { - "title": "Check Run Pull Request", - "type": "object", - "properties": { - "base": { - "type": "object", - "properties": { - "ref": { "type": "string" }, - "repo": { - "title": "Repo Ref", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "name": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["id", "url", "name"] - }, - "sha": { "type": "string" } - }, - "required": ["ref", "sha", "repo"] - }, - "head": { - "type": "object", - "properties": { - "ref": { "type": "string" }, - "repo": { - "title": "Repo Ref", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "name": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["id", "url", "name"] - }, - "sha": { "type": "string" } - }, - "required": ["ref", "sha", "repo"] - }, - "id": { "type": "integer" }, - "number": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["url", "id", "number", "head", "base"] - } - }, - "rerequestable": { "type": "boolean" }, - "runs_rerequestable": { "type": "boolean" }, - "status": { - "description": "The summary status for all check runs that are part of the check suite. Can be `requested`, `in_progress`, or `completed`.", - "type": ["string", "null"], - "enum": [ - "requested", - "in_progress", - "completed", - "queued", - null - ] - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { - "description": "URL that points to the check suite API resource.", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "head_branch", - "head_sha", - "status", - "conclusion", - "url", - "before", - "after", - "pull_requests", - "app", - "created_at", - "updated_at", - "latest_check_runs_count", - "check_runs_url", - "head_commit" - ] - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "check_suite", "repository", "sender"] - }, - "webhook-check-suite-rerequested": { - "title": "check_suite rerequested event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["rerequested"] }, - "check_suite": { - "description": "The [check_suite](https://docs.github.com/enterprise-server@3.13/rest/checks/suites#get-a-check-suite).", - "type": "object", - "properties": { - "after": { "type": ["string", "null"] }, - "app": { - "title": "App", - "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", - "type": "object", - "properties": { - "created_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "description": { "type": ["string", "null"] }, - "events": { - "description": "The list of events for the GitHub app", - "type": "array", - "items": { - "type": "string", - "enum": [ - "branch_protection_rule", - "check_run", - "check_suite", - "code_scanning_alert", - "commit_comment", - "content_reference", - "create", - "delete", - "deployment", - "deployment_review", - "deployment_status", - "deploy_key", - "discussion", - "discussion_comment", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "org_block", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "registry_package", - "release", - "repository", - "repository_dispatch", - "secret_scanning_alert", - "star", - "status", - "team", - "team_add", - "watch", - "workflow_dispatch", - "workflow_run", - "pull_request_review_thread", - "merge_queue_entry", - "workflow_job" - ] - } - }, - "external_url": { - "type": ["string", "null"], - "format": "uri" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the GitHub app", - "type": ["integer", "null"] - }, - "client_id": { - "description": "The Client ID for the GitHub app", - "type": ["string", "null"] - }, - "name": { - "description": "The name of the GitHub app", - "type": "string" - }, - "node_id": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "description": "The set of permissions for the GitHub app", - "type": "object", - "properties": { - "actions": { - "type": "string", - "enum": ["read", "write"] - }, - "administration": { - "type": "string", - "enum": ["read", "write"] - }, - "checks": { "type": "string", "enum": ["read", "write"] }, - "content_references": { - "type": "string", - "enum": ["read", "write"] - }, - "contents": { - "type": "string", - "enum": ["read", "write"] - }, - "deployments": { - "type": "string", - "enum": ["read", "write"] - }, - "discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "emails": { "type": "string", "enum": ["read", "write"] }, - "environments": { - "type": "string", - "enum": ["read", "write"] - }, - "issues": { "type": "string", "enum": ["read", "write"] }, - "keys": { "type": "string", "enum": ["read", "write"] }, - "members": { - "type": "string", - "enum": ["read", "write"] - }, - "metadata": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_administration": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_packages": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_plan": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_projects": { - "type": "string", - "enum": ["read", "write", "admin"] - }, - "organization_secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_self_hosted_runners": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_user_blocking": { - "type": "string", - "enum": ["read", "write"] - }, - "packages": { - "type": "string", - "enum": ["read", "write"] - }, - "pages": { "type": "string", "enum": ["read", "write"] }, - "pull_requests": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_projects": { - "type": "string", - "enum": ["read", "write", "admin"] - }, - "secret_scanning_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "security_events": { - "type": "string", - "enum": ["read", "write"] - }, - "security_scanning_alert": { - "type": "string", - "enum": ["read", "write"] - }, - "single_file": { - "type": "string", - "enum": ["read", "write"] - }, - "statuses": { - "type": "string", - "enum": ["read", "write"] - }, - "team_discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "vulnerability_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "workflows": { - "type": "string", - "enum": ["read", "write"] - } - } - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string" - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time" - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ] - }, - "before": { "type": ["string", "null"] }, - "check_runs_url": { "type": "string", "format": "uri" }, - "conclusion": { - "description": "The summary conclusion for all check runs that are part of the check suite. This value will be `null` until the check run has completed.", - "type": ["string", "null"], - "enum": [ - "success", - "failure", - "neutral", - "cancelled", - "timed_out", - "action_required", - "stale", - null - ] - }, - "created_at": { "type": "string", "format": "date-time" }, - "head_branch": { - "description": "The head branch name the changes are on.", - "type": ["string", "null"] - }, - "head_commit": { - "title": "SimpleCommit", - "type": "object", - "properties": { - "author": { - "title": "Committer", - "description": "Metaproperties for Git author/committer information.", - "type": "object", - "properties": { - "date": { "type": "string", "format": "date-time" }, - "email": { - "type": ["string", "null"], - "format": "email" - }, - "name": { - "description": "The git author's name.", - "type": "string" - }, - "username": { "type": "string" } - }, - "required": ["email", "name"] - }, - "committer": { - "title": "Committer", - "description": "Metaproperties for Git author/committer information.", - "type": "object", - "properties": { - "date": { "type": "string", "format": "date-time" }, - "email": { - "type": ["string", "null"], - "format": "email" - }, - "name": { - "description": "The git author's name.", - "type": "string" - }, - "username": { "type": "string" } - }, - "required": ["email", "name"] - }, - "id": { "type": "string" }, - "message": { "type": "string" }, - "timestamp": { "type": "string" }, - "tree_id": { "type": "string" } - }, - "required": [ - "id", - "tree_id", - "message", - "timestamp", - "author", - "committer" - ] - }, - "head_sha": { - "description": "The SHA of the head commit that is being checked.", - "type": "string" - }, - "id": { "type": "integer" }, - "latest_check_runs_count": { "type": "integer" }, - "node_id": { "type": "string" }, - "pull_requests": { - "description": "An array of pull requests that match this check suite. A pull request matches a check suite if they have the same `head_sha` and `head_branch`. When the check suite's `head_branch` is in a forked repository it will be `null` and the `pull_requests` array will be empty.", - "type": "array", - "items": { - "title": "Check Run Pull Request", - "type": "object", - "properties": { - "base": { - "type": "object", - "properties": { - "ref": { "type": "string" }, - "repo": { - "title": "Repo Ref", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "name": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["id", "url", "name"] - }, - "sha": { "type": "string" } - }, - "required": ["ref", "sha", "repo"] - }, - "head": { - "type": "object", - "properties": { - "ref": { "type": "string" }, - "repo": { - "title": "Repo Ref", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "name": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["id", "url", "name"] - }, - "sha": { "type": "string" } - }, - "required": ["ref", "sha", "repo"] - }, - "id": { "type": "integer" }, - "number": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["url", "id", "number", "head", "base"] - } - }, - "rerequestable": { "type": "boolean" }, - "runs_rerequestable": { "type": "boolean" }, - "status": { - "description": "The summary status for all check runs that are part of the check suite. Can be `requested`, `in_progress`, or `completed`.", - "type": ["string", "null"], - "enum": [ - "requested", - "in_progress", - "completed", - "queued", - null - ] - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { - "description": "URL that points to the check suite API resource.", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "head_branch", - "head_sha", - "status", - "conclusion", - "url", - "before", - "after", - "pull_requests", - "app", - "created_at", - "updated_at", - "latest_check_runs_count", - "check_runs_url", - "head_commit" - ] - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "check_suite", "repository", "sender"] - }, - "webhook-code-scanning-alert-appeared-in-branch": { - "title": "code_scanning_alert appeared_in_branch event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["appeared_in_branch"] }, - "alert": { - "description": "The code scanning alert involved in the event.", - "type": "object", - "properties": { - "created_at": { - "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ.`", - "type": "string", - "format": "date-time" - }, - "dismissed_at": { - "description": "The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "type": ["string", "null"], - "format": "date-time" - }, - "dismissed_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "dismissed_comment": { - "$ref": "#/components/schemas/code-scanning-alert-dismissed-comment" - }, - "dismissed_reason": { - "description": "The reason for dismissing or closing the alert.", - "type": ["string", "null"], - "enum": ["false positive", "won't fix", "used in tests", null] - }, - "fixed_at": { - "description": "The time that the alert was fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "type": ["null"] - }, - "html_url": { - "description": "The GitHub URL of the alert resource.", - "type": "string", - "format": "uri" - }, - "most_recent_instance": { - "title": "Alert Instance", - "type": ["object", "null"], - "properties": { - "analysis_key": { - "description": "Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name.", - "type": "string" - }, - "category": { - "description": "Identifies the configuration under which the analysis was executed.", - "type": "string" - }, - "classifications": { - "type": "array", - "items": { "type": "string" } - }, - "commit_sha": { "type": "string" }, - "environment": { - "description": "Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed.", - "type": "string" - }, - "location": { - "type": "object", - "properties": { - "end_column": { "type": "integer" }, - "end_line": { "type": "integer" }, - "path": { "type": "string" }, - "start_column": { "type": "integer" }, - "start_line": { "type": "integer" } - } - }, - "message": { - "type": "object", - "properties": { "text": { "type": "string" } } - }, - "ref": { - "description": "The full Git reference, formatted as `refs/heads/`.", - "type": "string" - }, - "state": { - "description": "State of a code scanning alert.", - "type": "string", - "enum": ["open", "dismissed", "fixed"] - } - }, - "required": ["ref", "analysis_key", "environment", "state"] - }, - "number": { - "description": "The code scanning alert number.", - "type": "integer" - }, - "rule": { - "type": "object", - "properties": { - "description": { - "description": "A short description of the rule used to detect the alert.", - "type": "string" - }, - "id": { - "description": "A unique identifier for the rule used to detect the alert.", - "type": "string" - }, - "severity": { - "description": "The severity of the alert.", - "type": ["string", "null"], - "enum": ["none", "note", "warning", "error", null] - } - }, - "required": ["id", "severity", "description"] - }, - "state": { - "description": "State of a code scanning alert. Events for alerts found outside the default branch will return a `null` value until they are dismissed or fixed.", - "type": ["string", "null"], - "enum": ["open", "dismissed", "fixed", null] - }, - "tool": { - "type": "object", - "properties": { - "name": { - "description": "The name of the tool used to generate the code scanning analysis alert.", - "type": "string" - }, - "version": { - "description": "The version of the tool used to detect the alert.", - "type": ["string", "null"] - } - }, - "required": ["name", "version"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "number", - "created_at", - "url", - "html_url", - "state", - "dismissed_by", - "dismissed_at", - "dismissed_reason", - "rule", - "tool" - ] - }, - "commit_oid": { - "$ref": "#/components/schemas/webhooks_code_scanning_commit_oid" - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "ref": { "$ref": "#/components/schemas/webhooks_code_scanning_ref" }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "action", - "alert", - "ref", - "commit_oid", - "repository", - "sender" - ] - }, - "code-scanning-alert-dismissed-comment": { - "type": ["string", "null"], - "description": "The dismissal comment associated with the dismissal of the alert.", - "maxLength": 280 - }, - "webhooks_code_scanning_commit_oid": { - "description": "The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty.", - "type": "string" - }, - "webhooks_code_scanning_ref": { - "description": "The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty.", - "type": "string" - }, - "webhook-code-scanning-alert-closed-by-user": { - "title": "code_scanning_alert closed_by_user event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["closed_by_user"] }, - "alert": { - "description": "The code scanning alert involved in the event.", - "type": "object", - "properties": { - "created_at": { - "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ.`", - "type": "string", - "format": "date-time" - }, - "dismissed_at": { - "description": "The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "type": "string", - "format": "date-time" - }, - "dismissed_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "dismissed_comment": { - "$ref": "#/components/schemas/code-scanning-alert-dismissed-comment" - }, - "dismissed_reason": { - "description": "The reason for dismissing or closing the alert.", - "type": ["string", "null"], - "enum": ["false positive", "won't fix", "used in tests", null] - }, - "fixed_at": { - "description": "The time that the alert was fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "type": ["null"] - }, - "html_url": { - "description": "The GitHub URL of the alert resource.", - "type": "string", - "format": "uri" - }, - "most_recent_instance": { - "title": "Alert Instance", - "type": ["object", "null"], - "properties": { - "analysis_key": { - "description": "Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name.", - "type": "string" - }, - "category": { - "description": "Identifies the configuration under which the analysis was executed.", - "type": "string" - }, - "classifications": { - "type": "array", - "items": { "type": "string" } - }, - "commit_sha": { "type": "string" }, - "environment": { - "description": "Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed.", - "type": "string" - }, - "location": { - "type": "object", - "properties": { - "end_column": { "type": "integer" }, - "end_line": { "type": "integer" }, - "path": { "type": "string" }, - "start_column": { "type": "integer" }, - "start_line": { "type": "integer" } - } - }, - "message": { - "type": "object", - "properties": { "text": { "type": "string" } } - }, - "ref": { - "description": "The full Git reference, formatted as `refs/heads/`.", - "type": "string" - }, - "state": { - "description": "State of a code scanning alert.", - "type": "string", - "enum": ["open", "dismissed", "fixed"] - } - }, - "required": ["ref", "analysis_key", "environment", "state"] - }, - "number": { - "description": "The code scanning alert number.", - "type": "integer" - }, - "rule": { - "type": "object", - "properties": { - "description": { - "description": "A short description of the rule used to detect the alert.", - "type": "string" - }, - "full_description": { "type": "string" }, - "help": { "type": ["string", "null"] }, - "help_uri": { - "description": "A link to the documentation for the rule used to detect the alert.", - "type": ["string", "null"] - }, - "id": { - "description": "A unique identifier for the rule used to detect the alert.", - "type": "string" - }, - "name": { "type": "string" }, - "severity": { - "description": "The severity of the alert.", - "type": ["string", "null"], - "enum": ["none", "note", "warning", "error", null] - }, - "tags": { - "type": ["array", "null"], - "items": { "type": "string" } - } - }, - "required": ["id", "severity", "description"] - }, - "state": { - "description": "State of a code scanning alert.", - "type": "string", - "enum": ["dismissed", "fixed"] - }, - "tool": { - "type": "object", - "properties": { - "guid": { "type": ["string", "null"] }, - "name": { - "description": "The name of the tool used to generate the code scanning analysis alert.", - "type": "string" - }, - "version": { - "description": "The version of the tool used to detect the alert.", - "type": ["string", "null"] - } - }, - "required": ["name", "version"] - }, - "url": { "type": "string", "format": "uri" }, - "dismissal_approved_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "number", - "created_at", - "url", - "html_url", - "state", - "dismissed_by", - "dismissed_at", - "dismissed_reason", - "rule", - "tool" - ] - }, - "commit_oid": { - "$ref": "#/components/schemas/webhooks_code_scanning_commit_oid" - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "ref": { "$ref": "#/components/schemas/webhooks_code_scanning_ref" }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "action", - "alert", - "ref", - "commit_oid", - "repository", - "sender" - ] - }, - "webhook-code-scanning-alert-created": { - "title": "code_scanning_alert created event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "alert": { - "description": "The code scanning alert involved in the event.", - "type": "object", - "properties": { - "created_at": { - "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ.`", - "type": ["string", "null"], - "format": "date-time" - }, - "dismissed_at": { - "description": "The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "type": ["null"] - }, - "dismissed_by": { "type": ["null"] }, - "dismissed_comment": { - "$ref": "#/components/schemas/code-scanning-alert-dismissed-comment" - }, - "dismissed_reason": { - "description": "The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`.", - "type": ["null"] - }, - "fixed_at": { - "description": "The time that the alert was fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "type": ["null"] - }, - "html_url": { - "description": "The GitHub URL of the alert resource.", - "type": "string", - "format": "uri" - }, - "instances_url": { "type": "string" }, - "most_recent_instance": { - "title": "Alert Instance", - "type": ["object", "null"], - "properties": { - "analysis_key": { - "description": "Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name.", - "type": "string" - }, - "category": { - "description": "Identifies the configuration under which the analysis was executed.", - "type": "string" - }, - "classifications": { - "type": "array", - "items": { "type": "string" } - }, - "commit_sha": { "type": "string" }, - "environment": { - "description": "Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed.", - "type": "string" - }, - "location": { - "type": "object", - "properties": { - "end_column": { "type": "integer" }, - "end_line": { "type": "integer" }, - "path": { "type": "string" }, - "start_column": { "type": "integer" }, - "start_line": { "type": "integer" } - } - }, - "message": { - "type": "object", - "properties": { "text": { "type": "string" } } - }, - "ref": { - "description": "The full Git reference, formatted as `refs/heads/`.", - "type": "string" - }, - "state": { - "description": "State of a code scanning alert.", - "type": "string", - "enum": ["open", "dismissed", "fixed"] - } - }, - "required": ["ref", "analysis_key", "environment", "state"] - }, - "number": { - "description": "The code scanning alert number.", - "type": "integer" - }, - "rule": { - "type": "object", - "properties": { - "description": { - "description": "A short description of the rule used to detect the alert.", - "type": "string" - }, - "full_description": { "type": "string" }, - "help": { "type": ["string", "null"] }, - "help_uri": { - "description": "A link to the documentation for the rule used to detect the alert.", - "type": ["string", "null"] - }, - "id": { - "description": "A unique identifier for the rule used to detect the alert.", - "type": "string" - }, - "name": { "type": "string" }, - "severity": { - "description": "The severity of the alert.", - "type": ["string", "null"], - "enum": ["none", "note", "warning", "error", null] - }, - "tags": { - "type": ["array", "null"], - "items": { "type": "string" } - } - }, - "required": ["id", "severity", "description"] - }, - "state": { - "description": "State of a code scanning alert. Events for alerts found outside the default branch will return a `null` value until they are dismissed or fixed.", - "type": ["string", "null"], - "enum": ["open", "dismissed", null] - }, - "tool": { - "type": ["object", "null"], - "properties": { - "guid": { "type": ["string", "null"] }, - "name": { - "description": "The name of the tool used to generate the code scanning analysis alert.", - "type": "string" - }, - "version": { - "description": "The version of the tool used to detect the alert.", - "type": ["string", "null"] - } - }, - "required": ["name", "version"] - }, - "updated_at": { "type": ["string", "null"] }, - "url": { "type": "string", "format": "uri" }, - "dismissal_approved_by": { "type": ["null"] } - }, - "required": [ - "number", - "created_at", - "url", - "html_url", - "state", - "dismissed_by", - "dismissed_at", - "dismissed_reason", - "rule", - "tool" - ] - }, - "commit_oid": { - "$ref": "#/components/schemas/webhooks_code_scanning_commit_oid" - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "ref": { "$ref": "#/components/schemas/webhooks_code_scanning_ref" }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "action", - "alert", - "ref", - "commit_oid", - "repository", - "sender" - ] - }, - "webhook-code-scanning-alert-fixed": { - "title": "code_scanning_alert fixed event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["fixed"] }, - "alert": { - "description": "The code scanning alert involved in the event.", - "type": "object", - "properties": { - "created_at": { - "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ.`", - "type": "string", - "format": "date-time" - }, - "dismissed_at": { - "description": "The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "type": ["string", "null"], - "format": "date-time" - }, - "dismissed_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "dismissed_comment": { - "$ref": "#/components/schemas/code-scanning-alert-dismissed-comment" - }, - "dismissed_reason": { - "description": "The reason for dismissing or closing the alert.", - "type": ["string", "null"], - "enum": ["false positive", "won't fix", "used in tests", null] - }, - "fixed_at": { - "description": "The time that the alert was fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "type": ["null"] - }, - "html_url": { - "description": "The GitHub URL of the alert resource.", - "type": "string", - "format": "uri" - }, - "instances_url": { "type": "string", "format": "uri" }, - "most_recent_instance": { - "title": "Alert Instance", - "type": ["object", "null"], - "properties": { - "analysis_key": { - "description": "Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name.", - "type": "string" - }, - "category": { - "description": "Identifies the configuration under which the analysis was executed.", - "type": "string" - }, - "classifications": { - "type": "array", - "items": { "type": "string" } - }, - "commit_sha": { "type": "string" }, - "environment": { - "description": "Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed.", - "type": "string" - }, - "location": { - "type": "object", - "properties": { - "end_column": { "type": "integer" }, - "end_line": { "type": "integer" }, - "path": { "type": "string" }, - "start_column": { "type": "integer" }, - "start_line": { "type": "integer" } - } - }, - "message": { - "type": "object", - "properties": { "text": { "type": "string" } } - }, - "ref": { - "description": "The full Git reference, formatted as `refs/heads/`.", - "type": "string" - }, - "state": { - "description": "State of a code scanning alert.", - "type": "string", - "enum": ["open", "dismissed", "fixed"] - } - }, - "required": ["ref", "analysis_key", "environment", "state"] - }, - "number": { - "description": "The code scanning alert number.", - "type": "integer" - }, - "rule": { - "type": "object", - "properties": { - "description": { - "description": "A short description of the rule used to detect the alert.", - "type": "string" - }, - "full_description": { "type": "string" }, - "help": { "type": ["string", "null"] }, - "help_uri": { - "description": "A link to the documentation for the rule used to detect the alert.", - "type": ["string", "null"] - }, - "id": { - "description": "A unique identifier for the rule used to detect the alert.", - "type": "string" - }, - "name": { "type": "string" }, - "severity": { - "description": "The severity of the alert.", - "type": ["string", "null"], - "enum": ["none", "note", "warning", "error", null] - }, - "tags": { - "type": ["array", "null"], - "items": { "type": "string" } - } - }, - "required": ["id", "severity", "description"] - }, - "state": { - "description": "State of a code scanning alert. Events for alerts found outside the default branch will return a `null` value until they are dismissed or fixed.", - "type": ["string", "null"], - "enum": ["fixed", null] - }, - "tool": { - "type": "object", - "properties": { - "guid": { "type": ["string", "null"] }, - "name": { - "description": "The name of the tool used to generate the code scanning analysis alert.", - "type": "string" - }, - "version": { - "description": "The version of the tool used to detect the alert.", - "type": ["string", "null"] - } - }, - "required": ["name", "version"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "number", - "created_at", - "url", - "html_url", - "state", - "dismissed_by", - "dismissed_at", - "dismissed_reason", - "rule", - "tool" - ] - }, - "commit_oid": { - "$ref": "#/components/schemas/webhooks_code_scanning_commit_oid" - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "ref": { "$ref": "#/components/schemas/webhooks_code_scanning_ref" }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "action", - "alert", - "ref", - "commit_oid", - "repository", - "sender" - ] - }, - "webhook-code-scanning-alert-reopened": { - "title": "code_scanning_alert reopened event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["reopened"] }, - "alert": { - "description": "The code scanning alert involved in the event.", - "type": ["object", "null"], - "properties": { - "created_at": { - "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ.`", - "type": "string", - "format": "date-time" - }, - "dismissed_at": { - "description": "The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "type": ["string", "null"] - }, - "dismissed_by": { "type": ["object", "null"] }, - "dismissed_comment": { - "$ref": "#/components/schemas/code-scanning-alert-dismissed-comment" - }, - "dismissed_reason": { - "description": "The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`.", - "type": ["string", "null"] - }, - "fixed_at": { - "description": "The time that the alert was fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "type": ["null"] - }, - "html_url": { - "description": "The GitHub URL of the alert resource.", - "type": "string", - "format": "uri" - }, - "most_recent_instance": { - "title": "Alert Instance", - "type": ["object", "null"], - "properties": { - "analysis_key": { - "description": "Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name.", - "type": "string" - }, - "category": { - "description": "Identifies the configuration under which the analysis was executed.", - "type": "string" - }, - "classifications": { - "type": "array", - "items": { "type": "string" } - }, - "commit_sha": { "type": "string" }, - "environment": { - "description": "Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed.", - "type": "string" - }, - "location": { - "type": "object", - "properties": { - "end_column": { "type": "integer" }, - "end_line": { "type": "integer" }, - "path": { "type": "string" }, - "start_column": { "type": "integer" }, - "start_line": { "type": "integer" } - } - }, - "message": { - "type": "object", - "properties": { "text": { "type": "string" } } - }, - "ref": { - "description": "The full Git reference, formatted as `refs/heads/`.", - "type": "string" - }, - "state": { - "description": "State of a code scanning alert.", - "type": "string", - "enum": ["open", "dismissed", "fixed"] - } - }, - "required": ["ref", "analysis_key", "environment", "state"] - }, - "number": { - "description": "The code scanning alert number.", - "type": "integer" - }, - "rule": { - "type": "object", - "properties": { - "description": { - "description": "A short description of the rule used to detect the alert.", - "type": "string" - }, - "full_description": { "type": "string" }, - "help": { "type": ["string", "null"] }, - "help_uri": { - "description": "A link to the documentation for the rule used to detect the alert.", - "type": ["string", "null"] - }, - "id": { - "description": "A unique identifier for the rule used to detect the alert.", - "type": "string" - }, - "name": { "type": "string" }, - "severity": { - "description": "The severity of the alert.", - "type": ["string", "null"], - "enum": ["none", "note", "warning", "error", null] - }, - "tags": { - "type": ["array", "null"], - "items": { "type": "string" } - } - }, - "required": ["id", "severity", "description"] - }, - "state": { - "description": "State of a code scanning alert. Events for alerts found outside the default branch will return a `null` value until they are dismissed or fixed.", - "type": ["string", "null"], - "enum": ["open", "dismissed", "fixed", null] - }, - "tool": { - "type": "object", - "properties": { - "guid": { "type": ["string", "null"] }, - "name": { - "description": "The name of the tool used to generate the code scanning analysis alert.", - "type": "string" - }, - "version": { - "description": "The version of the tool used to detect the alert.", - "type": ["string", "null"] - } - }, - "required": ["name", "version"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "number", - "created_at", - "url", - "html_url", - "state", - "dismissed_by", - "dismissed_at", - "dismissed_reason", - "rule", - "tool" - ] - }, - "commit_oid": { - "description": "The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty.", - "type": ["string", "null"] - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "ref": { - "description": "The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty.", - "type": ["string", "null"] - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "action", - "alert", - "ref", - "commit_oid", - "repository", - "sender" - ] - }, - "webhook-code-scanning-alert-reopened-by-user": { - "title": "code_scanning_alert reopened_by_user event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["reopened_by_user"] }, - "alert": { - "description": "The code scanning alert involved in the event.", - "type": "object", - "properties": { - "created_at": { - "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ.`", - "type": "string", - "format": "date-time" - }, - "dismissed_at": { - "description": "The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "type": ["null"] - }, - "dismissed_by": { "type": ["null"] }, - "dismissed_comment": { - "$ref": "#/components/schemas/code-scanning-alert-dismissed-comment" - }, - "dismissed_reason": { - "description": "The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`.", - "type": ["null"] - }, - "fixed_at": { - "description": "The time that the alert was fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "type": ["null"] - }, - "html_url": { - "description": "The GitHub URL of the alert resource.", - "type": "string", - "format": "uri" - }, - "most_recent_instance": { - "title": "Alert Instance", - "type": ["object", "null"], - "properties": { - "analysis_key": { - "description": "Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name.", - "type": "string" - }, - "category": { - "description": "Identifies the configuration under which the analysis was executed.", - "type": "string" - }, - "classifications": { - "type": "array", - "items": { "type": "string" } - }, - "commit_sha": { "type": "string" }, - "environment": { - "description": "Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed.", - "type": "string" - }, - "location": { - "type": "object", - "properties": { - "end_column": { "type": "integer" }, - "end_line": { "type": "integer" }, - "path": { "type": "string" }, - "start_column": { "type": "integer" }, - "start_line": { "type": "integer" } - } - }, - "message": { - "type": "object", - "properties": { "text": { "type": "string" } } - }, - "ref": { - "description": "The full Git reference, formatted as `refs/heads/`.", - "type": "string" - }, - "state": { - "description": "State of a code scanning alert.", - "type": "string", - "enum": ["open", "dismissed", "fixed"] - } - }, - "required": ["ref", "analysis_key", "environment", "state"] - }, - "number": { - "description": "The code scanning alert number.", - "type": "integer" - }, - "rule": { - "type": "object", - "properties": { - "description": { - "description": "A short description of the rule used to detect the alert.", - "type": "string" - }, - "id": { - "description": "A unique identifier for the rule used to detect the alert.", - "type": "string" - }, - "severity": { - "description": "The severity of the alert.", - "type": ["string", "null"], - "enum": ["none", "note", "warning", "error", null] - } - }, - "required": ["id", "severity", "description"] - }, - "state": { - "description": "State of a code scanning alert. Events for alerts found outside the default branch will return a `null` value until they are dismissed or fixed.", - "type": ["string", "null"], - "enum": ["open", "fixed", null] - }, - "tool": { - "type": "object", - "properties": { - "name": { - "description": "The name of the tool used to generate the code scanning analysis alert.", - "type": "string" - }, - "version": { - "description": "The version of the tool used to detect the alert.", - "type": ["string", "null"] - } - }, - "required": ["name", "version"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "number", - "created_at", - "url", - "html_url", - "state", - "dismissed_by", - "dismissed_at", - "dismissed_reason", - "rule", - "tool" - ] - }, - "commit_oid": { - "$ref": "#/components/schemas/webhooks_code_scanning_commit_oid" - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "ref": { "$ref": "#/components/schemas/webhooks_code_scanning_ref" }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "action", - "alert", - "ref", - "commit_oid", - "repository", - "sender" - ] - }, - "webhook-commit-comment-created": { - "title": "commit_comment created event", - "type": "object", - "properties": { - "action": { - "description": "The action performed. Can be `created`.", - "type": "string", - "enum": ["created"] - }, - "comment": { - "description": "The [commit comment](${externalDocsUpapp/api/description/components/schemas/webhooks/issue-comment-created.yamlrl}/rest/commits/comments#get-a-commit-comment) resource.", - "type": "object", - "properties": { - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { - "description": "The text of the comment.", - "type": "string" - }, - "commit_id": { - "description": "The SHA of the commit to which the comment applies.", - "type": "string" - }, - "created_at": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "The ID of the commit comment.", - "type": "integer" - }, - "line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "type": ["integer", "null"] - }, - "node_id": { - "description": "The node ID of the commit comment.", - "type": "string" - }, - "path": { - "description": "The relative path of the file to which the comment applies.", - "type": ["string", "null"] - }, - "position": { - "description": "The line index in the diff to which the comment applies.", - "type": ["integer", "null"] - }, - "reactions": { - "title": "Reactions", - "type": "object", - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] - }, - "updated_at": { "type": "string" }, - "url": { "type": "string", "format": "uri" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "html_url", - "id", - "node_id", - "user", - "position", - "line", - "path", - "commit_id", - "created_at", - "updated_at", - "author_association", - "body" - ] - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "comment", "repository", "sender"] - }, - "webhook-create": { - "title": "create event", - "type": "object", - "properties": { - "description": { - "description": "The repository's current description.", - "type": ["string", "null"] - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "master_branch": { - "description": "The name of the repository's default branch (usually `main`).", - "type": "string" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pusher_type": { - "$ref": "#/components/schemas/webhooks_deploy_pusher_type" - }, - "ref": { "$ref": "#/components/schemas/webhooks_ref_0" }, - "ref_type": { - "description": "The type of Git ref object created in the repository.", - "type": "string", - "enum": ["tag", "branch"] - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "ref", - "ref_type", - "master_branch", - "description", - "pusher_type", - "repository", - "sender" - ] - }, - "webhooks_deploy_pusher_type": { - "description": "The pusher type for the event. Can be either `user` or a deploy key.", - "type": "string" - }, - "webhooks_ref_0": { - "description": "The [`git ref`](https://docs.github.com/enterprise-server@3.13/rest/git/refs#get-a-reference) resource.", - "type": "string" - }, - "webhook-delete": { - "title": "delete event", - "type": "object", - "properties": { - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pusher_type": { - "$ref": "#/components/schemas/webhooks_deploy_pusher_type" - }, - "ref": { "$ref": "#/components/schemas/webhooks_ref_0" }, - "ref_type": { - "description": "The type of Git ref object deleted in the repository.", - "type": "string", - "enum": ["tag", "branch"] - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["ref", "ref_type", "pusher_type", "repository", "sender"] - }, - "webhook-dependabot-alert-auto-dismissed": { - "title": "Dependabot alert auto-dismissed event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["auto_dismissed"] }, - "alert": { "$ref": "#/components/schemas/dependabot-alert" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "alert", "repository", "sender"] - }, - "dependabot-alert": { - "type": "object", - "description": "A Dependabot alert.", - "properties": { - "number": { "$ref": "#/components/schemas/alert-number" }, - "state": { - "type": "string", - "description": "The state of the Dependabot alert.", - "readOnly": true, - "enum": ["auto_dismissed", "dismissed", "fixed", "open"] - }, - "dependency": { - "type": "object", - "description": "Details for the vulnerable dependency.", - "readOnly": true, - "properties": { - "package": { - "$ref": "#/components/schemas/dependabot-alert-package" - }, - "manifest_path": { - "type": "string", - "description": "The full path to the dependency manifest file, relative to the root of the repository.", - "readOnly": true - }, - "scope": { - "type": ["string", "null"], - "description": "The execution scope of the vulnerable dependency.", - "readOnly": true, - "enum": ["development", "runtime", null] - } - } - }, - "security_advisory": { - "$ref": "#/components/schemas/dependabot-alert-security-advisory" - }, - "security_vulnerability": { - "$ref": "#/components/schemas/dependabot-alert-security-vulnerability" - }, - "url": { "$ref": "#/components/schemas/alert-url" }, - "html_url": { "$ref": "#/components/schemas/alert-html-url" }, - "created_at": { "$ref": "#/components/schemas/alert-created-at" }, - "updated_at": { "$ref": "#/components/schemas/alert-updated-at" }, - "dismissed_at": { "$ref": "#/components/schemas/alert-dismissed-at" }, - "dismissed_by": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "dismissed_reason": { - "type": ["string", "null"], - "description": "The reason that the alert was dismissed.", - "enum": [ - "fix_started", - "inaccurate", - "no_bandwidth", - "not_used", - "tolerable_risk", - null - ] - }, - "dismissed_comment": { - "type": ["string", "null"], - "description": "An optional comment associated with the alert's dismissal.", - "maxLength": 280 - }, - "fixed_at": { "$ref": "#/components/schemas/alert-fixed-at" }, - "auto_dismissed_at": { - "$ref": "#/components/schemas/alert-auto-dismissed-at" - } - }, - "required": [ - "number", - "state", - "dependency", - "security_advisory", - "security_vulnerability", - "url", - "html_url", - "created_at", - "updated_at", - "dismissed_at", - "dismissed_by", - "dismissed_reason", - "dismissed_comment", - "fixed_at" - ], - "additionalProperties": false - }, - "alert-number": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true - }, - "dependabot-alert-package": { - "type": "object", - "description": "Details for the vulnerable package.", - "readOnly": true, - "properties": { - "ecosystem": { - "type": "string", - "description": "The package's language or package management ecosystem.", - "readOnly": true - }, - "name": { - "type": "string", - "description": "The unique package name within its ecosystem.", - "readOnly": true - } - }, - "required": ["ecosystem", "name"], - "additionalProperties": false - }, - "dependabot-alert-security-advisory": { - "type": "object", - "description": "Details for the GitHub Security Advisory.", - "readOnly": true, - "properties": { - "ghsa_id": { - "type": "string", - "description": "The unique GitHub Security Advisory ID assigned to the advisory.", - "readOnly": true - }, - "cve_id": { - "type": ["string", "null"], - "description": "The unique CVE ID assigned to the advisory.", - "readOnly": true - }, - "summary": { - "type": "string", - "description": "A short, plain text summary of the advisory.", - "readOnly": true, - "maxLength": 1024 - }, - "description": { - "type": "string", - "description": "A long-form Markdown-supported description of the advisory.", - "readOnly": true - }, - "vulnerabilities": { - "type": "array", - "description": "Vulnerable version range information for the advisory.", - "readOnly": true, - "items": { - "$ref": "#/components/schemas/dependabot-alert-security-vulnerability" - } - }, - "severity": { - "type": "string", - "description": "The severity of the advisory.", - "readOnly": true, - "enum": ["low", "medium", "high", "critical"] - }, - "cvss": { - "type": "object", - "description": "Details for the advisory pertaining to the Common Vulnerability Scoring System.", - "readOnly": true, - "properties": { - "score": { - "type": "number", - "description": "The overall CVSS score of the advisory.", - "minimum": 0, - "maximum": 10, - "readOnly": true - }, - "vector_string": { - "type": ["string", "null"], - "description": "The full CVSS vector string for the advisory.", - "readOnly": true - } - }, - "required": ["score", "vector_string"], - "additionalProperties": false - }, - "cvss_severities": { "$ref": "#/components/schemas/cvss-severities" }, - "cwes": { - "type": "array", - "description": "Details for the advisory pertaining to Common Weakness Enumeration.", - "readOnly": true, - "items": { - "type": "object", - "description": "A CWE weakness assigned to the advisory.", - "readOnly": true, - "properties": { - "cwe_id": { - "type": "string", - "description": "The unique CWE ID.", - "readOnly": true - }, - "name": { - "type": "string", - "description": "The short, plain text name of the CWE.", - "readOnly": true - } - }, - "required": ["cwe_id", "name"], - "additionalProperties": false - } - }, - "identifiers": { - "type": "array", - "description": "Values that identify this advisory among security information sources.", - "readOnly": true, - "items": { - "type": "object", - "description": "An advisory identifier.", - "readOnly": true, - "properties": { - "type": { - "type": "string", - "description": "The type of advisory identifier.", - "readOnly": true, - "enum": ["CVE", "GHSA"] - }, - "value": { - "type": "string", - "description": "The value of the advisory identifer.", - "readOnly": true - } - }, - "required": ["value", "type"], - "additionalProperties": false - } - }, - "references": { - "type": "array", - "description": "Links to additional advisory information.", - "readOnly": true, - "items": { - "type": "object", - "description": "A link to additional advisory information.", - "readOnly": true, - "properties": { - "url": { - "type": "string", - "description": "The URL of the reference.", - "format": "uri", - "readOnly": true - } - }, - "required": ["url"], - "additionalProperties": false - } - }, - "published_at": { - "type": "string", - "description": "The time that the advisory was published in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "format": "date-time", - "readOnly": true - }, - "updated_at": { - "type": "string", - "description": "The time that the advisory was last modified in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "format": "date-time", - "readOnly": true - }, - "withdrawn_at": { - "type": ["string", "null"], - "description": "The time that the advisory was withdrawn in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "format": "date-time", - "readOnly": true - } - }, - "required": [ - "ghsa_id", - "cve_id", - "summary", - "description", - "vulnerabilities", - "severity", - "cvss", - "cwes", - "identifiers", - "references", - "published_at", - "updated_at", - "withdrawn_at" - ], - "additionalProperties": false - }, - "dependabot-alert-security-vulnerability": { - "type": "object", - "description": "Details pertaining to one vulnerable version range for the advisory.", - "readOnly": true, - "properties": { - "package": { - "$ref": "#/components/schemas/dependabot-alert-package" - }, - "severity": { - "type": "string", - "description": "The severity of the vulnerability.", - "readOnly": true, - "enum": ["low", "medium", "high", "critical"] - }, - "vulnerable_version_range": { - "type": "string", - "description": "Conditions that identify vulnerable versions of this vulnerability's package.", - "readOnly": true - }, - "first_patched_version": { - "type": ["object", "null"], - "description": "Details pertaining to the package version that patches this vulnerability.", - "readOnly": true, - "properties": { - "identifier": { - "type": "string", - "description": "The package version that patches this vulnerability.", - "readOnly": true - } - }, - "required": ["identifier"], - "additionalProperties": false - } - }, - "required": [ - "package", - "severity", - "vulnerable_version_range", - "first_patched_version" - ], - "additionalProperties": false - }, - "cvss-severities": { - "type": ["object", "null"], - "properties": { - "cvss_v3": { - "type": ["object", "null"], - "properties": { - "vector_string": { - "type": ["string", "null"], - "description": "The CVSS 3 vector string." - }, - "score": { - "type": ["number", "null"], - "description": "The CVSS 3 score.", - "minimum": 0, - "maximum": 10, - "readOnly": true - } - }, - "required": ["vector_string", "score"] - }, - "cvss_v4": { - "type": ["object", "null"], - "properties": { - "vector_string": { - "type": ["string", "null"], - "description": "The CVSS 4 vector string." - }, - "score": { - "type": ["number", "null"], - "description": "The CVSS 4 score.", - "minimum": 0, - "maximum": 10, - "readOnly": true - } - }, - "required": ["vector_string", "score"] - } - } - }, - "alert-url": { - "type": "string", - "description": "The REST API URL of the alert resource.", - "format": "uri", - "readOnly": true - }, - "alert-html-url": { - "type": "string", - "description": "The GitHub URL of the alert resource.", - "format": "uri", - "readOnly": true - }, - "alert-created-at": { - "type": "string", - "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "format": "date-time", - "readOnly": true - }, - "alert-updated-at": { - "type": "string", - "description": "The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "format": "date-time", - "readOnly": true - }, - "alert-dismissed-at": { - "type": ["string", "null"], - "description": "The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "format": "date-time", - "readOnly": true - }, - "alert-fixed-at": { - "type": ["string", "null"], - "description": "The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "format": "date-time", - "readOnly": true - }, - "alert-auto-dismissed-at": { - "type": ["string", "null"], - "description": "The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "format": "date-time", - "readOnly": true - }, - "webhook-dependabot-alert-auto-reopened": { - "title": "Dependabot alert auto-reopened event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["auto_reopened"] }, - "alert": { "$ref": "#/components/schemas/dependabot-alert" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "alert", "repository", "sender"] - }, - "webhook-dependabot-alert-created": { - "title": "Dependabot alert created event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "alert": { "$ref": "#/components/schemas/dependabot-alert" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "alert", "repository", "sender"] - }, - "webhook-dependabot-alert-dismissed": { - "title": "Dependabot alert dismissed event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["dismissed"] }, - "alert": { "$ref": "#/components/schemas/dependabot-alert" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "alert", "repository", "sender"] - }, - "webhook-dependabot-alert-fixed": { - "title": "Dependabot alert fixed event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["fixed"] }, - "alert": { "$ref": "#/components/schemas/dependabot-alert" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "alert", "repository", "sender"] - }, - "webhook-dependabot-alert-reintroduced": { - "title": "Dependabot alert reintroduced event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["reintroduced"] }, - "alert": { "$ref": "#/components/schemas/dependabot-alert" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "alert", "repository", "sender"] - }, - "webhook-dependabot-alert-reopened": { - "title": "Dependabot alert reopened event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["reopened"] }, - "alert": { "$ref": "#/components/schemas/dependabot-alert" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "alert", "repository", "sender"] - }, - "webhook-deploy-key-created": { - "title": "deploy_key created event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "key": { "$ref": "#/components/schemas/webhooks_deploy_key" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "key", "repository", "sender"] - }, - "webhooks_deploy_key": { - "description": "The [`deploy key`](https://docs.github.com/enterprise-server@3.13/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource.", - "type": "object", - "properties": { - "added_by": { "type": ["string", "null"] }, - "created_at": { "type": "string" }, - "id": { "type": "integer" }, - "key": { "type": "string" }, - "last_used": { "type": ["string", "null"] }, - "read_only": { "type": "boolean" }, - "title": { "type": "string" }, - "url": { "type": "string", "format": "uri" }, - "verified": { "type": "boolean" } - }, - "required": [ - "id", - "key", - "url", - "title", - "verified", - "created_at", - "read_only" - ] - }, - "webhook-deploy-key-deleted": { - "title": "deploy_key deleted event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["deleted"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "key": { "$ref": "#/components/schemas/webhooks_deploy_key" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "key", "repository", "sender"] - }, - "webhook-deployment-created": { - "title": "deployment created event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "deployment": { - "title": "Deployment", - "description": "The [deployment](https://docs.github.com/enterprise-server@3.13/rest/deployments/deployments#list-deployments).", - "type": "object", - "properties": { - "created_at": { "type": "string" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "environment": { "type": "string" }, - "id": { "type": "integer" }, - "node_id": { "type": "string" }, - "original_environment": { "type": "string" }, - "payload": { - "oneOf": [{ "type": "object" }, { "type": "string" }] - }, - "performed_via_github_app": { - "title": "App", - "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", - "type": ["object", "null"], - "properties": { - "created_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "description": { "type": ["string", "null"] }, - "events": { - "description": "The list of events for the GitHub app", - "type": "array", - "items": { - "type": "string", - "enum": [ - "branch_protection_rule", - "check_run", - "check_suite", - "code_scanning_alert", - "commit_comment", - "content_reference", - "create", - "delete", - "deployment", - "deployment_review", - "deployment_status", - "deploy_key", - "discussion", - "discussion_comment", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "org_block", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "registry_package", - "release", - "repository", - "repository_dispatch", - "secret_scanning_alert", - "star", - "status", - "team", - "team_add", - "watch", - "workflow_dispatch", - "workflow_run", - "workflow_job", - "pull_request_review_thread", - "merge_queue_entry", - "secret_scanning_alert_location", - "merge_group" - ] - } - }, - "external_url": { - "type": ["string", "null"], - "format": "uri" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the GitHub app", - "type": ["integer", "null"] - }, - "name": { - "description": "The name of the GitHub app", - "type": "string" - }, - "node_id": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "description": "The set of permissions for the GitHub app", - "type": "object", - "properties": { - "actions": { - "type": "string", - "enum": ["read", "write"] - }, - "administration": { - "type": "string", - "enum": ["read", "write"] - }, - "checks": { "type": "string", "enum": ["read", "write"] }, - "content_references": { - "type": "string", - "enum": ["read", "write"] - }, - "contents": { - "type": "string", - "enum": ["read", "write"] - }, - "deployments": { - "type": "string", - "enum": ["read", "write"] - }, - "discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "emails": { "type": "string", "enum": ["read", "write"] }, - "environments": { - "type": "string", - "enum": ["read", "write"] - }, - "issues": { "type": "string", "enum": ["read", "write"] }, - "keys": { "type": "string", "enum": ["read", "write"] }, - "members": { - "type": "string", - "enum": ["read", "write"] - }, - "metadata": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_administration": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_packages": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_plan": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_self_hosted_runners": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_user_blocking": { - "type": "string", - "enum": ["read", "write"] - }, - "packages": { - "type": "string", - "enum": ["read", "write"] - }, - "pages": { "type": "string", "enum": ["read", "write"] }, - "pull_requests": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "secret_scanning_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "security_events": { - "type": "string", - "enum": ["read", "write"] - }, - "security_scanning_alert": { - "type": "string", - "enum": ["read", "write"] - }, - "single_file": { - "type": "string", - "enum": ["read", "write"] - }, - "statuses": { - "type": "string", - "enum": ["read", "write"] - }, - "team_discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "vulnerability_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "workflows": { - "type": "string", - "enum": ["read", "write"] - } - } - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string" - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time" - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ] - }, - "production_environment": { "type": "boolean" }, - "ref": { "type": "string" }, - "repository_url": { "type": "string", "format": "uri" }, - "sha": { "type": "string" }, - "statuses_url": { "type": "string", "format": "uri" }, - "task": { "type": "string" }, - "transient_environment": { "type": "boolean" }, - "updated_at": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "id", - "node_id", - "sha", - "ref", - "task", - "payload", - "original_environment", - "environment", - "description", - "creator", - "created_at", - "updated_at", - "statuses_url", - "repository_url" - ] - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "workflow": { "$ref": "#/components/schemas/webhooks_workflow" }, - "workflow_run": { - "title": "Deployment Workflow Run", - "type": ["object", "null"], - "properties": { - "actor": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "artifacts_url": { "type": "string" }, - "cancel_url": { "type": "string" }, - "check_suite_id": { "type": "integer" }, - "check_suite_node_id": { "type": "string" }, - "check_suite_url": { "type": "string" }, - "conclusion": { - "type": ["string", "null"], - "enum": [ - "success", - "failure", - "neutral", - "cancelled", - "timed_out", - "action_required", - "stale", - null - ] - }, - "created_at": { "type": "string", "format": "date-time" }, - "display_title": { "type": "string" }, - "event": { "type": "string" }, - "head_branch": { "type": "string" }, - "head_commit": { "type": ["null"] }, - "head_repository": { - "type": "object", - "properties": { - "archive_url": { "type": "string" }, - "assignees_url": { "type": "string" }, - "blobs_url": { "type": "string" }, - "branches_url": { "type": "string" }, - "collaborators_url": { "type": "string" }, - "comments_url": { "type": "string" }, - "commits_url": { "type": "string" }, - "compare_url": { "type": "string" }, - "contents_url": { "type": "string" }, - "contributors_url": { "type": "string" }, - "deployments_url": { "type": "string" }, - "description": { "type": ["null"] }, - "downloads_url": { "type": "string" }, - "events_url": { "type": "string" }, - "fork": { "type": "boolean" }, - "forks_url": { "type": "string" }, - "full_name": { "type": "string" }, - "git_commits_url": { "type": "string" }, - "git_refs_url": { "type": "string" }, - "git_tags_url": { "type": "string" }, - "hooks_url": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "issue_comment_url": { "type": "string" }, - "issue_events_url": { "type": "string" }, - "issues_url": { "type": "string" }, - "keys_url": { "type": "string" }, - "labels_url": { "type": "string" }, - "languages_url": { "type": "string" }, - "merges_url": { "type": "string" }, - "milestones_url": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "notifications_url": { "type": "string" }, - "owner": { - "type": "object", - "properties": { - "avatar_url": { "type": "string" }, - "events_url": { "type": "string" }, - "followers_url": { "type": "string" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string" }, - "received_events_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string" } - } - }, - "private": { "type": "boolean" }, - "pulls_url": { "type": "string" }, - "releases_url": { "type": "string" }, - "stargazers_url": { "type": "string" }, - "statuses_url": { "type": "string" }, - "subscribers_url": { "type": "string" }, - "subscription_url": { "type": "string" }, - "tags_url": { "type": "string" }, - "teams_url": { "type": "string" }, - "trees_url": { "type": "string" }, - "url": { "type": "string" } - } - }, - "head_sha": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "jobs_url": { "type": "string" }, - "logs_url": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "path": { "type": "string" }, - "previous_attempt_url": { "type": ["null"] }, - "pull_requests": { - "type": "array", - "items": { - "title": "Check Run Pull Request", - "type": "object", - "properties": { - "base": { - "type": "object", - "properties": { - "ref": { "type": "string" }, - "repo": { - "title": "Repo Ref", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "name": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["id", "url", "name"] - }, - "sha": { "type": "string" } - }, - "required": ["ref", "sha", "repo"] - }, - "head": { - "type": "object", - "properties": { - "ref": { "type": "string" }, - "repo": { - "title": "Repo Ref", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "name": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["id", "url", "name"] - }, - "sha": { "type": "string" } - }, - "required": ["ref", "sha", "repo"] - }, - "id": { "type": "integer" }, - "number": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["url", "id", "number", "head", "base"] - } - }, - "referenced_workflows": { - "type": ["array", "null"], - "items": { - "type": "object", - "properties": { - "path": { "type": "string" }, - "ref": { "type": "string" }, - "sha": { "type": "string" } - }, - "required": ["path", "sha"] - } - }, - "repository": { - "type": "object", - "properties": { - "archive_url": { "type": "string" }, - "assignees_url": { "type": "string" }, - "blobs_url": { "type": "string" }, - "branches_url": { "type": "string" }, - "collaborators_url": { "type": "string" }, - "comments_url": { "type": "string" }, - "commits_url": { "type": "string" }, - "compare_url": { "type": "string" }, - "contents_url": { "type": "string" }, - "contributors_url": { "type": "string" }, - "deployments_url": { "type": "string" }, - "description": { "type": ["null"] }, - "downloads_url": { "type": "string" }, - "events_url": { "type": "string" }, - "fork": { "type": "boolean" }, - "forks_url": { "type": "string" }, - "full_name": { "type": "string" }, - "git_commits_url": { "type": "string" }, - "git_refs_url": { "type": "string" }, - "git_tags_url": { "type": "string" }, - "hooks_url": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "issue_comment_url": { "type": "string" }, - "issue_events_url": { "type": "string" }, - "issues_url": { "type": "string" }, - "keys_url": { "type": "string" }, - "labels_url": { "type": "string" }, - "languages_url": { "type": "string" }, - "merges_url": { "type": "string" }, - "milestones_url": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "notifications_url": { "type": "string" }, - "owner": { - "type": "object", - "properties": { - "avatar_url": { "type": "string" }, - "events_url": { "type": "string" }, - "followers_url": { "type": "string" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string" }, - "received_events_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string" } - } - }, - "private": { "type": "boolean" }, - "pulls_url": { "type": "string" }, - "releases_url": { "type": "string" }, - "stargazers_url": { "type": "string" }, - "statuses_url": { "type": "string" }, - "subscribers_url": { "type": "string" }, - "subscription_url": { "type": "string" }, - "tags_url": { "type": "string" }, - "teams_url": { "type": "string" }, - "trees_url": { "type": "string" }, - "url": { "type": "string" } - } - }, - "rerun_url": { "type": "string" }, - "run_attempt": { "type": "integer" }, - "run_number": { "type": "integer" }, - "run_started_at": { "type": "string", "format": "date-time" }, - "status": { - "type": "string", - "enum": [ - "requested", - "in_progress", - "completed", - "queued", - "waiting", - "pending" - ] - }, - "triggering_actor": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "workflow_id": { "type": "integer" }, - "workflow_url": { "type": "string" } - }, - "required": [ - "id", - "name", - "node_id", - "head_branch", - "head_sha", - "run_number", - "event", - "status", - "conclusion", - "workflow_id", - "check_suite_id", - "check_suite_node_id", - "url", - "html_url", - "path", - "pull_requests", - "created_at", - "updated_at", - "actor", - "run_attempt", - "run_started_at", - "display_title" - ] - } - }, - "required": [ - "action", - "deployment", - "workflow", - "workflow_run", - "repository", - "sender" - ] - }, - "webhooks_workflow": { - "title": "Workflow", - "type": ["object", "null"], - "properties": { - "badge_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "path": { "type": "string" }, - "state": { "type": "string" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "badge_url", - "created_at", - "html_url", - "id", - "name", - "node_id", - "path", - "state", - "updated_at", - "url" - ] - }, - "webhook-deployment-protection-rule-requested": { - "title": "deployment protection rule requested event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["requested"] }, - "environment": { - "description": "The name of the environment that has the deployment protection rule.", - "type": "string" - }, - "event": { - "description": "The event that triggered the deployment protection rule.", - "type": "string" - }, - "deployment_callback_url": { - "description": "The URL to review the deployment protection rule.", - "type": "string", - "format": "uri" - }, - "deployment": { "$ref": "#/components/schemas/deployment" }, - "pull_requests": { - "type": "array", - "items": { "$ref": "#/components/schemas/pull-request" } - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "repository", "sender"] - }, - "deployment": { - "title": "Deployment", - "description": "A request for a specific ref(branch,sha,tag) to be deployed", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/example/deployments/1" - ] - }, - "id": { - "description": "Unique identifier of the deployment", - "type": "integer", - "format": "int64", - "examples": [42] - }, - "node_id": { "type": "string", "examples": ["MDEwOkRlcGxveW1lbnQx"] }, - "sha": { - "type": "string", - "examples": ["a84d88e7554fc1fa21bcbc4efae3c782a70d2b9d"] - }, - "ref": { - "description": "The ref to deploy. This can be a branch, tag, or sha.", - "type": "string", - "examples": ["topic-branch"] - }, - "task": { - "description": "Parameter to specify a task to execute", - "type": "string", - "examples": ["deploy"] - }, - "payload": { - "oneOf": [ - { "type": "object", "additionalProperties": true }, - { "type": "string" } - ] - }, - "original_environment": { "type": "string", "examples": ["staging"] }, - "environment": { - "description": "Name for the target deployment environment.", - "type": "string", - "examples": ["production"] - }, - "description": { - "type": ["string", "null"], - "examples": ["Deploy request from hubot"] - }, - "creator": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": ["2012-07-20T01:19:13Z"] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": ["2012-07-20T01:19:13Z"] - }, - "statuses_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/example/deployments/1/statuses" - ] - }, - "repository_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/repos/octocat/example"] - }, - "transient_environment": { - "description": "Specifies if the given environment is will no longer exist at some point in the future. Default: false.", - "type": "boolean", - "examples": [true] - }, - "production_environment": { - "description": "Specifies if the given environment is one that end-users directly interact with. Default: false.", - "type": "boolean", - "examples": [true] - }, - "performed_via_github_app": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/integration" } - ] - } - }, - "required": [ - "id", - "node_id", - "sha", - "ref", - "task", - "environment", - "creator", - "payload", - "description", - "statuses_url", - "repository_url", - "url", - "created_at", - "updated_at" - ] - }, - "pull-request": { - "type": "object", - "title": "Pull Request", - "description": "Pull requests let you tell others about changes you've pushed to a repository on GitHub. Once a pull request is sent, interested parties can review the set of changes, discuss potential modifications, and even push follow-up commits if necessary.", - "properties": { - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/1347" - ] - }, - "id": { "type": "integer", "format": "int64", "examples": [1] }, - "node_id": { - "type": "string", - "examples": ["MDExOlB1bGxSZXF1ZXN0MQ=="] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": ["https://github.com/octocat/Hello-World/pull/1347"] - }, - "diff_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat/Hello-World/pull/1347.diff" - ] - }, - "patch_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat/Hello-World/pull/1347.patch" - ] - }, - "issue_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/1347" - ] - }, - "commits_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/1347/commits" - ] - }, - "review_comments_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/1347/comments" - ] - }, - "review_comment_url": { - "type": "string", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}" - ] - }, - "comments_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments" - ] - }, - "statuses_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/statuses/6dcb09b5b57875f334f61aebed695e2e4193db5e" - ] - }, - "number": { - "description": "Number uniquely identifying the pull request within its repository.", - "type": "integer", - "examples": [42] - }, - "state": { - "description": "State of this Pull Request. Either `open` or `closed`.", - "enum": ["open", "closed"], - "type": "string", - "examples": ["open"] - }, - "locked": { "type": "boolean", "examples": [true] }, - "title": { - "description": "The title of the pull request.", - "type": "string", - "examples": ["Amazing new feature"] - }, - "user": { "$ref": "#/components/schemas/simple-user" }, - "body": { - "type": ["string", "null"], - "examples": ["Please pull these awesome changes"] - }, - "labels": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { "type": "integer", "format": "int64" }, - "node_id": { "type": "string" }, - "url": { "type": "string" }, - "name": { "type": "string" }, - "description": { "type": ["string", "null"] }, - "color": { "type": "string" }, - "default": { "type": "boolean" } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "description", - "color", - "default" - ] - } - }, - "milestone": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/milestone" } - ] - }, - "active_lock_reason": { - "type": ["string", "null"], - "examples": ["too heated"] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": ["2011-01-26T19:01:12Z"] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": ["2011-01-26T19:01:12Z"] - }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2011-01-26T19:01:12Z"] - }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2011-01-26T19:01:12Z"] - }, - "merge_commit_sha": { - "type": ["string", "null"], - "examples": ["e5bd3914e2e596debea16f433f57875b5b90bcd6"] - }, - "assignee": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "assignees": { - "type": ["array", "null"], - "items": { "$ref": "#/components/schemas/simple-user" } - }, - "requested_reviewers": { - "type": ["array", "null"], - "items": { "$ref": "#/components/schemas/simple-user" } - }, - "requested_teams": { - "type": ["array", "null"], - "items": { "$ref": "#/components/schemas/team-simple" } - }, - "head": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { "$ref": "#/components/schemas/repository" }, - "sha": { "type": "string" }, - "user": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["label", "ref", "repo", "sha", "user"] - }, - "base": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { "$ref": "#/components/schemas/repository" }, - "sha": { "type": "string" }, - "user": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["label", "ref", "repo", "sha", "user"] - }, - "_links": { - "type": "object", - "properties": { - "comments": { "$ref": "#/components/schemas/link" }, - "commits": { "$ref": "#/components/schemas/link" }, - "statuses": { "$ref": "#/components/schemas/link" }, - "html": { "$ref": "#/components/schemas/link" }, - "issue": { "$ref": "#/components/schemas/link" }, - "review_comments": { "$ref": "#/components/schemas/link" }, - "review_comment": { "$ref": "#/components/schemas/link" }, - "self": { "$ref": "#/components/schemas/link" } - }, - "required": [ - "comments", - "commits", - "statuses", - "html", - "issue", - "review_comments", - "review_comment", - "self" - ] - }, - "author_association": { - "$ref": "#/components/schemas/author-association" - }, - "auto_merge": { "$ref": "#/components/schemas/auto-merge" }, - "draft": { - "description": "Indicates whether or not the pull request is a draft.", - "type": "boolean", - "examples": [false] - }, - "merged": { "type": "boolean" }, - "mergeable": { "type": ["boolean", "null"], "examples": [true] }, - "rebaseable": { "type": ["boolean", "null"], "examples": [true] }, - "mergeable_state": { "type": "string", "examples": ["clean"] }, - "merged_by": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "comments": { "type": "integer", "examples": [10] }, - "review_comments": { "type": "integer", "examples": [0] }, - "maintainer_can_modify": { - "description": "Indicates whether maintainers can modify the pull request.", - "type": "boolean", - "examples": [true] - }, - "commits": { "type": "integer", "examples": [3] }, - "additions": { "type": "integer", "examples": [100] }, - "deletions": { "type": "integer", "examples": [3] }, - "changed_files": { "type": "integer", "examples": [5] } - }, - "required": [ - "_links", - "assignee", - "labels", - "base", - "body", - "closed_at", - "comments_url", - "commits_url", - "created_at", - "diff_url", - "head", - "html_url", - "id", - "node_id", - "issue_url", - "merge_commit_sha", - "merged_at", - "milestone", - "number", - "patch_url", - "review_comment_url", - "review_comments_url", - "statuses_url", - "state", - "locked", - "title", - "updated_at", - "url", - "user", - "author_association", - "auto_merge", - "additions", - "changed_files", - "comments", - "commits", - "deletions", - "mergeable", - "mergeable_state", - "merged", - "maintainer_can_modify", - "merged_by", - "review_comments" - ] - }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/milestones/1" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat/Hello-World/milestones/v1.0" - ] - }, - "labels_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels" - ] - }, - "id": { "type": "integer", "examples": [1002604] }, - "node_id": { - "type": "string", - "examples": ["MDk6TWlsZXN0b25lMTAwMjYwNA=="] - }, - "number": { - "description": "The number of the milestone.", - "type": "integer", - "examples": [42] - }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"], - "default": "open", - "examples": ["open"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string", - "examples": ["v1.0"] - }, - "description": { - "type": ["string", "null"], - "examples": ["Tracking milestone for version 1.0"] - }, - "creator": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "open_issues": { "type": "integer", "examples": [4] }, - "closed_issues": { "type": "integer", "examples": [8] }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": ["2011-04-10T20:09:31Z"] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": ["2014-03-03T18:58:10Z"] - }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2013-02-12T13:22:01Z"] - }, - "due_on": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2012-10-09T23:39:01Z"] - } - }, - "required": [ - "closed_issues", - "creator", - "description", - "due_on", - "closed_at", - "id", - "node_id", - "labels_url", - "html_url", - "number", - "open_issues", - "state", - "title", - "url", - "created_at", - "updated_at" - ] - }, - "team-simple": { - "title": "Team Simple", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier of the team", - "type": "integer", - "examples": [1] - }, - "node_id": { "type": "string", "examples": ["MDQ6VGVhbTE="] }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/organizations/1/team/1"] - }, - "members_url": { - "type": "string", - "examples": [ - "https://api.github.com/organizations/1/team/1/members{/member}" - ] - }, - "name": { - "description": "Name of the team", - "type": "string", - "examples": ["Justice League"] - }, - "description": { - "description": "Description of the team", - "type": ["string", "null"], - "examples": ["A great team."] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string", - "examples": ["admin"] - }, - "privacy": { - "description": "The level of privacy this team should have", - "type": "string", - "examples": ["closed"] - }, - "notification_setting": { - "description": "The notification setting the team has set", - "type": "string", - "examples": ["notifications_enabled"] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": ["https://github.com/orgs/rails/teams/core"] - }, - "repositories_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/organizations/1/team/1/repos"] - }, - "slug": { "type": "string", "examples": ["justice-league"] }, - "ldap_dn": { - "description": "Distinguished Name (DN) that team maps to within LDAP environment", - "type": "string", - "examples": ["uid=example,ou=users,dc=github,dc=com"] - } - }, - "required": [ - "id", - "node_id", - "url", - "members_url", - "name", - "description", - "permission", - "html_url", - "repositories_url", - "slug" - ] - }, - "repository": { - "title": "Repository", - "description": "A repository on GitHub.", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64", - "examples": [42] - }, - "node_id": { - "type": "string", - "examples": ["MDEwOlJlcG9zaXRvcnkxMjk2MjY5"] - }, - "name": { - "description": "The name of the repository.", - "type": "string", - "examples": ["Team Environment"] - }, - "full_name": { - "type": "string", - "examples": ["octocat/Hello-World"] - }, - "license": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/license-simple" } - ] - }, - "forks": { "type": "integer" }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "triage": { "type": "boolean" }, - "push": { "type": "boolean" }, - "maintain": { "type": "boolean" } - }, - "required": ["admin", "pull", "push"] - }, - "owner": { "$ref": "#/components/schemas/simple-user" }, - "private": { - "description": "Whether the repository is private or public.", - "default": false, - "type": "boolean" - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": ["https://github.com/octocat/Hello-World"] - }, - "description": { - "type": ["string", "null"], - "examples": ["This your first repo!"] - }, - "fork": { "type": "boolean" }, - "url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/repos/octocat/Hello-World"] - }, - "archive_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" - ] - }, - "assignees_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" - ] - }, - "blobs_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" - ] - }, - "branches_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" - ] - }, - "collaborators_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" - ] - }, - "comments_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/comments{/number}" - ] - }, - "commits_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" - ] - }, - "compare_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" - ] - }, - "contents_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" - ] - }, - "contributors_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/contributors" - ] - }, - "deployments_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/deployments" - ] - }, - "downloads_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/downloads" - ] - }, - "events_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/events" - ] - }, - "forks_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/forks" - ] - }, - "git_commits_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" - ] - }, - "git_refs_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" - ] - }, - "git_tags_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" - ] - }, - "git_url": { - "type": "string", - "examples": ["git:github.com/octocat/Hello-World.git"] - }, - "issue_comment_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" - ] - }, - "issue_events_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" - ] - }, - "issues_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/issues{/number}" - ] - }, - "keys_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" - ] - }, - "labels_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/labels{/name}" - ] - }, - "languages_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/languages" - ] - }, - "merges_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/merges" - ] - }, - "milestones_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" - ] - }, - "notifications_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" - ] - }, - "pulls_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" - ] - }, - "releases_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/releases{/id}" - ] - }, - "ssh_url": { - "type": "string", - "examples": ["git@github.com:octocat/Hello-World.git"] - }, - "stargazers_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/stargazers" - ] - }, - "statuses_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" - ] - }, - "subscribers_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/subscribers" - ] - }, - "subscription_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/subscription" - ] - }, - "tags_url": { - "type": "string", - "format": "uri", - "examples": ["http://api.github.com/repos/octocat/Hello-World/tags"] - }, - "teams_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/teams" - ] - }, - "trees_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" - ] - }, - "clone_url": { - "type": "string", - "examples": ["https://github.com/octocat/Hello-World.git"] - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri", - "examples": ["git:git.example.com/octocat/Hello-World"] - }, - "hooks_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/hooks" - ] - }, - "svn_url": { - "type": "string", - "format": "uri", - "examples": ["https://svn.github.com/octocat/Hello-World"] - }, - "homepage": { - "type": ["string", "null"], - "format": "uri", - "examples": ["https://github.com"] - }, - "language": { "type": ["string", "null"] }, - "forks_count": { "type": "integer", "examples": [9] }, - "stargazers_count": { "type": "integer", "examples": [80] }, - "watchers_count": { "type": "integer", "examples": [80] }, - "size": { - "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", - "type": "integer", - "examples": [108] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string", - "examples": ["master"] - }, - "open_issues_count": { "type": "integer", "examples": [0] }, - "is_template": { - "description": "Whether this repository acts as a template that can be used to generate new repositories.", - "default": false, - "type": "boolean", - "examples": [true] - }, - "topics": { "type": "array", "items": { "type": "string" } }, - "has_issues": { - "description": "Whether issues are enabled.", - "default": true, - "type": "boolean", - "examples": [true] - }, - "has_projects": { - "description": "Whether projects are enabled.", - "default": true, - "type": "boolean", - "examples": [true] - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "default": true, - "type": "boolean", - "examples": [true] - }, - "has_pages": { "type": "boolean" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "default": true, - "type": "boolean", - "deprecated": true, - "examples": [true] - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "default": false, - "type": "boolean", - "examples": [true] - }, - "archived": { - "description": "Whether the repository is archived.", - "default": false, - "type": "boolean" - }, - "disabled": { - "type": "boolean", - "description": "Returns whether or not this repository disabled." - }, - "visibility": { - "description": "The repository visibility: public, private, or internal.", - "default": "public", - "type": "string" - }, - "pushed_at": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2011-01-26T19:06:43Z"] - }, - "created_at": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2011-01-26T19:01:12Z"] - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2011-01-26T19:14:43Z"] - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "default": true, - "type": "boolean", - "examples": [true] - }, - "temp_clone_token": { "type": "string" }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "default": true, - "type": "boolean", - "examples": [true] - }, - "allow_auto_merge": { - "description": "Whether to allow Auto-merge to be used on pull requests.", - "default": false, - "type": "boolean", - "examples": [false] - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "default": false, - "type": "boolean", - "examples": [false] - }, - "allow_update_branch": { - "description": "Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.", - "default": false, - "type": "boolean", - "examples": [false] - }, - "use_squash_pr_title_as_default": { - "type": "boolean", - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "default": false, - "deprecated": true - }, - "squash_merge_commit_title": { - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"], - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)." - }, - "squash_merge_commit_message": { - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"], - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message." - }, - "merge_commit_title": { - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"], - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)." - }, - "merge_commit_message": { - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"], - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message." - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "default": true, - "type": "boolean", - "examples": [true] - }, - "allow_forking": { - "description": "Whether to allow forking this repo", - "type": "boolean" - }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "default": false, - "type": "boolean" - }, - "open_issues": { "type": "integer" }, - "watchers": { "type": "integer" }, - "master_branch": { "type": "string" }, - "starred_at": { - "type": "string", - "examples": ["\"2020-07-09T00:17:42Z\""] - }, - "anonymous_access_enabled": { - "type": "boolean", - "description": "Whether anonymous git access is enabled for this repository" - }, - "code_search_index_status": { - "type": "object", - "description": "The status of the code search index for this repository", - "properties": { - "lexical_search_ok": { "type": "boolean" }, - "lexical_commit_sha": { "type": "string" } - } - } - }, - "required": [ - "archive_url", - "assignees_url", - "blobs_url", - "branches_url", - "collaborators_url", - "comments_url", - "commits_url", - "compare_url", - "contents_url", - "contributors_url", - "deployments_url", - "description", - "downloads_url", - "events_url", - "fork", - "forks_url", - "full_name", - "git_commits_url", - "git_refs_url", - "git_tags_url", - "hooks_url", - "html_url", - "id", - "node_id", - "issue_comment_url", - "issue_events_url", - "issues_url", - "keys_url", - "labels_url", - "languages_url", - "merges_url", - "milestones_url", - "name", - "notifications_url", - "owner", - "private", - "pulls_url", - "releases_url", - "stargazers_url", - "statuses_url", - "subscribers_url", - "subscription_url", - "tags_url", - "teams_url", - "trees_url", - "url", - "clone_url", - "default_branch", - "forks", - "forks_count", - "git_url", - "has_downloads", - "has_issues", - "has_projects", - "has_wiki", - "has_pages", - "homepage", - "language", - "archived", - "disabled", - "mirror_url", - "open_issues", - "open_issues_count", - "license", - "pushed_at", - "size", - "ssh_url", - "stargazers_count", - "svn_url", - "watchers", - "watchers_count", - "created_at", - "updated_at" - ] - }, - "link": { - "title": "Link", - "description": "Hypermedia Link", - "type": "object", - "properties": { "href": { "type": "string" } }, - "required": ["href"] - }, - "author-association": { - "title": "author_association", - "type": "string", - "description": "How the author is associated with the repository.", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ], - "examples": ["OWNER"] - }, - "auto-merge": { - "title": "Auto merge", - "description": "The status of auto merging a pull request.", - "type": ["object", "null"], - "properties": { - "enabled_by": { "$ref": "#/components/schemas/simple-user" }, - "merge_method": { - "type": "string", - "description": "The merge method to use.", - "enum": ["merge", "squash", "rebase"] - }, - "commit_title": { - "type": "string", - "description": "Title for the merge commit message." - }, - "commit_message": { - "type": "string", - "description": "Commit message for the merge commit." - } - }, - "required": [ - "enabled_by", - "merge_method", - "commit_title", - "commit_message" - ] - }, - "webhook-deployment-review-approved": { - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["approved"] }, - "approver": { "$ref": "#/components/schemas/webhooks_approver" }, - "comment": { "type": "string" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "reviewers": { "$ref": "#/components/schemas/webhooks_reviewers" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "since": { "type": "string" }, - "workflow_job_run": { - "$ref": "#/components/schemas/webhooks_workflow_job_run" - }, - "workflow_job_runs": { - "type": "array", - "items": { - "type": "object", - "properties": { - "conclusion": { "type": ["null"] }, - "created_at": { "type": "string" }, - "environment": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "name": { "type": ["string", "null"] }, - "status": { "type": "string" }, - "updated_at": { "type": "string" } - } - } - }, - "workflow_run": { - "title": "Deployment Workflow Run", - "type": ["object", "null"], - "properties": { - "actor": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "artifacts_url": { "type": "string" }, - "cancel_url": { "type": "string" }, - "check_suite_id": { "type": "integer" }, - "check_suite_node_id": { "type": "string" }, - "check_suite_url": { "type": "string" }, - "conclusion": { - "type": ["string", "null"], - "enum": [ - "success", - "failure", - "neutral", - "cancelled", - "timed_out", - "action_required", - "stale", - null - ] - }, - "created_at": { "type": "string", "format": "date-time" }, - "display_title": { "type": "string" }, - "event": { "type": "string" }, - "head_branch": { "type": "string" }, - "head_commit": { "type": ["object", "null"] }, - "head_repository": { - "type": "object", - "properties": { - "archive_url": { "type": "string" }, - "assignees_url": { "type": "string" }, - "blobs_url": { "type": "string" }, - "branches_url": { "type": "string" }, - "collaborators_url": { "type": "string" }, - "comments_url": { "type": "string" }, - "commits_url": { "type": "string" }, - "compare_url": { "type": "string" }, - "contents_url": { "type": "string" }, - "contributors_url": { "type": "string" }, - "deployments_url": { "type": "string" }, - "description": { "type": ["string", "null"] }, - "downloads_url": { "type": "string" }, - "events_url": { "type": "string" }, - "fork": { "type": "boolean" }, - "forks_url": { "type": "string" }, - "full_name": { "type": "string" }, - "git_commits_url": { "type": "string" }, - "git_refs_url": { "type": "string" }, - "git_tags_url": { "type": "string" }, - "hooks_url": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "issue_comment_url": { "type": "string" }, - "issue_events_url": { "type": "string" }, - "issues_url": { "type": "string" }, - "keys_url": { "type": "string" }, - "labels_url": { "type": "string" }, - "languages_url": { "type": "string" }, - "merges_url": { "type": "string" }, - "milestones_url": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "notifications_url": { "type": "string" }, - "owner": { - "type": "object", - "properties": { - "avatar_url": { "type": "string" }, - "events_url": { "type": "string" }, - "followers_url": { "type": "string" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string" }, - "received_events_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string" }, - "user_view_type": { "type": "string" } - } - }, - "private": { "type": "boolean" }, - "pulls_url": { "type": "string" }, - "releases_url": { "type": "string" }, - "stargazers_url": { "type": "string" }, - "statuses_url": { "type": "string" }, - "subscribers_url": { "type": "string" }, - "subscription_url": { "type": "string" }, - "tags_url": { "type": "string" }, - "teams_url": { "type": "string" }, - "trees_url": { "type": "string" }, - "url": { "type": "string" } - } - }, - "head_sha": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "jobs_url": { "type": "string" }, - "logs_url": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "path": { "type": "string" }, - "previous_attempt_url": { "type": ["string", "null"] }, - "pull_requests": { - "type": "array", - "items": { - "title": "Check Run Pull Request", - "type": "object", - "properties": { - "base": { - "type": "object", - "properties": { - "ref": { "type": "string" }, - "repo": { - "title": "Repo Ref", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "name": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["id", "url", "name"] - }, - "sha": { "type": "string" } - }, - "required": ["ref", "sha", "repo"] - }, - "head": { - "type": "object", - "properties": { - "ref": { "type": "string" }, - "repo": { - "title": "Repo Ref", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "name": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["id", "url", "name"] - }, - "sha": { "type": "string" } - }, - "required": ["ref", "sha", "repo"] - }, - "id": { "type": "integer" }, - "number": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["url", "id", "number", "head", "base"] - } - }, - "referenced_workflows": { - "type": ["array", "null"], - "items": { - "type": "object", - "properties": { - "path": { "type": "string" }, - "ref": { "type": "string" }, - "sha": { "type": "string" } - }, - "required": ["path", "sha"] - } - }, - "repository": { - "type": "object", - "properties": { - "archive_url": { "type": "string" }, - "assignees_url": { "type": "string" }, - "blobs_url": { "type": "string" }, - "branches_url": { "type": "string" }, - "collaborators_url": { "type": "string" }, - "comments_url": { "type": "string" }, - "commits_url": { "type": "string" }, - "compare_url": { "type": "string" }, - "contents_url": { "type": "string" }, - "contributors_url": { "type": "string" }, - "deployments_url": { "type": "string" }, - "description": { "type": ["string", "null"] }, - "downloads_url": { "type": "string" }, - "events_url": { "type": "string" }, - "fork": { "type": "boolean" }, - "forks_url": { "type": "string" }, - "full_name": { "type": "string" }, - "git_commits_url": { "type": "string" }, - "git_refs_url": { "type": "string" }, - "git_tags_url": { "type": "string" }, - "hooks_url": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "issue_comment_url": { "type": "string" }, - "issue_events_url": { "type": "string" }, - "issues_url": { "type": "string" }, - "keys_url": { "type": "string" }, - "labels_url": { "type": "string" }, - "languages_url": { "type": "string" }, - "merges_url": { "type": "string" }, - "milestones_url": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "notifications_url": { "type": "string" }, - "owner": { - "type": "object", - "properties": { - "avatar_url": { "type": "string" }, - "events_url": { "type": "string" }, - "followers_url": { "type": "string" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string" }, - "received_events_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string" }, - "user_view_type": { "type": "string" } - } - }, - "private": { "type": "boolean" }, - "pulls_url": { "type": "string" }, - "releases_url": { "type": "string" }, - "stargazers_url": { "type": "string" }, - "statuses_url": { "type": "string" }, - "subscribers_url": { "type": "string" }, - "subscription_url": { "type": "string" }, - "tags_url": { "type": "string" }, - "teams_url": { "type": "string" }, - "trees_url": { "type": "string" }, - "url": { "type": "string" } - } - }, - "rerun_url": { "type": "string" }, - "run_attempt": { "type": "integer" }, - "run_number": { "type": "integer" }, - "run_started_at": { "type": "string", "format": "date-time" }, - "status": { - "type": "string", - "enum": [ - "requested", - "in_progress", - "completed", - "queued", - "waiting", - "pending" - ] - }, - "triggering_actor": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "workflow_id": { "type": "integer" }, - "workflow_url": { "type": "string" } - }, - "required": [ - "id", - "name", - "node_id", - "head_branch", - "head_sha", - "run_number", - "event", - "status", - "conclusion", - "workflow_id", - "check_suite_id", - "check_suite_node_id", - "url", - "html_url", - "path", - "pull_requests", - "created_at", - "updated_at", - "actor", - "triggering_actor", - "run_attempt", - "run_started_at", - "display_title" - ] - } - }, - "required": [ - "action", - "workflow_run", - "since", - "repository", - "organization", - "sender" - ] - }, - "webhooks_approver": { - "type": "object", - "properties": { - "avatar_url": { "type": "string" }, - "events_url": { "type": "string" }, - "followers_url": { "type": "string" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string" }, - "received_events_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string" }, - "user_view_type": { "type": "string" } - } - }, - "webhooks_reviewers": { - "type": "array", - "items": { - "type": "object", - "properties": { - "reviewer": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["login", "id"] - }, - "type": { "type": "string", "enum": ["User"] } - } - } - }, - "webhooks_workflow_job_run": { - "type": "object", - "properties": { - "conclusion": { "type": ["null"] }, - "created_at": { "type": "string" }, - "environment": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "name": { "type": ["null"] }, - "status": { "type": "string" }, - "updated_at": { "type": "string" } - }, - "required": [ - "id", - "name", - "status", - "conclusion", - "html_url", - "created_at", - "updated_at", - "environment" - ] - }, - "webhook-deployment-review-rejected": { - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["rejected"] }, - "approver": { "$ref": "#/components/schemas/webhooks_approver" }, - "comment": { "type": "string" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "reviewers": { "$ref": "#/components/schemas/webhooks_reviewers" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "since": { "type": "string" }, - "workflow_job_run": { - "$ref": "#/components/schemas/webhooks_workflow_job_run" - }, - "workflow_job_runs": { - "type": "array", - "items": { - "type": "object", - "properties": { - "conclusion": { "type": ["string", "null"] }, - "created_at": { "type": "string" }, - "environment": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "name": { "type": ["string", "null"] }, - "status": { "type": "string" }, - "updated_at": { "type": "string" } - } - } - }, - "workflow_run": { - "title": "Deployment Workflow Run", - "type": ["object", "null"], - "properties": { - "actor": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "artifacts_url": { "type": "string" }, - "cancel_url": { "type": "string" }, - "check_suite_id": { "type": "integer" }, - "check_suite_node_id": { "type": "string" }, - "check_suite_url": { "type": "string" }, - "conclusion": { - "type": ["string", "null"], - "enum": [ - "success", - "failure", - "neutral", - "cancelled", - "timed_out", - "action_required", - "stale", - null - ] - }, - "created_at": { "type": "string", "format": "date-time" }, - "event": { "type": "string" }, - "head_branch": { "type": "string" }, - "head_commit": { "type": ["object", "null"] }, - "head_repository": { - "type": "object", - "properties": { - "archive_url": { "type": "string" }, - "assignees_url": { "type": "string" }, - "blobs_url": { "type": "string" }, - "branches_url": { "type": "string" }, - "collaborators_url": { "type": "string" }, - "comments_url": { "type": "string" }, - "commits_url": { "type": "string" }, - "compare_url": { "type": "string" }, - "contents_url": { "type": "string" }, - "contributors_url": { "type": "string" }, - "deployments_url": { "type": "string" }, - "description": { "type": ["string", "null"] }, - "downloads_url": { "type": "string" }, - "events_url": { "type": "string" }, - "fork": { "type": "boolean" }, - "forks_url": { "type": "string" }, - "full_name": { "type": "string" }, - "git_commits_url": { "type": "string" }, - "git_refs_url": { "type": "string" }, - "git_tags_url": { "type": "string" }, - "hooks_url": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "issue_comment_url": { "type": "string" }, - "issue_events_url": { "type": "string" }, - "issues_url": { "type": "string" }, - "keys_url": { "type": "string" }, - "labels_url": { "type": "string" }, - "languages_url": { "type": "string" }, - "merges_url": { "type": "string" }, - "milestones_url": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "notifications_url": { "type": "string" }, - "owner": { - "type": "object", - "properties": { - "avatar_url": { "type": "string" }, - "events_url": { "type": "string" }, - "followers_url": { "type": "string" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string" }, - "received_events_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string" }, - "user_view_type": { "type": "string" } - } - }, - "private": { "type": "boolean" }, - "pulls_url": { "type": "string" }, - "releases_url": { "type": "string" }, - "stargazers_url": { "type": "string" }, - "statuses_url": { "type": "string" }, - "subscribers_url": { "type": "string" }, - "subscription_url": { "type": "string" }, - "tags_url": { "type": "string" }, - "teams_url": { "type": "string" }, - "trees_url": { "type": "string" }, - "url": { "type": "string" } - } - }, - "head_sha": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "jobs_url": { "type": "string" }, - "logs_url": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "path": { "type": "string" }, - "previous_attempt_url": { "type": ["string", "null"] }, - "pull_requests": { - "type": "array", - "items": { - "title": "Check Run Pull Request", - "type": "object", - "properties": { - "base": { - "type": "object", - "properties": { - "ref": { "type": "string" }, - "repo": { - "title": "Repo Ref", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "name": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["id", "url", "name"] - }, - "sha": { "type": "string" } - }, - "required": ["ref", "sha", "repo"] - }, - "head": { - "type": "object", - "properties": { - "ref": { "type": "string" }, - "repo": { - "title": "Repo Ref", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "name": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["id", "url", "name"] - }, - "sha": { "type": "string" } - }, - "required": ["ref", "sha", "repo"] - }, - "id": { "type": "integer" }, - "number": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["url", "id", "number", "head", "base"] - } - }, - "referenced_workflows": { - "type": ["array", "null"], - "items": { - "type": "object", - "properties": { - "path": { "type": "string" }, - "ref": { "type": "string" }, - "sha": { "type": "string" } - }, - "required": ["path", "sha"] - } - }, - "repository": { - "type": "object", - "properties": { - "archive_url": { "type": "string" }, - "assignees_url": { "type": "string" }, - "blobs_url": { "type": "string" }, - "branches_url": { "type": "string" }, - "collaborators_url": { "type": "string" }, - "comments_url": { "type": "string" }, - "commits_url": { "type": "string" }, - "compare_url": { "type": "string" }, - "contents_url": { "type": "string" }, - "contributors_url": { "type": "string" }, - "deployments_url": { "type": "string" }, - "description": { "type": ["string", "null"] }, - "downloads_url": { "type": "string" }, - "events_url": { "type": "string" }, - "fork": { "type": "boolean" }, - "forks_url": { "type": "string" }, - "full_name": { "type": "string" }, - "git_commits_url": { "type": "string" }, - "git_refs_url": { "type": "string" }, - "git_tags_url": { "type": "string" }, - "hooks_url": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "issue_comment_url": { "type": "string" }, - "issue_events_url": { "type": "string" }, - "issues_url": { "type": "string" }, - "keys_url": { "type": "string" }, - "labels_url": { "type": "string" }, - "languages_url": { "type": "string" }, - "merges_url": { "type": "string" }, - "milestones_url": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "notifications_url": { "type": "string" }, - "owner": { - "type": "object", - "properties": { - "avatar_url": { "type": "string" }, - "events_url": { "type": "string" }, - "followers_url": { "type": "string" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string" }, - "received_events_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string" }, - "user_view_type": { "type": "string" } - } - }, - "private": { "type": "boolean" }, - "pulls_url": { "type": "string" }, - "releases_url": { "type": "string" }, - "stargazers_url": { "type": "string" }, - "statuses_url": { "type": "string" }, - "subscribers_url": { "type": "string" }, - "subscription_url": { "type": "string" }, - "tags_url": { "type": "string" }, - "teams_url": { "type": "string" }, - "trees_url": { "type": "string" }, - "url": { "type": "string" } - } - }, - "rerun_url": { "type": "string" }, - "run_attempt": { "type": "integer" }, - "run_number": { "type": "integer" }, - "run_started_at": { "type": "string", "format": "date-time" }, - "status": { - "type": "string", - "enum": [ - "requested", - "in_progress", - "completed", - "queued", - "waiting" - ] - }, - "triggering_actor": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "workflow_id": { "type": "integer" }, - "workflow_url": { "type": "string" }, - "display_title": { "type": "string" } - }, - "required": [ - "id", - "name", - "node_id", - "head_branch", - "head_sha", - "run_number", - "event", - "status", - "conclusion", - "workflow_id", - "check_suite_id", - "check_suite_node_id", - "url", - "html_url", - "path", - "pull_requests", - "created_at", - "updated_at", - "actor", - "triggering_actor", - "run_attempt", - "run_started_at", - "display_title" - ] - } - }, - "required": [ - "action", - "workflow_run", - "since", - "repository", - "organization", - "sender" - ] - }, - "webhook-deployment-review-requested": { - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["requested"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "environment": { "type": "string" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "requestor": { "$ref": "#/components/schemas/webhooks_user" }, - "reviewers": { - "type": "array", - "items": { - "type": "object", - "properties": { - "reviewer": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["id"] - }, - "type": { "type": "string", "enum": ["User", "Team"] } - } - } - }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "since": { "type": "string" }, - "workflow_job_run": { - "type": "object", - "properties": { - "conclusion": { "type": ["null"] }, - "created_at": { "type": "string" }, - "environment": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "name": { "type": ["string", "null"] }, - "status": { "type": "string" }, - "updated_at": { "type": "string" } - }, - "required": [ - "id", - "name", - "status", - "conclusion", - "html_url", - "created_at", - "updated_at", - "environment" - ] - }, - "workflow_run": { - "title": "Deployment Workflow Run", - "type": ["object", "null"], - "properties": { - "actor": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "artifacts_url": { "type": "string" }, - "cancel_url": { "type": "string" }, - "check_suite_id": { "type": "integer" }, - "check_suite_node_id": { "type": "string" }, - "check_suite_url": { "type": "string" }, - "conclusion": { - "type": ["string", "null"], - "enum": [ - "success", - "failure", - "neutral", - "cancelled", - "timed_out", - "action_required", - "stale", - null - ] - }, - "created_at": { "type": "string", "format": "date-time" }, - "event": { "type": "string" }, - "head_branch": { "type": "string" }, - "head_commit": { "type": ["object", "null"] }, - "head_repository": { - "type": "object", - "properties": { - "archive_url": { "type": "string" }, - "assignees_url": { "type": "string" }, - "blobs_url": { "type": "string" }, - "branches_url": { "type": "string" }, - "collaborators_url": { "type": "string" }, - "comments_url": { "type": "string" }, - "commits_url": { "type": "string" }, - "compare_url": { "type": "string" }, - "contents_url": { "type": "string" }, - "contributors_url": { "type": "string" }, - "deployments_url": { "type": "string" }, - "description": { "type": ["string", "null"] }, - "downloads_url": { "type": "string" }, - "events_url": { "type": "string" }, - "fork": { "type": "boolean" }, - "forks_url": { "type": "string" }, - "full_name": { "type": "string" }, - "git_commits_url": { "type": "string" }, - "git_refs_url": { "type": "string" }, - "git_tags_url": { "type": "string" }, - "hooks_url": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "issue_comment_url": { "type": "string" }, - "issue_events_url": { "type": "string" }, - "issues_url": { "type": "string" }, - "keys_url": { "type": "string" }, - "labels_url": { "type": "string" }, - "languages_url": { "type": "string" }, - "merges_url": { "type": "string" }, - "milestones_url": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "notifications_url": { "type": "string" }, - "owner": { - "type": "object", - "properties": { - "avatar_url": { "type": "string" }, - "events_url": { "type": "string" }, - "followers_url": { "type": "string" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string" }, - "received_events_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string" }, - "user_view_type": { "type": "string" } - } - }, - "private": { "type": "boolean" }, - "pulls_url": { "type": "string" }, - "releases_url": { "type": "string" }, - "stargazers_url": { "type": "string" }, - "statuses_url": { "type": "string" }, - "subscribers_url": { "type": "string" }, - "subscription_url": { "type": "string" }, - "tags_url": { "type": "string" }, - "teams_url": { "type": "string" }, - "trees_url": { "type": "string" }, - "url": { "type": "string" } - } - }, - "head_sha": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "jobs_url": { "type": "string" }, - "logs_url": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "path": { "type": "string" }, - "previous_attempt_url": { "type": ["string", "null"] }, - "pull_requests": { - "type": "array", - "items": { - "title": "Check Run Pull Request", - "type": "object", - "properties": { - "base": { - "type": "object", - "properties": { - "ref": { "type": "string" }, - "repo": { - "title": "Repo Ref", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "name": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["id", "url", "name"] - }, - "sha": { "type": "string" } - }, - "required": ["ref", "sha", "repo"] - }, - "head": { - "type": "object", - "properties": { - "ref": { "type": "string" }, - "repo": { - "title": "Repo Ref", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "name": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["id", "url", "name"] - }, - "sha": { "type": "string" } - }, - "required": ["ref", "sha", "repo"] - }, - "id": { "type": "integer" }, - "number": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["url", "id", "number", "head", "base"] - } - }, - "referenced_workflows": { - "type": ["array", "null"], - "items": { - "type": "object", - "properties": { - "path": { "type": "string" }, - "ref": { "type": "string" }, - "sha": { "type": "string" } - }, - "required": ["path", "sha"] - } - }, - "repository": { - "type": "object", - "properties": { - "archive_url": { "type": "string" }, - "assignees_url": { "type": "string" }, - "blobs_url": { "type": "string" }, - "branches_url": { "type": "string" }, - "collaborators_url": { "type": "string" }, - "comments_url": { "type": "string" }, - "commits_url": { "type": "string" }, - "compare_url": { "type": "string" }, - "contents_url": { "type": "string" }, - "contributors_url": { "type": "string" }, - "deployments_url": { "type": "string" }, - "description": { "type": ["string", "null"] }, - "downloads_url": { "type": "string" }, - "events_url": { "type": "string" }, - "fork": { "type": "boolean" }, - "forks_url": { "type": "string" }, - "full_name": { "type": "string" }, - "git_commits_url": { "type": "string" }, - "git_refs_url": { "type": "string" }, - "git_tags_url": { "type": "string" }, - "hooks_url": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "issue_comment_url": { "type": "string" }, - "issue_events_url": { "type": "string" }, - "issues_url": { "type": "string" }, - "keys_url": { "type": "string" }, - "labels_url": { "type": "string" }, - "languages_url": { "type": "string" }, - "merges_url": { "type": "string" }, - "milestones_url": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "notifications_url": { "type": "string" }, - "owner": { - "type": "object", - "properties": { - "avatar_url": { "type": "string" }, - "events_url": { "type": "string" }, - "followers_url": { "type": "string" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string" }, - "received_events_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string" }, - "user_view_type": { "type": "string" } - } - }, - "private": { "type": "boolean" }, - "pulls_url": { "type": "string" }, - "releases_url": { "type": "string" }, - "stargazers_url": { "type": "string" }, - "statuses_url": { "type": "string" }, - "subscribers_url": { "type": "string" }, - "subscription_url": { "type": "string" }, - "tags_url": { "type": "string" }, - "teams_url": { "type": "string" }, - "trees_url": { "type": "string" }, - "url": { "type": "string" } - } - }, - "rerun_url": { "type": "string" }, - "run_attempt": { "type": "integer" }, - "run_number": { "type": "integer" }, - "run_started_at": { "type": "string", "format": "date-time" }, - "status": { - "type": "string", - "enum": [ - "requested", - "in_progress", - "completed", - "queued", - "waiting", - "pending" - ] - }, - "triggering_actor": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "workflow_id": { "type": "integer" }, - "workflow_url": { "type": "string" }, - "display_title": { "type": "string" } - }, - "required": [ - "id", - "name", - "node_id", - "head_branch", - "head_sha", - "run_number", - "event", - "status", - "conclusion", - "workflow_id", - "check_suite_id", - "check_suite_node_id", - "url", - "html_url", - "path", - "pull_requests", - "created_at", - "updated_at", - "actor", - "triggering_actor", - "run_attempt", - "run_started_at", - "display_title" - ] - } - }, - "required": [ - "action", - "workflow_run", - "since", - "workflow_job_run", - "environment", - "reviewers", - "requestor", - "repository", - "organization", - "sender" - ] - }, - "webhooks_user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { "type": "string", "enum": ["Bot", "User", "Organization"] }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "webhook-deployment-status-created": { - "title": "deployment_status created event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "check_run": { - "type": ["object", "null"], - "properties": { - "completed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "conclusion": { - "description": "The result of the completed check run. This value will be `null` until the check run has completed.", - "type": ["string", "null"], - "enum": [ - "success", - "failure", - "neutral", - "cancelled", - "timed_out", - "action_required", - "stale", - "skipped", - null - ] - }, - "details_url": { "type": "string", "format": "uri" }, - "external_id": { "type": "string" }, - "head_sha": { - "description": "The SHA of the commit that is being checked.", - "type": "string" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "The id of the check.", - "type": "integer" - }, - "name": { - "description": "The name of the check run.", - "type": "string" - }, - "node_id": { "type": "string" }, - "started_at": { "type": "string", "format": "date-time" }, - "status": { - "description": "The current status of the check run. Can be `queued`, `in_progress`, or `completed`.", - "type": "string", - "enum": [ - "queued", - "in_progress", - "completed", - "waiting", - "pending" - ] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "id", - "name", - "node_id", - "head_sha", - "external_id", - "url", - "html_url", - "details_url", - "status", - "conclusion", - "started_at", - "completed_at" - ] - }, - "deployment": { - "title": "Deployment", - "description": "The [deployment](https://docs.github.com/enterprise-server@3.13/rest/deployments/deployments#list-deployments).", - "type": "object", - "properties": { - "created_at": { "type": "string" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "environment": { "type": "string" }, - "id": { "type": "integer" }, - "node_id": { "type": "string" }, - "original_environment": { "type": "string" }, - "payload": { - "oneOf": [{ "type": "string" }, { "type": "object" }], - "type": ["null", "string", "object"] - }, - "performed_via_github_app": { - "title": "App", - "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", - "type": ["object", "null"], - "properties": { - "created_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "description": { "type": ["string", "null"] }, - "events": { - "description": "The list of events for the GitHub app", - "type": "array", - "items": { - "type": "string", - "enum": [ - "branch_protection_rule", - "check_run", - "check_suite", - "code_scanning_alert", - "commit_comment", - "content_reference", - "create", - "delete", - "deployment", - "deployment_review", - "deployment_status", - "deploy_key", - "discussion", - "discussion_comment", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "org_block", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "registry_package", - "release", - "repository", - "repository_dispatch", - "secret_scanning_alert", - "star", - "status", - "team", - "team_add", - "watch", - "workflow_dispatch", - "workflow_run", - "merge_queue_entry", - "workflow_job", - "pull_request_review_thread", - "secret_scanning_alert_location", - "merge_group" - ] - } - }, - "external_url": { - "type": ["string", "null"], - "format": "uri" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the GitHub app", - "type": ["integer", "null"] - }, - "name": { - "description": "The name of the GitHub app", - "type": "string" - }, - "node_id": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "description": "The set of permissions for the GitHub app", - "type": "object", - "properties": { - "actions": { - "type": "string", - "enum": ["read", "write"] - }, - "administration": { - "type": "string", - "enum": ["read", "write"] - }, - "checks": { "type": "string", "enum": ["read", "write"] }, - "content_references": { - "type": "string", - "enum": ["read", "write"] - }, - "contents": { - "type": "string", - "enum": ["read", "write"] - }, - "deployments": { - "type": "string", - "enum": ["read", "write"] - }, - "discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "emails": { "type": "string", "enum": ["read", "write"] }, - "environments": { - "type": "string", - "enum": ["read", "write"] - }, - "issues": { "type": "string", "enum": ["read", "write"] }, - "keys": { "type": "string", "enum": ["read", "write"] }, - "members": { - "type": "string", - "enum": ["read", "write"] - }, - "metadata": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_administration": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_packages": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_plan": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_self_hosted_runners": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_user_blocking": { - "type": "string", - "enum": ["read", "write"] - }, - "packages": { - "type": "string", - "enum": ["read", "write"] - }, - "pages": { "type": "string", "enum": ["read", "write"] }, - "pull_requests": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "secret_scanning_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "security_events": { - "type": "string", - "enum": ["read", "write"] - }, - "security_scanning_alert": { - "type": "string", - "enum": ["read", "write"] - }, - "single_file": { - "type": "string", - "enum": ["read", "write"] - }, - "statuses": { - "type": "string", - "enum": ["read", "write"] - }, - "team_discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "vulnerability_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "workflows": { - "type": "string", - "enum": ["read", "write"] - } - } - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string" - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time" - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ] - }, - "production_environment": { "type": "boolean" }, - "ref": { "type": "string" }, - "repository_url": { "type": "string", "format": "uri" }, - "sha": { "type": "string" }, - "statuses_url": { "type": "string", "format": "uri" }, - "task": { "type": "string" }, - "transient_environment": { "type": "boolean" }, - "updated_at": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "id", - "node_id", - "sha", - "ref", - "task", - "payload", - "original_environment", - "environment", - "description", - "creator", - "created_at", - "updated_at", - "statuses_url", - "repository_url" - ] - }, - "deployment_status": { - "description": "The [deployment status](https://docs.github.com/enterprise-server@3.13/rest/deployments/statuses#list-deployment-statuses).", - "type": "object", - "properties": { - "created_at": { "type": "string" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "deployment_url": { "type": "string", "format": "uri" }, - "description": { - "description": "The optional human-readable description added to the status.", - "type": "string" - }, - "environment": { "type": "string" }, - "environment_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "log_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "performed_via_github_app": { - "title": "App", - "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", - "type": ["object", "null"], - "properties": { - "created_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "description": { "type": ["string", "null"] }, - "events": { - "description": "The list of events for the GitHub app", - "type": "array", - "items": { - "type": "string", - "enum": [ - "branch_protection_rule", - "check_run", - "check_suite", - "code_scanning_alert", - "commit_comment", - "content_reference", - "create", - "delete", - "deployment", - "deployment_review", - "deployment_status", - "deploy_key", - "discussion", - "discussion_comment", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "org_block", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "registry_package", - "release", - "repository", - "repository_dispatch", - "secret_scanning_alert", - "star", - "status", - "team", - "team_add", - "watch", - "workflow_dispatch", - "workflow_run", - "pull_request_review_thread", - "merge_queue_entry", - "workflow_job", - "merge_group", - "secret_scanning_alert_location" - ] - } - }, - "external_url": { - "type": ["string", "null"], - "format": "uri" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the GitHub app", - "type": ["integer", "null"] - }, - "name": { - "description": "The name of the GitHub app", - "type": "string" - }, - "node_id": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "description": "The set of permissions for the GitHub app", - "type": "object", - "properties": { - "actions": { - "type": "string", - "enum": ["read", "write"] - }, - "administration": { - "type": "string", - "enum": ["read", "write"] - }, - "checks": { "type": "string", "enum": ["read", "write"] }, - "content_references": { - "type": "string", - "enum": ["read", "write"] - }, - "contents": { - "type": "string", - "enum": ["read", "write"] - }, - "deployments": { - "type": "string", - "enum": ["read", "write"] - }, - "discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "emails": { "type": "string", "enum": ["read", "write"] }, - "environments": { - "type": "string", - "enum": ["read", "write"] - }, - "issues": { "type": "string", "enum": ["read", "write"] }, - "keys": { "type": "string", "enum": ["read", "write"] }, - "members": { - "type": "string", - "enum": ["read", "write"] - }, - "metadata": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_administration": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_packages": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_plan": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_self_hosted_runners": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_user_blocking": { - "type": "string", - "enum": ["read", "write"] - }, - "packages": { - "type": "string", - "enum": ["read", "write"] - }, - "pages": { "type": "string", "enum": ["read", "write"] }, - "pull_requests": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "secret_scanning_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "security_events": { - "type": "string", - "enum": ["read", "write"] - }, - "security_scanning_alert": { - "type": "string", - "enum": ["read", "write"] - }, - "single_file": { - "type": "string", - "enum": ["read", "write"] - }, - "statuses": { - "type": "string", - "enum": ["read", "write"] - }, - "team_discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "vulnerability_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "workflows": { - "type": "string", - "enum": ["read", "write"] - } - } - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string" - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time" - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ] - }, - "repository_url": { "type": "string", "format": "uri" }, - "state": { - "description": "The new state. Can be `pending`, `success`, `failure`, or `error`.", - "type": "string" - }, - "target_url": { - "description": "The optional link added to the status.", - "type": "string" - }, - "updated_at": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "id", - "node_id", - "state", - "creator", - "description", - "environment", - "target_url", - "created_at", - "updated_at", - "deployment_url", - "repository_url" - ] - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "workflow": { "$ref": "#/components/schemas/webhooks_workflow" }, - "workflow_run": { - "title": "Deployment Workflow Run", - "type": ["object", "null"], - "properties": { - "actor": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "artifacts_url": { "type": "string" }, - "cancel_url": { "type": "string" }, - "check_suite_id": { "type": "integer" }, - "check_suite_node_id": { "type": "string" }, - "check_suite_url": { "type": "string" }, - "conclusion": { - "type": ["string", "null"], - "enum": [ - "success", - "failure", - "neutral", - "cancelled", - "timed_out", - "action_required", - "stale", - null, - "startup_failure" - ] - }, - "created_at": { "type": "string", "format": "date-time" }, - "display_title": { "type": "string" }, - "event": { "type": "string" }, - "head_branch": { "type": "string" }, - "head_commit": { "type": ["null"] }, - "head_repository": { - "type": "object", - "properties": { - "archive_url": { "type": "string" }, - "assignees_url": { "type": "string" }, - "blobs_url": { "type": "string" }, - "branches_url": { "type": "string" }, - "collaborators_url": { "type": "string" }, - "comments_url": { "type": "string" }, - "commits_url": { "type": "string" }, - "compare_url": { "type": "string" }, - "contents_url": { "type": "string" }, - "contributors_url": { "type": "string" }, - "deployments_url": { "type": "string" }, - "description": { "type": ["null"] }, - "downloads_url": { "type": "string" }, - "events_url": { "type": "string" }, - "fork": { "type": "boolean" }, - "forks_url": { "type": "string" }, - "full_name": { "type": "string" }, - "git_commits_url": { "type": "string" }, - "git_refs_url": { "type": "string" }, - "git_tags_url": { "type": "string" }, - "hooks_url": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "issue_comment_url": { "type": "string" }, - "issue_events_url": { "type": "string" }, - "issues_url": { "type": "string" }, - "keys_url": { "type": "string" }, - "labels_url": { "type": "string" }, - "languages_url": { "type": "string" }, - "merges_url": { "type": "string" }, - "milestones_url": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "notifications_url": { "type": "string" }, - "owner": { - "type": "object", - "properties": { - "avatar_url": { "type": "string" }, - "events_url": { "type": "string" }, - "followers_url": { "type": "string" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string" }, - "received_events_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string" } - } - }, - "private": { "type": "boolean" }, - "pulls_url": { "type": "string" }, - "releases_url": { "type": "string" }, - "stargazers_url": { "type": "string" }, - "statuses_url": { "type": "string" }, - "subscribers_url": { "type": "string" }, - "subscription_url": { "type": "string" }, - "tags_url": { "type": "string" }, - "teams_url": { "type": "string" }, - "trees_url": { "type": "string" }, - "url": { "type": "string" } - } - }, - "head_sha": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "jobs_url": { "type": "string" }, - "logs_url": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "path": { "type": "string" }, - "previous_attempt_url": { "type": ["null"] }, - "pull_requests": { - "type": "array", - "items": { - "title": "Check Run Pull Request", - "type": "object", - "properties": { - "base": { - "type": "object", - "properties": { - "ref": { "type": "string" }, - "repo": { - "title": "Repo Ref", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "name": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["id", "url", "name"] - }, - "sha": { "type": "string" } - }, - "required": ["ref", "sha", "repo"] - }, - "head": { - "type": "object", - "properties": { - "ref": { "type": "string" }, - "repo": { - "title": "Repo Ref", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "name": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["id", "url", "name"] - }, - "sha": { "type": "string" } - }, - "required": ["ref", "sha", "repo"] - }, - "id": { "type": "integer" }, - "number": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["url", "id", "number", "head", "base"] - } - }, - "referenced_workflows": { - "type": ["array", "null"], - "items": { - "type": "object", - "properties": { - "path": { "type": "string" }, - "ref": { "type": "string" }, - "sha": { "type": "string" } - }, - "required": ["path", "sha"] - } - }, - "repository": { - "type": "object", - "properties": { - "archive_url": { "type": "string" }, - "assignees_url": { "type": "string" }, - "blobs_url": { "type": "string" }, - "branches_url": { "type": "string" }, - "collaborators_url": { "type": "string" }, - "comments_url": { "type": "string" }, - "commits_url": { "type": "string" }, - "compare_url": { "type": "string" }, - "contents_url": { "type": "string" }, - "contributors_url": { "type": "string" }, - "deployments_url": { "type": "string" }, - "description": { "type": ["null"] }, - "downloads_url": { "type": "string" }, - "events_url": { "type": "string" }, - "fork": { "type": "boolean" }, - "forks_url": { "type": "string" }, - "full_name": { "type": "string" }, - "git_commits_url": { "type": "string" }, - "git_refs_url": { "type": "string" }, - "git_tags_url": { "type": "string" }, - "hooks_url": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "issue_comment_url": { "type": "string" }, - "issue_events_url": { "type": "string" }, - "issues_url": { "type": "string" }, - "keys_url": { "type": "string" }, - "labels_url": { "type": "string" }, - "languages_url": { "type": "string" }, - "merges_url": { "type": "string" }, - "milestones_url": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "notifications_url": { "type": "string" }, - "owner": { - "type": "object", - "properties": { - "avatar_url": { "type": "string" }, - "events_url": { "type": "string" }, - "followers_url": { "type": "string" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string" }, - "received_events_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string" } - } - }, - "private": { "type": "boolean" }, - "pulls_url": { "type": "string" }, - "releases_url": { "type": "string" }, - "stargazers_url": { "type": "string" }, - "statuses_url": { "type": "string" }, - "subscribers_url": { "type": "string" }, - "subscription_url": { "type": "string" }, - "tags_url": { "type": "string" }, - "teams_url": { "type": "string" }, - "trees_url": { "type": "string" }, - "url": { "type": "string" } - } - }, - "rerun_url": { "type": "string" }, - "run_attempt": { "type": "integer" }, - "run_number": { "type": "integer" }, - "run_started_at": { "type": "string", "format": "date-time" }, - "status": { - "type": "string", - "enum": [ - "requested", - "in_progress", - "completed", - "queued", - "waiting", - "pending" - ] - }, - "triggering_actor": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "workflow_id": { "type": "integer" }, - "workflow_url": { "type": "string" } - }, - "required": [ - "id", - "name", - "node_id", - "head_branch", - "head_sha", - "run_number", - "event", - "status", - "conclusion", - "workflow_id", - "check_suite_id", - "check_suite_node_id", - "url", - "html_url", - "path", - "pull_requests", - "created_at", - "updated_at", - "actor", - "triggering_actor", - "run_attempt", - "run_started_at", - "display_title" - ] - } - }, - "required": [ - "action", - "deployment_status", - "deployment", - "repository", - "sender" - ] - }, - "webhook-discussion-answered": { - "title": "discussion answered event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["answered"] }, - "answer": { "$ref": "#/components/schemas/webhooks_answer" }, - "discussion": { "$ref": "#/components/schemas/discussion" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "discussion", "answer", "repository", "sender"] - }, - "webhooks_answer": { - "type": "object", - "properties": { - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { "type": "string" }, - "child_comment_count": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "discussion_id": { "type": "integer" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "node_id": { "type": "string" }, - "parent_id": { "type": ["null"] }, - "reactions": { - "title": "Reactions", - "type": "object", - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] - }, - "repository_url": { "type": "string" }, - "updated_at": { "type": "string", "format": "date-time" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "id", - "node_id", - "html_url", - "parent_id", - "child_comment_count", - "repository_url", - "discussion_id", - "author_association", - "user", - "created_at", - "updated_at", - "body" - ] - }, - "discussion": { - "title": "Discussion", - "description": "A Discussion in a repository.", - "type": "object", - "properties": { - "active_lock_reason": { "type": ["string", "null"] }, - "answer_chosen_at": { "type": ["string", "null"] }, - "answer_chosen_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "answer_html_url": { "type": ["string", "null"] }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { "type": "string" }, - "category": { - "type": "object", - "properties": { - "created_at": { "type": "string", "format": "date-time" }, - "description": { "type": "string" }, - "emoji": { "type": "string" }, - "id": { "type": "integer" }, - "is_answerable": { "type": "boolean" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "repository_id": { "type": "integer" }, - "slug": { "type": "string" }, - "updated_at": { "type": "string" } - }, - "required": [ - "id", - "repository_id", - "emoji", - "name", - "description", - "created_at", - "updated_at", - "slug", - "is_answerable" - ] - }, - "comments": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "locked": { "type": "boolean" }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "reactions": { - "title": "Reactions", - "type": "object", - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] - }, - "repository_url": { "type": "string" }, - "state": { - "type": "string", - "description": "The current state of the discussion.\n`converting` means that the discussion is being converted from an issue.\n`transferring` means that the discussion is being transferred from another repository.", - "enum": ["open", "closed", "locked", "converting", "transferring"] - }, - "state_reason": { - "description": "The reason for the current state", - "type": ["string", "null"], - "enum": ["resolved", "outdated", "duplicate", "reopened", null], - "examples": ["resolved"] - }, - "timeline_url": { "type": "string" }, - "title": { "type": "string" }, - "updated_at": { "type": "string", "format": "date-time" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "labels": { - "type": "array", - "items": { "$ref": "#/components/schemas/label" } - } - }, - "required": [ - "repository_url", - "category", - "answer_html_url", - "answer_chosen_at", - "answer_chosen_by", - "html_url", - "id", - "node_id", - "number", - "title", - "user", - "state", - "state_reason", - "locked", - "comments", - "created_at", - "updated_at", - "author_association", - "active_lock_reason", - "body" - ] - }, - "label": { - "title": "Label", - "description": "Color-coded labels help you categorize and filter your issues (just like labels in Gmail).", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the label.", - "type": "integer", - "format": "int64", - "examples": [208045946] - }, - "node_id": { - "type": "string", - "examples": ["MDU6TGFiZWwyMDgwNDU5NDY="] - }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/repositories/42/labels/bug"] - }, - "name": { - "description": "The name of the label.", - "type": "string", - "examples": ["bug"] - }, - "description": { - "description": "Optional description of the label, such as its purpose.", - "type": ["string", "null"], - "examples": ["Something isn't working"] - }, - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string", - "examples": ["FFFFFF"] - }, - "default": { - "description": "Whether this label comes by default in a new repository.", - "type": "boolean", - "examples": [true] - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "description", - "color", - "default" - ] - }, - "webhook-discussion-category-changed": { - "title": "discussion category changed event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["category_changed"] }, - "changes": { - "type": "object", - "properties": { - "category": { - "type": "object", - "properties": { - "from": { - "type": "object", - "properties": { - "created_at": { "type": "string", "format": "date-time" }, - "description": { "type": "string" }, - "emoji": { "type": "string" }, - "id": { "type": "integer" }, - "is_answerable": { "type": "boolean" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "repository_id": { "type": "integer" }, - "slug": { "type": "string" }, - "updated_at": { "type": "string" } - }, - "required": [ - "id", - "repository_id", - "emoji", - "name", - "description", - "created_at", - "updated_at", - "slug", - "is_answerable" - ] - } - }, - "required": ["from"] - } - }, - "required": ["category"] - }, - "discussion": { "$ref": "#/components/schemas/discussion" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "changes", "discussion", "repository", "sender"] - }, - "webhook-discussion-closed": { - "title": "discussion closed event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["closed"] }, - "discussion": { "$ref": "#/components/schemas/discussion" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "discussion", "repository", "sender"] - }, - "webhook-discussion-comment-created": { - "title": "discussion_comment created event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "comment": { "$ref": "#/components/schemas/webhooks_comment" }, - "discussion": { "$ref": "#/components/schemas/discussion" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "comment", "discussion", "repository", "sender"] - }, - "webhooks_comment": { - "type": "object", - "properties": { - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { "type": "string" }, - "child_comment_count": { "type": "integer" }, - "created_at": { "type": "string" }, - "discussion_id": { "type": "integer" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "node_id": { "type": "string" }, - "parent_id": { "type": ["integer", "null"] }, - "reactions": { - "title": "Reactions", - "type": "object", - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] - }, - "repository_url": { "type": "string" }, - "updated_at": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "id", - "node_id", - "html_url", - "parent_id", - "child_comment_count", - "repository_url", - "discussion_id", - "author_association", - "user", - "created_at", - "updated_at", - "body", - "reactions" - ] - }, - "webhook-discussion-comment-deleted": { - "title": "discussion_comment deleted event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["deleted"] }, - "comment": { "$ref": "#/components/schemas/webhooks_comment" }, - "discussion": { "$ref": "#/components/schemas/discussion" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "comment", "discussion", "repository", "sender"] - }, - "webhook-discussion-comment-edited": { - "title": "discussion_comment edited event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["edited"] }, - "changes": { - "type": "object", - "properties": { - "body": { - "type": "object", - "properties": { "from": { "type": "string" } }, - "required": ["from"] - } - }, - "required": ["body"] - }, - "comment": { "$ref": "#/components/schemas/webhooks_comment" }, - "discussion": { "$ref": "#/components/schemas/discussion" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "action", - "changes", - "comment", - "discussion", - "repository", - "sender" - ] - }, - "webhook-discussion-created": { - "title": "discussion created event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "discussion": { "$ref": "#/components/schemas/discussion" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "discussion", "repository", "sender"] - }, - "webhook-discussion-deleted": { - "title": "discussion deleted event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["deleted"] }, - "discussion": { "$ref": "#/components/schemas/discussion" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "discussion", "repository", "sender"] - }, - "webhook-discussion-edited": { - "title": "discussion edited event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["edited"] }, - "changes": { - "type": "object", - "properties": { - "body": { - "type": "object", - "properties": { "from": { "type": "string" } }, - "required": ["from"] - }, - "title": { - "type": "object", - "properties": { "from": { "type": "string" } }, - "required": ["from"] - } - } - }, - "discussion": { "$ref": "#/components/schemas/discussion" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "discussion", "repository", "sender"] - }, - "webhook-discussion-labeled": { - "title": "discussion labeled event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["labeled"] }, - "discussion": { "$ref": "#/components/schemas/discussion" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "label": { "$ref": "#/components/schemas/webhooks_label" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "discussion", "label", "repository", "sender"] - }, - "webhooks_label": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { "description": "The name of the label.", "type": "string" }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - }, - "webhook-discussion-locked": { - "title": "discussion locked event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["locked"] }, - "discussion": { "$ref": "#/components/schemas/discussion" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "discussion", "repository", "sender"] - }, - "webhook-discussion-pinned": { - "title": "discussion pinned event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["pinned"] }, - "discussion": { "$ref": "#/components/schemas/discussion" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "discussion", "repository", "sender"] - }, - "webhook-discussion-reopened": { - "title": "discussion reopened event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["reopened"] }, - "discussion": { "$ref": "#/components/schemas/discussion" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "discussion", "repository", "sender"] - }, - "webhook-discussion-transferred": { - "title": "discussion transferred event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["transferred"] }, - "changes": { - "type": "object", - "properties": { - "new_discussion": { "$ref": "#/components/schemas/discussion" }, - "new_repository": { - "$ref": "#/components/schemas/repository-webhooks" - } - }, - "required": ["new_discussion", "new_repository"] - }, - "discussion": { "$ref": "#/components/schemas/discussion" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "changes", "discussion", "repository", "sender"] - }, - "webhook-discussion-unanswered": { - "title": "discussion unanswered event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["unanswered"] }, - "discussion": { "$ref": "#/components/schemas/discussion" }, - "old_answer": { "$ref": "#/components/schemas/webhooks_answer" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "discussion", "old_answer", "repository"] - }, - "webhook-discussion-unlabeled": { - "title": "discussion unlabeled event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["unlabeled"] }, - "discussion": { "$ref": "#/components/schemas/discussion" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "label": { "$ref": "#/components/schemas/webhooks_label" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "discussion", "label", "repository", "sender"] - }, - "webhook-discussion-unlocked": { - "title": "discussion unlocked event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["unlocked"] }, - "discussion": { "$ref": "#/components/schemas/discussion" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "discussion", "repository", "sender"] - }, - "webhook-discussion-unpinned": { - "title": "discussion unpinned event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["unpinned"] }, - "discussion": { "$ref": "#/components/schemas/discussion" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "discussion", "repository", "sender"] - }, - "webhook-enterprise-anonymous-access-disabled": { - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["anonymous_access_disabled"] }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action"] - }, - "webhook-enterprise-anonymous-access-enabled": { - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["anonymous_access_enabled"] }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action"] - }, - "webhook-fork": { - "title": "fork event", - "description": "A user forks a repository.", - "type": "object", - "properties": { - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "forkee": { - "description": "The created [`repository`](https://docs.github.com/enterprise-server@3.13/rest/repos/repos#get-a-repository) resource.", - "allOf": [ - { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { "type": "string", "format": "uri-template" }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { "type": "string", "format": "uri-template" }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { "type": "string", "format": "uri-template" }, - "compare_url": { "type": "string", "format": "uri-template" }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { "type": "string", "format": "uri-template" }, - "keys_url": { "type": "string", "format": "uri-template" }, - "labels_url": { "type": "string", "format": "uri-template" }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { "type": ["string", "null"], "format": "uri" }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { "type": "string", "format": "uri-template" }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { "type": "array", "items": { "type": "string" } }, - "trees_url": { "type": "string", "format": "uri-template" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - { - "type": "object", - "properties": { - "allow_forking": { "type": "boolean" }, - "archive_url": { "type": "string" }, - "archived": { "type": "boolean" }, - "assignees_url": { "type": "string" }, - "blobs_url": { "type": "string" }, - "branches_url": { "type": "string" }, - "clone_url": { "type": "string" }, - "collaborators_url": { "type": "string" }, - "comments_url": { "type": "string" }, - "commits_url": { "type": "string" }, - "compare_url": { "type": "string" }, - "contents_url": { "type": "string" }, - "contributors_url": { "type": "string" }, - "created_at": { "type": "string" }, - "default_branch": { "type": "string" }, - "deployments_url": { "type": "string" }, - "description": { "type": ["string", "null"] }, - "disabled": { "type": "boolean" }, - "downloads_url": { "type": "string" }, - "events_url": { "type": "string" }, - "fork": { "type": "boolean", "enum": [true] }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string" }, - "full_name": { "type": "string" }, - "git_commits_url": { "type": "string" }, - "git_refs_url": { "type": "string" }, - "git_tags_url": { "type": "string" }, - "git_url": { "type": "string" }, - "has_downloads": { "type": "boolean" }, - "has_issues": { "type": "boolean" }, - "has_pages": { "type": "boolean" }, - "has_projects": { "type": "boolean" }, - "has_wiki": { "type": "boolean" }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { "type": "string" }, - "issue_events_url": { "type": "string" }, - "issues_url": { "type": "string" }, - "keys_url": { "type": "string" }, - "labels_url": { "type": "string" }, - "language": { "type": ["null"] }, - "languages_url": { "type": "string" }, - "license": { "type": ["object", "null"] }, - "merges_url": { "type": "string" }, - "milestones_url": { "type": "string" }, - "mirror_url": { "type": ["null"] }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "notifications_url": { "type": "string" }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "owner": { - "type": "object", - "properties": { - "avatar_url": { "type": "string" }, - "events_url": { "type": "string" }, - "followers_url": { "type": "string" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string" }, - "received_events_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string" } - } - }, - "private": { "type": "boolean" }, - "public": { "type": "boolean" }, - "pulls_url": { "type": "string" }, - "pushed_at": { "type": "string" }, - "releases_url": { "type": "string" }, - "size": { "type": "integer" }, - "ssh_url": { "type": "string" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string" }, - "statuses_url": { "type": "string" }, - "subscribers_url": { "type": "string" }, - "subscription_url": { "type": "string" }, - "svn_url": { "type": "string" }, - "tags_url": { "type": "string" }, - "teams_url": { "type": "string" }, - "topics": { "type": "array", "items": { "type": ["null"] } }, - "trees_url": { "type": "string" }, - "updated_at": { "type": "string" }, - "url": { "type": "string" }, - "visibility": { "type": "string" }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" } - } - } - ] - }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["forkee", "repository", "sender"] - }, - "webhook-github-app-authorization-revoked": { - "title": "github_app_authorization revoked event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["revoked"] }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "sender"] - }, - "webhook-gollum": { - "title": "gollum event", - "type": "object", - "properties": { - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pages": { - "description": "The pages that were updated.", - "type": "array", - "items": { - "type": "object", - "properties": { - "action": { - "description": "The action that was performed on the page. Can be `created` or `edited`.", - "type": "string", - "enum": ["created", "edited"] - }, - "html_url": { - "description": "Points to the HTML wiki page.", - "type": "string", - "format": "uri" - }, - "page_name": { - "description": "The name of the page.", - "type": "string" - }, - "sha": { - "description": "The latest commit SHA of the page.", - "type": "string" - }, - "summary": { "type": ["string", "null"] }, - "title": { - "description": "The current page title.", - "type": "string" - } - }, - "required": [ - "page_name", - "title", - "summary", - "action", - "sha", - "html_url" - ] - } - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["pages", "repository", "sender"] - }, - "webhook-installation-created": { - "title": "installation created event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { "$ref": "#/components/schemas/installation" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repositories": { - "$ref": "#/components/schemas/webhooks_repositories" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "requester": { "$ref": "#/components/schemas/webhooks_user" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "installation", "sender"] - }, - "installation": { - "title": "Installation", - "description": "Installation", - "type": "object", - "properties": { - "id": { - "description": "The ID of the installation.", - "type": "integer", - "examples": [1] - }, - "account": { - "anyOf": [ - { "$ref": "#/components/schemas/simple-user" }, - { "$ref": "#/components/schemas/enterprise" } - ], - "type": ["null", "object"] - }, - "repository_selection": { - "description": "Describe whether all repositories have been selected or there's a selection involved", - "type": "string", - "enum": ["all", "selected"] - }, - "access_tokens_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/app/installations/1/access_tokens" - ] - }, - "repositories_url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/installation/repositories"] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/organizations/github/settings/installations/1" - ] - }, - "app_id": { "type": "integer", "examples": [1] }, - "target_id": { - "description": "The ID of the user or organization this token is being scoped to.", - "type": "integer" - }, - "target_type": { "type": "string", "examples": ["Organization"] }, - "permissions": { "$ref": "#/components/schemas/app-permissions" }, - "events": { "type": "array", "items": { "type": "string" } }, - "created_at": { "type": "string", "format": "date-time" }, - "updated_at": { "type": "string", "format": "date-time" }, - "single_file_name": { - "type": ["string", "null"], - "examples": ["config.yaml"] - }, - "has_multiple_single_files": { - "type": "boolean", - "examples": [true] - }, - "single_file_paths": { - "type": "array", - "items": { "type": "string" }, - "examples": ["config.yml", ".github/issue_TEMPLATE.md"] - }, - "app_slug": { "type": "string", "examples": ["github-actions"] }, - "suspended_by": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "suspended_at": { "type": ["string", "null"], "format": "date-time" }, - "contact_email": { - "type": ["string", "null"], - "examples": ["\"test_13f1e99741e3e004@d7e1eb0bc0a1ba12.com\""] - } - }, - "required": [ - "id", - "app_id", - "app_slug", - "target_id", - "target_type", - "single_file_name", - "repository_selection", - "access_tokens_url", - "html_url", - "repositories_url", - "events", - "account", - "permissions", - "created_at", - "updated_at", - "suspended_by", - "suspended_at" - ] - }, - "app-permissions": { - "title": "App Permissions", - "type": "object", - "description": "The permissions granted to the user access token.", - "properties": { - "actions": { - "type": "string", - "description": "The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts.", - "enum": ["read", "write"] - }, - "administration": { - "type": "string", - "description": "The level of permission to grant the access token for repository creation, deletion, settings, teams, and collaborators creation.", - "enum": ["read", "write"] - }, - "checks": { - "type": "string", - "description": "The level of permission to grant the access token for checks on code.", - "enum": ["read", "write"] - }, - "codespaces": { - "type": "string", - "description": "The level of permission to grant the access token to create, edit, delete, and list Codespaces.", - "enum": ["read", "write"] - }, - "contents": { - "type": "string", - "description": "The level of permission to grant the access token for repository contents, commits, branches, downloads, releases, and merges.", - "enum": ["read", "write"] - }, - "dependabot_secrets": { - "type": "string", - "description": "The level of permission to grant the access token to manage Dependabot secrets.", - "enum": ["read", "write"] - }, - "deployments": { - "type": "string", - "description": "The level of permission to grant the access token for deployments and deployment statuses.", - "enum": ["read", "write"] - }, - "environments": { - "type": "string", - "description": "The level of permission to grant the access token for managing repository environments.", - "enum": ["read", "write"] - }, - "issues": { - "type": "string", - "description": "The level of permission to grant the access token for issues and related comments, assignees, labels, and milestones.", - "enum": ["read", "write"] - }, - "metadata": { - "type": "string", - "description": "The level of permission to grant the access token to search repositories, list collaborators, and access repository metadata.", - "enum": ["read", "write"] - }, - "packages": { - "type": "string", - "description": "The level of permission to grant the access token for packages published to GitHub Packages.", - "enum": ["read", "write"] - }, - "pages": { - "type": "string", - "description": "The level of permission to grant the access token to retrieve Pages statuses, configuration, and builds, as well as create new builds.", - "enum": ["read", "write"] - }, - "pull_requests": { - "type": "string", - "description": "The level of permission to grant the access token for pull requests and related comments, assignees, labels, milestones, and merges.", - "enum": ["read", "write"] - }, - "repository_custom_properties": { - "type": "string", - "description": "The level of permission to grant the access token to view and edit custom properties for a repository, when allowed by the property.", - "enum": ["read", "write"] - }, - "repository_hooks": { - "type": "string", - "description": "The level of permission to grant the access token to manage the post-receive hooks for a repository.", - "enum": ["read", "write"] - }, - "repository_projects": { - "type": "string", - "description": "The level of permission to grant the access token to manage repository projects, columns, and cards.", - "enum": ["read", "write", "admin"] - }, - "secret_scanning_alerts": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage secret scanning alerts.", - "enum": ["read", "write"] - }, - "secrets": { - "type": "string", - "description": "The level of permission to grant the access token to manage repository secrets.", - "enum": ["read", "write"] - }, - "security_events": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage security events like code scanning alerts.", - "enum": ["read", "write"] - }, - "single_file": { - "type": "string", - "description": "The level of permission to grant the access token to manage just a single file.", - "enum": ["read", "write"] - }, - "statuses": { - "type": "string", - "description": "The level of permission to grant the access token for commit statuses.", - "enum": ["read", "write"] - }, - "vulnerability_alerts": { - "type": "string", - "description": "The level of permission to grant the access token to manage Dependabot alerts.", - "enum": ["read", "write"] - }, - "workflows": { - "type": "string", - "description": "The level of permission to grant the access token to update GitHub Actions workflow files.", - "enum": ["write"] - }, - "members": { - "type": "string", - "description": "The level of permission to grant the access token for organization teams and members.", - "enum": ["read", "write"] - }, - "organization_administration": { - "type": "string", - "description": "The level of permission to grant the access token to manage access to an organization.", - "enum": ["read", "write"] - }, - "organization_custom_roles": { - "type": "string", - "description": "The level of permission to grant the access token for custom repository roles management.", - "enum": ["read", "write"] - }, - "organization_custom_org_roles": { - "type": "string", - "description": "The level of permission to grant the access token for custom organization roles management.", - "enum": ["read", "write"] - }, - "organization_custom_properties": { - "type": "string", - "description": "The level of permission to grant the access token for custom property management.", - "enum": ["read", "write", "admin"] - }, - "organization_copilot_seat_management": { - "type": "string", - "description": "The level of permission to grant the access token for managing access to GitHub Copilot for members of an organization with a Copilot Business subscription. This property is in public preview and is subject to change.", - "enum": ["write"] - }, - "organization_announcement_banners": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage announcement banners for an organization.", - "enum": ["read", "write"] - }, - "organization_events": { - "type": "string", - "description": "The level of permission to grant the access token to view events triggered by an activity in an organization.", - "enum": ["read"] - }, - "organization_hooks": { - "type": "string", - "description": "The level of permission to grant the access token to manage the post-receive hooks for an organization.", - "enum": ["read", "write"] - }, - "organization_personal_access_tokens": { - "type": "string", - "description": "The level of permission to grant the access token for viewing and managing fine-grained personal access token requests to an organization.", - "enum": ["read", "write"] - }, - "organization_personal_access_token_requests": { - "type": "string", - "description": "The level of permission to grant the access token for viewing and managing fine-grained personal access tokens that have been approved by an organization.", - "enum": ["read", "write"] - }, - "organization_plan": { - "type": "string", - "description": "The level of permission to grant the access token for viewing an organization's plan.", - "enum": ["read"] - }, - "organization_projects": { - "type": "string", - "description": "The level of permission to grant the access token to manage organization projects and projects public preview (where available).", - "enum": ["read", "write", "admin"] - }, - "organization_packages": { - "type": "string", - "description": "The level of permission to grant the access token for organization packages published to GitHub Packages.", - "enum": ["read", "write"] - }, - "organization_secrets": { - "type": "string", - "description": "The level of permission to grant the access token to manage organization secrets.", - "enum": ["read", "write"] - }, - "organization_self_hosted_runners": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage GitHub Actions self-hosted runners available to an organization.", - "enum": ["read", "write"] - }, - "organization_user_blocking": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage users blocked by the organization.", - "enum": ["read", "write"] - }, - "team_discussions": { - "type": "string", - "description": "The level of permission to grant the access token to manage team discussions and related comments.", - "enum": ["read", "write"] - }, - "email_addresses": { - "type": "string", - "description": "The level of permission to grant the access token to manage the email addresses belonging to a user.", - "enum": ["read", "write"] - }, - "followers": { - "type": "string", - "description": "The level of permission to grant the access token to manage the followers belonging to a user.", - "enum": ["read", "write"] - }, - "git_ssh_keys": { - "type": "string", - "description": "The level of permission to grant the access token to manage git SSH keys.", - "enum": ["read", "write"] - }, - "gpg_keys": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage GPG keys belonging to a user.", - "enum": ["read", "write"] - }, - "interaction_limits": { - "type": "string", - "description": "The level of permission to grant the access token to view and manage interaction limits on a repository.", - "enum": ["read", "write"] - }, - "profile": { - "type": "string", - "description": "The level of permission to grant the access token to manage the profile settings belonging to a user.", - "enum": ["write"] - }, - "starring": { - "type": "string", - "description": "The level of permission to grant the access token to list and manage repositories a user is starring.", - "enum": ["read", "write"] - } - }, - "example": { - "contents": "read", - "issues": "read", - "deployments": "write", - "single_file": "read" - } - }, - "webhooks_repositories": { - "description": "An array of repository objects that the installation can access.", - "type": "array", - "items": { - "type": "object", - "properties": { - "full_name": { "type": "string" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - } - }, - "required": ["id", "node_id", "name", "full_name", "private"] - } - }, - "webhook-installation-deleted": { - "title": "installation deleted event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["deleted"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { "$ref": "#/components/schemas/installation" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repositories": { - "$ref": "#/components/schemas/webhooks_repositories" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "requester": { "type": ["null"] }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "installation", "sender"] - }, - "webhook-installation-new-permissions-accepted": { - "title": "installation new_permissions_accepted event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["new_permissions_accepted"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { "$ref": "#/components/schemas/installation" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repositories": { - "$ref": "#/components/schemas/webhooks_repositories" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "requester": { "type": ["null"] }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "installation", "sender"] - }, - "webhook-installation-repositories-added": { - "title": "installation_repositories added event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["added"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { "$ref": "#/components/schemas/installation" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repositories_added": { - "$ref": "#/components/schemas/webhooks_repositories_added" - }, - "repositories_removed": { - "description": "An array of repository objects, which were removed from the installation.", - "type": "array", - "items": { - "type": "object", - "properties": { - "full_name": { "type": "string" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - } - } - } - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "repository_selection": { - "$ref": "#/components/schemas/webhooks_repository_selection" - }, - "requester": { "$ref": "#/components/schemas/webhooks_user" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "action", - "installation", - "repository_selection", - "repositories_added", - "repositories_removed", - "requester", - "sender" - ] - }, - "webhooks_repositories_added": { - "description": "An array of repository objects, which were added to the installation.", - "type": "array", - "items": { - "type": "object", - "properties": { - "full_name": { "type": "string" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - } - }, - "required": ["id", "node_id", "name", "full_name", "private"] - } - }, - "webhooks_repository_selection": { - "description": "Describe whether all repositories have been selected or there's a selection involved", - "type": "string", - "enum": ["all", "selected"] - }, - "webhook-installation-repositories-removed": { - "title": "installation_repositories removed event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["removed"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { "$ref": "#/components/schemas/installation" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repositories_added": { - "$ref": "#/components/schemas/webhooks_repositories_added" - }, - "repositories_removed": { - "description": "An array of repository objects, which were removed from the installation.", - "type": "array", - "items": { - "type": "object", - "properties": { - "full_name": { "type": "string" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - } - }, - "required": ["id", "node_id", "name", "full_name", "private"] - } - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "repository_selection": { - "$ref": "#/components/schemas/webhooks_repository_selection" - }, - "requester": { "$ref": "#/components/schemas/webhooks_user" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "action", - "installation", - "repository_selection", - "repositories_added", - "repositories_removed", - "requester", - "sender" - ] - }, - "webhook-installation-suspend": { - "title": "installation suspend event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["suspend"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { "$ref": "#/components/schemas/installation" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repositories": { - "$ref": "#/components/schemas/webhooks_repositories" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "requester": { "type": ["null"] }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "installation", "sender"] - }, - "webhook-installation-target-renamed": { - "type": "object", - "properties": { - "account": { - "type": "object", - "properties": { - "archived_at": { "type": ["string", "null"] }, - "avatar_url": { "type": "string" }, - "created_at": { "type": "string" }, - "description": { "type": ["null"] }, - "events_url": { "type": "string" }, - "followers": { "type": "integer" }, - "followers_url": { "type": "string" }, - "following": { "type": "integer" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "gravatar_id": { "type": "string" }, - "has_organization_projects": { "type": "boolean" }, - "has_repository_projects": { "type": "boolean" }, - "hooks_url": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "is_verified": { "type": "boolean" }, - "issues_url": { "type": "string" }, - "login": { "type": "string" }, - "members_url": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string" }, - "public_gists": { "type": "integer" }, - "public_members_url": { "type": "string" }, - "public_repos": { "type": "integer" }, - "received_events_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "slug": { "type": "string" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "type": { "type": "string" }, - "updated_at": { "type": "string" }, - "url": { "type": "string" }, - "website_url": { "type": ["null"] }, - "user_view_type": { "type": "string" } - }, - "required": ["id", "node_id", "avatar_url", "html_url"] - }, - "action": { "type": "string", "enum": ["renamed"] }, - "changes": { - "type": "object", - "properties": { - "login": { - "type": "object", - "properties": { "from": { "type": "string" } }, - "required": ["from"] - }, - "slug": { - "type": "object", - "properties": { "from": { "type": "string" } }, - "required": ["from"] - } - } - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "target_type": { "type": "string" } - }, - "required": [ - "action", - "target_type", - "account", - "changes", - "installation" - ] - }, - "webhook-installation-unsuspend": { - "title": "installation unsuspend event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["unsuspend"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { "$ref": "#/components/schemas/installation" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repositories": { - "$ref": "#/components/schemas/webhooks_repositories" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "requester": { "type": ["null"] }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "installation", "sender"] - }, - "webhook-issue-comment-created": { - "title": "issue_comment created event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "comment": { - "title": "issue comment", - "description": "The [comment](https://docs.github.com/enterprise-server@3.13/rest/issues/comments#get-an-issue-comment) itself.", - "type": "object", - "properties": { - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { - "description": "Contents of the issue comment", - "type": "string" - }, - "created_at": { "type": "string", "format": "date-time" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the issue comment", - "type": "integer", - "format": "int64" - }, - "issue_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "performed_via_github_app": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/integration" } - ] - }, - "reactions": { - "title": "Reactions", - "type": "object", - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { - "description": "URL for the issue comment", - "type": "string", - "format": "uri" - }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "html_url", - "issue_url", - "id", - "node_id", - "user", - "created_at", - "updated_at", - "author_association", - "performed_via_github_app", - "body", - "reactions" - ] - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "issue": { - "description": "The [issue](https://docs.github.com/enterprise-server@3.13/rest/issues/issues#get-an-issue) the comment belongs to.", - "allOf": [ - { - "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-server@3.13/rest/issues/issues#get-an-issue) itself.", - "type": "object", - "properties": { - "active_lock_reason": { - "type": ["string", "null"], - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { - "description": "Contents of the issue", - "type": ["string", "null"] - }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "draft": { "type": "boolean" }, - "events_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "labels_url": { "type": "string", "format": "uri-template" }, - "locked": { "type": "boolean" }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "performed_via_github_app": { - "title": "App", - "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", - "type": ["object", "null"], - "properties": { - "created_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "description": { "type": ["string", "null"] }, - "events": { - "description": "The list of events for the GitHub app", - "type": "array", - "items": { - "type": "string", - "enum": [ - "branch_protection_rule", - "check_run", - "check_suite", - "code_scanning_alert", - "commit_comment", - "content_reference", - "create", - "delete", - "deployment", - "deployment_review", - "deployment_status", - "deploy_key", - "discussion", - "discussion_comment", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "org_block", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "registry_package", - "release", - "repository", - "repository_dispatch", - "secret_scanning_alert", - "star", - "status", - "team", - "team_add", - "watch", - "workflow_dispatch", - "workflow_run", - "reminder", - "pull_request_review_thread" - ] - } - }, - "external_url": { - "type": ["string", "null"], - "format": "uri" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the GitHub app", - "type": ["integer", "null"] - }, - "name": { - "description": "The name of the GitHub app", - "type": "string" - }, - "node_id": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "description": "The set of permissions for the GitHub app", - "type": "object", - "properties": { - "actions": { - "type": "string", - "enum": ["read", "write"] - }, - "administration": { - "type": "string", - "enum": ["read", "write"] - }, - "checks": { - "type": "string", - "enum": ["read", "write"] - }, - "content_references": { - "type": "string", - "enum": ["read", "write"] - }, - "contents": { - "type": "string", - "enum": ["read", "write"] - }, - "deployments": { - "type": "string", - "enum": ["read", "write"] - }, - "discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "emails": { - "type": "string", - "enum": ["read", "write"] - }, - "environments": { - "type": "string", - "enum": ["read", "write"] - }, - "issues": { - "type": "string", - "enum": ["read", "write"] - }, - "keys": { - "type": "string", - "enum": ["read", "write"] - }, - "members": { - "type": "string", - "enum": ["read", "write"] - }, - "metadata": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_administration": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_packages": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_plan": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_projects": { - "type": "string", - "enum": ["read", "write", "admin"] - }, - "organization_secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_self_hosted_runners": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_user_blocking": { - "type": "string", - "enum": ["read", "write"] - }, - "packages": { - "type": "string", - "enum": ["read", "write"] - }, - "pages": { - "type": "string", - "enum": ["read", "write"] - }, - "pull_requests": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_projects": { - "type": "string", - "enum": ["read", "write", "admin"] - }, - "secret_scanning_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "security_events": { - "type": "string", - "enum": ["read", "write"] - }, - "security_scanning_alert": { - "type": "string", - "enum": ["read", "write"] - }, - "single_file": { - "type": "string", - "enum": ["read", "write"] - }, - "statuses": { - "type": "string", - "enum": ["read", "write"] - }, - "team_discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "vulnerability_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "workflows": { - "type": "string", - "enum": ["read", "write"] - } - } - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string" - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time" - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ] - }, - "pull_request": { - "type": "object", - "properties": { - "diff_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "patch_url": { "type": "string", "format": "uri" }, - "url": { "type": "string", "format": "uri" } - } - }, - "reactions": { - "title": "Reactions", - "type": "object", - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] - }, - "repository_url": { "type": "string", "format": "uri" }, - "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] - }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "enum": ["open", "closed"] - }, - "state_reason": { "type": ["string", "null"] }, - "timeline_url": { "type": "string", "format": "uri" }, - "title": { - "description": "Title of the issue", - "type": "string" - }, - "type": { "$ref": "#/components/schemas/issue-type" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { - "description": "URL for the issue", - "type": "string", - "format": "uri" - }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "repository_url", - "labels_url", - "comments_url", - "events_url", - "html_url", - "id", - "node_id", - "number", - "title", - "user", - "assignees", - "milestone", - "comments", - "created_at", - "updated_at", - "closed_at", - "author_association", - "active_lock_reason", - "body", - "reactions" - ] - }, - { - "type": "object", - "properties": { - "active_lock_reason": { "type": ["string", "null"] }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { "type": ["object", "null"] } - }, - "author_association": { "type": "string" }, - "body": { "type": ["string", "null"] }, - "closed_at": { "type": ["string", "null"] }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string" }, - "created_at": { "type": "string" }, - "events_url": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "labels_url": { "type": "string" }, - "locked": { "type": "boolean" }, - "milestone": { "type": ["object", "null"] }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "performed_via_github_app": { "type": ["object", "null"] }, - "reactions": { - "type": "object", - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string" } - } - }, - "repository_url": { "type": "string" }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "enum": ["open", "closed"] - }, - "timeline_url": { "type": "string" }, - "title": { "type": "string" }, - "updated_at": { "type": "string" }, - "url": { "type": "string" }, - "user": { - "type": "object", - "properties": { - "avatar_url": { "type": "string" }, - "events_url": { "type": "string" }, - "followers_url": { "type": "string" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string" }, - "received_events_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string" } - } - } - }, - "required": ["labels", "state", "locked", "assignee"] - } - ] - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "issue", "comment", "repository", "sender"] - }, - "issue-type": { - "title": "Issue Type", - "description": "The type of issue.", - "type": ["object", "null"], - "properties": { - "id": { - "type": "integer", - "description": "The unique identifier of the issue type." - }, - "node_id": { - "type": "string", - "description": "The node identifier of the issue type." - }, - "name": { - "type": "string", - "description": "The name of the issue type." - }, - "description": { - "type": ["string", "null"], - "description": "The description of the issue type." - }, - "color": { - "type": ["string", "null"], - "description": "The color of the issue type.", - "enum": [ - "gray", - "blue", - "green", - "yellow", - "orange", - "red", - "pink", - "purple", - null - ] - }, - "created_at": { - "type": "string", - "description": "The time the issue type created.", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "description": "The time the issue type last updated.", - "format": "date-time" - }, - "is_enabled": { - "type": "boolean", - "description": "The enabled state of the issue type." - } - }, - "required": ["id", "node_id", "name", "description"] - }, - "webhook-issue-comment-deleted": { - "title": "issue_comment deleted event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["deleted"] }, - "comment": { "$ref": "#/components/schemas/webhooks_issue_comment" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "issue": { - "description": "The [issue](https://docs.github.com/enterprise-server@3.13/rest/issues/issues#get-an-issue) the comment belongs to.", - "allOf": [ - { - "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-server@3.13/rest/issues/issues#get-an-issue) itself.", - "type": "object", - "properties": { - "active_lock_reason": { - "type": ["string", "null"], - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { - "description": "Contents of the issue", - "type": ["string", "null"] - }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "draft": { "type": "boolean" }, - "events_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "labels_url": { "type": "string", "format": "uri-template" }, - "locked": { "type": "boolean" }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "performed_via_github_app": { - "title": "App", - "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", - "type": ["object", "null"], - "properties": { - "created_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "description": { "type": ["string", "null"] }, - "events": { - "description": "The list of events for the GitHub app", - "type": "array", - "items": { - "type": "string", - "enum": [ - "branch_protection_rule", - "check_run", - "check_suite", - "code_scanning_alert", - "commit_comment", - "content_reference", - "create", - "delete", - "deployment", - "deployment_review", - "deployment_status", - "deploy_key", - "discussion", - "discussion_comment", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "org_block", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "registry_package", - "release", - "repository", - "repository_dispatch", - "secret_scanning_alert", - "star", - "status", - "team", - "team_add", - "watch", - "workflow_dispatch", - "workflow_run" - ] - } - }, - "external_url": { - "type": ["string", "null"], - "format": "uri" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the GitHub app", - "type": ["integer", "null"] - }, - "name": { - "description": "The name of the GitHub app", - "type": "string" - }, - "node_id": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "description": "The set of permissions for the GitHub app", - "type": "object", - "properties": { - "actions": { - "type": "string", - "enum": ["read", "write"] - }, - "administration": { - "type": "string", - "enum": ["read", "write"] - }, - "checks": { - "type": "string", - "enum": ["read", "write"] - }, - "content_references": { - "type": "string", - "enum": ["read", "write"] - }, - "contents": { - "type": "string", - "enum": ["read", "write"] - }, - "deployments": { - "type": "string", - "enum": ["read", "write"] - }, - "discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "emails": { - "type": "string", - "enum": ["read", "write"] - }, - "environments": { - "type": "string", - "enum": ["read", "write"] - }, - "issues": { - "type": "string", - "enum": ["read", "write"] - }, - "keys": { - "type": "string", - "enum": ["read", "write"] - }, - "members": { - "type": "string", - "enum": ["read", "write"] - }, - "metadata": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_administration": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_packages": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_plan": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_self_hosted_runners": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_user_blocking": { - "type": "string", - "enum": ["read", "write"] - }, - "packages": { - "type": "string", - "enum": ["read", "write"] - }, - "pages": { - "type": "string", - "enum": ["read", "write"] - }, - "pull_requests": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "secret_scanning_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "security_events": { - "type": "string", - "enum": ["read", "write"] - }, - "security_scanning_alert": { - "type": "string", - "enum": ["read", "write"] - }, - "single_file": { - "type": "string", - "enum": ["read", "write"] - }, - "statuses": { - "type": "string", - "enum": ["read", "write"] - }, - "team_discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "vulnerability_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "workflows": { - "type": "string", - "enum": ["read", "write"] - } - } - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string" - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time" - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ] - }, - "pull_request": { - "type": "object", - "properties": { - "diff_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "patch_url": { "type": "string", "format": "uri" }, - "url": { "type": "string", "format": "uri" } - } - }, - "reactions": { - "title": "Reactions", - "type": "object", - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] - }, - "repository_url": { "type": "string", "format": "uri" }, - "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] - }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "enum": ["open", "closed"] - }, - "state_reason": { "type": ["string", "null"] }, - "timeline_url": { "type": "string", "format": "uri" }, - "title": { - "description": "Title of the issue", - "type": "string" - }, - "type": { "$ref": "#/components/schemas/issue-type" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { - "description": "URL for the issue", - "type": "string", - "format": "uri" - }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "repository_url", - "labels_url", - "comments_url", - "events_url", - "html_url", - "id", - "node_id", - "number", - "title", - "user", - "assignees", - "milestone", - "comments", - "created_at", - "updated_at", - "closed_at", - "author_association", - "active_lock_reason", - "body", - "reactions" - ] - }, - { - "type": "object", - "properties": { - "active_lock_reason": { "type": ["string", "null"] }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { "type": ["object", "null"] } - }, - "author_association": { "type": "string" }, - "body": { "type": ["string", "null"] }, - "closed_at": { "type": ["string", "null"] }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string" }, - "created_at": { "type": "string" }, - "events_url": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "labels_url": { "type": "string" }, - "locked": { "type": "boolean" }, - "milestone": { "type": ["object", "null"] }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "performed_via_github_app": { "type": ["object", "null"] }, - "reactions": { - "type": "object", - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string" } - } - }, - "repository_url": { "type": "string" }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "enum": ["open", "closed"] - }, - "timeline_url": { "type": "string" }, - "title": { "type": "string" }, - "updated_at": { "type": "string" }, - "url": { "type": "string" }, - "user": { - "type": "object", - "properties": { - "avatar_url": { "type": "string" }, - "events_url": { "type": "string" }, - "followers_url": { "type": "string" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string" }, - "received_events_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string" }, - "user_view_type": { "type": "string" } - } - } - }, - "required": ["labels", "state", "locked", "assignee"] - } - ] - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "issue", "comment", "repository", "sender"] - }, - "webhooks_issue_comment": { - "title": "issue comment", - "description": "The [comment](https://docs.github.com/enterprise-server@3.13/rest/issues/comments#get-an-issue-comment) itself.", - "type": "object", - "properties": { - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { - "description": "Contents of the issue comment", - "type": "string" - }, - "created_at": { "type": "string", "format": "date-time" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the issue comment", - "type": "integer", - "format": "int64" - }, - "issue_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "performed_via_github_app": { - "$ref": "#/components/schemas/integration" - }, - "reactions": { - "title": "Reactions", - "type": "object", - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { - "description": "URL for the issue comment", - "type": "string", - "format": "uri" - }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "html_url", - "issue_url", - "id", - "node_id", - "user", - "created_at", - "updated_at", - "author_association", - "performed_via_github_app", - "body", - "reactions" - ] - }, - "webhook-issue-comment-edited": { - "title": "issue_comment edited event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["edited"] }, - "changes": { "$ref": "#/components/schemas/webhooks_changes" }, - "comment": { "$ref": "#/components/schemas/webhooks_issue_comment" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "issue": { - "description": "The [issue](https://docs.github.com/enterprise-server@3.13/rest/issues/issues#get-an-issue) the comment belongs to.", - "allOf": [ - { - "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-server@3.13/rest/issues/issues#get-an-issue) itself.", - "type": "object", - "properties": { - "active_lock_reason": { - "type": ["string", "null"], - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { - "description": "Contents of the issue", - "type": ["string", "null"] - }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "draft": { "type": "boolean" }, - "events_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "labels_url": { "type": "string", "format": "uri-template" }, - "locked": { "type": "boolean" }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "performed_via_github_app": { - "title": "App", - "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", - "type": ["object", "null"], - "properties": { - "created_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "description": { "type": ["string", "null"] }, - "events": { - "description": "The list of events for the GitHub app", - "type": "array", - "items": { - "type": "string", - "enum": [ - "branch_protection_rule", - "check_run", - "check_suite", - "code_scanning_alert", - "commit_comment", - "content_reference", - "create", - "delete", - "deployment", - "deployment_review", - "deployment_status", - "deploy_key", - "discussion", - "discussion_comment", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "org_block", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "registry_package", - "release", - "repository", - "repository_dispatch", - "secret_scanning_alert", - "star", - "status", - "team", - "team_add", - "watch", - "workflow_dispatch", - "workflow_run", - "reminder", - "pull_request_review_thread" - ] - } - }, - "external_url": { - "type": ["string", "null"], - "format": "uri" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the GitHub app", - "type": ["integer", "null"] - }, - "name": { - "description": "The name of the GitHub app", - "type": "string" - }, - "node_id": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "description": "The set of permissions for the GitHub app", - "type": "object", - "properties": { - "actions": { - "type": "string", - "enum": ["read", "write"] - }, - "administration": { - "type": "string", - "enum": ["read", "write"] - }, - "checks": { - "type": "string", - "enum": ["read", "write"] - }, - "content_references": { - "type": "string", - "enum": ["read", "write"] - }, - "contents": { - "type": "string", - "enum": ["read", "write"] - }, - "deployments": { - "type": "string", - "enum": ["read", "write"] - }, - "discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "emails": { - "type": "string", - "enum": ["read", "write"] - }, - "environments": { - "type": "string", - "enum": ["read", "write"] - }, - "issues": { - "type": "string", - "enum": ["read", "write"] - }, - "keys": { - "type": "string", - "enum": ["read", "write"] - }, - "members": { - "type": "string", - "enum": ["read", "write"] - }, - "metadata": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_administration": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_packages": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_plan": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_projects": { - "type": "string", - "enum": ["read", "write", "admin"] - }, - "organization_secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_self_hosted_runners": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_user_blocking": { - "type": "string", - "enum": ["read", "write"] - }, - "packages": { - "type": "string", - "enum": ["read", "write"] - }, - "pages": { - "type": "string", - "enum": ["read", "write"] - }, - "pull_requests": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "secret_scanning_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "security_events": { - "type": "string", - "enum": ["read", "write"] - }, - "security_scanning_alert": { - "type": "string", - "enum": ["read", "write"] - }, - "single_file": { - "type": "string", - "enum": ["read", "write"] - }, - "statuses": { - "type": "string", - "enum": ["read", "write"] - }, - "team_discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "vulnerability_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "workflows": { - "type": "string", - "enum": ["read", "write"] - } - } - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string" - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time" - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ] - }, - "pull_request": { - "type": "object", - "properties": { - "diff_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "patch_url": { "type": "string", "format": "uri" }, - "url": { "type": "string", "format": "uri" } - } - }, - "reactions": { - "title": "Reactions", - "type": "object", - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] - }, - "repository_url": { "type": "string", "format": "uri" }, - "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] - }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "enum": ["open", "closed"] - }, - "state_reason": { "type": ["string", "null"] }, - "timeline_url": { "type": "string", "format": "uri" }, - "title": { - "description": "Title of the issue", - "type": "string" - }, - "type": { "$ref": "#/components/schemas/issue-type" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { - "description": "URL for the issue", - "type": "string", - "format": "uri" - }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "repository_url", - "labels_url", - "comments_url", - "events_url", - "html_url", - "id", - "node_id", - "number", - "title", - "user", - "assignees", - "milestone", - "comments", - "created_at", - "updated_at", - "closed_at", - "author_association", - "active_lock_reason", - "body", - "reactions" - ] - }, - { - "type": "object", - "properties": { - "active_lock_reason": { "type": ["string", "null"] }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { "type": ["object", "null"] } - }, - "author_association": { "type": "string" }, - "body": { "type": ["string", "null"] }, - "closed_at": { "type": ["string", "null"] }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string" }, - "created_at": { "type": "string" }, - "events_url": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "labels_url": { "type": "string" }, - "locked": { "type": "boolean" }, - "milestone": { "type": ["object", "null"] }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "performed_via_github_app": { "type": ["object", "null"] }, - "reactions": { - "type": "object", - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string" } - } - }, - "repository_url": { "type": "string" }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "enum": ["open", "closed"] - }, - "timeline_url": { "type": "string" }, - "title": { "type": "string" }, - "updated_at": { "type": "string" }, - "url": { "type": "string" }, - "user": { - "type": "object", - "properties": { - "avatar_url": { "type": "string" }, - "events_url": { "type": "string" }, - "followers_url": { "type": "string" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string" }, - "received_events_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string" } - } - } - }, - "required": ["labels", "state", "locked", "assignee"] - } - ] - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "action", - "changes", - "issue", - "comment", - "repository", - "sender" - ] - }, - "webhooks_changes": { - "description": "The changes to the comment.", - "type": "object", - "properties": { - "body": { - "type": "object", - "properties": { - "from": { - "description": "The previous version of the body.", - "type": "string" - } - }, - "required": ["from"] - } - } - }, - "webhook-issues-assigned": { - "title": "issues assigned event", - "type": "object", - "properties": { - "action": { - "description": "The action that was performed.", - "type": "string", - "enum": ["assigned"] - }, - "assignee": { "$ref": "#/components/schemas/webhooks_user" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "issue": { "$ref": "#/components/schemas/webhooks_issue" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "issue", "repository", "sender"] - }, - "webhooks_issue": { - "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-server@3.13/rest/issues/issues#get-an-issue) itself.", - "type": "object", - "properties": { - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { - "description": "Contents of the issue", - "type": ["string", "null"] - }, - "closed_at": { "type": ["string", "null"], "format": "date-time" }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "draft": { "type": "boolean" }, - "events_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "labels_url": { "type": "string", "format": "uri-template" }, - "locked": { "type": "boolean" }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { "type": ["string", "null"], "format": "date-time" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "performed_via_github_app": { - "title": "App", - "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", - "type": ["object", "null"], - "properties": { - "created_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "description": { "type": ["string", "null"] }, - "events": { - "description": "The list of events for the GitHub app", - "type": "array", - "items": { - "type": "string", - "enum": [ - "branch_protection_rule", - "check_run", - "check_suite", - "code_scanning_alert", - "commit_comment", - "content_reference", - "create", - "delete", - "deployment", - "deployment_review", - "deployment_status", - "deploy_key", - "discussion", - "discussion_comment", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "org_block", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "registry_package", - "release", - "repository", - "repository_dispatch", - "secret_scanning_alert", - "star", - "status", - "team", - "team_add", - "watch", - "workflow_dispatch", - "workflow_run", - "reminder", - "pull_request_review_thread" - ] - } - }, - "external_url": { "type": ["string", "null"], "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the GitHub app", - "type": ["integer", "null"] - }, - "name": { - "description": "The name of the GitHub app", - "type": "string" - }, - "node_id": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "description": "The set of permissions for the GitHub app", - "type": "object", - "properties": { - "actions": { "type": "string", "enum": ["read", "write"] }, - "administration": { - "type": "string", - "enum": ["read", "write"] - }, - "checks": { "type": "string", "enum": ["read", "write"] }, - "content_references": { - "type": "string", - "enum": ["read", "write"] - }, - "contents": { "type": "string", "enum": ["read", "write"] }, - "deployments": { - "type": "string", - "enum": ["read", "write"] - }, - "discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "emails": { "type": "string", "enum": ["read", "write"] }, - "environments": { - "type": "string", - "enum": ["read", "write"] - }, - "issues": { "type": "string", "enum": ["read", "write"] }, - "keys": { "type": "string", "enum": ["read", "write"] }, - "members": { "type": "string", "enum": ["read", "write"] }, - "metadata": { "type": "string", "enum": ["read", "write"] }, - "organization_administration": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_packages": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_plan": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_projects": { - "type": "string", - "enum": ["read", "write", "admin"] - }, - "organization_secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_self_hosted_runners": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_user_blocking": { - "type": "string", - "enum": ["read", "write"] - }, - "packages": { "type": "string", "enum": ["read", "write"] }, - "pages": { "type": "string", "enum": ["read", "write"] }, - "pull_requests": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "secret_scanning_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "secrets": { "type": "string", "enum": ["read", "write"] }, - "security_events": { - "type": "string", - "enum": ["read", "write"] - }, - "security_scanning_alert": { - "type": "string", - "enum": ["read", "write"] - }, - "single_file": { - "type": "string", - "enum": ["read", "write"] - }, - "statuses": { "type": "string", "enum": ["read", "write"] }, - "team_discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "vulnerability_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "workflows": { "type": "string", "enum": ["read", "write"] } - } - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string" - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time" - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ] - }, - "pull_request": { - "type": "object", - "properties": { - "diff_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "patch_url": { "type": "string", "format": "uri" }, - "url": { "type": "string", "format": "uri" } - } - }, - "reactions": { - "title": "Reactions", - "type": "object", - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] - }, - "repository_url": { "type": "string", "format": "uri" }, - "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] - }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "enum": ["open", "closed"] - }, - "state_reason": { "type": ["string", "null"] }, - "timeline_url": { "type": "string", "format": "uri" }, - "title": { "description": "Title of the issue", "type": "string" }, - "type": { "$ref": "#/components/schemas/issue-type" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { - "description": "URL for the issue", - "type": "string", - "format": "uri" - }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "repository_url", - "labels_url", - "comments_url", - "events_url", - "html_url", - "id", - "node_id", - "number", - "title", - "user", - "assignees", - "milestone", - "comments", - "created_at", - "updated_at", - "closed_at", - "author_association", - "active_lock_reason", - "body", - "reactions" - ] - }, - "webhook-issues-closed": { - "title": "issues closed event", - "type": "object", - "properties": { - "action": { - "description": "The action that was performed.", - "type": "string", - "enum": ["closed"] - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "issue": { - "description": "The [issue](https://docs.github.com/enterprise-server@3.13/rest/issues/issues#get-an-issue) itself.", - "allOf": [ - { - "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-server@3.13/rest/issues/issues#get-an-issue) itself.", - "type": "object", - "properties": { - "active_lock_reason": { - "type": ["string", "null"], - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { - "description": "Contents of the issue", - "type": ["string", "null"] - }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "draft": { "type": "boolean" }, - "events_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "labels_url": { "type": "string", "format": "uri-template" }, - "locked": { "type": "boolean" }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "performed_via_github_app": { - "title": "App", - "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", - "type": ["object", "null"], - "properties": { - "created_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "description": { "type": ["string", "null"] }, - "events": { - "description": "The list of events for the GitHub app", - "type": "array", - "items": { - "type": "string", - "enum": [ - "branch_protection_rule", - "check_run", - "check_suite", - "code_scanning_alert", - "commit_comment", - "content_reference", - "create", - "delete", - "deployment", - "deployment_review", - "deployment_status", - "deploy_key", - "discussion", - "discussion_comment", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "org_block", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "registry_package", - "release", - "repository", - "repository_dispatch", - "secret_scanning_alert", - "star", - "status", - "team", - "team_add", - "watch", - "workflow_dispatch", - "workflow_run", - "security_and_analysis", - "reminder", - "pull_request_review_thread" - ] - } - }, - "external_url": { - "type": ["string", "null"], - "format": "uri" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the GitHub app", - "type": ["integer", "null"] - }, - "name": { - "description": "The name of the GitHub app", - "type": "string" - }, - "node_id": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "description": "The set of permissions for the GitHub app", - "type": "object", - "properties": { - "actions": { - "type": "string", - "enum": ["read", "write"] - }, - "administration": { - "type": "string", - "enum": ["read", "write"] - }, - "checks": { - "type": "string", - "enum": ["read", "write"] - }, - "content_references": { - "type": "string", - "enum": ["read", "write"] - }, - "contents": { - "type": "string", - "enum": ["read", "write"] - }, - "deployments": { - "type": "string", - "enum": ["read", "write"] - }, - "discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "emails": { - "type": "string", - "enum": ["read", "write"] - }, - "environments": { - "type": "string", - "enum": ["read", "write"] - }, - "issues": { - "type": "string", - "enum": ["read", "write"] - }, - "keys": { - "type": "string", - "enum": ["read", "write"] - }, - "members": { - "type": "string", - "enum": ["read", "write"] - }, - "metadata": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_administration": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_packages": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_plan": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_projects": { - "type": "string", - "enum": ["read", "write", "admin"] - }, - "organization_secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_self_hosted_runners": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_user_blocking": { - "type": "string", - "enum": ["read", "write"] - }, - "packages": { - "type": "string", - "enum": ["read", "write"] - }, - "pages": { - "type": "string", - "enum": ["read", "write"] - }, - "pull_requests": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "secret_scanning_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "security_events": { - "type": "string", - "enum": ["read", "write"] - }, - "security_scanning_alert": { - "type": "string", - "enum": ["read", "write"] - }, - "single_file": { - "type": "string", - "enum": ["read", "write"] - }, - "statuses": { - "type": "string", - "enum": ["read", "write"] - }, - "team_discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "vulnerability_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "workflows": { - "type": "string", - "enum": ["read", "write"] - } - } - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string" - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time" - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ] - }, - "pull_request": { - "type": "object", - "properties": { - "diff_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "patch_url": { "type": "string", "format": "uri" }, - "url": { "type": "string", "format": "uri" } - } - }, - "reactions": { - "title": "Reactions", - "type": "object", - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] - }, - "repository_url": { "type": "string", "format": "uri" }, - "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] - }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "enum": ["open", "closed"] - }, - "state_reason": { "type": ["string", "null"] }, - "timeline_url": { "type": "string", "format": "uri" }, - "title": { - "description": "Title of the issue", - "type": "string" - }, - "type": { "$ref": "#/components/schemas/issue-type" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { - "description": "URL for the issue", - "type": "string", - "format": "uri" - }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "repository_url", - "labels_url", - "comments_url", - "events_url", - "html_url", - "id", - "node_id", - "number", - "title", - "user", - "assignees", - "milestone", - "comments", - "created_at", - "updated_at", - "closed_at", - "author_association", - "active_lock_reason", - "body", - "reactions" - ] - }, - { - "type": "object", - "properties": { - "active_lock_reason": { "type": ["string", "null"] }, - "assignee": { "type": ["object", "null"] }, - "assignees": { - "type": "array", - "items": { "type": ["object", "null"] } - }, - "author_association": { "type": "string" }, - "body": { "type": ["string", "null"] }, - "closed_at": { "type": ["string", "null"] }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string" }, - "created_at": { "type": "string" }, - "events_url": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "labels": { - "type": "array", - "items": { "type": ["object", "null"] } - }, - "labels_url": { "type": "string" }, - "locked": { "type": "boolean" }, - "milestone": { "type": ["object", "null"] }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "performed_via_github_app": { "type": ["object", "null"] }, - "reactions": { - "type": "object", - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string" } - } - }, - "repository_url": { "type": "string" }, - "state": { "type": "string", "enum": ["closed", "open"] }, - "timeline_url": { "type": "string" }, - "title": { "type": "string" }, - "updated_at": { "type": "string" }, - "url": { "type": "string" }, - "user": { - "type": "object", - "properties": { - "avatar_url": { "type": "string" }, - "events_url": { "type": "string" }, - "followers_url": { "type": "string" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string" }, - "received_events_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string" }, - "user_view_type": { "type": "string" } - } - } - }, - "required": ["state", "closed_at"] - } - ] - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "issue", "repository", "sender"] - }, - "webhook-issues-deleted": { - "title": "issues deleted event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["deleted"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "issue": { - "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-server@3.13/rest/issues/issues#get-an-issue) itself.", - "type": "object", - "properties": { - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { - "description": "Contents of the issue", - "type": ["string", "null"] - }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "draft": { "type": "boolean" }, - "events_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "labels_url": { "type": "string", "format": "uri-template" }, - "locked": { "type": "boolean" }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "performed_via_github_app": { - "title": "App", - "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", - "type": ["object", "null"], - "properties": { - "created_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "description": { "type": ["string", "null"] }, - "events": { - "description": "The list of events for the GitHub app", - "type": "array", - "items": { - "type": "string", - "enum": [ - "branch_protection_rule", - "check_run", - "check_suite", - "code_scanning_alert", - "commit_comment", - "content_reference", - "create", - "delete", - "deployment", - "deployment_review", - "deployment_status", - "deploy_key", - "discussion", - "discussion_comment", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "org_block", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "registry_package", - "release", - "repository", - "repository_dispatch", - "secret_scanning_alert", - "star", - "status", - "team", - "team_add", - "watch", - "workflow_dispatch", - "workflow_run", - "reminder" - ] - } - }, - "external_url": { - "type": ["string", "null"], - "format": "uri" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the GitHub app", - "type": ["integer", "null"] - }, - "name": { - "description": "The name of the GitHub app", - "type": "string" - }, - "node_id": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "description": "The set of permissions for the GitHub app", - "type": "object", - "properties": { - "actions": { - "type": "string", - "enum": ["read", "write"] - }, - "administration": { - "type": "string", - "enum": ["read", "write"] - }, - "checks": { "type": "string", "enum": ["read", "write"] }, - "content_references": { - "type": "string", - "enum": ["read", "write"] - }, - "contents": { - "type": "string", - "enum": ["read", "write"] - }, - "deployments": { - "type": "string", - "enum": ["read", "write"] - }, - "discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "emails": { "type": "string", "enum": ["read", "write"] }, - "environments": { - "type": "string", - "enum": ["read", "write"] - }, - "issues": { "type": "string", "enum": ["read", "write"] }, - "keys": { "type": "string", "enum": ["read", "write"] }, - "members": { - "type": "string", - "enum": ["read", "write"] - }, - "metadata": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_administration": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_packages": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_plan": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_self_hosted_runners": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_user_blocking": { - "type": "string", - "enum": ["read", "write"] - }, - "packages": { - "type": "string", - "enum": ["read", "write"] - }, - "pages": { "type": "string", "enum": ["read", "write"] }, - "pull_requests": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "secret_scanning_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "security_events": { - "type": "string", - "enum": ["read", "write"] - }, - "security_scanning_alert": { - "type": "string", - "enum": ["read", "write"] - }, - "single_file": { - "type": "string", - "enum": ["read", "write"] - }, - "statuses": { - "type": "string", - "enum": ["read", "write"] - }, - "team_discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "vulnerability_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "workflows": { - "type": "string", - "enum": ["read", "write"] - } - } - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string" - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time" - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ] - }, - "pull_request": { - "type": "object", - "properties": { - "diff_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "patch_url": { "type": "string", "format": "uri" }, - "url": { "type": "string", "format": "uri" } - } - }, - "reactions": { - "title": "Reactions", - "type": "object", - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] - }, - "repository_url": { "type": "string", "format": "uri" }, - "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] - }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "enum": ["open", "closed"] - }, - "state_reason": { "type": ["string", "null"] }, - "timeline_url": { "type": "string", "format": "uri" }, - "title": { - "description": "Title of the issue", - "type": "string" - }, - "type": { "$ref": "#/components/schemas/issue-type" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { - "description": "URL for the issue", - "type": "string", - "format": "uri" - }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "repository_url", - "labels_url", - "comments_url", - "events_url", - "html_url", - "id", - "node_id", - "number", - "title", - "user", - "assignees", - "milestone", - "comments", - "created_at", - "updated_at", - "closed_at", - "author_association", - "active_lock_reason", - "body", - "reactions" - ] - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "issue", "repository", "sender"] - }, - "webhook-issues-demilestoned": { - "title": "issues demilestoned event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["demilestoned"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "issue": { - "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-server@3.13/rest/issues/issues#get-an-issue) itself.", - "type": "object", - "required": [ - "active_lock_reason", - "assignees", - "author_association", - "body", - "closed_at", - "comments", - "comments_url", - "created_at", - "events_url", - "html_url", - "id", - "labels_url", - "milestone", - "node_id", - "number", - "reactions", - "repository_url", - "title", - "updated_at", - "url", - "user" - ], - "properties": { - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" } - } - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" } - } - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { - "description": "Contents of the issue", - "type": ["string", "null"] - }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "draft": { "type": "boolean" }, - "events_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": ["object", "null"], - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ], - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - } - } - }, - "labels_url": { "type": "string", "format": "uri-template" }, - "locked": { "type": "boolean" }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - } - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - } - }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "performed_via_github_app": { - "title": "App", - "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", - "type": ["object", "null"], - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ], - "properties": { - "created_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "description": { "type": ["string", "null"] }, - "events": { - "description": "The list of events for the GitHub app", - "type": "array", - "items": { - "type": "string", - "enum": [ - "branch_protection_rule", - "check_run", - "check_suite", - "code_scanning_alert", - "commit_comment", - "content_reference", - "create", - "delete", - "deployment", - "deployment_review", - "deployment_status", - "deploy_key", - "discussion", - "discussion_comment", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "org_block", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "registry_package", - "release", - "repository", - "repository_dispatch", - "secret_scanning_alert", - "star", - "status", - "team", - "team_add", - "watch", - "workflow_dispatch", - "workflow_run" - ] - } - }, - "external_url": { - "type": ["string", "null"], - "format": "uri" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the GitHub app", - "type": ["integer", "null"] - }, - "name": { - "description": "The name of the GitHub app", - "type": "string" - }, - "node_id": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - } - }, - "permissions": { - "description": "The set of permissions for the GitHub app", - "type": "object", - "properties": { - "actions": { - "type": "string", - "enum": ["read", "write"] - }, - "administration": { - "type": "string", - "enum": ["read", "write"] - }, - "checks": { "type": "string", "enum": ["read", "write"] }, - "content_references": { - "type": "string", - "enum": ["read", "write"] - }, - "contents": { - "type": "string", - "enum": ["read", "write"] - }, - "deployments": { - "type": "string", - "enum": ["read", "write"] - }, - "discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "emails": { "type": "string", "enum": ["read", "write"] }, - "environments": { - "type": "string", - "enum": ["read", "write"] - }, - "issues": { "type": "string", "enum": ["read", "write"] }, - "keys": { "type": "string", "enum": ["read", "write"] }, - "members": { - "type": "string", - "enum": ["read", "write"] - }, - "metadata": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_administration": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_packages": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_plan": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_projects": { - "type": "string", - "enum": ["read", "write", "admin"] - }, - "organization_secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_self_hosted_runners": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_user_blocking": { - "type": "string", - "enum": ["read", "write"] - }, - "packages": { - "type": "string", - "enum": ["read", "write"] - }, - "pages": { "type": "string", "enum": ["read", "write"] }, - "pull_requests": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "secret_scanning_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "security_events": { - "type": "string", - "enum": ["read", "write"] - }, - "security_scanning_alert": { - "type": "string", - "enum": ["read", "write"] - }, - "single_file": { - "type": "string", - "enum": ["read", "write"] - }, - "statuses": { - "type": "string", - "enum": ["read", "write"] - }, - "team_discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "vulnerability_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "workflows": { - "type": "string", - "enum": ["read", "write"] - } - } - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string" - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time" - } - } - }, - "pull_request": { - "type": "object", - "properties": { - "diff_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "patch_url": { "type": "string", "format": "uri" }, - "url": { "type": "string", "format": "uri" } - } - }, - "reactions": { - "title": "Reactions", - "type": "object", - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ], - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - } - }, - "repository_url": { "type": "string", "format": "uri" }, - "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] - }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "enum": ["open", "closed"] - }, - "state_reason": { "type": ["string", "null"] }, - "timeline_url": { "type": "string", "format": "uri" }, - "title": { - "description": "Title of the issue", - "type": "string" - }, - "type": { "$ref": "#/components/schemas/issue-type" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { - "description": "URL for the issue", - "type": "string", - "format": "uri" - }, - "user": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - } - } - } - }, - "milestone": { "$ref": "#/components/schemas/webhooks_milestone" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "issue", "repository", "sender"] - }, - "webhooks_milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": "object", - "properties": { - "closed_at": { "type": ["string", "null"], "format": "date-time" }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { "type": ["string", "null"], "format": "date-time" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "webhook-issues-edited": { - "title": "issues edited event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["edited"] }, - "changes": { - "description": "The changes to the issue.", - "type": "object", - "properties": { - "body": { - "type": "object", - "properties": { - "from": { - "description": "The previous version of the body.", - "type": "string" - } - }, - "required": ["from"] - }, - "title": { - "type": "object", - "properties": { - "from": { - "description": "The previous version of the title.", - "type": "string" - } - }, - "required": ["from"] - } - } - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "issue": { - "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-server@3.13/rest/issues/issues#get-an-issue) itself.", - "type": "object", - "properties": { - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { - "description": "Contents of the issue", - "type": ["string", "null"] - }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "draft": { "type": "boolean" }, - "events_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "labels_url": { "type": "string", "format": "uri-template" }, - "locked": { "type": "boolean" }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "performed_via_github_app": { - "title": "App", - "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", - "type": ["object", "null"], - "properties": { - "created_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "description": { "type": ["string", "null"] }, - "events": { - "description": "The list of events for the GitHub app", - "type": "array", - "items": { - "type": "string", - "enum": [ - "branch_protection_rule", - "check_run", - "check_suite", - "code_scanning_alert", - "commit_comment", - "content_reference", - "create", - "delete", - "deployment", - "deployment_review", - "deployment_status", - "deploy_key", - "discussion", - "discussion_comment", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "org_block", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "registry_package", - "release", - "repository", - "repository_dispatch", - "secret_scanning_alert", - "star", - "status", - "team", - "team_add", - "watch", - "workflow_dispatch", - "workflow_run", - "security_and_analysis", - "pull_request_review_thread", - "reminder" - ] - } - }, - "external_url": { - "type": ["string", "null"], - "format": "uri" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the GitHub app", - "type": ["integer", "null"] - }, - "name": { - "description": "The name of the GitHub app", - "type": "string" - }, - "node_id": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "description": "The set of permissions for the GitHub app", - "type": "object", - "properties": { - "actions": { - "type": "string", - "enum": ["read", "write"] - }, - "administration": { - "type": "string", - "enum": ["read", "write"] - }, - "checks": { "type": "string", "enum": ["read", "write"] }, - "content_references": { - "type": "string", - "enum": ["read", "write"] - }, - "contents": { - "type": "string", - "enum": ["read", "write"] - }, - "deployments": { - "type": "string", - "enum": ["read", "write"] - }, - "discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "emails": { "type": "string", "enum": ["read", "write"] }, - "environments": { - "type": "string", - "enum": ["read", "write"] - }, - "issues": { "type": "string", "enum": ["read", "write"] }, - "keys": { "type": "string", "enum": ["read", "write"] }, - "members": { - "type": "string", - "enum": ["read", "write"] - }, - "metadata": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_administration": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_packages": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_plan": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_projects": { - "type": "string", - "enum": ["read", "write", "admin"] - }, - "organization_secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_self_hosted_runners": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_user_blocking": { - "type": "string", - "enum": ["read", "write"] - }, - "packages": { - "type": "string", - "enum": ["read", "write"] - }, - "pages": { "type": "string", "enum": ["read", "write"] }, - "pull_requests": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "secret_scanning_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "security_events": { - "type": "string", - "enum": ["read", "write"] - }, - "security_scanning_alert": { - "type": "string", - "enum": ["read", "write"] - }, - "single_file": { - "type": "string", - "enum": ["read", "write"] - }, - "statuses": { - "type": "string", - "enum": ["read", "write"] - }, - "team_discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "vulnerability_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "workflows": { - "type": "string", - "enum": ["read", "write"] - } - } - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string" - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time" - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ] - }, - "pull_request": { - "type": "object", - "properties": { - "diff_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "patch_url": { "type": "string", "format": "uri" }, - "url": { "type": "string", "format": "uri" } - } - }, - "reactions": { - "title": "Reactions", - "type": "object", - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] - }, - "repository_url": { "type": "string", "format": "uri" }, - "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] - }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "enum": ["open", "closed"] - }, - "state_reason": { "type": ["string", "null"] }, - "timeline_url": { "type": "string", "format": "uri" }, - "type": { "$ref": "#/components/schemas/issue-type" }, - "title": { - "description": "Title of the issue", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { - "description": "URL for the issue", - "type": "string", - "format": "uri" - }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "repository_url", - "labels_url", - "comments_url", - "events_url", - "html_url", - "id", - "node_id", - "number", - "title", - "user", - "assignees", - "milestone", - "comments", - "created_at", - "updated_at", - "closed_at", - "author_association", - "active_lock_reason", - "body", - "reactions" - ] - }, - "label": { "$ref": "#/components/schemas/webhooks_label" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "changes", "issue", "repository", "sender"] - }, - "webhook-issues-labeled": { - "title": "issues labeled event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["labeled"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "issue": { - "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-server@3.13/rest/issues/issues#get-an-issue) itself.", - "type": "object", - "properties": { - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { - "description": "Contents of the issue", - "type": ["string", "null"] - }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "draft": { "type": "boolean" }, - "events_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "labels_url": { "type": "string", "format": "uri-template" }, - "locked": { "type": "boolean" }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "performed_via_github_app": { - "title": "App", - "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", - "type": ["object", "null"], - "properties": { - "created_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "description": { "type": ["string", "null"] }, - "events": { - "description": "The list of events for the GitHub app", - "type": "array", - "items": { - "type": "string", - "enum": [ - "branch_protection_rule", - "check_run", - "check_suite", - "code_scanning_alert", - "commit_comment", - "content_reference", - "create", - "delete", - "deployment", - "deployment_review", - "deployment_status", - "deploy_key", - "discussion", - "discussion_comment", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "org_block", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "registry_package", - "release", - "repository", - "repository_dispatch", - "secret_scanning_alert", - "star", - "status", - "team", - "team_add", - "watch", - "workflow_dispatch", - "workflow_run", - "pull_request_review_thread", - "reminder" - ] - } - }, - "external_url": { - "type": ["string", "null"], - "format": "uri" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the GitHub app", - "type": ["integer", "null"] - }, - "name": { - "description": "The name of the GitHub app", - "type": "string" - }, - "node_id": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "description": "The set of permissions for the GitHub app", - "type": "object", - "properties": { - "actions": { - "type": "string", - "enum": ["read", "write"] - }, - "administration": { - "type": "string", - "enum": ["read", "write"] - }, - "checks": { "type": "string", "enum": ["read", "write"] }, - "content_references": { - "type": "string", - "enum": ["read", "write"] - }, - "contents": { - "type": "string", - "enum": ["read", "write"] - }, - "deployments": { - "type": "string", - "enum": ["read", "write"] - }, - "discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "emails": { "type": "string", "enum": ["read", "write"] }, - "environments": { - "type": "string", - "enum": ["read", "write"] - }, - "issues": { "type": "string", "enum": ["read", "write"] }, - "keys": { "type": "string", "enum": ["read", "write"] }, - "members": { - "type": "string", - "enum": ["read", "write"] - }, - "metadata": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_administration": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_packages": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_plan": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_projects": { - "type": "string", - "enum": ["read", "write", "admin"] - }, - "organization_secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_self_hosted_runners": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_user_blocking": { - "type": "string", - "enum": ["read", "write"] - }, - "packages": { - "type": "string", - "enum": ["read", "write"] - }, - "pages": { "type": "string", "enum": ["read", "write"] }, - "pull_requests": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "secret_scanning_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "security_events": { - "type": "string", - "enum": ["read", "write"] - }, - "security_scanning_alert": { - "type": "string", - "enum": ["read", "write"] - }, - "single_file": { - "type": "string", - "enum": ["read", "write"] - }, - "statuses": { - "type": "string", - "enum": ["read", "write"] - }, - "team_discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "vulnerability_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "workflows": { - "type": "string", - "enum": ["read", "write"] - } - } - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string" - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time" - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ] - }, - "pull_request": { - "type": "object", - "properties": { - "diff_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "patch_url": { "type": "string", "format": "uri" }, - "url": { "type": "string", "format": "uri" } - } - }, - "reactions": { - "title": "Reactions", - "type": "object", - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] - }, - "repository_url": { "type": "string", "format": "uri" }, - "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] - }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "enum": ["open", "closed"] - }, - "state_reason": { "type": ["string", "null"] }, - "timeline_url": { "type": "string", "format": "uri" }, - "type": { "$ref": "#/components/schemas/issue-type" }, - "title": { - "description": "Title of the issue", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { - "description": "URL for the issue", - "type": "string", - "format": "uri" - }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "repository_url", - "labels_url", - "comments_url", - "events_url", - "html_url", - "id", - "node_id", - "number", - "title", - "user", - "assignees", - "milestone", - "comments", - "created_at", - "updated_at", - "closed_at", - "author_association", - "active_lock_reason", - "body", - "reactions" - ] - }, - "label": { "$ref": "#/components/schemas/webhooks_label" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "issue", "repository", "sender"] - }, - "webhook-issues-locked": { - "title": "issues locked event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["locked"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "issue": { - "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-server@3.13/rest/issues/issues#get-an-issue) itself.", - "type": "object", - "required": [ - "active_lock_reason", - "assignees", - "author_association", - "body", - "closed_at", - "comments", - "comments_url", - "created_at", - "events_url", - "html_url", - "id", - "labels_url", - "locked", - "milestone", - "node_id", - "number", - "reactions", - "repository_url", - "title", - "updated_at", - "url", - "user" - ], - "properties": { - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - } - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - } - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { - "description": "Contents of the issue", - "type": ["string", "null"] - }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "draft": { "type": "boolean" }, - "events_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": ["object", "null"], - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ], - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - } - } - }, - "labels_url": { "type": "string", "format": "uri-template" }, - "locked": { "type": "boolean", "enum": [true] }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - } - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - } - }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "performed_via_github_app": { - "title": "App", - "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", - "type": ["object", "null"], - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ], - "properties": { - "created_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "description": { "type": ["string", "null"] }, - "events": { - "description": "The list of events for the GitHub app", - "type": "array", - "items": { - "type": "string", - "enum": [ - "branch_protection_rule", - "check_run", - "check_suite", - "code_scanning_alert", - "commit_comment", - "content_reference", - "create", - "delete", - "deployment", - "deployment_review", - "deployment_status", - "deploy_key", - "discussion", - "discussion_comment", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "org_block", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "registry_package", - "release", - "repository", - "repository_dispatch", - "secret_scanning_alert", - "star", - "status", - "team", - "team_add", - "watch", - "workflow_dispatch", - "workflow_run", - "reminder", - "security_and_analysis" - ] - } - }, - "external_url": { - "type": ["string", "null"], - "format": "uri" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the GitHub app", - "type": ["integer", "null"] - }, - "name": { - "description": "The name of the GitHub app", - "type": "string" - }, - "node_id": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - } - }, - "permissions": { - "description": "The set of permissions for the GitHub app", - "type": "object", - "properties": { - "actions": { - "type": "string", - "enum": ["read", "write"] - }, - "administration": { - "type": "string", - "enum": ["read", "write"] - }, - "checks": { "type": "string", "enum": ["read", "write"] }, - "content_references": { - "type": "string", - "enum": ["read", "write"] - }, - "contents": { - "type": "string", - "enum": ["read", "write"] - }, - "deployments": { - "type": "string", - "enum": ["read", "write"] - }, - "discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "emails": { "type": "string", "enum": ["read", "write"] }, - "environments": { - "type": "string", - "enum": ["read", "write"] - }, - "issues": { "type": "string", "enum": ["read", "write"] }, - "keys": { "type": "string", "enum": ["read", "write"] }, - "members": { - "type": "string", - "enum": ["read", "write"] - }, - "metadata": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_administration": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_packages": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_plan": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_self_hosted_runners": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_user_blocking": { - "type": "string", - "enum": ["read", "write"] - }, - "packages": { - "type": "string", - "enum": ["read", "write"] - }, - "pages": { "type": "string", "enum": ["read", "write"] }, - "pull_requests": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "secret_scanning_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "security_events": { - "type": "string", - "enum": ["read", "write"] - }, - "security_scanning_alert": { - "type": "string", - "enum": ["read", "write"] - }, - "single_file": { - "type": "string", - "enum": ["read", "write"] - }, - "statuses": { - "type": "string", - "enum": ["read", "write"] - }, - "team_discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "vulnerability_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "workflows": { - "type": "string", - "enum": ["read", "write"] - } - } - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string" - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time" - } - } - }, - "pull_request": { - "type": "object", - "properties": { - "diff_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "patch_url": { "type": "string", "format": "uri" }, - "url": { "type": "string", "format": "uri" } - } - }, - "reactions": { - "title": "Reactions", - "type": "object", - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ], - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - } - }, - "repository_url": { "type": "string", "format": "uri" }, - "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] - }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "enum": ["open", "closed"] - }, - "state_reason": { "type": ["string", "null"] }, - "timeline_url": { "type": "string", "format": "uri" }, - "type": { "$ref": "#/components/schemas/issue-type" }, - "title": { - "description": "Title of the issue", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { - "description": "URL for the issue", - "type": "string", - "format": "uri" - }, - "user": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - } - } - } - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "issue", "repository", "sender"] - }, - "webhook-issues-milestoned": { - "title": "issues milestoned event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["milestoned"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "issue": { - "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-server@3.13/rest/issues/issues#get-an-issue) itself.", - "type": "object", - "required": [ - "active_lock_reason", - "assignees", - "author_association", - "body", - "closed_at", - "comments", - "comments_url", - "created_at", - "events_url", - "html_url", - "id", - "labels_url", - "milestone", - "node_id", - "number", - "reactions", - "repository_url", - "title", - "updated_at", - "url", - "user" - ], - "properties": { - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" } - } - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" } - } - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { - "description": "Contents of the issue", - "type": ["string", "null"] - }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "draft": { "type": "boolean" }, - "events_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": ["object", "null"], - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ], - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - } - } - }, - "labels_url": { "type": "string", "format": "uri-template" }, - "locked": { "type": "boolean" }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - } - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - } - }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "performed_via_github_app": { - "title": "App", - "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", - "type": ["object", "null"], - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ], - "properties": { - "created_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "description": { "type": ["string", "null"] }, - "events": { - "description": "The list of events for the GitHub app", - "type": "array", - "items": { - "type": "string", - "enum": [ - "branch_protection_rule", - "check_run", - "check_suite", - "code_scanning_alert", - "commit_comment", - "content_reference", - "create", - "delete", - "deployment", - "deployment_review", - "deployment_status", - "deploy_key", - "discussion", - "discussion_comment", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "org_block", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "registry_package", - "release", - "repository", - "repository_dispatch", - "secret_scanning_alert", - "star", - "status", - "team", - "team_add", - "watch", - "workflow_dispatch", - "workflow_run", - "reminder" - ] - } - }, - "external_url": { - "type": ["string", "null"], - "format": "uri" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the GitHub app", - "type": ["integer", "null"] - }, - "name": { - "description": "The name of the GitHub app", - "type": "string" - }, - "node_id": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - } - }, - "permissions": { - "description": "The set of permissions for the GitHub app", - "type": "object", - "properties": { - "actions": { - "type": "string", - "enum": ["read", "write"] - }, - "administration": { - "type": "string", - "enum": ["read", "write"] - }, - "checks": { "type": "string", "enum": ["read", "write"] }, - "content_references": { - "type": "string", - "enum": ["read", "write"] - }, - "contents": { - "type": "string", - "enum": ["read", "write"] - }, - "deployments": { - "type": "string", - "enum": ["read", "write"] - }, - "discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "emails": { "type": "string", "enum": ["read", "write"] }, - "environments": { - "type": "string", - "enum": ["read", "write"] - }, - "issues": { "type": "string", "enum": ["read", "write"] }, - "keys": { "type": "string", "enum": ["read", "write"] }, - "members": { - "type": "string", - "enum": ["read", "write"] - }, - "metadata": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_administration": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_packages": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_plan": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_projects": { - "type": "string", - "enum": ["read", "write", "admin"] - }, - "organization_secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_self_hosted_runners": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_user_blocking": { - "type": "string", - "enum": ["read", "write"] - }, - "packages": { - "type": "string", - "enum": ["read", "write"] - }, - "pages": { "type": "string", "enum": ["read", "write"] }, - "pull_requests": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "secret_scanning_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "security_events": { - "type": "string", - "enum": ["read", "write"] - }, - "security_scanning_alert": { - "type": "string", - "enum": ["read", "write"] - }, - "single_file": { - "type": "string", - "enum": ["read", "write"] - }, - "statuses": { - "type": "string", - "enum": ["read", "write"] - }, - "team_discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "vulnerability_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "workflows": { - "type": "string", - "enum": ["read", "write"] - } - } - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string" - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time" - } - } - }, - "pull_request": { - "type": "object", - "properties": { - "diff_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "patch_url": { "type": "string", "format": "uri" }, - "url": { "type": "string", "format": "uri" } - } - }, - "reactions": { - "title": "Reactions", - "type": "object", - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ], - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - } - }, - "repository_url": { "type": "string", "format": "uri" }, - "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] - }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "enum": ["open", "closed"] - }, - "state_reason": { "type": ["string", "null"] }, - "timeline_url": { "type": "string", "format": "uri" }, - "title": { - "description": "Title of the issue", - "type": "string" - }, - "type": { "$ref": "#/components/schemas/issue-type" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { - "description": "URL for the issue", - "type": "string", - "format": "uri" - }, - "user": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - } - } - } - }, - "milestone": { "$ref": "#/components/schemas/webhooks_milestone" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "issue", "milestone", "repository", "sender"] - }, - "webhook-issues-opened": { - "title": "issues opened event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["opened"] }, - "changes": { - "type": "object", - "properties": { - "old_issue": { - "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-server@3.13/rest/issues/issues#get-an-issue) itself.", - "type": ["object", "null"], - "properties": { - "active_lock_reason": { - "type": ["string", "null"], - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { - "description": "Contents of the issue", - "type": ["string", "null"] - }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "draft": { "type": "boolean" }, - "events_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "labels_url": { "type": "string", "format": "uri-template" }, - "locked": { "type": "boolean" }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "performed_via_github_app": { - "title": "App", - "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", - "type": ["object", "null"], - "properties": { - "created_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "description": { "type": ["string", "null"] }, - "events": { - "description": "The list of events for the GitHub app", - "type": "array", - "items": { - "type": "string", - "enum": [ - "branch_protection_rule", - "check_run", - "check_suite", - "code_scanning_alert", - "commit_comment", - "content_reference", - "create", - "delete", - "deployment", - "deployment_review", - "deployment_status", - "deploy_key", - "discussion", - "discussion_comment", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "org_block", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "registry_package", - "release", - "repository", - "repository_dispatch", - "secret_scanning_alert", - "star", - "status", - "team", - "team_add", - "watch", - "workflow_dispatch", - "workflow_run" - ] - } - }, - "external_url": { - "type": ["string", "null"], - "format": "uri" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the GitHub app", - "type": ["integer", "null"] - }, - "name": { - "description": "The name of the GitHub app", - "type": "string" - }, - "node_id": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "description": "The set of permissions for the GitHub app", - "type": "object", - "properties": { - "actions": { - "type": "string", - "enum": ["read", "write"] - }, - "administration": { - "type": "string", - "enum": ["read", "write"] - }, - "checks": { - "type": "string", - "enum": ["read", "write"] - }, - "content_references": { - "type": "string", - "enum": ["read", "write"] - }, - "contents": { - "type": "string", - "enum": ["read", "write"] - }, - "deployments": { - "type": "string", - "enum": ["read", "write"] - }, - "discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "emails": { - "type": "string", - "enum": ["read", "write"] - }, - "environments": { - "type": "string", - "enum": ["read", "write"] - }, - "issues": { - "type": "string", - "enum": ["read", "write"] - }, - "keys": { - "type": "string", - "enum": ["read", "write"] - }, - "members": { - "type": "string", - "enum": ["read", "write"] - }, - "metadata": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_administration": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_packages": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_plan": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_self_hosted_runners": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_user_blocking": { - "type": "string", - "enum": ["read", "write"] - }, - "packages": { - "type": "string", - "enum": ["read", "write"] - }, - "pages": { - "type": "string", - "enum": ["read", "write"] - }, - "pull_requests": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "secret_scanning_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "security_events": { - "type": "string", - "enum": ["read", "write"] - }, - "security_scanning_alert": { - "type": "string", - "enum": ["read", "write"] - }, - "single_file": { - "type": "string", - "enum": ["read", "write"] - }, - "statuses": { - "type": "string", - "enum": ["read", "write"] - }, - "team_discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "vulnerability_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "workflows": { - "type": "string", - "enum": ["read", "write"] - } - } - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string" - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time" - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ] - }, - "pull_request": { - "type": "object", - "properties": { - "diff_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "patch_url": { "type": "string", "format": "uri" }, - "url": { "type": "string", "format": "uri" } - } - }, - "reactions": { - "title": "Reactions", - "type": "object", - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] - }, - "repository_url": { "type": "string", "format": "uri" }, - "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] - }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "enum": ["open", "closed"] - }, - "state_reason": { "type": ["string", "null"] }, - "timeline_url": { "type": "string", "format": "uri" }, - "title": { - "description": "Title of the issue", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { - "description": "URL for the issue", - "type": "string", - "format": "uri" - }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "type": { "$ref": "#/components/schemas/issue-type" } - }, - "required": ["id", "number"] - }, - "old_repository": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { "type": "string", "format": "uri-template" }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { "type": "string", "format": "uri-template" }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { "type": "string", "format": "uri-template" }, - "compare_url": { "type": "string", "format": "uri-template" }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "custom_properties": { - "type": "object", - "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", - "additionalProperties": true - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_discussions": { - "description": "Whether the repository has discussions enabled.", - "type": "boolean" - }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { "type": "string", "format": "uri-template" }, - "keys_url": { "type": "string", "format": "uri-template" }, - "labels_url": { "type": "string", "format": "uri-template" }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { "type": ["string", "null"], "format": "uri" }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { "type": "string", "format": "uri-template" }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { "type": "array", "items": { "type": "string" } }, - "trees_url": { "type": "string", "format": "uri-template" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require commit signoff.", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - } - }, - "required": ["old_issue", "old_repository"] - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "issue": { - "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-server@3.13/rest/issues/issues#get-an-issue) itself.", - "type": "object", - "properties": { - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { - "description": "Contents of the issue", - "type": ["string", "null"] - }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "draft": { "type": "boolean" }, - "events_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "labels_url": { "type": "string", "format": "uri-template" }, - "locked": { "type": "boolean" }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "performed_via_github_app": { - "title": "App", - "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", - "type": ["object", "null"], - "properties": { - "created_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "description": { "type": ["string", "null"] }, - "events": { - "description": "The list of events for the GitHub app", - "type": "array", - "items": { - "type": "string", - "enum": [ - "branch_protection_rule", - "check_run", - "check_suite", - "code_scanning_alert", - "commit_comment", - "content_reference", - "create", - "delete", - "deployment", - "deployment_review", - "deployment_status", - "deploy_key", - "discussion", - "discussion_comment", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "org_block", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "registry_package", - "release", - "repository", - "repository_dispatch", - "secret_scanning_alert", - "star", - "status", - "team", - "team_add", - "watch", - "workflow_dispatch", - "workflow_run", - "security_and_analysis", - "pull_request_review_thread", - "reminder" - ] - } - }, - "external_url": { - "type": ["string", "null"], - "format": "uri" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the GitHub app", - "type": ["integer", "null"] - }, - "name": { - "description": "The name of the GitHub app", - "type": "string" - }, - "node_id": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "description": "The set of permissions for the GitHub app", - "type": "object", - "properties": { - "actions": { - "type": "string", - "enum": ["read", "write"] - }, - "administration": { - "type": "string", - "enum": ["read", "write"] - }, - "checks": { "type": "string", "enum": ["read", "write"] }, - "content_references": { - "type": "string", - "enum": ["read", "write"] - }, - "contents": { - "type": "string", - "enum": ["read", "write"] - }, - "deployments": { - "type": "string", - "enum": ["read", "write"] - }, - "discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "emails": { "type": "string", "enum": ["read", "write"] }, - "environments": { - "type": "string", - "enum": ["read", "write"] - }, - "issues": { "type": "string", "enum": ["read", "write"] }, - "keys": { "type": "string", "enum": ["read", "write"] }, - "members": { - "type": "string", - "enum": ["read", "write"] - }, - "metadata": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_administration": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_packages": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_plan": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_projects": { - "type": "string", - "enum": ["read", "write", "admin"] - }, - "organization_secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_self_hosted_runners": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_user_blocking": { - "type": "string", - "enum": ["read", "write"] - }, - "packages": { - "type": "string", - "enum": ["read", "write"] - }, - "pages": { "type": "string", "enum": ["read", "write"] }, - "pull_requests": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "secret_scanning_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "security_events": { - "type": "string", - "enum": ["read", "write"] - }, - "security_scanning_alert": { - "type": "string", - "enum": ["read", "write"] - }, - "single_file": { - "type": "string", - "enum": ["read", "write"] - }, - "statuses": { - "type": "string", - "enum": ["read", "write"] - }, - "team_discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "vulnerability_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "workflows": { - "type": "string", - "enum": ["read", "write"] - } - } - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string" - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time" - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ] - }, - "pull_request": { - "type": "object", - "properties": { - "diff_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "patch_url": { "type": "string", "format": "uri" }, - "url": { "type": "string", "format": "uri" } - } - }, - "reactions": { - "title": "Reactions", - "type": "object", - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] - }, - "repository_url": { "type": "string", "format": "uri" }, - "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] - }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "enum": ["open", "closed"] - }, - "state_reason": { "type": ["string", "null"] }, - "timeline_url": { "type": "string", "format": "uri" }, - "title": { - "description": "Title of the issue", - "type": "string" - }, - "type": { "$ref": "#/components/schemas/issue-type" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { - "description": "URL for the issue", - "type": "string", - "format": "uri" - }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "repository_url", - "labels_url", - "comments_url", - "events_url", - "html_url", - "id", - "node_id", - "number", - "title", - "user", - "assignees", - "milestone", - "comments", - "created_at", - "updated_at", - "closed_at", - "author_association", - "active_lock_reason", - "body", - "reactions" - ] - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "issue", "repository", "sender"] - }, - "webhook-issues-pinned": { - "title": "issues pinned event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["pinned"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "issue": { "$ref": "#/components/schemas/webhooks_issue_2" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "issue", "repository", "sender"] - }, - "webhooks_issue_2": { - "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-server@3.13/rest/issues/issues#get-an-issue) itself.", - "type": "object", - "properties": { - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { - "description": "Contents of the issue", - "type": ["string", "null"] - }, - "closed_at": { "type": ["string", "null"], "format": "date-time" }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "draft": { "type": "boolean" }, - "events_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "labels_url": { "type": "string", "format": "uri-template" }, - "locked": { "type": "boolean" }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { "type": ["string", "null"], "format": "date-time" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "performed_via_github_app": { - "title": "App", - "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", - "type": ["object", "null"], - "properties": { - "created_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "description": { "type": ["string", "null"] }, - "events": { - "description": "The list of events for the GitHub app", - "type": "array", - "items": { - "type": "string", - "enum": [ - "branch_protection_rule", - "check_run", - "check_suite", - "code_scanning_alert", - "commit_comment", - "content_reference", - "create", - "delete", - "deployment", - "deployment_review", - "deployment_status", - "deploy_key", - "discussion", - "discussion_comment", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "org_block", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "registry_package", - "release", - "repository", - "repository_dispatch", - "secret_scanning_alert", - "star", - "status", - "team", - "team_add", - "watch", - "workflow_dispatch", - "workflow_run" - ] - } - }, - "external_url": { "type": ["string", "null"], "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the GitHub app", - "type": ["integer", "null"] - }, - "name": { - "description": "The name of the GitHub app", - "type": "string" - }, - "node_id": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "description": "The set of permissions for the GitHub app", - "type": "object", - "properties": { - "actions": { "type": "string", "enum": ["read", "write"] }, - "administration": { - "type": "string", - "enum": ["read", "write"] - }, - "checks": { "type": "string", "enum": ["read", "write"] }, - "content_references": { - "type": "string", - "enum": ["read", "write"] - }, - "contents": { "type": "string", "enum": ["read", "write"] }, - "deployments": { - "type": "string", - "enum": ["read", "write"] - }, - "discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "emails": { "type": "string", "enum": ["read", "write"] }, - "environments": { - "type": "string", - "enum": ["read", "write"] - }, - "issues": { "type": "string", "enum": ["read", "write"] }, - "keys": { "type": "string", "enum": ["read", "write"] }, - "members": { "type": "string", "enum": ["read", "write"] }, - "metadata": { "type": "string", "enum": ["read", "write"] }, - "organization_administration": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_packages": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_plan": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_self_hosted_runners": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_user_blocking": { - "type": "string", - "enum": ["read", "write"] - }, - "packages": { "type": "string", "enum": ["read", "write"] }, - "pages": { "type": "string", "enum": ["read", "write"] }, - "pull_requests": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "secret_scanning_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "secrets": { "type": "string", "enum": ["read", "write"] }, - "security_events": { - "type": "string", - "enum": ["read", "write"] - }, - "security_scanning_alert": { - "type": "string", - "enum": ["read", "write"] - }, - "single_file": { - "type": "string", - "enum": ["read", "write"] - }, - "statuses": { "type": "string", "enum": ["read", "write"] }, - "team_discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "vulnerability_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "workflows": { "type": "string", "enum": ["read", "write"] } - } - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string" - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time" - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ] - }, - "pull_request": { - "type": "object", - "properties": { - "diff_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "patch_url": { "type": "string", "format": "uri" }, - "url": { "type": "string", "format": "uri" } - } - }, - "reactions": { - "title": "Reactions", - "type": "object", - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] - }, - "repository_url": { "type": "string", "format": "uri" }, - "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] - }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "enum": ["open", "closed"] - }, - "state_reason": { "type": ["string", "null"] }, - "timeline_url": { "type": "string", "format": "uri" }, - "title": { "description": "Title of the issue", "type": "string" }, - "type": { "$ref": "#/components/schemas/issue-type" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { - "description": "URL for the issue", - "type": "string", - "format": "uri" - }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "repository_url", - "labels_url", - "comments_url", - "events_url", - "html_url", - "id", - "node_id", - "number", - "title", - "user", - "assignees", - "milestone", - "comments", - "created_at", - "updated_at", - "closed_at", - "author_association", - "active_lock_reason", - "body", - "reactions" - ] - }, - "webhook-issues-reopened": { - "title": "issues reopened event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["reopened"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "issue": { - "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-server@3.13/rest/issues/issues#get-an-issue) itself.", - "type": "object", - "required": [ - "active_lock_reason", - "assignees", - "author_association", - "body", - "closed_at", - "comments", - "comments_url", - "created_at", - "events_url", - "html_url", - "id", - "labels_url", - "milestone", - "node_id", - "number", - "reactions", - "repository_url", - "state", - "title", - "updated_at", - "url", - "user" - ], - "properties": { - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" } - } - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" } - } - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { - "description": "Contents of the issue", - "type": ["string", "null"] - }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "draft": { "type": "boolean" }, - "events_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": ["object", "null"], - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ], - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - } - } - }, - "labels_url": { "type": "string", "format": "uri-template" }, - "locked": { "type": "boolean" }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - } - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - } - }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "performed_via_github_app": { - "title": "App", - "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", - "type": ["object", "null"], - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ], - "properties": { - "created_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "description": { "type": ["string", "null"] }, - "events": { - "description": "The list of events for the GitHub app", - "type": "array", - "items": { - "type": "string", - "enum": [ - "branch_protection_rule", - "check_run", - "check_suite", - "code_scanning_alert", - "commit_comment", - "content_reference", - "create", - "delete", - "deployment", - "deployment_review", - "deployment_status", - "deploy_key", - "discussion", - "discussion_comment", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "org_block", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "registry_package", - "release", - "repository", - "repository_dispatch", - "secret_scanning_alert", - "star", - "status", - "team", - "team_add", - "watch", - "workflow_dispatch", - "workflow_run", - "pull_request_review_thread", - "reminder" - ] - } - }, - "external_url": { - "type": ["string", "null"], - "format": "uri" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the GitHub app", - "type": ["integer", "null"] - }, - "name": { - "description": "The name of the GitHub app", - "type": "string" - }, - "node_id": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - } - }, - "permissions": { - "description": "The set of permissions for the GitHub app", - "type": "object", - "properties": { - "actions": { - "type": "string", - "enum": ["read", "write"] - }, - "administration": { - "type": "string", - "enum": ["read", "write"] - }, - "checks": { "type": "string", "enum": ["read", "write"] }, - "content_references": { - "type": "string", - "enum": ["read", "write"] - }, - "contents": { - "type": "string", - "enum": ["read", "write"] - }, - "deployments": { - "type": "string", - "enum": ["read", "write"] - }, - "discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "emails": { "type": "string", "enum": ["read", "write"] }, - "environments": { - "type": "string", - "enum": ["read", "write"] - }, - "issues": { "type": "string", "enum": ["read", "write"] }, - "keys": { "type": "string", "enum": ["read", "write"] }, - "members": { - "type": "string", - "enum": ["read", "write"] - }, - "metadata": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_administration": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_packages": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_plan": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_projects": { - "type": "string", - "enum": ["read", "write", "admin"] - }, - "organization_secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_self_hosted_runners": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_user_blocking": { - "type": "string", - "enum": ["read", "write"] - }, - "packages": { - "type": "string", - "enum": ["read", "write"] - }, - "pages": { "type": "string", "enum": ["read", "write"] }, - "pull_requests": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_projects": { - "type": "string", - "enum": ["read", "write", "admin"] - }, - "secret_scanning_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "security_events": { - "type": "string", - "enum": ["read", "write"] - }, - "security_scanning_alert": { - "type": "string", - "enum": ["read", "write"] - }, - "single_file": { - "type": "string", - "enum": ["read", "write"] - }, - "statuses": { - "type": "string", - "enum": ["read", "write"] - }, - "team_discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "vulnerability_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "workflows": { - "type": "string", - "enum": ["read", "write"] - } - } - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string" - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time" - } - } - }, - "pull_request": { - "type": "object", - "properties": { - "diff_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "patch_url": { "type": "string", "format": "uri" }, - "url": { "type": "string", "format": "uri" } - } - }, - "reactions": { - "title": "Reactions", - "type": "object", - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ], - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - } - }, - "repository_url": { "type": "string", "format": "uri" }, - "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] - }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "enum": ["open", "closed"] - }, - "state_reason": { "type": ["string", "null"] }, - "timeline_url": { "type": "string", "format": "uri" }, - "title": { - "description": "Title of the issue", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { - "description": "URL for the issue", - "type": "string", - "format": "uri" - }, - "user": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - } - }, - "type": { "$ref": "#/components/schemas/issue-type" } - } - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "issue", "repository", "sender"] - }, - "webhook-issues-transferred": { - "title": "issues transferred event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["transferred"] }, - "changes": { - "type": "object", - "properties": { - "new_issue": { - "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-server@3.13/rest/issues/issues#get-an-issue) itself.", - "type": "object", - "properties": { - "active_lock_reason": { - "type": ["string", "null"], - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { - "description": "Contents of the issue", - "type": ["string", "null"] - }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "draft": { "type": "boolean" }, - "events_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "labels_url": { "type": "string", "format": "uri-template" }, - "locked": { "type": "boolean" }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "performed_via_github_app": { - "title": "App", - "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", - "type": ["object", "null"], - "properties": { - "created_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "description": { "type": ["string", "null"] }, - "events": { - "description": "The list of events for the GitHub app", - "type": "array", - "items": { - "type": "string", - "enum": [ - "branch_protection_rule", - "check_run", - "check_suite", - "code_scanning_alert", - "commit_comment", - "content_reference", - "create", - "delete", - "deployment", - "deployment_review", - "deployment_status", - "deploy_key", - "discussion", - "discussion_comment", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "org_block", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "registry_package", - "release", - "repository", - "repository_dispatch", - "secret_scanning_alert", - "star", - "status", - "team", - "team_add", - "watch", - "workflow_dispatch", - "workflow_run" - ] - } - }, - "external_url": { - "type": ["string", "null"], - "format": "uri" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the GitHub app", - "type": ["integer", "null"] - }, - "name": { - "description": "The name of the GitHub app", - "type": "string" - }, - "node_id": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "description": "The set of permissions for the GitHub app", - "type": "object", - "properties": { - "actions": { - "type": "string", - "enum": ["read", "write"] - }, - "administration": { - "type": "string", - "enum": ["read", "write"] - }, - "checks": { - "type": "string", - "enum": ["read", "write"] - }, - "content_references": { - "type": "string", - "enum": ["read", "write"] - }, - "contents": { - "type": "string", - "enum": ["read", "write"] - }, - "deployments": { - "type": "string", - "enum": ["read", "write"] - }, - "discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "emails": { - "type": "string", - "enum": ["read", "write"] - }, - "environments": { - "type": "string", - "enum": ["read", "write"] - }, - "issues": { - "type": "string", - "enum": ["read", "write"] - }, - "keys": { - "type": "string", - "enum": ["read", "write"] - }, - "members": { - "type": "string", - "enum": ["read", "write"] - }, - "metadata": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_administration": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_packages": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_plan": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_self_hosted_runners": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_user_blocking": { - "type": "string", - "enum": ["read", "write"] - }, - "packages": { - "type": "string", - "enum": ["read", "write"] - }, - "pages": { - "type": "string", - "enum": ["read", "write"] - }, - "pull_requests": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "secret_scanning_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "security_events": { - "type": "string", - "enum": ["read", "write"] - }, - "security_scanning_alert": { - "type": "string", - "enum": ["read", "write"] - }, - "single_file": { - "type": "string", - "enum": ["read", "write"] - }, - "statuses": { - "type": "string", - "enum": ["read", "write"] - }, - "team_discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "vulnerability_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "workflows": { - "type": "string", - "enum": ["read", "write"] - } - } - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string" - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time" - } - }, - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ] - }, - "pull_request": { - "type": "object", - "properties": { - "diff_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "patch_url": { "type": "string", "format": "uri" }, - "url": { "type": "string", "format": "uri" } - } - }, - "reactions": { - "title": "Reactions", - "type": "object", - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] - }, - "repository_url": { "type": "string", "format": "uri" }, - "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] - }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "enum": ["open", "closed"] - }, - "state_reason": { "type": ["string", "null"] }, - "timeline_url": { "type": "string", "format": "uri" }, - "title": { - "description": "Title of the issue", - "type": "string" - }, - "type": { "$ref": "#/components/schemas/issue-type" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { - "description": "URL for the issue", - "type": "string", - "format": "uri" - }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "repository_url", - "labels_url", - "comments_url", - "events_url", - "html_url", - "id", - "node_id", - "number", - "title", - "user", - "assignees", - "milestone", - "comments", - "created_at", - "updated_at", - "closed_at", - "author_association", - "active_lock_reason", - "body", - "reactions" - ] - }, - "new_repository": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { "type": "string", "format": "uri-template" }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { "type": "string", "format": "uri-template" }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { "type": "string", "format": "uri-template" }, - "compare_url": { "type": "string", "format": "uri-template" }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "custom_properties": { - "type": "object", - "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", - "additionalProperties": true - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { "type": "string", "format": "uri-template" }, - "keys_url": { "type": "string", "format": "uri-template" }, - "labels_url": { "type": "string", "format": "uri-template" }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { "type": ["string", "null"], "format": "uri" }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { "type": "string", "format": "uri-template" }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { "type": "array", "items": { "type": "string" } }, - "trees_url": { "type": "string", "format": "uri-template" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - } - }, - "required": ["new_issue", "new_repository"] - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "issue": { "$ref": "#/components/schemas/webhooks_issue_2" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "changes", "issue", "repository", "sender"] - }, - "webhook-issues-unassigned": { - "title": "issues unassigned event", - "type": "object", - "properties": { - "action": { - "description": "The action that was performed.", - "type": "string", - "enum": ["unassigned"] - }, - "assignee": { - "$ref": "#/components/schemas/webhooks_user_mannequin" - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "issue": { "$ref": "#/components/schemas/webhooks_issue" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "issue", "repository", "sender"] - }, - "webhooks_user_mannequin": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "webhook-issues-unlabeled": { - "title": "issues unlabeled event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["unlabeled"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "issue": { "$ref": "#/components/schemas/webhooks_issue" }, - "label": { "$ref": "#/components/schemas/webhooks_label" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "issue", "repository", "sender"] - }, - "webhook-issues-unlocked": { - "title": "issues unlocked event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["unlocked"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "issue": { - "title": "Issue", - "description": "The [issue](https://docs.github.com/enterprise-server@3.13/rest/issues/issues#get-an-issue) itself.", - "type": "object", - "required": [ - "active_lock_reason", - "assignees", - "author_association", - "body", - "closed_at", - "comments", - "comments_url", - "created_at", - "events_url", - "html_url", - "id", - "labels_url", - "locked", - "milestone", - "node_id", - "number", - "reactions", - "repository_url", - "title", - "updated_at", - "url", - "user" - ], - "properties": { - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - } - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - } - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { - "description": "Contents of the issue", - "type": ["string", "null"] - }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "draft": { "type": "boolean" }, - "events_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": ["object", "null"], - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ], - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - } - } - }, - "labels_url": { "type": "string", "format": "uri-template" }, - "locked": { "type": "boolean", "enum": [false] }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - } - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - } - }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "performed_via_github_app": { - "title": "App", - "description": "GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.", - "type": ["object", "null"], - "required": [ - "id", - "node_id", - "owner", - "name", - "description", - "external_url", - "html_url", - "created_at", - "updated_at" - ], - "properties": { - "created_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "description": { "type": ["string", "null"] }, - "events": { - "description": "The list of events for the GitHub app", - "type": "array", - "items": { - "type": "string", - "enum": [ - "branch_protection_rule", - "check_run", - "check_suite", - "code_scanning_alert", - "commit_comment", - "content_reference", - "create", - "delete", - "deployment", - "deployment_review", - "deployment_status", - "deploy_key", - "discussion", - "discussion_comment", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "milestone", - "organization", - "org_block", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "push", - "registry_package", - "release", - "repository", - "repository_dispatch", - "secret_scanning_alert", - "star", - "status", - "team", - "team_add", - "watch", - "workflow_dispatch", - "workflow_run" - ] - } - }, - "external_url": { - "type": ["string", "null"], - "format": "uri" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the GitHub app", - "type": ["integer", "null"] - }, - "name": { - "description": "The name of the GitHub app", - "type": "string" - }, - "node_id": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - } - }, - "permissions": { - "description": "The set of permissions for the GitHub app", - "type": "object", - "properties": { - "actions": { - "type": "string", - "enum": ["read", "write"] - }, - "administration": { - "type": "string", - "enum": ["read", "write"] - }, - "checks": { "type": "string", "enum": ["read", "write"] }, - "content_references": { - "type": "string", - "enum": ["read", "write"] - }, - "contents": { - "type": "string", - "enum": ["read", "write"] - }, - "deployments": { - "type": "string", - "enum": ["read", "write"] - }, - "discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "emails": { "type": "string", "enum": ["read", "write"] }, - "environments": { - "type": "string", - "enum": ["read", "write"] - }, - "issues": { "type": "string", "enum": ["read", "write"] }, - "keys": { "type": "string", "enum": ["read", "write"] }, - "members": { - "type": "string", - "enum": ["read", "write"] - }, - "metadata": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_administration": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_packages": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_plan": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_self_hosted_runners": { - "type": "string", - "enum": ["read", "write"] - }, - "organization_user_blocking": { - "type": "string", - "enum": ["read", "write"] - }, - "packages": { - "type": "string", - "enum": ["read", "write"] - }, - "pages": { "type": "string", "enum": ["read", "write"] }, - "pull_requests": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_hooks": { - "type": "string", - "enum": ["read", "write"] - }, - "repository_projects": { - "type": "string", - "enum": ["read", "write"] - }, - "secret_scanning_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "secrets": { - "type": "string", - "enum": ["read", "write"] - }, - "security_events": { - "type": "string", - "enum": ["read", "write"] - }, - "security_scanning_alert": { - "type": "string", - "enum": ["read", "write"] - }, - "single_file": { - "type": "string", - "enum": ["read", "write"] - }, - "statuses": { - "type": "string", - "enum": ["read", "write"] - }, - "team_discussions": { - "type": "string", - "enum": ["read", "write"] - }, - "vulnerability_alerts": { - "type": "string", - "enum": ["read", "write"] - }, - "workflows": { - "type": "string", - "enum": ["read", "write"] - } - } - }, - "slug": { - "description": "The slug name of the GitHub app", - "type": "string" - }, - "updated_at": { - "type": ["string", "null"], - "format": "date-time" - } - } - }, - "pull_request": { - "type": "object", - "properties": { - "diff_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "patch_url": { "type": "string", "format": "uri" }, - "url": { "type": "string", "format": "uri" } - } - }, - "reactions": { - "title": "Reactions", - "type": "object", - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ], - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - } - }, - "repository_url": { "type": "string", "format": "uri" }, - "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] - }, - "state": { - "description": "State of the issue; either 'open' or 'closed'", - "type": "string", - "enum": ["open", "closed"] - }, - "state_reason": { "type": ["string", "null"] }, - "timeline_url": { "type": "string", "format": "uri" }, - "title": { - "description": "Title of the issue", - "type": "string" - }, - "type": { "$ref": "#/components/schemas/issue-type" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { - "description": "URL for the issue", - "type": "string", - "format": "uri" - }, - "user": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - } - } - } - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "issue", "repository", "sender"] - }, - "webhook-issues-unpinned": { - "title": "issues unpinned event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["unpinned"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "issue": { "$ref": "#/components/schemas/webhooks_issue_2" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "issue", "repository", "sender"] - }, - "webhook-label-created": { - "title": "label created event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "label": { "$ref": "#/components/schemas/webhooks_label" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "label", "repository"] - }, - "webhook-label-deleted": { - "title": "label deleted event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["deleted"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "label": { "$ref": "#/components/schemas/webhooks_label" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "label", "repository", "sender"] - }, - "webhook-label-edited": { - "title": "label edited event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["edited"] }, - "changes": { - "description": "The changes to the label if the action was `edited`.", - "type": "object", - "properties": { - "color": { - "type": "object", - "properties": { - "from": { - "description": "The previous version of the color if the action was `edited`.", - "type": "string" - } - }, - "required": ["from"] - }, - "description": { - "type": "object", - "properties": { - "from": { - "description": "The previous version of the description if the action was `edited`.", - "type": "string" - } - }, - "required": ["from"] - }, - "name": { - "type": "object", - "properties": { - "from": { - "description": "The previous version of the name if the action was `edited`.", - "type": "string" - } - }, - "required": ["from"] - } - } - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "label": { "$ref": "#/components/schemas/webhooks_label" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "label", "repository", "sender"] - }, - "webhook-member-added": { - "title": "member added event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["added"] }, - "changes": { - "type": "object", - "properties": { - "permission": { - "type": "object", - "properties": { - "to": { "type": "string", "enum": ["write", "admin", "read"] } - }, - "required": ["to"] - } - } - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "member": { "$ref": "#/components/schemas/webhooks_user" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "member", "repository", "sender"] - }, - "webhook-member-edited": { - "title": "member edited event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["edited"] }, - "changes": { - "description": "The changes to the collaborator permissions", - "type": "object", - "properties": { - "old_permission": { - "type": "object", - "properties": { - "from": { - "description": "The previous permissions of the collaborator if the action was edited.", - "type": "string" - } - }, - "required": ["from"] - }, - "permission": { - "type": "object", - "properties": { - "from": { "type": ["string", "null"] }, - "to": { "type": ["string", "null"] } - } - } - } - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "member": { "$ref": "#/components/schemas/webhooks_user" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "changes", "member", "repository", "sender"] - }, - "webhook-member-removed": { - "title": "member removed event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["removed"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "member": { "$ref": "#/components/schemas/webhooks_user" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "member", "repository", "sender"] - }, - "webhook-membership-added": { - "title": "membership added event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["added"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "member": { "$ref": "#/components/schemas/webhooks_user" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "scope": { - "description": "The scope of the membership. Currently, can only be `team`.", - "type": "string", - "enum": ["team"] - }, - "sender": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "team": { "$ref": "#/components/schemas/webhooks_team" } - }, - "required": [ - "action", - "scope", - "member", - "sender", - "team", - "organization" - ] - }, - "webhooks_team": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { "type": "string", "format": "uri-template" }, - "name": { "description": "Name of the team", "type": "string" }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { "type": "string", "format": "uri-template" }, - "name": { "description": "Name of the team", "type": "string" }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "notification_setting": { - "description": "Whether team members will receive notifications when their team is @mentioned", - "type": "string", - "enum": ["notifications_enabled", "notifications_disabled"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "notification_setting", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { "type": "string", "enum": ["open", "closed", "secret"] }, - "notification_setting": { - "type": "string", - "enum": ["notifications_enabled", "notifications_disabled"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - }, - "webhook-membership-removed": { - "title": "membership removed event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["removed"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "member": { "$ref": "#/components/schemas/webhooks_user" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "scope": { - "description": "The scope of the membership. Currently, can only be `team`.", - "type": "string", - "enum": ["team", "organization"] - }, - "sender": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "team": { "$ref": "#/components/schemas/webhooks_team" } - }, - "required": [ - "action", - "scope", - "member", - "sender", - "team", - "organization" - ] - }, - "webhook-meta-deleted": { - "title": "meta deleted event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["deleted"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "hook": { - "description": "The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, business, app, or GitHub Marketplace.", - "type": "object", - "properties": { - "active": { "type": "boolean" }, - "config": { - "type": "object", - "properties": { - "content_type": { - "type": "string", - "enum": ["json", "form"] - }, - "insecure_ssl": { "type": "string" }, - "secret": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["content_type", "insecure_ssl", "url"] - }, - "created_at": { "type": "string" }, - "events": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "*", - "branch_protection_rule", - "check_run", - "check_suite", - "code_scanning_alert", - "commit_comment", - "create", - "delete", - "deployment", - "deployment_status", - "deploy_key", - "discussion", - "discussion_comment", - "fork", - "gollum", - "issues", - "issue_comment", - "label", - "member", - "membership", - "meta", - "milestone", - "organization", - "org_block", - "package", - "page_build", - "project", - "project_card", - "project_column", - "public", - "pull_request", - "pull_request_review", - "pull_request_review_comment", - "pull_request_review_thread", - "push", - "registry_package", - "release", - "repository", - "repository_import", - "repository_vulnerability_alert", - "secret_scanning_alert", - "secret_scanning_alert_location", - "security_and_analysis", - "star", - "status", - "team", - "team_add", - "watch", - "workflow_job", - "workflow_run", - "repository_dispatch", - "projects_v2_item" - ], - "minItems": 1 - } - }, - "id": { "type": "integer" }, - "name": { "type": "string" }, - "type": { "type": "string" }, - "updated_at": { "type": "string" } - }, - "required": [ - "type", - "id", - "name", - "active", - "events", - "config", - "updated_at", - "created_at" - ] - }, - "hook_id": { - "description": "The id of the modified webhook.", - "type": "integer" - }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/repository-webhooks" } - ] - }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "hook_id", "hook"] - }, - "webhook-milestone-closed": { - "title": "milestone closed event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["closed"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": "object", - "properties": { - "closed_at": { "type": ["string"], "format": "date-time" }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { "type": ["string", "null"], "format": "date-time" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "milestone", "repository", "sender"] - }, - "webhook-milestone-created": { - "title": "milestone created event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": "object", - "properties": { - "closed_at": { "type": ["null"] }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { "type": ["string", "null"], "format": "date-time" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "milestone", "repository", "sender"] - }, - "webhook-milestone-deleted": { - "title": "milestone deleted event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["deleted"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "milestone": { "$ref": "#/components/schemas/webhooks_milestone" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "milestone", "repository", "sender"] - }, - "webhook-milestone-edited": { - "title": "milestone edited event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["edited"] }, - "changes": { - "description": "The changes to the milestone if the action was `edited`.", - "type": "object", - "properties": { - "description": { - "type": "object", - "properties": { - "from": { - "description": "The previous version of the description if the action was `edited`.", - "type": "string" - } - }, - "required": ["from"] - }, - "due_on": { - "type": "object", - "properties": { - "from": { - "description": "The previous version of the due date if the action was `edited`.", - "type": "string" - } - }, - "required": ["from"] - }, - "title": { - "type": "object", - "properties": { - "from": { - "description": "The previous version of the title if the action was `edited`.", - "type": "string" - } - }, - "required": ["from"] - } - } - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "milestone": { "$ref": "#/components/schemas/webhooks_milestone" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "changes", "milestone", "repository", "sender"] - }, - "webhook-milestone-opened": { - "title": "milestone opened event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["opened"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": "object", - "properties": { - "closed_at": { "type": ["null"] }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { "type": ["string", "null"], "format": "date-time" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "milestone", "repository", "sender"] - }, - "webhook-organization-deleted": { - "title": "organization deleted event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["deleted"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "membership": { "$ref": "#/components/schemas/webhooks_membership" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "organization", "sender"] - }, - "webhooks_membership": { - "title": "Membership", - "description": "The membership between the user and the organization. Not present when the action is `member_invited`.", - "type": "object", - "properties": { - "organization_url": { "type": "string", "format": "uri" }, - "role": { "type": "string" }, - "state": { "type": "string" }, - "url": { "type": "string", "format": "uri" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["url", "state", "role", "organization_url", "user"] - }, - "webhook-organization-member-added": { - "title": "organization member_added event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["member_added"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "membership": { "$ref": "#/components/schemas/webhooks_membership" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "membership", "organization", "sender"] - }, - "webhook-organization-member-invited": { - "title": "organization member_invited event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["member_invited"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "invitation": { - "description": "The invitation for the user or email if the action is `member_invited`.", - "type": "object", - "properties": { - "created_at": { "type": "string", "format": "date-time" }, - "email": { "type": ["string", "null"] }, - "failed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "failed_reason": { "type": ["string", "null"] }, - "id": { "type": "number" }, - "invitation_teams_url": { "type": "string", "format": "uri" }, - "inviter": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "login": { "type": ["string", "null"] }, - "node_id": { "type": "string" }, - "role": { "type": "string" }, - "team_count": { "type": "number" }, - "invitation_source": { "type": "string" } - }, - "required": [ - "id", - "node_id", - "login", - "email", - "role", - "created_at", - "failed_at", - "failed_reason", - "inviter", - "team_count", - "invitation_teams_url" - ] - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "user": { "$ref": "#/components/schemas/webhooks_user" } - }, - "required": ["action", "invitation", "organization", "sender"] - }, - "webhook-organization-member-removed": { - "title": "organization member_removed event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["member_removed"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "membership": { "$ref": "#/components/schemas/webhooks_membership" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "membership", "organization", "sender"] - }, - "webhook-organization-renamed": { - "title": "organization renamed event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["renamed"] }, - "changes": { - "type": "object", - "properties": { - "login": { - "type": "object", - "properties": { "from": { "type": "string" } } - } - } - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "membership": { "$ref": "#/components/schemas/webhooks_membership" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "organization", "sender"] - }, - "webhook-package-published": { - "title": "package published event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["published"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "package": { - "description": "Information about the package.", - "type": "object", - "properties": { - "created_at": { "type": ["string", "null"] }, - "description": { "type": ["string", "null"] }, - "ecosystem": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "name": { "type": "string" }, - "namespace": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "package_type": { "type": "string" }, - "package_version": { - "type": ["object", "null"], - "properties": { - "author": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "body": { - "oneOf": [{ "type": "string" }, { "type": "object" }] - }, - "body_html": { "type": "string" }, - "container_metadata": { - "type": ["object", "null"], - "properties": { - "labels": { "type": ["object", "null"] }, - "manifest": { "type": ["object", "null"] }, - "tag": { - "type": "object", - "properties": { - "digest": { "type": "string" }, - "name": { "type": "string" } - } - } - } - }, - "created_at": { "type": "string" }, - "description": { "type": "string" }, - "docker_metadata": { - "type": "array", - "items": { - "type": "object", - "properties": { - "tags": { - "type": "array", - "items": { "type": "string" } - } - } - } - }, - "draft": { "type": "boolean" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "installation_command": { "type": "string" }, - "manifest": { "type": "string" }, - "metadata": { - "type": "array", - "items": { "type": "object", "additionalProperties": true } - }, - "name": { "type": "string" }, - "npm_metadata": { - "type": ["object", "null"], - "properties": { - "name": { "type": "string" }, - "version": { "type": "string" }, - "npm_user": { "type": "string" }, - "author": { "type": ["object", "null"] }, - "bugs": { "type": ["object", "null"] }, - "dependencies": { "type": "object" }, - "dev_dependencies": { "type": "object" }, - "peer_dependencies": { "type": "object" }, - "optional_dependencies": { "type": "object" }, - "description": { "type": "string" }, - "dist": { "type": ["object", "null"] }, - "git_head": { "type": "string" }, - "homepage": { "type": "string" }, - "license": { "type": "string" }, - "main": { "type": "string" }, - "repository": { "type": ["object", "null"] }, - "scripts": { "type": "object" }, - "id": { "type": "string" }, - "node_version": { "type": "string" }, - "npm_version": { "type": "string" }, - "has_shrinkwrap": { "type": "boolean" }, - "maintainers": { - "type": "array", - "items": { "type": "object" } - }, - "contributors": { - "type": "array", - "items": { "type": "object" } - }, - "engines": { "type": "object" }, - "keywords": { - "type": "array", - "items": { "type": "string" } - }, - "files": { - "type": "array", - "items": { "type": "string" } - }, - "bin": { "type": "object" }, - "man": { "type": "object" }, - "directories": { "type": ["object", "null"] }, - "os": { "type": "array", "items": { "type": "string" } }, - "cpu": { "type": "array", "items": { "type": "string" } }, - "readme": { "type": "string" }, - "installation_command": { "type": "string" }, - "release_id": { "type": "integer" }, - "commit_oid": { "type": "string" }, - "published_via_actions": { "type": "boolean" }, - "deleted_by_id": { "type": "integer" } - } - }, - "nuget_metadata": { - "type": ["array", "null"], - "items": { - "type": "object", - "properties": { - "id": { - "oneOf": [{ "type": "integer" }, { "type": "string" }] - }, - "name": { "type": "string" }, - "value": { - "oneOf": [ - { "type": "boolean" }, - { "type": "string" }, - { "type": "integer" }, - { - "type": "object", - "properties": { - "url": { "type": "string" }, - "branch": { "type": "string" }, - "commit": { "type": "string" }, - "type": { "type": "string" } - } - } - ] - } - } - } - }, - "package_files": { - "type": "array", - "items": { - "type": "object", - "properties": { - "content_type": { "type": "string" }, - "created_at": { "type": "string" }, - "download_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "md5": { "type": ["string", "null"] }, - "name": { "type": "string" }, - "sha1": { "type": ["string", "null"] }, - "sha256": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "state": { "type": ["string", "null"] }, - "updated_at": { "type": "string" } - }, - "required": [ - "download_url", - "id", - "name", - "sha256", - "sha1", - "md5", - "content_type", - "state", - "size", - "created_at", - "updated_at" - ] - } - }, - "package_url": { "type": "string" }, - "prerelease": { "type": "boolean" }, - "release": { - "type": "object", - "properties": { - "author": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "created_at": { "type": "string" }, - "draft": { "type": "boolean" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "name": { "type": ["string", "null"] }, - "prerelease": { "type": "boolean" }, - "published_at": { "type": "string" }, - "tag_name": { "type": "string" }, - "target_commitish": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "id", - "tag_name", - "target_commitish", - "name", - "draft", - "author", - "prerelease", - "created_at", - "published_at" - ] - }, - "rubygems_metadata": { - "type": "array", - "items": { - "$ref": "#/components/schemas/webhook-rubygems-metadata" - } - }, - "source_url": { "type": "string" }, - "summary": { "type": "string" }, - "tag_name": { "type": "string" }, - "target_commitish": { "type": "string" }, - "target_oid": { "type": "string" }, - "updated_at": { "type": "string" }, - "version": { "type": "string" } - }, - "required": [ - "id", - "version", - "summary", - "name", - "description", - "html_url", - "metadata", - "package_files", - "installation_command" - ] - }, - "registry": { - "type": ["object", "null"], - "properties": { - "about_url": { "type": "string", "format": "uri" }, - "name": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string", "format": "uri" }, - "vendor": { "type": "string" } - }, - "required": ["about_url", "name", "type", "url", "vendor"] - }, - "updated_at": { "type": ["string", "null"] } - }, - "required": [ - "id", - "name", - "namespace", - "description", - "ecosystem", - "package_type", - "html_url", - "created_at", - "updated_at", - "owner", - "package_version", - "registry" - ] - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "package", "sender"] - }, - "webhook-rubygems-metadata": { - "title": "Ruby Gems metadata", - "type": "object", - "properties": { - "name": { "type": "string" }, - "description": { "type": "string" }, - "readme": { "type": "string" }, - "homepage": { "type": "string" }, - "version_info": { - "type": "object", - "properties": { "version": { "type": "string" } } - }, - "platform": { "type": "string" }, - "metadata": { - "type": "object", - "additionalProperties": { "type": "string" } - }, - "repo": { "type": "string" }, - "dependencies": { - "type": "array", - "items": { - "type": "object", - "additionalProperties": { "type": "string" } - } - }, - "commit_oid": { "type": "string" } - } - }, - "webhook-package-updated": { - "title": "package updated event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["updated"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "package": { - "description": "Information about the package.", - "type": "object", - "properties": { - "created_at": { "type": "string" }, - "description": { "type": ["string", "null"] }, - "ecosystem": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "name": { "type": "string" }, - "namespace": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "package_type": { "type": "string" }, - "package_version": { - "type": "object", - "properties": { - "author": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "body": { "type": "string" }, - "body_html": { "type": "string" }, - "created_at": { "type": "string" }, - "description": { "type": "string" }, - "docker_metadata": { - "type": "array", - "items": { - "type": "object", - "properties": { - "tags": { - "type": "array", - "items": { "type": "string" } - } - } - } - }, - "draft": { "type": "boolean" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "installation_command": { "type": "string" }, - "manifest": { "type": "string" }, - "metadata": { - "type": "array", - "items": { "type": "object", "additionalProperties": true } - }, - "name": { "type": "string" }, - "package_files": { - "type": "array", - "items": { - "type": "object", - "properties": { - "content_type": { "type": "string" }, - "created_at": { "type": "string" }, - "download_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "md5": { "type": ["string", "null"] }, - "name": { "type": "string" }, - "sha1": { "type": ["string", "null"] }, - "sha256": { "type": "string" }, - "size": { "type": "integer" }, - "state": { "type": "string" }, - "updated_at": { "type": "string" } - }, - "required": [ - "download_url", - "id", - "name", - "sha256", - "sha1", - "md5", - "content_type", - "state", - "size", - "created_at", - "updated_at" - ] - } - }, - "package_url": { "type": "string" }, - "prerelease": { "type": "boolean" }, - "release": { - "type": "object", - "properties": { - "author": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "created_at": { "type": "string" }, - "draft": { "type": "boolean" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "name": { "type": "string" }, - "prerelease": { "type": "boolean" }, - "published_at": { "type": "string" }, - "tag_name": { "type": "string" }, - "target_commitish": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "id", - "tag_name", - "target_commitish", - "name", - "draft", - "author", - "prerelease", - "created_at", - "published_at" - ] - }, - "rubygems_metadata": { - "type": "array", - "items": { - "$ref": "#/components/schemas/webhook-rubygems-metadata" - } - }, - "source_url": { "type": "string", "format": "uri" }, - "summary": { "type": "string" }, - "tag_name": { "type": "string" }, - "target_commitish": { "type": "string" }, - "target_oid": { "type": "string" }, - "updated_at": { "type": "string" }, - "version": { "type": "string" } - }, - "required": [ - "id", - "version", - "summary", - "name", - "description", - "body", - "body_html", - "html_url", - "target_commitish", - "target_oid", - "created_at", - "updated_at", - "metadata", - "package_files", - "author", - "installation_command" - ] - }, - "registry": { - "type": ["object", "null"], - "properties": { - "about_url": { "type": "string", "format": "uri" }, - "name": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string", "format": "uri" }, - "vendor": { "type": "string" } - }, - "required": ["about_url", "name", "type", "url", "vendor"] - }, - "updated_at": { "type": "string" } - }, - "required": [ - "id", - "name", - "namespace", - "description", - "ecosystem", - "package_type", - "html_url", - "created_at", - "updated_at", - "owner", - "package_version", - "registry" - ] - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "package", "repository", "sender"] - }, - "webhook-page-build": { - "title": "page_build event", - "type": "object", - "properties": { - "build": { - "description": "The [List GitHub Pages builds](https://docs.github.com/enterprise-server@3.13/rest/pages/pages#list-github-pages-builds) itself.", - "type": "object", - "properties": { - "commit": { "type": ["string", "null"] }, - "created_at": { "type": "string" }, - "duration": { "type": "integer" }, - "error": { - "type": "object", - "properties": { "message": { "type": ["string", "null"] } }, - "required": ["message"] - }, - "pusher": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "status": { "type": "string" }, - "updated_at": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "status", - "error", - "pusher", - "commit", - "duration", - "created_at", - "updated_at" - ] - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "id": { "type": "integer" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["id", "build", "repository", "sender"] - }, - "webhook-personal-access-token-request-approved": { - "title": "personal_access_token_request approved event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["approved"] }, - "personal_access_token_request": { - "$ref": "#/components/schemas/personal-access-token-request" - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "installation": { "$ref": "#/components/schemas/simple-installation" } - }, - "required": [ - "action", - "personal_access_token_request", - "organization", - "sender", - "installation" - ] - }, - "personal-access-token-request": { - "title": "Personal Access Token Request", - "description": "Details of a Personal Access Token Request.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "Unique identifier of the request for access via fine-grained personal access token. Used as the `pat_request_id` parameter in the list and review API calls." - }, - "owner": { "$ref": "#/components/schemas/simple-user" }, - "permissions_added": { - "type": "object", - "description": "New requested permissions, categorized by type of permission.", - "properties": { - "organization": { - "type": "object", - "additionalProperties": { "type": "string" } - }, - "repository": { - "type": "object", - "additionalProperties": { "type": "string" } - }, - "other": { - "type": "object", - "additionalProperties": { "type": "string" } - } - } - }, - "permissions_upgraded": { - "type": "object", - "description": "Requested permissions that elevate access for a previously approved request for access, categorized by type of permission.", - "properties": { - "organization": { - "type": "object", - "additionalProperties": { "type": "string" } - }, - "repository": { - "type": "object", - "additionalProperties": { "type": "string" } - }, - "other": { - "type": "object", - "additionalProperties": { "type": "string" } - } - } - }, - "permissions_result": { - "type": "object", - "description": "Permissions requested, categorized by type of permission. This field incorporates `permissions_added` and `permissions_upgraded`.", - "properties": { - "organization": { - "type": "object", - "additionalProperties": { "type": "string" } - }, - "repository": { - "type": "object", - "additionalProperties": { "type": "string" } - }, - "other": { - "type": "object", - "additionalProperties": { "type": "string" } - } - } - }, - "repository_selection": { - "type": "string", - "description": "Type of repository selection requested.", - "enum": ["none", "all", "subset"] - }, - "repository_count": { - "description": "The number of repositories the token is requesting access to. This field is only populated when `repository_selection` is `subset`.", - "type": ["integer", "null"] - }, - "repositories": { - "type": ["array", "null"], - "description": "An array of repository objects the token is requesting access to. This field is only populated when `repository_selection` is `subset`.", - "items": { - "type": "object", - "properties": { - "full_name": { "type": "string" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - } - }, - "required": ["id", "node_id", "name", "full_name", "private"] - } - }, - "created_at": { - "type": "string", - "description": "Date and time when the request for access was created." - }, - "token_id": { - "type": "integer", - "description": "Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants." - }, - "token_name": { - "type": "string", - "description": "The name given to the user's token. This field can also be found in an organization's settings page for Active Tokens." - }, - "token_expired": { - "type": "boolean", - "description": "Whether the associated fine-grained personal access token has expired." - }, - "token_expires_at": { - "type": ["string", "null"], - "description": "Date and time when the associated fine-grained personal access token expires." - }, - "token_last_used_at": { - "type": ["string", "null"], - "description": "Date and time when the associated fine-grained personal access token was last used for authentication." - } - }, - "required": [ - "id", - "owner", - "permissions_added", - "permissions_upgraded", - "permissions_result", - "repository_selection", - "repository_count", - "repositories", - "created_at", - "token_id", - "token_name", - "token_expired", - "token_expires_at", - "token_last_used_at" - ] - }, - "webhook-personal-access-token-request-cancelled": { - "title": "personal_access_token_request cancelled event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["cancelled"] }, - "personal_access_token_request": { - "$ref": "#/components/schemas/personal-access-token-request" - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "installation": { "$ref": "#/components/schemas/simple-installation" } - }, - "required": [ - "action", - "personal_access_token_request", - "organization", - "sender", - "installation" - ] - }, - "webhook-personal-access-token-request-created": { - "title": "personal_access_token_request created event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "personal_access_token_request": { - "$ref": "#/components/schemas/personal-access-token-request" - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "installation": { "$ref": "#/components/schemas/simple-installation" } - }, - "required": [ - "action", - "personal_access_token_request", - "organization", - "sender" - ] - }, - "webhook-personal-access-token-request-denied": { - "title": "personal_access_token_request denied event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["denied"] }, - "personal_access_token_request": { - "$ref": "#/components/schemas/personal-access-token-request" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "installation": { "$ref": "#/components/schemas/simple-installation" } - }, - "required": [ - "action", - "personal_access_token_request", - "organization", - "sender", - "installation" - ] - }, - "webhook-ping": { - "type": "object", - "properties": { - "hook": { - "title": "Webhook", - "description": "The webhook that is being pinged", - "type": "object", - "properties": { - "active": { - "description": "Determines whether the hook is actually triggered for the events it subscribes to.", - "type": "boolean" - }, - "app_id": { - "description": "Only included for GitHub Apps. When you register a new GitHub App, GitHub sends a ping event to the webhook URL you specified during registration. The GitHub App ID sent in this field is required for authenticating an app.", - "type": "integer" - }, - "config": { - "type": "object", - "properties": { - "content_type": { - "$ref": "#/components/schemas/webhook-config-content-type" - }, - "insecure_ssl": { - "$ref": "#/components/schemas/webhook-config-insecure-ssl" - }, - "secret": { - "$ref": "#/components/schemas/webhook-config-secret" - }, - "url": { "$ref": "#/components/schemas/webhook-config-url" } - } - }, - "created_at": { "type": "string", "format": "date-time" }, - "deliveries_url": { "type": "string", "format": "uri" }, - "events": { - "description": "Determines what events the hook is triggered for. Default: ['push'].", - "type": "array", - "items": { "type": "string" } - }, - "id": { - "description": "Unique identifier of the webhook.", - "type": "integer" - }, - "last_response": { "$ref": "#/components/schemas/hook-response" }, - "name": { - "description": "The type of webhook. The only valid value is 'web'.", - "type": "string", - "enum": ["web"] - }, - "ping_url": { "type": "string", "format": "uri" }, - "test_url": { "type": "string", "format": "uri" }, - "type": { "type": "string" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "id", - "type", - "name", - "active", - "events", - "config", - "created_at", - "updated_at" - ] - }, - "hook_id": { - "description": "The ID of the webhook that triggered the ping.", - "type": "integer" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "zen": { - "description": "Random string of GitHub zen.", - "type": "string" - } - } - }, - "webhook-config-content-type": { - "type": "string", - "description": "The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`.", - "examples": ["\"json\""] - }, - "webhook-config-insecure-ssl": { - "oneOf": [ - { - "type": "string", - "description": "Determines whether the SSL certificate of the host for `url` will be verified when delivering payloads. Supported values include `0` (verification is performed) and `1` (verification is not performed). The default is `0`. **We strongly recommend not setting this to `1` as you are subject to man-in-the-middle and other attacks.**", - "examples": ["\"0\""] - }, - { "type": "number" } - ] - }, - "webhook-config-secret": { - "type": "string", - "description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-server@3.13/webhooks/event-payloads/#delivery-headers).", - "examples": ["\"********\""] - }, - "webhook-config-url": { - "type": "string", - "description": "The URL to which the payloads will be delivered.", - "format": "uri", - "examples": ["https://example.com/webhook"] - }, - "hook-response": { - "title": "Hook Response", - "type": "object", - "properties": { - "code": { "type": ["integer", "null"] }, - "status": { "type": ["string", "null"] }, - "message": { "type": ["string", "null"] } - }, - "required": ["code", "status", "message"] - }, - "webhook-project-card-converted": { - "title": "project_card converted event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["converted"] }, - "changes": { - "type": "object", - "properties": { - "note": { - "type": "object", - "properties": { "from": { "type": "string" } }, - "required": ["from"] - } - }, - "required": ["note"] - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "project_card": { - "$ref": "#/components/schemas/webhooks_project_card" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "changes", "project_card", "sender"] - }, - "webhooks_project_card": { - "title": "Project Card", - "type": "object", - "properties": { - "after_id": { "type": ["integer", "null"] }, - "archived": { - "description": "Whether or not the card is archived", - "type": "boolean" - }, - "column_id": { "type": "integer" }, - "column_url": { "type": "string", "format": "uri" }, - "content_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "id": { "description": "The project card's ID", "type": "integer" }, - "node_id": { "type": "string" }, - "note": { "type": ["string", "null"] }, - "project_url": { "type": "string", "format": "uri" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "project_url", - "column_url", - "column_id", - "id", - "node_id", - "note", - "archived", - "creator", - "created_at", - "updated_at" - ] - }, - "webhook-project-card-created": { - "title": "project_card created event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "project_card": { - "$ref": "#/components/schemas/webhooks_project_card" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "project_card", "sender"] - }, - "webhook-project-card-deleted": { - "title": "project_card deleted event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["deleted"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "project_card": { - "title": "Project Card", - "type": "object", - "properties": { - "after_id": { "type": ["integer", "null"] }, - "archived": { - "description": "Whether or not the card is archived", - "type": "boolean" - }, - "column_id": { "type": ["integer", "null"] }, - "column_url": { "type": "string", "format": "uri" }, - "content_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "id": { - "description": "The project card's ID", - "type": "integer" - }, - "node_id": { "type": "string" }, - "note": { "type": ["string", "null"] }, - "project_url": { "type": "string", "format": "uri" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "project_url", - "column_url", - "column_id", - "id", - "node_id", - "note", - "archived", - "creator", - "created_at", - "updated_at" - ] - }, - "repository": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/repository-webhooks" } - ] - }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "project_card", "sender"] - }, - "webhook-project-card-edited": { - "title": "project_card edited event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["edited"] }, - "changes": { - "type": "object", - "properties": { - "note": { - "type": "object", - "properties": { "from": { "type": ["string", "null"] } }, - "required": ["from"] - } - }, - "required": ["note"] - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "project_card": { - "$ref": "#/components/schemas/webhooks_project_card" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "changes", "project_card", "sender"] - }, - "webhook-project-card-moved": { - "title": "project_card moved event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["moved"] }, - "changes": { - "type": "object", - "properties": { - "column_id": { - "type": "object", - "properties": { "from": { "type": "integer" } }, - "required": ["from"] - } - }, - "required": ["column_id"] - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "project_card": { - "allOf": [ - { - "title": "Project Card", - "type": "object", - "properties": { - "after_id": { "type": ["integer", "null"] }, - "archived": { - "description": "Whether or not the card is archived", - "type": "boolean" - }, - "column_id": { "type": "integer" }, - "column_url": { "type": "string", "format": "uri" }, - "content_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "id": { - "description": "The project card's ID", - "type": "integer" - }, - "node_id": { "type": "string" }, - "note": { "type": ["string", "null"] }, - "project_url": { "type": "string", "format": "uri" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "project_url", - "column_url", - "column_id", - "id", - "node_id", - "note", - "archived", - "creator", - "created_at", - "updated_at" - ] - }, - { - "type": "object", - "properties": { - "after_id": { "type": ["number", "null"] }, - "archived": { "type": "boolean" }, - "column_id": { "type": "integer" }, - "column_url": { "type": "string" }, - "created_at": { "type": "string" }, - "creator": { - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string" }, - "events_url": { "type": "string" }, - "followers_url": { "type": "string" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string" }, - "received_events_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string" } - } - }, - "id": { "type": "integer" }, - "node_id": { "type": "string" }, - "note": { "type": ["string", "null"] }, - "project_url": { "type": "string" }, - "updated_at": { "type": "string" }, - "url": { "type": "string" } - }, - "required": ["after_id"] - } - ] - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "project_card", "sender"] - }, - "webhook-project-closed": { - "title": "project closed event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["closed"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "project": { "$ref": "#/components/schemas/webhooks_project" }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "project", "sender"] - }, - "webhooks_project": { - "title": "Project", - "type": "object", - "properties": { - "body": { - "description": "Body of the project", - "type": ["string", "null"] - }, - "columns_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "name": { "description": "Name of the project", "type": "string" }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "owner_url": { "type": "string", "format": "uri" }, - "state": { - "description": "State of the project; either 'open' or 'closed'", - "type": "string", - "enum": ["open", "closed"] - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "owner_url", - "url", - "html_url", - "columns_url", - "id", - "node_id", - "name", - "body", - "number", - "state", - "creator", - "created_at", - "updated_at" - ] - }, - "webhook-project-column-created": { - "title": "project_column created event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "project_column": { - "$ref": "#/components/schemas/webhooks_project_column" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "project_column"] - }, - "webhooks_project_column": { - "title": "Project Column", - "type": "object", - "properties": { - "after_id": { "type": ["integer", "null"] }, - "cards_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "id": { - "description": "The unique identifier of the project column", - "type": "integer" - }, - "name": { - "description": "Name of the project column", - "type": "string" - }, - "node_id": { "type": "string" }, - "project_url": { "type": "string", "format": "uri" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "project_url", - "cards_url", - "id", - "node_id", - "name", - "created_at", - "updated_at" - ] - }, - "webhook-project-column-deleted": { - "title": "project_column deleted event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["deleted"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "project_column": { - "$ref": "#/components/schemas/webhooks_project_column" - }, - "repository": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/repository-webhooks" } - ] - }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "project_column"] - }, - "webhook-project-column-edited": { - "title": "project_column edited event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["edited"] }, - "changes": { - "type": "object", - "properties": { - "name": { - "type": "object", - "properties": { "from": { "type": "string" } }, - "required": ["from"] - } - } - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "project_column": { - "$ref": "#/components/schemas/webhooks_project_column" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "changes", "project_column"] - }, - "webhook-project-column-moved": { - "title": "project_column moved event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["moved"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "project_column": { - "$ref": "#/components/schemas/webhooks_project_column" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "project_column", "sender"] - }, - "webhook-project-created": { - "title": "project created event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "project": { "$ref": "#/components/schemas/webhooks_project" }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "project", "sender"] - }, - "webhook-project-deleted": { - "title": "project deleted event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["deleted"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "project": { "$ref": "#/components/schemas/webhooks_project" }, - "repository": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/repository-webhooks" } - ] - }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "project"] - }, - "webhook-project-edited": { - "title": "project edited event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["edited"] }, - "changes": { - "description": "The changes to the project if the action was `edited`.", - "type": "object", - "properties": { - "body": { - "type": "object", - "properties": { - "from": { - "description": "The previous version of the body if the action was `edited`.", - "type": "string" - } - }, - "required": ["from"] - }, - "name": { - "type": "object", - "properties": { - "from": { - "description": "The changes to the project if the action was `edited`.", - "type": "string" - } - }, - "required": ["from"] - } - } - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "project": { "$ref": "#/components/schemas/webhooks_project" }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "project"] - }, - "webhook-project-reopened": { - "title": "project reopened event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["reopened"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "project": { "$ref": "#/components/schemas/webhooks_project" }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "project", "sender"] - }, - "webhook-projects-v2-project-closed": { - "title": "Projects v2 Project Closed Event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["closed"] }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "projects_v2": { "$ref": "#/components/schemas/projects-v2" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "projects_v2", "organization", "sender"] - }, - "projects-v2": { - "title": "Projects v2 Project", - "description": "A projects v2 project", - "type": "object", - "properties": { - "id": { "type": "number" }, - "node_id": { "type": "string" }, - "owner": { "$ref": "#/components/schemas/simple-user" }, - "creator": { "$ref": "#/components/schemas/simple-user" }, - "title": { "type": "string" }, - "description": { "type": ["string", "null"] }, - "public": { "type": "boolean" }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2022-04-28T12:00:00Z"] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": ["2022-04-28T12:00:00Z"] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": ["2022-04-28T12:00:00Z"] - }, - "number": { "type": "integer" }, - "short_description": { "type": ["string", "null"] }, - "deleted_at": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2022-04-28T12:00:00Z"] - }, - "deleted_by": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - } - }, - "required": [ - "id", - "node_id", - "owner", - "creator", - "title", - "description", - "public", - "closed_at", - "created_at", - "updated_at", - "number", - "short_description", - "deleted_at", - "deleted_by" - ] - }, - "webhook-projects-v2-project-created": { - "description": "A project was created", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "projects_v2": { "$ref": "#/components/schemas/projects-v2" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "projects_v2", "organization", "sender"] - }, - "webhook-projects-v2-project-deleted": { - "title": "Projects v2 Project Deleted Event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["deleted"] }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "projects_v2": { "$ref": "#/components/schemas/projects-v2" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "projects_v2", "organization", "sender"] - }, - "webhook-projects-v2-project-edited": { - "title": "Projects v2 Project Edited Event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["edited"] }, - "changes": { - "type": "object", - "properties": { - "description": { - "type": "object", - "properties": { - "from": { "type": ["string", "null"] }, - "to": { "type": ["string", "null"] } - } - }, - "public": { - "type": "object", - "properties": { - "from": { "type": "boolean" }, - "to": { "type": "boolean" } - } - }, - "short_description": { - "type": "object", - "properties": { - "from": { "type": ["string", "null"] }, - "to": { "type": ["string", "null"] } - } - }, - "title": { - "type": "object", - "properties": { - "from": { "type": "string" }, - "to": { "type": "string" } - } - } - } - }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "projects_v2": { "$ref": "#/components/schemas/projects-v2" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "action", - "projects_v2", - "organization", - "sender", - "changes" - ] - }, - "webhook-projects-v2-item-archived": { - "title": "Projects v2 Item Archived Event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["archived"] }, - "changes": { - "$ref": "#/components/schemas/webhooks_project_changes" - }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "projects_v2_item": { - "$ref": "#/components/schemas/projects-v2-item" - }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "action", - "projects_v2_item", - "organization", - "sender", - "changes" - ] - }, - "webhooks_project_changes": { - "type": "object", - "properties": { - "archived_at": { - "type": "object", - "properties": { - "from": { "type": ["string", "null"], "format": "date-time" }, - "to": { "type": ["string", "null"], "format": "date-time" } - } - } - } - }, - "projects-v2-item": { - "title": "Projects v2 Item", - "description": "An item belonging to a project", - "type": "object", - "properties": { - "id": { "type": "number" }, - "node_id": { "type": "string" }, - "project_node_id": { "type": "string" }, - "content_node_id": { "type": "string" }, - "content_type": { - "$ref": "#/components/schemas/projects-v2-item-content-type" - }, - "creator": { "$ref": "#/components/schemas/simple-user" }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": ["2022-04-28T12:00:00Z"] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": ["2022-04-28T12:00:00Z"] - }, - "archived_at": { - "type": ["string", "null"], - "format": "date-time", - "examples": ["2022-04-28T12:00:00Z"] - } - }, - "required": [ - "id", - "content_node_id", - "content_type", - "created_at", - "updated_at", - "archived_at" - ] - }, - "projects-v2-item-content-type": { - "title": "Projects v2 Item Content Type", - "description": "The type of content tracked in a project item", - "type": "string", - "enum": ["Issue", "PullRequest", "DraftIssue"] - }, - "webhook-projects-v2-item-converted": { - "title": "Projects v2 Item Converted Event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["converted"] }, - "changes": { - "type": "object", - "properties": { - "content_type": { - "type": "object", - "properties": { - "from": { "type": ["string", "null"] }, - "to": { "type": "string" } - } - } - } - }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "projects_v2_item": { - "$ref": "#/components/schemas/projects-v2-item" - }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "action", - "projects_v2_item", - "organization", - "sender", - "changes" - ] - }, - "webhook-projects-v2-item-created": { - "title": "Projects v2 Item Created Event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "projects_v2_item": { - "$ref": "#/components/schemas/projects-v2-item" - }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "projects_v2_item", "organization", "sender"] - }, - "webhook-projects-v2-item-deleted": { - "title": "Projects v2 Item Deleted Event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["deleted"] }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "projects_v2_item": { - "$ref": "#/components/schemas/projects-v2-item" - }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "projects_v2_item", "organization", "sender"] - }, - "webhook-projects-v2-item-edited": { - "title": "Projects v2 Item Edited Event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["edited"] }, - "changes": { - "description": "The changes made to the item may involve modifications in the item's fields and draft issue body.\nIt includes the GraphQL node ID of the changed field.", - "oneOf": [ - { - "type": "object", - "properties": { - "field_value": { - "type": "object", - "properties": { - "field_node_id": { "type": "string" }, - "field_type": { "type": "string" } - } - } - }, - "required": ["field_value"] - }, - { - "type": "object", - "properties": { - "body": { - "type": "object", - "properties": { - "from": { "type": ["string", "null"] }, - "to": { "type": ["string", "null"] } - } - } - }, - "required": ["body"] - } - ] - }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "projects_v2_item": { - "$ref": "#/components/schemas/projects-v2-item" - }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "projects_v2_item", "organization", "sender"] - }, - "webhook-projects-v2-item-reordered": { - "title": "Projects v2 Item Reordered Event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["reordered"] }, - "changes": { - "type": "object", - "properties": { - "previous_projects_v2_item_node_id": { - "type": "object", - "properties": { - "from": { "type": ["string", "null"] }, - "to": { "type": ["string", "null"] } - } - } - } - }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "projects_v2_item": { - "$ref": "#/components/schemas/projects-v2-item" - }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "action", - "projects_v2_item", - "organization", - "sender", - "changes" - ] - }, - "webhook-projects-v2-item-restored": { - "title": "Projects v2 Item Restored Event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["restored"] }, - "changes": { - "$ref": "#/components/schemas/webhooks_project_changes" - }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "projects_v2_item": { - "$ref": "#/components/schemas/projects-v2-item" - }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "action", - "projects_v2_item", - "organization", - "sender", - "changes" - ] - }, - "webhook-projects-v2-project-reopened": { - "title": "Projects v2 Project Reopened Event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["reopened"] }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "projects_v2": { "$ref": "#/components/schemas/projects-v2" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "projects_v2", "organization", "sender"] - }, - "webhook-public": { - "title": "public event", - "type": "object", - "properties": { - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["repository", "sender"] - }, - "webhook-pull-request-assigned": { - "title": "pull_request assigned event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["assigned"] }, - "assignee": { "$ref": "#/components/schemas/webhooks_user" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "number": { "$ref": "#/components/schemas/webhooks_number" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "title": "Pull Request", - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "commits": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "issue": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comment": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "self": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "statuses": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - } - }, - "required": [ - "self", - "html", - "issue", - "comments", - "review_comments", - "review_comment", - "commits", - "statuses" - ] - }, - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "additions": { "type": "integer" }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "auto_merge": { - "title": "PullRequestAutoMerge", - "description": "The status of auto merging a pull request.", - "type": ["object", "null"], - "properties": { - "commit_message": { - "description": "Commit message for the merge commit.", - "type": ["string", "null"] - }, - "commit_title": { - "description": "Title for the merge commit message.", - "type": ["string", "null"] - }, - "enabled_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "merge_method": { - "description": "The merge method to use.", - "type": "string", - "enum": ["merge", "squash", "rebase"] - } - }, - "required": [ - "enabled_by", - "merge_method", - "commit_title", - "commit_message" - ] - }, - "base": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "body": { "type": ["string", "null"] }, - "changed_files": { "type": "integer" }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "commits": { "type": "integer" }, - "commits_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "deletions": { "type": "integer" }, - "diff_url": { "type": "string", "format": "uri" }, - "draft": { - "description": "Indicates whether or not the pull request is a draft.", - "type": "boolean" - }, - "head": { - "type": "object", - "properties": { - "label": { "type": ["string", "null"] }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": ["object", "null"], - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "issue_url": { "type": "string", "format": "uri" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "locked": { "type": "boolean" }, - "maintainer_can_modify": { - "description": "Indicates whether maintainers can modify the pull request.", - "type": "boolean" - }, - "merge_commit_sha": { "type": ["string", "null"] }, - "mergeable": { "type": ["boolean", "null"] }, - "mergeable_state": { "type": "string" }, - "merged": { "type": ["boolean", "null"] }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "merged_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { - "description": "Number uniquely identifying the pull request within its repository.", - "type": "integer" - }, - "patch_url": { "type": "string", "format": "uri" }, - "rebaseable": { "type": ["boolean", "null"] }, - "requested_reviewers": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - } - ] - } - }, - "requested_teams": { - "type": "array", - "items": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - } - }, - "review_comment_url": { - "type": "string", - "format": "uri-template" - }, - "review_comments": { "type": "integer" }, - "review_comments_url": { "type": "string", "format": "uri" }, - "state": { - "description": "State of this Pull Request. Either `open` or `closed`.", - "type": "string", - "enum": ["open", "closed"] - }, - "statuses_url": { "type": "string", "format": "uri" }, - "title": { - "description": "The title of the pull request.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "id", - "node_id", - "html_url", - "diff_url", - "patch_url", - "issue_url", - "number", - "state", - "locked", - "title", - "user", - "body", - "created_at", - "updated_at", - "closed_at", - "merged_at", - "merge_commit_sha", - "assignee", - "assignees", - "requested_reviewers", - "requested_teams", - "labels", - "milestone", - "commits_url", - "review_comments_url", - "review_comment_url", - "comments_url", - "statuses_url", - "head", - "base", - "_links", - "author_association", - "auto_merge", - "active_lock_reason", - "draft" - ] - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "action", - "number", - "pull_request", - "assignee", - "repository", - "sender" - ] - }, - "webhooks_number": { - "description": "The pull request number.", - "type": "integer" - }, - "webhook-pull-request-auto-merge-disabled": { - "title": "pull_request auto_merge_disabled event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["auto_merge_disabled"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "number": { "type": "integer" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "title": "Pull Request", - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "commits": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "issue": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comment": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "self": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "statuses": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - } - }, - "required": [ - "self", - "html", - "issue", - "comments", - "review_comments", - "review_comment", - "commits", - "statuses" - ] - }, - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "additions": { "type": "integer" }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "auto_merge": { - "title": "PullRequestAutoMerge", - "description": "The status of auto merging a pull request.", - "type": ["object", "null"], - "properties": { - "commit_message": { - "description": "Commit message for the merge commit.", - "type": ["string", "null"] - }, - "commit_title": { - "description": "Title for the merge commit message.", - "type": ["string", "null"] - }, - "enabled_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "merge_method": { - "description": "The merge method to use.", - "type": "string", - "enum": ["merge", "squash", "rebase"] - } - }, - "required": [ - "enabled_by", - "merge_method", - "commit_title", - "commit_message" - ] - }, - "base": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "body": { "type": ["string", "null"] }, - "changed_files": { "type": "integer" }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "commits": { "type": "integer" }, - "commits_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "deletions": { "type": "integer" }, - "diff_url": { "type": "string", "format": "uri" }, - "draft": { - "description": "Indicates whether or not the pull request is a draft.", - "type": "boolean" - }, - "head": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "issue_url": { "type": "string", "format": "uri" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "locked": { "type": "boolean" }, - "maintainer_can_modify": { - "description": "Indicates whether maintainers can modify the pull request.", - "type": "boolean" - }, - "merge_commit_sha": { "type": ["string", "null"] }, - "mergeable": { "type": ["boolean", "null"] }, - "mergeable_state": { "type": "string" }, - "merged": { "type": ["boolean", "null"] }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "merged_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { - "description": "Number uniquely identifying the pull request within its repository.", - "type": "integer" - }, - "patch_url": { "type": "string", "format": "uri" }, - "rebaseable": { "type": ["boolean", "null"] }, - "requested_reviewers": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - } - ] - } - }, - "requested_teams": { - "type": "array", - "items": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - } - }, - "review_comment_url": { - "type": "string", - "format": "uri-template" - }, - "review_comments": { "type": "integer" }, - "review_comments_url": { "type": "string", "format": "uri" }, - "state": { - "description": "State of this Pull Request. Either `open` or `closed`.", - "type": "string", - "enum": ["open", "closed"] - }, - "statuses_url": { "type": "string", "format": "uri" }, - "title": { - "description": "The title of the pull request.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "id", - "node_id", - "html_url", - "diff_url", - "patch_url", - "issue_url", - "number", - "state", - "locked", - "title", - "user", - "body", - "created_at", - "updated_at", - "closed_at", - "merged_at", - "merge_commit_sha", - "assignee", - "assignees", - "requested_reviewers", - "requested_teams", - "labels", - "milestone", - "commits_url", - "review_comments_url", - "review_comment_url", - "comments_url", - "statuses_url", - "head", - "base", - "_links", - "author_association", - "auto_merge", - "active_lock_reason", - "draft" - ] - }, - "reason": { "type": "string" }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "action", - "number", - "pull_request", - "reason", - "repository", - "sender" - ] - }, - "webhook-pull-request-auto-merge-enabled": { - "title": "pull_request auto_merge_enabled event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["auto_merge_enabled"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "number": { "type": "integer" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "title": "Pull Request", - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "commits": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "issue": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comment": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "self": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "statuses": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - } - }, - "required": [ - "self", - "html", - "issue", - "comments", - "review_comments", - "review_comment", - "commits", - "statuses" - ] - }, - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "additions": { "type": "integer" }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "auto_merge": { - "title": "PullRequestAutoMerge", - "description": "The status of auto merging a pull request.", - "type": ["object", "null"], - "properties": { - "commit_message": { - "description": "Commit message for the merge commit.", - "type": ["string", "null"] - }, - "commit_title": { - "description": "Title for the merge commit message.", - "type": ["string", "null"] - }, - "enabled_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "merge_method": { - "description": "The merge method to use.", - "type": "string", - "enum": ["merge", "squash", "rebase"] - } - }, - "required": [ - "enabled_by", - "merge_method", - "commit_title", - "commit_message" - ] - }, - "base": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "body": { "type": ["string", "null"] }, - "changed_files": { "type": "integer" }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "commits": { "type": "integer" }, - "commits_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "deletions": { "type": "integer" }, - "diff_url": { "type": "string", "format": "uri" }, - "draft": { - "description": "Indicates whether or not the pull request is a draft.", - "type": "boolean" - }, - "head": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "issue_url": { "type": "string", "format": "uri" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "locked": { "type": "boolean" }, - "maintainer_can_modify": { - "description": "Indicates whether maintainers can modify the pull request.", - "type": "boolean" - }, - "merge_commit_sha": { "type": ["string", "null"] }, - "mergeable": { "type": ["boolean", "null"] }, - "mergeable_state": { "type": "string" }, - "merged": { "type": ["boolean", "null"] }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "merged_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { - "description": "Number uniquely identifying the pull request within its repository.", - "type": "integer" - }, - "patch_url": { "type": "string", "format": "uri" }, - "rebaseable": { "type": ["boolean", "null"] }, - "requested_reviewers": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - } - ] - } - }, - "requested_teams": { - "type": "array", - "items": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - } - }, - "review_comment_url": { - "type": "string", - "format": "uri-template" - }, - "review_comments": { "type": "integer" }, - "review_comments_url": { "type": "string", "format": "uri" }, - "state": { - "description": "State of this Pull Request. Either `open` or `closed`.", - "type": "string", - "enum": ["open", "closed"] - }, - "statuses_url": { "type": "string", "format": "uri" }, - "title": { - "description": "The title of the pull request.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "id", - "node_id", - "html_url", - "diff_url", - "patch_url", - "issue_url", - "number", - "state", - "locked", - "title", - "user", - "body", - "created_at", - "updated_at", - "closed_at", - "merged_at", - "merge_commit_sha", - "assignee", - "assignees", - "requested_reviewers", - "requested_teams", - "labels", - "milestone", - "commits_url", - "review_comments_url", - "review_comment_url", - "comments_url", - "statuses_url", - "head", - "base", - "_links", - "author_association", - "auto_merge", - "active_lock_reason", - "draft" - ] - }, - "reason": { "type": "string" }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "number", "pull_request", "repository", "sender"] - }, - "webhook-pull-request-closed": { - "title": "pull_request closed event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["closed"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "number": { "$ref": "#/components/schemas/webhooks_number" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "$ref": "#/components/schemas/pull-request-webhook" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "number", "pull_request", "repository", "sender"] - }, - "pull-request-webhook": { - "allOf": [ - { "$ref": "#/components/schemas/pull-request" }, - { - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_update_branch": { - "description": "Whether to allow updating the pull request's branch.", - "type": "boolean" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged.", - "type": "boolean", - "default": false - }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., \"Merge pull request #123 from branch-name\").", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.**", - "type": "boolean", - "default": false - } - } - } - ] - }, - "webhook-pull-request-converted-to-draft": { - "title": "pull_request converted_to_draft event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["converted_to_draft"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "number": { "$ref": "#/components/schemas/webhooks_number" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "$ref": "#/components/schemas/pull-request-webhook" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "number", "pull_request", "repository", "sender"] - }, - "webhook-pull-request-demilestoned": { - "title": "pull_request demilestoned event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["demilestoned"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "milestone": { "$ref": "#/components/schemas/milestone" }, - "number": { "$ref": "#/components/schemas/webhooks_number" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "$ref": "#/components/schemas/webhooks_pull_request_5" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "number", "pull_request", "repository"] - }, - "webhooks_pull_request_5": { - "title": "Pull Request", - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "commits": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "issue": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comment": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "self": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "statuses": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - } - }, - "required": [ - "self", - "html", - "issue", - "comments", - "review_comments", - "review_comment", - "commits", - "statuses" - ] - }, - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "additions": { "type": "integer" }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "auto_merge": { - "title": "PullRequestAutoMerge", - "description": "The status of auto merging a pull request.", - "type": ["object", "null"], - "properties": { - "commit_message": { - "description": "Commit message for the merge commit.", - "type": ["string", "null"] - }, - "commit_title": { - "description": "Title for the merge commit message.", - "type": ["string", "null"] - }, - "enabled_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "merge_method": { - "description": "The merge method to use.", - "type": "string", - "enum": ["merge", "squash", "rebase"] - } - }, - "required": [ - "enabled_by", - "merge_method", - "commit_title", - "commit_message" - ] - }, - "base": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { "type": "string", "format": "uri-template" }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { "type": "string", "format": "uri-template" }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { "type": "string", "format": "uri-template" }, - "compare_url": { "type": "string", "format": "uri-template" }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { "type": "string", "format": "uri-template" }, - "keys_url": { "type": "string", "format": "uri-template" }, - "labels_url": { "type": "string", "format": "uri-template" }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { "type": ["string", "null"], "format": "uri" }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { "type": "string", "format": "uri-template" }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { "type": "array", "items": { "type": "string" } }, - "trees_url": { "type": "string", "format": "uri-template" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "body": { "type": ["string", "null"] }, - "changed_files": { "type": "integer" }, - "closed_at": { "type": ["string", "null"], "format": "date-time" }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "commits": { "type": "integer" }, - "commits_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "deletions": { "type": "integer" }, - "diff_url": { "type": "string", "format": "uri" }, - "draft": { - "description": "Indicates whether or not the pull request is a draft.", - "type": "boolean" - }, - "head": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { "type": "string", "format": "uri-template" }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { "type": "string", "format": "uri-template" }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { "type": "string", "format": "uri-template" }, - "compare_url": { "type": "string", "format": "uri-template" }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { "type": "string", "format": "uri-template" }, - "keys_url": { "type": "string", "format": "uri-template" }, - "labels_url": { "type": "string", "format": "uri-template" }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { "type": ["string", "null"], "format": "uri" }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { "type": "string", "format": "uri-template" }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { "type": "array", "items": { "type": "string" } }, - "trees_url": { "type": "string", "format": "uri-template" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "issue_url": { "type": "string", "format": "uri" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "locked": { "type": "boolean" }, - "maintainer_can_modify": { - "description": "Indicates whether maintainers can modify the pull request.", - "type": "boolean" - }, - "merge_commit_sha": { "type": ["string", "null"] }, - "mergeable": { "type": ["boolean", "null"] }, - "mergeable_state": { "type": "string" }, - "merged": { "type": ["boolean", "null"] }, - "merged_at": { "type": ["string", "null"], "format": "date-time" }, - "merged_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { "type": ["string", "null"], "format": "date-time" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { - "description": "Number uniquely identifying the pull request within its repository.", - "type": "integer" - }, - "patch_url": { "type": "string", "format": "uri" }, - "rebaseable": { "type": ["boolean", "null"] }, - "requested_reviewers": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["login", "id"] - }, - { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - } - ] - } - }, - "requested_teams": { - "type": "array", - "items": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { "type": "string", "format": "uri-template" }, - "name": { "description": "Name of the team", "type": "string" }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - } - }, - "review_comment_url": { "type": "string", "format": "uri-template" }, - "review_comments": { "type": "integer" }, - "review_comments_url": { "type": "string", "format": "uri" }, - "state": { - "description": "State of this Pull Request. Either `open` or `closed`.", - "type": "string", - "enum": ["open", "closed"] - }, - "statuses_url": { "type": "string", "format": "uri" }, - "title": { - "description": "The title of the pull request.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "id", - "node_id", - "html_url", - "diff_url", - "patch_url", - "issue_url", - "number", - "state", - "locked", - "title", - "user", - "body", - "created_at", - "updated_at", - "closed_at", - "merged_at", - "merge_commit_sha", - "assignee", - "assignees", - "requested_reviewers", - "requested_teams", - "labels", - "milestone", - "commits_url", - "review_comments_url", - "review_comment_url", - "comments_url", - "statuses_url", - "head", - "base", - "_links", - "author_association", - "auto_merge", - "active_lock_reason", - "draft" - ] - }, - "webhook-pull-request-edited": { - "title": "pull_request edited event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["edited"] }, - "changes": { - "description": "The changes to the comment if the action was `edited`.", - "type": "object", - "properties": { - "base": { - "type": "object", - "properties": { - "ref": { - "type": "object", - "properties": { "from": { "type": "string" } }, - "required": ["from"] - }, - "sha": { - "type": "object", - "properties": { "from": { "type": "string" } }, - "required": ["from"] - } - }, - "required": ["ref", "sha"] - }, - "body": { - "type": "object", - "properties": { - "from": { - "description": "The previous version of the body if the action was `edited`.", - "type": "string" - } - }, - "required": ["from"] - }, - "title": { - "type": "object", - "properties": { - "from": { - "description": "The previous version of the title if the action was `edited`.", - "type": "string" - } - }, - "required": ["from"] - } - } - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "number": { "$ref": "#/components/schemas/webhooks_number" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "$ref": "#/components/schemas/pull-request-webhook" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "action", - "changes", - "number", - "pull_request", - "repository" - ] - }, - "webhook-pull-request-labeled": { - "title": "pull_request labeled event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["labeled"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "label": { "$ref": "#/components/schemas/webhooks_label" }, - "number": { "$ref": "#/components/schemas/webhooks_number" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "title": "Pull Request", - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "commits": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "issue": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comment": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "self": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "statuses": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - } - }, - "required": [ - "self", - "html", - "issue", - "comments", - "review_comments", - "review_comment", - "commits", - "statuses" - ] - }, - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "additions": { "type": "integer" }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "auto_merge": { - "title": "PullRequestAutoMerge", - "description": "The status of auto merging a pull request.", - "type": ["object", "null"], - "properties": { - "commit_message": { - "description": "Commit message for the merge commit.", - "type": ["string", "null"] - }, - "commit_title": { - "description": "Title for the merge commit message.", - "type": ["string", "null"] - }, - "enabled_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "merge_method": { - "description": "The merge method to use.", - "type": "string", - "enum": ["merge", "squash", "rebase"] - } - }, - "required": [ - "enabled_by", - "merge_method", - "commit_title", - "commit_message" - ] - }, - "base": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "body": { "type": ["string", "null"] }, - "changed_files": { "type": "integer" }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "commits": { "type": "integer" }, - "commits_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "deletions": { "type": "integer" }, - "diff_url": { "type": "string", "format": "uri" }, - "draft": { - "description": "Indicates whether or not the pull request is a draft.", - "type": "boolean" - }, - "head": { - "type": "object", - "properties": { - "label": { "type": ["string", "null"] }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": ["object", "null"], - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "issue_url": { "type": "string", "format": "uri" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "locked": { "type": "boolean" }, - "maintainer_can_modify": { - "description": "Indicates whether maintainers can modify the pull request.", - "type": "boolean" - }, - "merge_commit_sha": { "type": ["string", "null"] }, - "mergeable": { "type": ["boolean", "null"] }, - "mergeable_state": { "type": "string" }, - "merged": { "type": ["boolean", "null"] }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "merged_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { - "description": "Number uniquely identifying the pull request within its repository.", - "type": "integer" - }, - "patch_url": { "type": "string", "format": "uri" }, - "rebaseable": { "type": ["boolean", "null"] }, - "requested_reviewers": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - } - ] - } - }, - "requested_teams": { - "type": "array", - "items": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - } - }, - "review_comment_url": { - "type": "string", - "format": "uri-template" - }, - "review_comments": { "type": "integer" }, - "review_comments_url": { "type": "string", "format": "uri" }, - "state": { - "description": "State of this Pull Request. Either `open` or `closed`.", - "type": "string", - "enum": ["open", "closed"] - }, - "statuses_url": { "type": "string", "format": "uri" }, - "title": { - "description": "The title of the pull request.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "id", - "node_id", - "html_url", - "diff_url", - "patch_url", - "issue_url", - "number", - "state", - "locked", - "title", - "user", - "body", - "created_at", - "updated_at", - "closed_at", - "merged_at", - "merge_commit_sha", - "assignee", - "assignees", - "requested_reviewers", - "requested_teams", - "labels", - "milestone", - "commits_url", - "review_comments_url", - "review_comment_url", - "comments_url", - "statuses_url", - "head", - "base", - "_links", - "author_association", - "auto_merge", - "active_lock_reason", - "draft" - ] - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "number", "pull_request", "repository", "sender"] - }, - "webhook-pull-request-locked": { - "title": "pull_request locked event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["locked"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "number": { "$ref": "#/components/schemas/webhooks_number" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "title": "Pull Request", - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "commits": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "issue": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comment": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "self": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "statuses": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - } - }, - "required": [ - "self", - "html", - "issue", - "comments", - "review_comments", - "review_comment", - "commits", - "statuses" - ] - }, - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "additions": { "type": "integer" }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "auto_merge": { - "title": "PullRequestAutoMerge", - "description": "The status of auto merging a pull request.", - "type": ["object", "null"], - "properties": { - "commit_message": { - "description": "Commit message for the merge commit.", - "type": ["string", "null"] - }, - "commit_title": { - "description": "Title for the merge commit message.", - "type": ["string", "null"] - }, - "enabled_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "merge_method": { - "description": "The merge method to use.", - "type": "string", - "enum": ["merge", "squash", "rebase"] - } - }, - "required": [ - "enabled_by", - "merge_method", - "commit_title", - "commit_message" - ] - }, - "base": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "body": { "type": ["string", "null"] }, - "changed_files": { "type": "integer" }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "commits": { "type": "integer" }, - "commits_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "deletions": { "type": "integer" }, - "diff_url": { "type": "string", "format": "uri" }, - "draft": { - "description": "Indicates whether or not the pull request is a draft.", - "type": "boolean" - }, - "head": { - "type": "object", - "properties": { - "label": { "type": ["string", "null"] }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": ["object", "null"], - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "issue_url": { "type": "string", "format": "uri" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "locked": { "type": "boolean" }, - "maintainer_can_modify": { - "description": "Indicates whether maintainers can modify the pull request.", - "type": "boolean" - }, - "merge_commit_sha": { "type": ["string", "null"] }, - "mergeable": { "type": ["boolean", "null"] }, - "mergeable_state": { "type": "string" }, - "merged": { "type": ["boolean", "null"] }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "merged_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { - "description": "Number uniquely identifying the pull request within its repository.", - "type": "integer" - }, - "patch_url": { "type": "string", "format": "uri" }, - "rebaseable": { "type": ["boolean", "null"] }, - "requested_reviewers": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - } - ] - } - }, - "requested_teams": { - "type": "array", - "items": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - } - }, - "review_comment_url": { - "type": "string", - "format": "uri-template" - }, - "review_comments": { "type": "integer" }, - "review_comments_url": { "type": "string", "format": "uri" }, - "state": { - "description": "State of this Pull Request. Either `open` or `closed`.", - "type": "string", - "enum": ["open", "closed"] - }, - "statuses_url": { "type": "string", "format": "uri" }, - "title": { - "description": "The title of the pull request.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "id", - "node_id", - "html_url", - "diff_url", - "patch_url", - "issue_url", - "number", - "state", - "locked", - "title", - "user", - "body", - "created_at", - "updated_at", - "closed_at", - "merged_at", - "merge_commit_sha", - "assignee", - "assignees", - "requested_reviewers", - "requested_teams", - "labels", - "milestone", - "commits_url", - "review_comments_url", - "review_comment_url", - "comments_url", - "statuses_url", - "head", - "base", - "_links", - "author_association", - "auto_merge", - "active_lock_reason", - "draft" - ] - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "number", "pull_request", "repository", "sender"] - }, - "webhook-pull-request-milestoned": { - "title": "pull_request milestoned event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["milestoned"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "milestone": { "$ref": "#/components/schemas/milestone" }, - "number": { "$ref": "#/components/schemas/webhooks_number" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "$ref": "#/components/schemas/webhooks_pull_request_5" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "number", "pull_request", "repository"] - }, - "webhook-pull-request-opened": { - "title": "pull_request opened event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["opened"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "number": { "$ref": "#/components/schemas/webhooks_number" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "$ref": "#/components/schemas/pull-request-webhook" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "number", "pull_request", "repository", "sender"] - }, - "webhook-pull-request-ready-for-review": { - "title": "pull_request ready_for_review event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["ready_for_review"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "number": { "$ref": "#/components/schemas/webhooks_number" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "$ref": "#/components/schemas/pull-request-webhook" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "number", "pull_request", "repository", "sender"] - }, - "webhook-pull-request-reopened": { - "title": "pull_request reopened event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["reopened"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "number": { "$ref": "#/components/schemas/webhooks_number" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "$ref": "#/components/schemas/pull-request-webhook" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "number", "pull_request", "repository", "sender"] - }, - "webhook-pull-request-review-comment-created": { - "title": "pull_request_review_comment created event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "comment": { - "title": "Pull Request Review Comment", - "description": "The [comment](https://docs.github.com/enterprise-server@3.13/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself.", - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "pull_request": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "self": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - } - }, - "required": ["self", "html", "pull_request"] - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { - "description": "The text of the comment.", - "type": "string" - }, - "commit_id": { - "description": "The SHA of the commit to which the comment applies.", - "type": "string" - }, - "created_at": { "type": "string", "format": "date-time" }, - "diff_hunk": { - "description": "The diff of the line that the comment refers to.", - "type": "string" - }, - "html_url": { - "description": "HTML URL for the pull request review comment.", - "type": "string", - "format": "uri" - }, - "id": { - "description": "The ID of the pull request review comment.", - "type": "integer" - }, - "in_reply_to_id": { - "description": "The comment ID to reply to.", - "type": "integer" - }, - "line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "type": ["integer", "null"] - }, - "node_id": { - "description": "The node ID of the pull request review comment.", - "type": "string" - }, - "original_commit_id": { - "description": "The SHA of the original commit to which the comment applies.", - "type": "string" - }, - "original_line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "type": ["integer", "null"] - }, - "original_position": { - "description": "The index of the original line in the diff to which the comment applies.", - "type": "integer" - }, - "original_start_line": { - "description": "The first line of the range for a multi-line comment.", - "type": ["integer", "null"] - }, - "path": { - "description": "The relative path of the file to which the comment applies.", - "type": "string" - }, - "position": { - "description": "The line index in the diff to which the comment applies.", - "type": ["integer", "null"] - }, - "pull_request_review_id": { - "description": "The ID of the pull request review to which the comment belongs.", - "type": ["integer", "null"] - }, - "pull_request_url": { - "description": "URL for the pull request that the review comment belongs to.", - "type": "string", - "format": "uri" - }, - "reactions": { - "title": "Reactions", - "type": "object", - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] - }, - "side": { - "description": "The side of the first line of the range for a multi-line comment.", - "type": "string", - "enum": ["LEFT", "RIGHT"] - }, - "start_line": { - "description": "The first line of the range for a multi-line comment.", - "type": ["integer", "null"] - }, - "start_side": { - "description": "The side of the first line of the range for a multi-line comment.", - "type": ["string", "null"], - "enum": ["LEFT", "RIGHT", null], - "default": "RIGHT" - }, - "subject_type": { - "description": "The level at which the comment is targeted, can be a diff line or a file.", - "type": "string", - "enum": ["line", "file"] - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { - "description": "URL for the pull request review comment", - "type": "string", - "format": "uri" - }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "pull_request_review_id", - "id", - "node_id", - "diff_hunk", - "path", - "position", - "original_position", - "commit_id", - "original_commit_id", - "user", - "body", - "created_at", - "updated_at", - "html_url", - "pull_request_url", - "author_association", - "_links", - "start_line", - "original_start_line", - "original_line", - "line", - "start_side", - "side", - "reactions" - ] - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "commits": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "issue": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comment": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "self": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "statuses": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - } - }, - "required": [ - "self", - "html", - "issue", - "comments", - "review_comments", - "review_comment", - "commits", - "statuses" - ] - }, - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "auto_merge": { - "title": "PullRequestAutoMerge", - "description": "The status of auto merging a pull request.", - "type": ["object", "null"], - "properties": { - "commit_message": { - "description": "Commit message for the merge commit.", - "type": ["string", "null"] - }, - "commit_title": { - "description": "Title for the merge commit message.", - "type": ["string", "null"] - }, - "enabled_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "merge_method": { - "description": "The merge method to use.", - "type": "string", - "enum": ["merge", "squash", "rebase"] - } - }, - "required": [ - "enabled_by", - "merge_method", - "commit_title", - "commit_message" - ] - }, - "base": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "body": { "type": ["string", "null"] }, - "closed_at": { "type": ["string", "null"] }, - "comments_url": { "type": "string", "format": "uri" }, - "commits_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string" }, - "diff_url": { "type": "string", "format": "uri" }, - "draft": { "type": "boolean" }, - "head": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": ["object", "null"], - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "issue_url": { "type": "string", "format": "uri" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "locked": { "type": "boolean" }, - "merge_commit_sha": { "type": ["string", "null"] }, - "merged_at": { "type": ["string", "null"] }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "patch_url": { "type": "string", "format": "uri" }, - "requested_reviewers": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - } - ] - } - }, - "requested_teams": { - "type": "array", - "items": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - } - }, - "review_comment_url": { - "type": "string", - "format": "uri-template" - }, - "review_comments_url": { "type": "string", "format": "uri" }, - "state": { "type": "string", "enum": ["open", "closed"] }, - "statuses_url": { "type": "string", "format": "uri" }, - "title": { "type": "string" }, - "updated_at": { "type": "string" }, - "url": { "type": "string", "format": "uri" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "id", - "node_id", - "html_url", - "diff_url", - "patch_url", - "issue_url", - "number", - "state", - "locked", - "title", - "user", - "body", - "created_at", - "updated_at", - "closed_at", - "merged_at", - "merge_commit_sha", - "assignee", - "assignees", - "requested_reviewers", - "requested_teams", - "labels", - "milestone", - "commits_url", - "review_comments_url", - "review_comment_url", - "comments_url", - "statuses_url", - "head", - "base", - "_links", - "author_association", - "active_lock_reason" - ] - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "action", - "comment", - "pull_request", - "repository", - "sender" - ] - }, - "webhook-pull-request-review-comment-deleted": { - "title": "pull_request_review_comment deleted event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["deleted"] }, - "comment": { "$ref": "#/components/schemas/webhooks_review_comment" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "commits": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "issue": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comment": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "self": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "statuses": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - } - }, - "required": [ - "self", - "html", - "issue", - "comments", - "review_comments", - "review_comment", - "commits", - "statuses" - ] - }, - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "auto_merge": { - "title": "PullRequestAutoMerge", - "description": "The status of auto merging a pull request.", - "type": ["object", "null"], - "properties": { - "commit_message": { - "description": "Commit message for the merge commit.", - "type": ["string", "null"] - }, - "commit_title": { - "description": "Title for the merge commit message.", - "type": ["string", "null"] - }, - "enabled_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "merge_method": { - "description": "The merge method to use.", - "type": "string", - "enum": ["merge", "squash", "rebase"] - } - }, - "required": [ - "enabled_by", - "merge_method", - "commit_title", - "commit_message" - ] - }, - "base": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "body": { "type": ["string", "null"] }, - "closed_at": { "type": ["string", "null"] }, - "comments_url": { "type": "string", "format": "uri" }, - "commits_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string" }, - "diff_url": { "type": "string", "format": "uri" }, - "draft": { "type": "boolean" }, - "head": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": ["object", "null"], - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "issue_url": { "type": "string", "format": "uri" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "locked": { "type": "boolean" }, - "merge_commit_sha": { "type": ["string", "null"] }, - "merged_at": { "type": ["string", "null"] }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "patch_url": { "type": "string", "format": "uri" }, - "requested_reviewers": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - } - ] - } - }, - "requested_teams": { - "type": "array", - "items": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - } - }, - "review_comment_url": { - "type": "string", - "format": "uri-template" - }, - "review_comments_url": { "type": "string", "format": "uri" }, - "state": { "type": "string", "enum": ["open", "closed"] }, - "statuses_url": { "type": "string", "format": "uri" }, - "title": { "type": "string" }, - "updated_at": { "type": "string" }, - "url": { "type": "string", "format": "uri" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "id", - "node_id", - "html_url", - "diff_url", - "patch_url", - "issue_url", - "number", - "state", - "locked", - "title", - "user", - "body", - "created_at", - "updated_at", - "closed_at", - "merged_at", - "merge_commit_sha", - "assignee", - "assignees", - "requested_reviewers", - "requested_teams", - "labels", - "milestone", - "commits_url", - "review_comments_url", - "review_comment_url", - "comments_url", - "statuses_url", - "head", - "base", - "_links", - "author_association", - "active_lock_reason" - ] - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "action", - "comment", - "pull_request", - "repository", - "sender" - ] - }, - "webhooks_review_comment": { - "title": "Pull Request Review Comment", - "description": "The [comment](https://docs.github.com/enterprise-server@3.13/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself.", - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "pull_request": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "self": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - } - }, - "required": ["self", "html", "pull_request"] - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { - "description": "The text of the comment.", - "type": "string" - }, - "commit_id": { - "description": "The SHA of the commit to which the comment applies.", - "type": "string" - }, - "created_at": { "type": "string", "format": "date-time" }, - "diff_hunk": { - "description": "The diff of the line that the comment refers to.", - "type": "string" - }, - "html_url": { - "description": "HTML URL for the pull request review comment.", - "type": "string", - "format": "uri" - }, - "id": { - "description": "The ID of the pull request review comment.", - "type": "integer" - }, - "in_reply_to_id": { - "description": "The comment ID to reply to.", - "type": "integer" - }, - "line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "type": ["integer", "null"] - }, - "node_id": { - "description": "The node ID of the pull request review comment.", - "type": "string" - }, - "original_commit_id": { - "description": "The SHA of the original commit to which the comment applies.", - "type": "string" - }, - "original_line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "type": "integer" - }, - "original_position": { - "description": "The index of the original line in the diff to which the comment applies.", - "type": "integer" - }, - "original_start_line": { - "description": "The first line of the range for a multi-line comment.", - "type": ["integer", "null"] - }, - "path": { - "description": "The relative path of the file to which the comment applies.", - "type": "string" - }, - "position": { - "description": "The line index in the diff to which the comment applies.", - "type": ["integer", "null"] - }, - "pull_request_review_id": { - "description": "The ID of the pull request review to which the comment belongs.", - "type": ["integer", "null"] - }, - "pull_request_url": { - "description": "URL for the pull request that the review comment belongs to.", - "type": "string", - "format": "uri" - }, - "reactions": { - "title": "Reactions", - "type": "object", - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] - }, - "side": { - "description": "The side of the first line of the range for a multi-line comment.", - "type": "string", - "enum": ["LEFT", "RIGHT"] - }, - "start_line": { - "description": "The first line of the range for a multi-line comment.", - "type": ["integer", "null"] - }, - "start_side": { - "description": "The side of the first line of the range for a multi-line comment.", - "type": ["string", "null"], - "enum": ["LEFT", "RIGHT", null], - "default": "RIGHT" - }, - "subject_type": { - "description": "The level at which the comment is targeted, can be a diff line or a file.", - "type": "string", - "enum": ["line", "file"] - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { - "description": "URL for the pull request review comment", - "type": "string", - "format": "uri" - }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "pull_request_review_id", - "id", - "node_id", - "diff_hunk", - "path", - "position", - "original_position", - "commit_id", - "original_commit_id", - "user", - "body", - "created_at", - "updated_at", - "html_url", - "pull_request_url", - "author_association", - "_links", - "start_line", - "original_start_line", - "original_line", - "line", - "start_side", - "side", - "reactions" - ] - }, - "webhook-pull-request-review-comment-edited": { - "title": "pull_request_review_comment edited event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["edited"] }, - "changes": { "$ref": "#/components/schemas/webhooks_changes" }, - "comment": { "$ref": "#/components/schemas/webhooks_review_comment" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "commits": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "issue": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comment": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "self": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "statuses": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - } - }, - "required": [ - "self", - "html", - "issue", - "comments", - "review_comments", - "review_comment", - "commits", - "statuses" - ] - }, - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "auto_merge": { - "title": "PullRequestAutoMerge", - "description": "The status of auto merging a pull request.", - "type": ["object", "null"], - "properties": { - "commit_message": { - "description": "Commit message for the merge commit.", - "type": ["string", "null"] - }, - "commit_title": { - "description": "Title for the merge commit message.", - "type": ["string", "null"] - }, - "enabled_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "merge_method": { - "description": "The merge method to use.", - "type": "string", - "enum": ["merge", "squash", "rebase"] - } - }, - "required": [ - "enabled_by", - "merge_method", - "commit_title", - "commit_message" - ] - }, - "base": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "body": { "type": ["string", "null"] }, - "closed_at": { "type": ["string", "null"] }, - "comments_url": { "type": "string", "format": "uri" }, - "commits_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string" }, - "diff_url": { "type": "string", "format": "uri" }, - "draft": { "type": "boolean" }, - "head": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": ["object", "null"], - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "issue_url": { "type": "string", "format": "uri" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "locked": { "type": "boolean" }, - "merge_commit_sha": { "type": ["string", "null"] }, - "merged_at": { "type": ["string", "null"] }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "patch_url": { "type": "string", "format": "uri" }, - "requested_reviewers": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - } - ] - } - }, - "requested_teams": { - "type": "array", - "items": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - } - }, - "review_comment_url": { - "type": "string", - "format": "uri-template" - }, - "review_comments_url": { "type": "string", "format": "uri" }, - "state": { "type": "string", "enum": ["open", "closed"] }, - "statuses_url": { "type": "string", "format": "uri" }, - "title": { "type": "string" }, - "updated_at": { "type": "string" }, - "url": { "type": "string", "format": "uri" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "user_view_type": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "id", - "node_id", - "html_url", - "diff_url", - "patch_url", - "issue_url", - "number", - "state", - "locked", - "title", - "user", - "body", - "created_at", - "updated_at", - "closed_at", - "merged_at", - "merge_commit_sha", - "assignee", - "assignees", - "requested_reviewers", - "requested_teams", - "labels", - "milestone", - "commits_url", - "review_comments_url", - "review_comment_url", - "comments_url", - "statuses_url", - "head", - "base", - "_links", - "author_association", - "active_lock_reason" - ] - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "action", - "changes", - "comment", - "pull_request", - "repository", - "sender" - ] - }, - "webhook-pull-request-review-dismissed": { - "title": "pull_request_review dismissed event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["dismissed"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "title": "Simple Pull Request", - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "commits": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "issue": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comment": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "self": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "statuses": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - } - }, - "required": [ - "self", - "html", - "issue", - "comments", - "review_comments", - "review_comment", - "commits", - "statuses" - ] - }, - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "auto_merge": { - "title": "PullRequestAutoMerge", - "description": "The status of auto merging a pull request.", - "type": ["object", "null"], - "properties": { - "commit_message": { - "description": "Commit message for the merge commit.", - "type": ["string", "null"] - }, - "commit_title": { - "description": "Title for the merge commit message.", - "type": ["string", "null"] - }, - "enabled_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "merge_method": { - "description": "The merge method to use.", - "type": "string", - "enum": ["merge", "squash", "rebase"] - } - }, - "required": [ - "enabled_by", - "merge_method", - "commit_title", - "commit_message" - ] - }, - "base": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "body": { "type": ["string", "null"] }, - "closed_at": { "type": ["string", "null"] }, - "comments_url": { "type": "string", "format": "uri" }, - "commits_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string" }, - "diff_url": { "type": "string", "format": "uri" }, - "draft": { "type": "boolean" }, - "head": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": ["object", "null"], - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "issue_url": { "type": "string", "format": "uri" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "locked": { "type": "boolean" }, - "merge_commit_sha": { "type": ["string", "null"] }, - "merged_at": { "type": ["string", "null"] }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "patch_url": { "type": "string", "format": "uri" }, - "requested_reviewers": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - } - ] - } - }, - "requested_teams": { - "type": "array", - "items": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - } - }, - "review_comment_url": { - "type": "string", - "format": "uri-template" - }, - "review_comments_url": { "type": "string", "format": "uri" }, - "state": { "type": "string", "enum": ["open", "closed"] }, - "statuses_url": { "type": "string", "format": "uri" }, - "title": { "type": "string" }, - "updated_at": { "type": "string" }, - "url": { "type": "string", "format": "uri" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "id", - "node_id", - "html_url", - "diff_url", - "patch_url", - "issue_url", - "number", - "state", - "locked", - "title", - "user", - "body", - "created_at", - "updated_at", - "closed_at", - "merged_at", - "merge_commit_sha", - "assignee", - "assignees", - "requested_reviewers", - "requested_teams", - "labels", - "milestone", - "draft", - "commits_url", - "review_comments_url", - "review_comment_url", - "comments_url", - "statuses_url", - "head", - "base", - "_links", - "author_association", - "auto_merge", - "active_lock_reason" - ] - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "review": { - "description": "The review that was affected.", - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "pull_request": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - } - }, - "required": ["html", "pull_request"] - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { - "description": "The text of the review.", - "type": ["string", "null"] - }, - "commit_id": { - "description": "A commit SHA for the review.", - "type": "string" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the review", - "type": "integer" - }, - "node_id": { "type": "string" }, - "pull_request_url": { "type": "string", "format": "uri" }, - "state": { - "type": "string", - "enum": ["dismissed", "approved", "changes_requested"] - }, - "submitted_at": { "type": "string", "format": "date-time" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "id", - "node_id", - "user", - "body", - "commit_id", - "submitted_at", - "state", - "html_url", - "pull_request_url", - "author_association", - "_links" - ] - }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "review", "pull_request", "repository", "sender"] - }, - "webhook-pull-request-review-edited": { - "title": "pull_request_review edited event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["edited"] }, - "changes": { - "type": "object", - "properties": { - "body": { - "type": "object", - "properties": { - "from": { - "description": "The previous version of the body if the action was `edited`.", - "type": "string" - } - }, - "required": ["from"] - } - } - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "title": "Simple Pull Request", - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "commits": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "issue": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comment": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "self": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "statuses": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - } - }, - "required": [ - "self", - "html", - "issue", - "comments", - "review_comments", - "review_comment", - "commits", - "statuses" - ] - }, - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "auto_merge": { - "title": "PullRequestAutoMerge", - "description": "The status of auto merging a pull request.", - "type": ["object", "null"], - "properties": { - "commit_message": { - "description": "Commit message for the merge commit.", - "type": ["string", "null"] - }, - "commit_title": { - "description": "Title for the merge commit message.", - "type": ["string", "null"] - }, - "enabled_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "merge_method": { - "description": "The merge method to use.", - "type": "string", - "enum": ["merge", "squash", "rebase"] - } - }, - "required": [ - "enabled_by", - "merge_method", - "commit_title", - "commit_message" - ] - }, - "base": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "body": { "type": ["string", "null"] }, - "closed_at": { "type": ["string", "null"] }, - "comments_url": { "type": "string", "format": "uri" }, - "commits_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string" }, - "diff_url": { "type": "string", "format": "uri" }, - "draft": { "type": "boolean" }, - "head": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": ["object", "null"], - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "issue_url": { "type": "string", "format": "uri" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "locked": { "type": "boolean" }, - "merge_commit_sha": { "type": ["string", "null"] }, - "merged_at": { "type": ["string", "null"] }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "patch_url": { "type": "string", "format": "uri" }, - "requested_reviewers": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - } - ] - } - }, - "requested_teams": { - "type": "array", - "items": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - } - }, - "review_comment_url": { - "type": "string", - "format": "uri-template" - }, - "review_comments_url": { "type": "string", "format": "uri" }, - "state": { "type": "string", "enum": ["open", "closed"] }, - "statuses_url": { "type": "string", "format": "uri" }, - "title": { "type": "string" }, - "updated_at": { "type": "string" }, - "url": { "type": "string", "format": "uri" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "id", - "node_id", - "html_url", - "diff_url", - "patch_url", - "issue_url", - "number", - "state", - "locked", - "title", - "user", - "body", - "created_at", - "updated_at", - "closed_at", - "merged_at", - "merge_commit_sha", - "assignee", - "assignees", - "requested_reviewers", - "requested_teams", - "labels", - "milestone", - "draft", - "commits_url", - "review_comments_url", - "review_comment_url", - "comments_url", - "statuses_url", - "head", - "base", - "_links", - "author_association", - "auto_merge", - "active_lock_reason" - ] - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "review": { "$ref": "#/components/schemas/webhooks_review" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "action", - "changes", - "review", - "pull_request", - "repository", - "sender" - ] - }, - "webhooks_review": { - "description": "The review that was affected.", - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "pull_request": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - } - }, - "required": ["html", "pull_request"] - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { - "description": "The text of the review.", - "type": ["string", "null"] - }, - "commit_id": { - "description": "A commit SHA for the review.", - "type": "string" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the review", - "type": "integer" - }, - "node_id": { "type": "string" }, - "pull_request_url": { "type": "string", "format": "uri" }, - "state": { "type": "string" }, - "submitted_at": { "type": ["string", "null"], "format": "date-time" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "id", - "node_id", - "user", - "body", - "commit_id", - "submitted_at", - "state", - "html_url", - "pull_request_url", - "author_association", - "_links" - ] - }, - "webhook-pull-request-review-request-removed": { - "title": "pull_request review_request_removed event", - "oneOf": [ - { - "type": "object", - "properties": { - "action": { - "type": "string", - "enum": ["review_request_removed"] - }, - "enterprise": { - "$ref": "#/components/schemas/enterprise-webhooks" - }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "number": { - "description": "The pull request number.", - "type": "integer" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "title": "Pull Request", - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "commits": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "issue": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comment": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "self": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "statuses": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - } - }, - "required": [ - "self", - "html", - "issue", - "comments", - "review_comments", - "review_comment", - "commits", - "statuses" - ] - }, - "active_lock_reason": { - "type": ["string", "null"], - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - "additions": { "type": "integer" }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "auto_merge": { - "title": "PullRequestAutoMerge", - "description": "The status of auto merging a pull request.", - "type": ["object", "null"], - "properties": { - "commit_message": { - "description": "Commit message for the merge commit.", - "type": ["string", "null"] - }, - "commit_title": { - "description": "Title for the merge commit message.", - "type": ["string", "null"] - }, - "enabled_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "merge_method": { - "description": "The merge method to use.", - "type": "string", - "enum": ["merge", "squash", "rebase"] - } - }, - "required": [ - "enabled_by", - "merge_method", - "commit_title", - "commit_message" - ] - }, - "base": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { - "type": "string", - "format": "uri" - }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { - "type": "string", - "format": "uri" - }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { - "type": "string", - "format": "uri" - }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { - "type": "string", - "format": "uri" - }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { - "type": ["string", "null"], - "format": "uri" - } - }, - "required": [ - "key", - "name", - "spdx_id", - "url", - "node_id" - ] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { - "type": "string", - "format": "uri" - }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { - "type": "string", - "format": "uri" - }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title.", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { - "type": "string", - "format": "uri" - }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { - "type": "string", - "format": "uri" - }, - "subscription_url": { - "type": "string", - "format": "uri" - }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "body": { "type": ["string", "null"] }, - "changed_files": { "type": "integer" }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "commits": { "type": "integer" }, - "commits_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "deletions": { "type": "integer" }, - "diff_url": { "type": "string", "format": "uri" }, - "draft": { - "description": "Indicates whether or not the pull request is a draft.", - "type": "boolean" - }, - "head": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { - "type": "string", - "format": "uri" - }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { - "type": "string", - "format": "uri" - }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { - "type": "string", - "format": "uri" - }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { - "type": "string", - "format": "uri" - }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { - "type": ["string", "null"], - "format": "uri" - } - }, - "required": [ - "key", - "name", - "spdx_id", - "url", - "node_id" - ] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { - "type": "string", - "format": "uri" - }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { - "type": "string", - "format": "uri" - }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { - "type": "string", - "format": "uri" - }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { - "type": "string", - "format": "uri" - }, - "subscription_url": { - "type": "string", - "format": "uri" - }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "issue_url": { "type": "string", "format": "uri" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "locked": { "type": "boolean" }, - "maintainer_can_modify": { - "description": "Indicates whether maintainers can modify the pull request.", - "type": "boolean" - }, - "merge_commit_sha": { "type": ["string", "null"] }, - "mergeable": { "type": ["boolean", "null"] }, - "mergeable_state": { "type": "string" }, - "merged": { "type": ["boolean", "null"] }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "merged_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { - "description": "Number uniquely identifying the pull request within its repository.", - "type": "integer" - }, - "patch_url": { "type": "string", "format": "uri" }, - "rebaseable": { "type": ["boolean", "null"] }, - "requested_reviewers": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { - "type": "string", - "format": "uri" - }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - } - ] - } - }, - "requested_teams": { - "type": "array", - "items": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - } - }, - "review_comment_url": { - "type": "string", - "format": "uri-template" - }, - "review_comments": { "type": "integer" }, - "review_comments_url": { "type": "string", "format": "uri" }, - "state": { - "description": "State of this Pull Request. Either `open` or `closed`.", - "type": "string", - "enum": ["open", "closed"] - }, - "statuses_url": { "type": "string", "format": "uri" }, - "title": { - "description": "The title of the pull request.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "id", - "node_id", - "html_url", - "diff_url", - "patch_url", - "issue_url", - "number", - "state", - "locked", - "title", - "user", - "body", - "created_at", - "updated_at", - "closed_at", - "merged_at", - "merge_commit_sha", - "assignee", - "assignees", - "requested_reviewers", - "requested_teams", - "labels", - "milestone", - "commits_url", - "review_comments_url", - "review_comment_url", - "comments_url", - "statuses_url", - "head", - "base", - "_links", - "author_association", - "auto_merge", - "active_lock_reason", - "draft" - ] - }, - "repository": { - "$ref": "#/components/schemas/repository-webhooks" - }, - "requested_reviewer": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "requested_reviewer", - "action", - "number", - "pull_request", - "repository", - "sender" - ] - }, - { - "type": "object", - "properties": { - "action": { - "type": "string", - "enum": ["review_request_removed"] - }, - "enterprise": { - "$ref": "#/components/schemas/enterprise-webhooks" - }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "number": { - "description": "The pull request number.", - "type": "integer" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "title": "Pull Request", - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "commits": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "issue": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comment": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "self": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "statuses": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - } - }, - "required": [ - "self", - "html", - "issue", - "comments", - "review_comments", - "review_comment", - "commits", - "statuses" - ] - }, - "active_lock_reason": { - "type": ["string", "null"], - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - "additions": { "type": "integer" }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "auto_merge": { - "title": "PullRequestAutoMerge", - "description": "The status of auto merging a pull request.", - "type": ["object", "null"], - "properties": { - "commit_message": { - "description": "Commit message for the merge commit.", - "type": ["string", "null"] - }, - "commit_title": { - "description": "Title for the merge commit message.", - "type": ["string", "null"] - }, - "enabled_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "merge_method": { - "description": "The merge method to use.", - "type": "string", - "enum": ["merge", "squash", "rebase"] - } - }, - "required": [ - "enabled_by", - "merge_method", - "commit_title", - "commit_message" - ] - }, - "base": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { - "type": "string", - "format": "uri" - }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { - "type": "string", - "format": "uri" - }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { - "type": "string", - "format": "uri" - }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { - "type": "string", - "format": "uri" - }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { - "type": ["string", "null"], - "format": "uri" - } - }, - "required": [ - "key", - "name", - "spdx_id", - "url", - "node_id" - ] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { - "type": "string", - "format": "uri" - }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { - "type": "string", - "format": "uri" - }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { - "type": "string", - "format": "uri" - }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { - "type": "string", - "format": "uri" - }, - "subscription_url": { - "type": "string", - "format": "uri" - }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "body": { "type": ["string", "null"] }, - "changed_files": { "type": "integer" }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "commits": { "type": "integer" }, - "commits_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "deletions": { "type": "integer" }, - "diff_url": { "type": "string", "format": "uri" }, - "draft": { - "description": "Indicates whether or not the pull request is a draft.", - "type": "boolean" - }, - "head": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { - "type": "string", - "format": "uri" - }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { - "type": "string", - "format": "uri" - }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { - "type": "string", - "format": "uri" - }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { - "type": "string", - "format": "uri" - }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { - "type": ["string", "null"], - "format": "uri" - } - }, - "required": [ - "key", - "name", - "spdx_id", - "url", - "node_id" - ] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { - "type": "string", - "format": "uri" - }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { - "type": "string", - "format": "uri" - }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { - "type": "string", - "format": "uri" - }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { - "type": "string", - "format": "uri" - }, - "subscription_url": { - "type": "string", - "format": "uri" - }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "issue_url": { "type": "string", "format": "uri" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "locked": { "type": "boolean" }, - "maintainer_can_modify": { - "description": "Indicates whether maintainers can modify the pull request.", - "type": "boolean" - }, - "merge_commit_sha": { "type": ["string", "null"] }, - "mergeable": { "type": ["boolean", "null"] }, - "mergeable_state": { "type": "string" }, - "merged": { "type": ["boolean", "null"] }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "merged_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { - "description": "Number uniquely identifying the pull request within its repository.", - "type": "integer" - }, - "patch_url": { "type": "string", "format": "uri" }, - "rebaseable": { "type": ["boolean", "null"] }, - "requested_reviewers": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { - "type": "string", - "format": "uri" - }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - } - ] - } - }, - "requested_teams": { - "type": "array", - "items": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - } - }, - "review_comment_url": { - "type": "string", - "format": "uri-template" - }, - "review_comments": { "type": "integer" }, - "review_comments_url": { "type": "string", "format": "uri" }, - "state": { - "description": "State of this Pull Request. Either `open` or `closed`.", - "type": "string", - "enum": ["open", "closed"] - }, - "statuses_url": { "type": "string", "format": "uri" }, - "title": { - "description": "The title of the pull request.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "id", - "node_id", - "html_url", - "diff_url", - "patch_url", - "issue_url", - "number", - "state", - "locked", - "title", - "user", - "body", - "created_at", - "updated_at", - "closed_at", - "merged_at", - "merge_commit_sha", - "assignee", - "assignees", - "requested_reviewers", - "requested_teams", - "labels", - "milestone", - "commits_url", - "review_comments_url", - "review_comment_url", - "comments_url", - "statuses_url", - "head", - "base", - "_links", - "author_association", - "auto_merge", - "active_lock_reason", - "draft" - ] - }, - "repository": { - "$ref": "#/components/schemas/repository-webhooks" - }, - "requested_team": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { "type": "string", "format": "uri-template" }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "requested_team", - "action", - "number", - "pull_request", - "repository", - "sender" - ] - } - ] - }, - "webhook-pull-request-review-requested": { - "title": "pull_request review_requested event", - "oneOf": [ - { - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["review_requested"] }, - "enterprise": { - "$ref": "#/components/schemas/enterprise-webhooks" - }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "number": { - "description": "The pull request number.", - "type": "integer" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "title": "Pull Request", - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "commits": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "issue": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comment": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "self": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "statuses": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - } - }, - "required": [ - "self", - "html", - "issue", - "comments", - "review_comments", - "review_comment", - "commits", - "statuses" - ] - }, - "active_lock_reason": { - "type": ["string", "null"], - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - "additions": { "type": "integer" }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "auto_merge": { - "title": "PullRequestAutoMerge", - "description": "The status of auto merging a pull request.", - "type": ["object", "null"], - "properties": { - "commit_message": { - "description": "Commit message for the merge commit.", - "type": ["string", "null"] - }, - "commit_title": { - "description": "Title for the merge commit message.", - "type": ["string", "null"] - }, - "enabled_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "merge_method": { - "description": "The merge method to use.", - "type": "string", - "enum": ["merge", "squash", "rebase"] - } - }, - "required": [ - "enabled_by", - "merge_method", - "commit_title", - "commit_message" - ] - }, - "base": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { - "type": "string", - "format": "uri" - }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { - "type": "string", - "format": "uri" - }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { - "type": "string", - "format": "uri" - }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { - "type": "string", - "format": "uri" - }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { - "type": ["string", "null"], - "format": "uri" - } - }, - "required": [ - "key", - "name", - "spdx_id", - "url", - "node_id" - ] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { - "type": "string", - "format": "uri" - }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { - "type": "string", - "format": "uri" - }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { - "type": "string", - "format": "uri" - }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { - "type": "string", - "format": "uri" - }, - "subscription_url": { - "type": "string", - "format": "uri" - }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "body": { "type": ["string", "null"] }, - "changed_files": { "type": "integer" }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "commits": { "type": "integer" }, - "commits_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "deletions": { "type": "integer" }, - "diff_url": { "type": "string", "format": "uri" }, - "draft": { - "description": "Indicates whether or not the pull request is a draft.", - "type": "boolean" - }, - "head": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { - "type": "string", - "format": "uri" - }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { - "type": "string", - "format": "uri" - }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { - "type": "string", - "format": "uri" - }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { - "type": "string", - "format": "uri" - }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { - "type": ["string", "null"], - "format": "uri" - } - }, - "required": [ - "key", - "name", - "spdx_id", - "url", - "node_id" - ] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { - "type": "string", - "format": "uri" - }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { - "type": "string", - "format": "uri" - }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { - "type": "string", - "format": "uri" - }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { - "type": "string", - "format": "uri" - }, - "subscription_url": { - "type": "string", - "format": "uri" - }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "issue_url": { "type": "string", "format": "uri" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "locked": { "type": "boolean" }, - "maintainer_can_modify": { - "description": "Indicates whether maintainers can modify the pull request.", - "type": "boolean" - }, - "merge_commit_sha": { "type": ["string", "null"] }, - "mergeable": { "type": ["boolean", "null"] }, - "mergeable_state": { "type": "string" }, - "merged": { "type": ["boolean", "null"] }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "merged_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { - "description": "Number uniquely identifying the pull request within its repository.", - "type": "integer" - }, - "patch_url": { "type": "string", "format": "uri" }, - "rebaseable": { "type": ["boolean", "null"] }, - "requested_reviewers": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { - "type": "string", - "format": "uri" - }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - } - ] - } - }, - "requested_teams": { - "type": "array", - "items": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - } - }, - "review_comment_url": { - "type": "string", - "format": "uri-template" - }, - "review_comments": { "type": "integer" }, - "review_comments_url": { "type": "string", "format": "uri" }, - "state": { - "description": "State of this Pull Request. Either `open` or `closed`.", - "type": "string", - "enum": ["open", "closed"] - }, - "statuses_url": { "type": "string", "format": "uri" }, - "title": { - "description": "The title of the pull request.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "id", - "node_id", - "html_url", - "diff_url", - "patch_url", - "issue_url", - "number", - "state", - "locked", - "title", - "user", - "body", - "created_at", - "updated_at", - "closed_at", - "merged_at", - "merge_commit_sha", - "assignee", - "assignees", - "requested_reviewers", - "requested_teams", - "labels", - "milestone", - "commits_url", - "review_comments_url", - "review_comment_url", - "comments_url", - "statuses_url", - "head", - "base", - "_links", - "author_association", - "auto_merge", - "active_lock_reason", - "draft" - ] - }, - "repository": { - "$ref": "#/components/schemas/repository-webhooks" - }, - "requested_reviewer": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "requested_reviewer", - "action", - "number", - "pull_request", - "repository", - "sender" - ] - }, - { - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["review_requested"] }, - "enterprise": { - "$ref": "#/components/schemas/enterprise-webhooks" - }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "number": { - "description": "The pull request number.", - "type": "integer" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "title": "Pull Request", - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "commits": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "issue": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comment": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "self": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "statuses": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - } - }, - "required": [ - "self", - "html", - "issue", - "comments", - "review_comments", - "review_comment", - "commits", - "statuses" - ] - }, - "active_lock_reason": { - "type": ["string", "null"], - "enum": [ - "resolved", - "off-topic", - "too heated", - "spam", - null - ] - }, - "additions": { "type": "integer" }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "auto_merge": { - "title": "PullRequestAutoMerge", - "description": "The status of auto merging a pull request.", - "type": ["object", "null"], - "properties": { - "commit_message": { - "description": "Commit message for the merge commit.", - "type": ["string", "null"] - }, - "commit_title": { - "description": "Title for the merge commit message.", - "type": ["string", "null"] - }, - "enabled_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "merge_method": { - "description": "The merge method to use.", - "type": "string", - "enum": ["merge", "squash", "rebase"] - } - }, - "required": [ - "enabled_by", - "merge_method", - "commit_title", - "commit_message" - ] - }, - "base": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { - "type": "string", - "format": "uri" - }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { - "type": "string", - "format": "uri" - }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { - "type": "string", - "format": "uri" - }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { - "type": "string", - "format": "uri" - }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { - "type": ["string", "null"], - "format": "uri" - } - }, - "required": [ - "key", - "name", - "spdx_id", - "url", - "node_id" - ] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { - "type": "string", - "format": "uri" - }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { - "type": "string", - "format": "uri" - }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { - "type": "string", - "format": "uri" - }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { - "type": "string", - "format": "uri" - }, - "subscription_url": { - "type": "string", - "format": "uri" - }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "body": { "type": ["string", "null"] }, - "changed_files": { "type": "integer" }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "commits": { "type": "integer" }, - "commits_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "deletions": { "type": "integer" }, - "diff_url": { "type": "string", "format": "uri" }, - "draft": { - "description": "Indicates whether or not the pull request is a draft.", - "type": "boolean" - }, - "head": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { - "type": "string", - "format": "uri" - }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { - "type": "string", - "format": "uri" - }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { - "type": "string", - "format": "uri" - }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { - "type": "string", - "format": "uri" - }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { - "type": ["string", "null"], - "format": "uri" - } - }, - "required": [ - "key", - "name", - "spdx_id", - "url", - "node_id" - ] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { - "type": "string", - "format": "uri" - }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { - "type": "string", - "format": "uri" - }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { - "type": "string", - "format": "uri" - }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { - "type": "string", - "format": "uri" - }, - "subscription_url": { - "type": "string", - "format": "uri" - }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "issue_url": { "type": "string", "format": "uri" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "locked": { "type": "boolean" }, - "maintainer_can_modify": { - "description": "Indicates whether maintainers can modify the pull request.", - "type": "boolean" - }, - "merge_commit_sha": { "type": ["string", "null"] }, - "mergeable": { "type": ["boolean", "null"] }, - "mergeable_state": { "type": "string" }, - "merged": { "type": ["boolean", "null"] }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "merged_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { - "description": "Number uniquely identifying the pull request within its repository.", - "type": "integer" - }, - "patch_url": { "type": "string", "format": "uri" }, - "rebaseable": { "type": ["boolean", "null"] }, - "requested_reviewers": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { - "type": "string", - "format": "uri" - }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - } - ] - } - }, - "requested_teams": { - "type": "array", - "items": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - } - }, - "review_comment_url": { - "type": "string", - "format": "uri-template" - }, - "review_comments": { "type": "integer" }, - "review_comments_url": { "type": "string", "format": "uri" }, - "state": { - "description": "State of this Pull Request. Either `open` or `closed`.", - "type": "string", - "enum": ["open", "closed"] - }, - "statuses_url": { "type": "string", "format": "uri" }, - "title": { - "description": "The title of the pull request.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "id", - "node_id", - "html_url", - "diff_url", - "patch_url", - "issue_url", - "number", - "state", - "locked", - "title", - "user", - "body", - "created_at", - "updated_at", - "closed_at", - "merged_at", - "merge_commit_sha", - "assignee", - "assignees", - "requested_reviewers", - "requested_teams", - "labels", - "milestone", - "commits_url", - "review_comments_url", - "review_comment_url", - "comments_url", - "statuses_url", - "head", - "base", - "_links", - "author_association", - "auto_merge", - "active_lock_reason", - "draft" - ] - }, - "repository": { - "$ref": "#/components/schemas/repository-webhooks" - }, - "requested_team": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { "type": "string", "format": "uri-template" }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "requested_team", - "action", - "number", - "pull_request", - "repository", - "sender" - ] - } - ] - }, - "webhook-pull-request-review-submitted": { - "title": "pull_request_review submitted event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["submitted"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "title": "Simple Pull Request", - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "commits": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "issue": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comment": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "self": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "statuses": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - } - }, - "required": [ - "self", - "html", - "issue", - "comments", - "review_comments", - "review_comment", - "commits", - "statuses" - ] - }, - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "auto_merge": { - "title": "PullRequestAutoMerge", - "description": "The status of auto merging a pull request.", - "type": ["object", "null"], - "properties": { - "commit_message": { - "description": "Commit message for the merge commit.", - "type": ["string", "null"] - }, - "commit_title": { - "description": "Title for the merge commit message.", - "type": ["string", "null"] - }, - "enabled_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "merge_method": { - "description": "The merge method to use.", - "type": "string", - "enum": ["merge", "squash", "rebase"] - } - }, - "required": [ - "enabled_by", - "merge_method", - "commit_title", - "commit_message" - ] - }, - "base": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "body": { "type": ["string", "null"] }, - "closed_at": { "type": ["string", "null"] }, - "comments_url": { "type": "string", "format": "uri" }, - "commits_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string" }, - "diff_url": { "type": "string", "format": "uri" }, - "draft": { "type": "boolean" }, - "head": { - "type": "object", - "properties": { - "label": { "type": ["string", "null"] }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": ["object", "null"], - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "issue_url": { "type": "string", "format": "uri" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "locked": { "type": "boolean" }, - "merge_commit_sha": { "type": ["string", "null"] }, - "merged_at": { "type": ["string", "null"] }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "patch_url": { "type": "string", "format": "uri" }, - "requested_reviewers": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - } - ] - } - }, - "requested_teams": { - "type": "array", - "items": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - } - }, - "review_comment_url": { - "type": "string", - "format": "uri-template" - }, - "review_comments_url": { "type": "string", "format": "uri" }, - "state": { "type": "string", "enum": ["open", "closed"] }, - "statuses_url": { "type": "string", "format": "uri" }, - "title": { "type": "string" }, - "updated_at": { "type": "string" }, - "url": { "type": "string", "format": "uri" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "id", - "node_id", - "html_url", - "diff_url", - "patch_url", - "issue_url", - "number", - "state", - "locked", - "title", - "user", - "body", - "created_at", - "updated_at", - "closed_at", - "merged_at", - "merge_commit_sha", - "assignee", - "assignees", - "requested_reviewers", - "requested_teams", - "labels", - "milestone", - "draft", - "commits_url", - "review_comments_url", - "review_comment_url", - "comments_url", - "statuses_url", - "head", - "base", - "_links", - "author_association", - "auto_merge", - "active_lock_reason" - ] - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "review": { "$ref": "#/components/schemas/webhooks_review" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "review", "pull_request", "repository", "sender"] - }, - "webhook-pull-request-review-thread-resolved": { - "title": "pull_request_review_thread resolved event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["resolved"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "title": "Simple Pull Request", - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "commits": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "issue": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comment": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "self": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "statuses": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - } - }, - "required": [ - "self", - "html", - "issue", - "comments", - "review_comments", - "review_comment", - "commits", - "statuses" - ] - }, - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "auto_merge": { - "title": "PullRequestAutoMerge", - "description": "The status of auto merging a pull request.", - "type": ["object", "null"], - "properties": { - "commit_message": { - "description": "Commit message for the merge commit.", - "type": ["string", "null"] - }, - "commit_title": { - "description": "Title for the merge commit message.", - "type": ["string", "null"] - }, - "enabled_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "merge_method": { - "description": "The merge method to use.", - "type": "string", - "enum": ["merge", "squash", "rebase"] - } - }, - "required": [ - "enabled_by", - "merge_method", - "commit_title", - "commit_message" - ] - }, - "base": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "body": { "type": ["string", "null"] }, - "closed_at": { "type": ["string", "null"] }, - "comments_url": { "type": "string", "format": "uri" }, - "commits_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string" }, - "diff_url": { "type": "string", "format": "uri" }, - "draft": { "type": "boolean" }, - "head": { - "type": "object", - "properties": { - "label": { "type": ["string", "null"] }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": ["object", "null"], - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "issue_url": { "type": "string", "format": "uri" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "locked": { "type": "boolean" }, - "merge_commit_sha": { "type": ["string", "null"] }, - "merged_at": { "type": ["string", "null"] }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "patch_url": { "type": "string", "format": "uri" }, - "requested_reviewers": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - } - ] - } - }, - "requested_teams": { - "type": "array", - "items": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - } - }, - "review_comment_url": { - "type": "string", - "format": "uri-template" - }, - "review_comments_url": { "type": "string", "format": "uri" }, - "state": { "type": "string", "enum": ["open", "closed"] }, - "statuses_url": { "type": "string", "format": "uri" }, - "title": { "type": "string" }, - "updated_at": { "type": "string" }, - "url": { "type": "string", "format": "uri" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "id", - "node_id", - "html_url", - "diff_url", - "patch_url", - "issue_url", - "number", - "state", - "locked", - "title", - "user", - "body", - "created_at", - "updated_at", - "closed_at", - "merged_at", - "merge_commit_sha", - "assignee", - "assignees", - "requested_reviewers", - "requested_teams", - "labels", - "milestone", - "draft", - "commits_url", - "review_comments_url", - "review_comment_url", - "comments_url", - "statuses_url", - "head", - "base", - "_links", - "author_association", - "auto_merge", - "active_lock_reason" - ] - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "thread": { - "type": "object", - "properties": { - "comments": { - "type": "array", - "items": { - "title": "Pull Request Review Comment", - "description": "The [comment](https://docs.github.com/enterprise-server@3.13/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself.", - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri-template" - } - }, - "required": ["href"] - }, - "pull_request": { - "title": "Link", - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri-template" - } - }, - "required": ["href"] - }, - "self": { - "title": "Link", - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri-template" - } - }, - "required": ["href"] - } - }, - "required": ["self", "html", "pull_request"] - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { - "description": "The text of the comment.", - "type": "string" - }, - "commit_id": { - "description": "The SHA of the commit to which the comment applies.", - "type": "string" - }, - "created_at": { "type": "string", "format": "date-time" }, - "diff_hunk": { - "description": "The diff of the line that the comment refers to.", - "type": "string" - }, - "html_url": { - "description": "HTML URL for the pull request review comment.", - "type": "string", - "format": "uri" - }, - "id": { - "description": "The ID of the pull request review comment.", - "type": "integer" - }, - "in_reply_to_id": { - "description": "The comment ID to reply to.", - "type": "integer" - }, - "line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "type": ["integer", "null"] - }, - "node_id": { - "description": "The node ID of the pull request review comment.", - "type": "string" - }, - "original_commit_id": { - "description": "The SHA of the original commit to which the comment applies.", - "type": "string" - }, - "original_line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "type": ["integer", "null"] - }, - "original_position": { - "description": "The index of the original line in the diff to which the comment applies.", - "type": "integer" - }, - "original_start_line": { - "description": "The first line of the range for a multi-line comment.", - "type": ["integer", "null"] - }, - "path": { - "description": "The relative path of the file to which the comment applies.", - "type": "string" - }, - "position": { - "description": "The line index in the diff to which the comment applies.", - "type": ["integer", "null"] - }, - "pull_request_review_id": { - "description": "The ID of the pull request review to which the comment belongs.", - "type": ["integer", "null"] - }, - "pull_request_url": { - "description": "URL for the pull request that the review comment belongs to.", - "type": "string", - "format": "uri" - }, - "reactions": { - "title": "Reactions", - "type": "object", - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] - }, - "side": { - "description": "The side of the first line of the range for a multi-line comment.", - "type": "string", - "enum": ["LEFT", "RIGHT"] - }, - "start_line": { - "description": "The first line of the range for a multi-line comment.", - "type": ["integer", "null"] - }, - "start_side": { - "description": "The side of the first line of the range for a multi-line comment.", - "type": ["string", "null"], - "enum": ["LEFT", "RIGHT", null], - "default": "RIGHT" - }, - "subject_type": { - "description": "The level at which the comment is targeted, can be a diff line or a file.", - "type": "string", - "enum": ["line", "file"] - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { - "description": "URL for the pull request review comment", - "type": "string", - "format": "uri" - }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "pull_request_review_id", - "id", - "node_id", - "diff_hunk", - "path", - "position", - "original_position", - "commit_id", - "original_commit_id", - "user", - "body", - "created_at", - "updated_at", - "html_url", - "pull_request_url", - "author_association", - "_links", - "start_line", - "original_start_line", - "original_line", - "line", - "start_side", - "side", - "reactions" - ] - } - }, - "node_id": { "type": "string" } - }, - "required": ["node_id", "comments"] - } - }, - "required": ["action", "thread", "pull_request", "repository"] - }, - "webhook-pull-request-review-thread-unresolved": { - "title": "pull_request_review_thread unresolved event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["unresolved"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "title": "Simple Pull Request", - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "commits": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "issue": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comment": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "self": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "statuses": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - } - }, - "required": [ - "self", - "html", - "issue", - "comments", - "review_comments", - "review_comment", - "commits", - "statuses" - ] - }, - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "auto_merge": { - "title": "PullRequestAutoMerge", - "description": "The status of auto merging a pull request.", - "type": ["object", "null"], - "properties": { - "commit_message": { - "description": "Commit message for the merge commit.", - "type": ["string", "null"] - }, - "commit_title": { - "description": "Title for the merge commit message.", - "type": "string" - }, - "enabled_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "merge_method": { - "description": "The merge method to use.", - "type": "string", - "enum": ["merge", "squash", "rebase"] - } - }, - "required": [ - "enabled_by", - "merge_method", - "commit_title", - "commit_message" - ] - }, - "base": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "body": { "type": ["string", "null"] }, - "closed_at": { "type": ["string", "null"] }, - "comments_url": { "type": "string", "format": "uri" }, - "commits_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string" }, - "diff_url": { "type": "string", "format": "uri" }, - "draft": { "type": "boolean" }, - "head": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "issue_url": { "type": "string", "format": "uri" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "locked": { "type": "boolean" }, - "merge_commit_sha": { "type": ["string", "null"] }, - "merged_at": { "type": ["string", "null"] }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "patch_url": { "type": "string", "format": "uri" }, - "requested_reviewers": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - } - ] - } - }, - "requested_teams": { - "type": "array", - "items": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - } - }, - "review_comment_url": { - "type": "string", - "format": "uri-template" - }, - "review_comments_url": { "type": "string", "format": "uri" }, - "state": { "type": "string", "enum": ["open", "closed"] }, - "statuses_url": { "type": "string", "format": "uri" }, - "title": { "type": "string" }, - "updated_at": { "type": "string" }, - "url": { "type": "string", "format": "uri" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "id", - "node_id", - "html_url", - "diff_url", - "patch_url", - "issue_url", - "number", - "state", - "locked", - "title", - "user", - "body", - "created_at", - "updated_at", - "closed_at", - "merged_at", - "merge_commit_sha", - "assignee", - "assignees", - "requested_reviewers", - "requested_teams", - "labels", - "milestone", - "draft", - "commits_url", - "review_comments_url", - "review_comment_url", - "comments_url", - "statuses_url", - "head", - "base", - "_links", - "author_association", - "auto_merge", - "active_lock_reason" - ] - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "thread": { - "type": "object", - "properties": { - "comments": { - "type": "array", - "items": { - "title": "Pull Request Review Comment", - "description": "The [comment](https://docs.github.com/enterprise-server@3.13/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself.", - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri-template" - } - }, - "required": ["href"] - }, - "pull_request": { - "title": "Link", - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri-template" - } - }, - "required": ["href"] - }, - "self": { - "title": "Link", - "type": "object", - "properties": { - "href": { - "type": "string", - "format": "uri-template" - } - }, - "required": ["href"] - } - }, - "required": ["self", "html", "pull_request"] - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "body": { - "description": "The text of the comment.", - "type": "string" - }, - "commit_id": { - "description": "The SHA of the commit to which the comment applies.", - "type": "string" - }, - "created_at": { "type": "string", "format": "date-time" }, - "diff_hunk": { - "description": "The diff of the line that the comment refers to.", - "type": "string" - }, - "html_url": { - "description": "HTML URL for the pull request review comment.", - "type": "string", - "format": "uri" - }, - "id": { - "description": "The ID of the pull request review comment.", - "type": "integer" - }, - "in_reply_to_id": { - "description": "The comment ID to reply to.", - "type": "integer" - }, - "line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "type": ["integer", "null"] - }, - "node_id": { - "description": "The node ID of the pull request review comment.", - "type": "string" - }, - "original_commit_id": { - "description": "The SHA of the original commit to which the comment applies.", - "type": "string" - }, - "original_line": { - "description": "The line of the blob to which the comment applies. The last line of the range for a multi-line comment", - "type": "integer" - }, - "original_position": { - "description": "The index of the original line in the diff to which the comment applies.", - "type": "integer" - }, - "original_start_line": { - "description": "The first line of the range for a multi-line comment.", - "type": ["integer", "null"] - }, - "path": { - "description": "The relative path of the file to which the comment applies.", - "type": "string" - }, - "position": { - "description": "The line index in the diff to which the comment applies.", - "type": ["integer", "null"] - }, - "pull_request_review_id": { - "description": "The ID of the pull request review to which the comment belongs.", - "type": ["integer", "null"] - }, - "pull_request_url": { - "description": "URL for the pull request that the review comment belongs to.", - "type": "string", - "format": "uri" - }, - "reactions": { - "title": "Reactions", - "type": "object", - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] - }, - "side": { - "description": "The side of the first line of the range for a multi-line comment.", - "type": "string", - "enum": ["LEFT", "RIGHT"] - }, - "start_line": { - "description": "The first line of the range for a multi-line comment.", - "type": ["integer", "null"] - }, - "start_side": { - "description": "The side of the first line of the range for a multi-line comment.", - "type": ["string", "null"], - "enum": ["LEFT", "RIGHT", null], - "default": "RIGHT" - }, - "subject_type": { - "description": "The level at which the comment is targeted, can be a diff line or a file.", - "type": "string", - "enum": ["line", "file"] - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { - "description": "URL for the pull request review comment", - "type": "string", - "format": "uri" - }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "pull_request_review_id", - "id", - "node_id", - "diff_hunk", - "path", - "position", - "original_position", - "commit_id", - "original_commit_id", - "user", - "body", - "created_at", - "updated_at", - "html_url", - "pull_request_url", - "author_association", - "_links", - "start_line", - "original_start_line", - "original_line", - "line", - "start_side", - "side", - "reactions" - ] - } - }, - "node_id": { "type": "string" } - }, - "required": ["node_id", "comments"] - } - }, - "required": ["action", "thread", "pull_request", "repository"] - }, - "webhook-pull-request-synchronize": { - "title": "pull_request synchronize event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["synchronize"] }, - "after": { "type": "string" }, - "before": { "type": "string" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "number": { "$ref": "#/components/schemas/webhooks_number" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "title": "Pull Request", - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "commits": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "issue": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comment": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "self": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "statuses": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - } - }, - "required": [ - "self", - "html", - "issue", - "comments", - "review_comments", - "review_comment", - "commits", - "statuses" - ] - }, - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "additions": { "type": "integer" }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "auto_merge": { - "title": "PullRequestAutoMerge", - "description": "The status of auto merging a pull request.", - "type": ["object", "null"], - "properties": { - "commit_message": { - "description": "Commit message for the merge commit.", - "type": ["string", "null"] - }, - "commit_title": { - "description": "Title for the merge commit message.", - "type": ["string", "null"] - }, - "enabled_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "merge_method": { - "description": "The merge method to use.", - "type": "string", - "enum": ["merge", "squash", "rebase"] - } - }, - "required": [ - "enabled_by", - "merge_method", - "commit_title", - "commit_message" - ] - }, - "base": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "body": { "type": ["string", "null"] }, - "changed_files": { "type": "integer" }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "commits": { "type": "integer" }, - "commits_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "deletions": { "type": "integer" }, - "diff_url": { "type": "string", "format": "uri" }, - "draft": { - "description": "Indicates whether or not the pull request is a draft.", - "type": "boolean" - }, - "head": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit message title.", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "issue_url": { "type": "string", "format": "uri" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "locked": { "type": "boolean" }, - "maintainer_can_modify": { - "description": "Indicates whether maintainers can modify the pull request.", - "type": "boolean" - }, - "merge_commit_sha": { "type": ["string", "null"] }, - "mergeable": { "type": ["boolean", "null"] }, - "mergeable_state": { "type": "string" }, - "merged": { "type": ["boolean", "null"] }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "merged_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { - "description": "Number uniquely identifying the pull request within its repository.", - "type": "integer" - }, - "patch_url": { "type": "string", "format": "uri" }, - "rebaseable": { "type": ["boolean", "null"] }, - "requested_reviewers": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - } - ] - } - }, - "requested_teams": { - "type": "array", - "items": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - } - }, - "review_comment_url": { - "type": "string", - "format": "uri-template" - }, - "review_comments": { "type": "integer" }, - "review_comments_url": { "type": "string", "format": "uri" }, - "state": { - "description": "State of this Pull Request. Either `open` or `closed`.", - "type": "string", - "enum": ["open", "closed"] - }, - "statuses_url": { "type": "string", "format": "uri" }, - "title": { - "description": "The title of the pull request.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "id", - "node_id", - "html_url", - "diff_url", - "patch_url", - "issue_url", - "number", - "state", - "locked", - "title", - "user", - "body", - "created_at", - "updated_at", - "closed_at", - "merged_at", - "merge_commit_sha", - "assignee", - "assignees", - "requested_reviewers", - "requested_teams", - "labels", - "milestone", - "commits_url", - "review_comments_url", - "review_comment_url", - "comments_url", - "statuses_url", - "head", - "base", - "_links", - "author_association", - "auto_merge", - "active_lock_reason", - "draft" - ] - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "action", - "number", - "before", - "after", - "pull_request", - "repository", - "sender" - ] - }, - "webhook-pull-request-unassigned": { - "title": "pull_request unassigned event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["unassigned"] }, - "assignee": { - "$ref": "#/components/schemas/webhooks_user_mannequin" - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "number": { "$ref": "#/components/schemas/webhooks_number" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "title": "Pull Request", - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "commits": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "issue": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comment": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "self": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "statuses": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - } - }, - "required": [ - "self", - "html", - "issue", - "comments", - "review_comments", - "review_comment", - "commits", - "statuses" - ] - }, - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "additions": { "type": "integer" }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "auto_merge": { - "title": "PullRequestAutoMerge", - "description": "The status of auto merging a pull request.", - "type": ["object", "null"], - "properties": { - "commit_message": { - "description": "Commit message for the merge commit.", - "type": ["string", "null"] - }, - "commit_title": { - "description": "Title for the merge commit message.", - "type": ["string", "null"] - }, - "enabled_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "merge_method": { - "description": "The merge method to use.", - "type": "string", - "enum": ["merge", "squash", "rebase"] - } - }, - "required": [ - "enabled_by", - "merge_method", - "commit_title", - "commit_message" - ] - }, - "base": { - "type": "object", - "properties": { - "label": { "type": ["string", "null"] }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "body": { "type": ["string", "null"] }, - "changed_files": { "type": "integer" }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "commits": { "type": "integer" }, - "commits_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "deletions": { "type": "integer" }, - "diff_url": { "type": "string", "format": "uri" }, - "draft": { - "description": "Indicates whether or not the pull request is a draft.", - "type": "boolean" - }, - "head": { - "type": "object", - "properties": { - "label": { "type": ["string", "null"] }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": ["object", "null"], - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "issue_url": { "type": "string", "format": "uri" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "locked": { "type": "boolean" }, - "maintainer_can_modify": { - "description": "Indicates whether maintainers can modify the pull request.", - "type": "boolean" - }, - "merge_commit_sha": { "type": ["string", "null"] }, - "mergeable": { "type": ["boolean", "null"] }, - "mergeable_state": { "type": "string" }, - "merged": { "type": ["boolean", "null"] }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "merged_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { - "description": "Number uniquely identifying the pull request within its repository.", - "type": "integer" - }, - "patch_url": { "type": "string", "format": "uri" }, - "rebaseable": { "type": ["boolean", "null"] }, - "requested_reviewers": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - } - ] - } - }, - "requested_teams": { - "type": "array", - "items": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - } - }, - "review_comment_url": { - "type": "string", - "format": "uri-template" - }, - "review_comments": { "type": "integer" }, - "review_comments_url": { "type": "string", "format": "uri" }, - "state": { - "description": "State of this Pull Request. Either `open` or `closed`.", - "type": "string", - "enum": ["open", "closed"] - }, - "statuses_url": { "type": "string", "format": "uri" }, - "title": { - "description": "The title of the pull request.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "id", - "node_id", - "html_url", - "diff_url", - "patch_url", - "issue_url", - "number", - "state", - "locked", - "title", - "user", - "body", - "created_at", - "updated_at", - "closed_at", - "merged_at", - "merge_commit_sha", - "assignee", - "assignees", - "requested_reviewers", - "requested_teams", - "labels", - "milestone", - "commits_url", - "review_comments_url", - "review_comment_url", - "comments_url", - "statuses_url", - "head", - "base", - "_links", - "author_association", - "auto_merge", - "active_lock_reason", - "draft" - ] - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "number", "pull_request", "repository"] - }, - "webhook-pull-request-unlabeled": { - "title": "pull_request unlabeled event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["unlabeled"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "label": { "$ref": "#/components/schemas/webhooks_label" }, - "number": { "$ref": "#/components/schemas/webhooks_number" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "title": "Pull Request", - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "commits": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "issue": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comment": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "self": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "statuses": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - } - }, - "required": [ - "self", - "html", - "issue", - "comments", - "review_comments", - "review_comment", - "commits", - "statuses" - ] - }, - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "additions": { "type": "integer" }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "auto_merge": { - "title": "PullRequestAutoMerge", - "description": "The status of auto merging a pull request.", - "type": ["object", "null"], - "properties": { - "commit_message": { - "description": "Commit message for the merge commit.", - "type": ["string", "null"] - }, - "commit_title": { - "description": "Title for the merge commit message.", - "type": ["string", "null"] - }, - "enabled_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "merge_method": { - "description": "The merge method to use.", - "type": "string", - "enum": ["merge", "squash", "rebase"] - } - }, - "required": [ - "enabled_by", - "merge_method", - "commit_title", - "commit_message" - ] - }, - "base": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "body": { "type": ["string", "null"] }, - "changed_files": { "type": "integer" }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "commits": { "type": "integer" }, - "commits_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "deletions": { "type": "integer" }, - "diff_url": { "type": "string", "format": "uri" }, - "draft": { - "description": "Indicates whether or not the pull request is a draft.", - "type": "boolean" - }, - "head": { - "type": "object", - "properties": { - "label": { "type": ["string", "null"] }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": ["object", "null"], - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit message title.", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "issue_url": { "type": "string", "format": "uri" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "locked": { "type": "boolean" }, - "maintainer_can_modify": { - "description": "Indicates whether maintainers can modify the pull request.", - "type": "boolean" - }, - "merge_commit_sha": { "type": ["string", "null"] }, - "mergeable": { "type": ["boolean", "null"] }, - "mergeable_state": { "type": "string" }, - "merged": { "type": ["boolean", "null"] }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "merged_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { - "description": "Number uniquely identifying the pull request within its repository.", - "type": "integer" - }, - "patch_url": { "type": "string", "format": "uri" }, - "rebaseable": { "type": ["boolean", "null"] }, - "requested_reviewers": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - } - ] - } - }, - "requested_teams": { - "type": "array", - "items": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - } - }, - "review_comment_url": { - "type": "string", - "format": "uri-template" - }, - "review_comments": { "type": "integer" }, - "review_comments_url": { "type": "string", "format": "uri" }, - "state": { - "description": "State of this Pull Request. Either `open` or `closed`.", - "type": "string", - "enum": ["open", "closed"] - }, - "statuses_url": { "type": "string", "format": "uri" }, - "title": { - "description": "The title of the pull request.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization", "Mannequin"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "id", - "node_id", - "html_url", - "diff_url", - "patch_url", - "issue_url", - "number", - "state", - "locked", - "title", - "user", - "body", - "created_at", - "updated_at", - "closed_at", - "merged_at", - "merge_commit_sha", - "assignee", - "assignees", - "requested_reviewers", - "requested_teams", - "labels", - "milestone", - "commits_url", - "review_comments_url", - "review_comment_url", - "comments_url", - "statuses_url", - "head", - "base", - "_links", - "author_association", - "auto_merge", - "active_lock_reason", - "draft" - ] - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "number", "pull_request", "repository", "sender"] - }, - "webhook-pull-request-unlocked": { - "title": "pull_request unlocked event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["unlocked"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "number": { "$ref": "#/components/schemas/webhooks_number" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pull_request": { - "title": "Pull Request", - "type": "object", - "properties": { - "_links": { - "type": "object", - "properties": { - "comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "commits": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "html": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "issue": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comment": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "review_comments": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "self": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - }, - "statuses": { - "title": "Link", - "type": "object", - "properties": { - "href": { "type": "string", "format": "uri-template" } - }, - "required": ["href"] - } - }, - "required": [ - "self", - "html", - "issue", - "comments", - "review_comments", - "review_comment", - "commits", - "statuses" - ] - }, - "active_lock_reason": { - "type": ["string", "null"], - "enum": ["resolved", "off-topic", "too heated", "spam", null] - }, - "additions": { "type": "integer" }, - "assignee": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "assignees": { - "type": "array", - "items": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["login", "id"] - } - }, - "author_association": { - "title": "AuthorAssociation", - "description": "How the author is associated with the repository.", - "type": "string", - "enum": [ - "COLLABORATOR", - "CONTRIBUTOR", - "FIRST_TIMER", - "FIRST_TIME_CONTRIBUTOR", - "MANNEQUIN", - "MEMBER", - "NONE", - "OWNER" - ] - }, - "auto_merge": { - "title": "PullRequestAutoMerge", - "description": "The status of auto merging a pull request.", - "type": ["object", "null"], - "properties": { - "commit_message": { - "description": "Commit message for the merge commit.", - "type": ["string", "null"] - }, - "commit_title": { - "description": "Title for the merge commit message.", - "type": "string" - }, - "enabled_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "merge_method": { - "description": "The merge method to use.", - "type": "string", - "enum": ["merge", "squash", "rebase"] - } - }, - "required": [ - "enabled_by", - "merge_method", - "commit_title", - "commit_message" - ] - }, - "base": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "body": { "type": ["string", "null"] }, - "changed_files": { "type": "integer" }, - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "comments": { "type": "integer" }, - "comments_url": { "type": "string", "format": "uri" }, - "commits": { "type": "integer" }, - "commits_url": { "type": "string", "format": "uri" }, - "created_at": { "type": "string", "format": "date-time" }, - "deletions": { "type": "integer" }, - "diff_url": { "type": "string", "format": "uri" }, - "draft": { - "description": "Indicates whether or not the pull request is a draft.", - "type": "boolean" - }, - "head": { - "type": "object", - "properties": { - "label": { "type": "string" }, - "ref": { "type": "string" }, - "repo": { - "title": "Repository", - "description": "A git repository", - "type": ["object", "null"], - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { - "type": "string", - "format": "uri-template" - }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { - "type": "string", - "format": "uri-template" - }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { - "type": "string", - "format": "uri-template" - }, - "compare_url": { - "type": "string", - "format": "uri-template" - }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { - "type": "string", - "format": "uri-template" - }, - "keys_url": { - "type": "string", - "format": "uri-template" - }, - "labels_url": { - "type": "string", - "format": "uri-template" - }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merge_commit_message": { - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"] - }, - "merge_commit_title": { - "description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"] - }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { - "type": "string", - "format": "uri-template" - }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "squash_merge_commit_message": { - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"] - }, - "squash_merge_commit_title": { - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"] - }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { - "type": "array", - "items": { "type": "string" } - }, - "trees_url": { - "type": "string", - "format": "uri-template" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "use_squash_pr_title_as_default": { - "description": "Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.", - "type": "boolean", - "default": false - }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sha": { "type": "string" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": ["label", "ref", "sha", "user", "repo"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "issue_url": { "type": "string", "format": "uri" }, - "labels": { - "type": "array", - "items": { - "title": "Label", - "type": "object", - "properties": { - "color": { - "description": "6-character hex code, without the leading #, identifying the color", - "type": "string" - }, - "default": { "type": "boolean" }, - "description": { "type": ["string", "null"] }, - "id": { "type": "integer" }, - "name": { - "description": "The name of the label.", - "type": "string" - }, - "node_id": { "type": "string" }, - "url": { - "description": "URL for the label", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "node_id", - "url", - "name", - "color", - "default", - "description" - ] - } - }, - "locked": { "type": "boolean" }, - "maintainer_can_modify": { - "description": "Indicates whether maintainers can modify the pull request.", - "type": "boolean" - }, - "merge_commit_sha": { "type": ["string", "null"] }, - "mergeable": { "type": ["boolean", "null"] }, - "mergeable_state": { "type": "string" }, - "merged": { "type": ["boolean", "null"] }, - "merged_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "merged_by": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "milestone": { - "title": "Milestone", - "description": "A collection of related issues and pull requests.", - "type": ["object", "null"], - "properties": { - "closed_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "closed_issues": { "type": "integer" }, - "created_at": { "type": "string", "format": "date-time" }, - "creator": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "description": { "type": ["string", "null"] }, - "due_on": { - "type": ["string", "null"], - "format": "date-time" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "number": { - "description": "The number of the milestone.", - "type": "integer" - }, - "open_issues": { "type": "integer" }, - "state": { - "description": "The state of the milestone.", - "type": "string", - "enum": ["open", "closed"] - }, - "title": { - "description": "The title of the milestone.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "html_url", - "labels_url", - "id", - "node_id", - "number", - "title", - "description", - "creator", - "open_issues", - "closed_issues", - "state", - "created_at", - "updated_at", - "due_on", - "closed_at" - ] - }, - "node_id": { "type": "string" }, - "number": { - "description": "Number uniquely identifying the pull request within its repository.", - "type": "integer" - }, - "patch_url": { "type": "string", "format": "uri" }, - "rebaseable": { "type": ["boolean", "null"] }, - "requested_reviewers": { - "type": "array", - "items": { - "oneOf": [ - { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - } - ] - } - }, - "requested_teams": { - "type": "array", - "items": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "Name of the team", - "type": "string" - }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - } - }, - "review_comment_url": { - "type": "string", - "format": "uri-template" - }, - "review_comments": { "type": "integer" }, - "review_comments_url": { "type": "string", "format": "uri" }, - "state": { - "description": "State of this Pull Request. Either `open` or `closed`.", - "type": "string", - "enum": ["open", "closed"] - }, - "statuses_url": { "type": "string", "format": "uri" }, - "title": { - "description": "The title of the pull request.", - "type": "string" - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - }, - "required": [ - "url", - "id", - "node_id", - "html_url", - "diff_url", - "patch_url", - "issue_url", - "number", - "state", - "locked", - "title", - "user", - "body", - "created_at", - "updated_at", - "closed_at", - "merged_at", - "merge_commit_sha", - "assignee", - "assignees", - "requested_reviewers", - "requested_teams", - "labels", - "milestone", - "commits_url", - "review_comments_url", - "review_comment_url", - "comments_url", - "statuses_url", - "head", - "base", - "_links", - "author_association", - "auto_merge", - "active_lock_reason", - "draft" - ] - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "number", "pull_request", "repository", "sender"] - }, - "webhook-push": { - "title": "push event", - "type": "object", - "properties": { - "after": { - "description": "The SHA of the most recent commit on `ref` after the push.", - "type": "string" - }, - "base_ref": { - "$ref": "#/components/schemas/webhooks_nullable_string" - }, - "before": { - "description": "The SHA of the most recent commit on `ref` before the push.", - "type": "string" - }, - "commits": { - "description": "An array of commit objects describing the pushed commits. (Pushed commits are all commits that are included in the `compare` between the `before` commit and the `after` commit.) The array includes a maximum of 2048 commits. If necessary, you can use the [Commits API](https://docs.github.com/enterprise-server@3.13/rest/commits) to fetch additional commits.", - "type": "array", - "items": { - "title": "Commit", - "type": "object", - "properties": { - "added": { - "description": "An array of files added in the commit. A maximum of 3000 changed files will be reported per commit.", - "type": "array", - "items": { "type": "string" } - }, - "author": { - "title": "Committer", - "description": "Metaproperties for Git author/committer information.", - "type": "object", - "properties": { - "date": { "type": "string", "format": "date-time" }, - "email": { "type": ["string", "null"], "format": "email" }, - "name": { - "description": "The git author's name.", - "type": "string" - }, - "username": { "type": "string" } - }, - "required": ["email", "name"] - }, - "committer": { - "title": "Committer", - "description": "Metaproperties for Git author/committer information.", - "type": "object", - "properties": { - "date": { "type": "string", "format": "date-time" }, - "email": { "type": ["string", "null"], "format": "email" }, - "name": { - "description": "The git author's name.", - "type": "string" - }, - "username": { "type": "string" } - }, - "required": ["email", "name"] - }, - "distinct": { - "description": "Whether this commit is distinct from any that have been pushed before.", - "type": "boolean" - }, - "id": { "type": "string" }, - "message": { - "description": "The commit message.", - "type": "string" - }, - "modified": { - "description": "An array of files modified by the commit. A maximum of 3000 changed files will be reported per commit.", - "type": "array", - "items": { "type": "string" } - }, - "removed": { - "description": "An array of files removed in the commit. A maximum of 3000 changed files will be reported per commit.", - "type": "array", - "items": { "type": "string" } - }, - "timestamp": { - "description": "The ISO 8601 timestamp of the commit.", - "type": "string", - "format": "date-time" - }, - "tree_id": { "type": "string" }, - "url": { - "description": "URL that points to the commit API resource.", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "tree_id", - "distinct", - "message", - "timestamp", - "url", - "author", - "committer" - ] - } - }, - "compare": { - "description": "URL that shows the changes in this `ref` update, from the `before` commit to the `after` commit. For a newly created `ref` that is directly based on the default branch, this is the comparison between the head of the default branch and the `after` commit. Otherwise, this shows all commits until the `after` commit.", - "type": "string" - }, - "created": { - "description": "Whether this push created the `ref`.", - "type": "boolean" - }, - "deleted": { - "description": "Whether this push deleted the `ref`.", - "type": "boolean" - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "forced": { - "description": "Whether this push was a force push of the `ref`.", - "type": "boolean" - }, - "head_commit": { - "title": "Commit", - "type": ["object", "null"], - "properties": { - "added": { - "description": "An array of files added in the commit.", - "type": "array", - "items": { "type": "string" } - }, - "author": { - "title": "Committer", - "description": "Metaproperties for Git author/committer information.", - "type": "object", - "properties": { - "date": { "type": "string", "format": "date-time" }, - "email": { "type": ["string", "null"], "format": "email" }, - "name": { - "description": "The git author's name.", - "type": "string" - }, - "username": { "type": "string" } - }, - "required": ["email", "name"] - }, - "committer": { - "title": "Committer", - "description": "Metaproperties for Git author/committer information.", - "type": "object", - "properties": { - "date": { "type": "string", "format": "date-time" }, - "email": { "type": ["string", "null"], "format": "email" }, - "name": { - "description": "The git author's name.", - "type": "string" - }, - "username": { "type": "string" } - }, - "required": ["email", "name"] - }, - "distinct": { - "description": "Whether this commit is distinct from any that have been pushed before.", - "type": "boolean" - }, - "id": { "type": "string" }, - "message": { - "description": "The commit message.", - "type": "string" - }, - "modified": { - "description": "An array of files modified by the commit.", - "type": "array", - "items": { "type": "string" } - }, - "removed": { - "description": "An array of files removed in the commit.", - "type": "array", - "items": { "type": "string" } - }, - "timestamp": { - "description": "The ISO 8601 timestamp of the commit.", - "type": "string", - "format": "date-time" - }, - "tree_id": { "type": "string" }, - "url": { - "description": "URL that points to the commit API resource.", - "type": "string", - "format": "uri" - } - }, - "required": [ - "id", - "tree_id", - "distinct", - "message", - "timestamp", - "url", - "author", - "committer" - ] - }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "pusher": { - "title": "Committer", - "description": "Metaproperties for Git author/committer information.", - "type": "object", - "properties": { - "date": { "type": "string", "format": "date-time" }, - "email": { "type": ["string", "null"], "format": "email" }, - "name": { - "description": "The git author's name.", - "type": "string" - }, - "username": { "type": "string" } - }, - "required": ["name"] - }, - "ref": { - "description": "The full git ref that was pushed. Example: `refs/heads/main` or `refs/tags/v3.14.1`.", - "type": "string" - }, - "repository": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { "type": "string", "format": "uri-template" }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { "type": "string", "format": "uri-template" }, - "blobs_url": { "type": "string", "format": "uri-template" }, - "branches_url": { "type": "string", "format": "uri-template" }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { "type": "string", "format": "uri-template" }, - "commits_url": { "type": "string", "format": "uri-template" }, - "compare_url": { "type": "string", "format": "uri-template" }, - "contents_url": { "type": "string", "format": "uri-template" }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "custom_properties": { - "type": "object", - "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", - "additionalProperties": true - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { "type": "string", "format": "uri-template" }, - "git_refs_url": { "type": "string", "format": "uri-template" }, - "git_tags_url": { "type": "string", "format": "uri-template" }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "has_discussions": { - "description": "Whether discussions are enabled.", - "type": "boolean", - "default": false - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { "type": "string", "format": "uri-template" }, - "keys_url": { "type": "string", "format": "uri-template" }, - "labels_url": { "type": "string", "format": "uri-template" }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { "type": "string", "format": "uri-template" }, - "mirror_url": { "type": ["string", "null"], "format": "uri" }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { "type": "string", "format": "uri-template" }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { "type": "string", "format": "uri-template" }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { "type": "string", "format": "uri-template" }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { "type": "array", "items": { "type": "string" } }, - "trees_url": { "type": "string", "format": "uri-template" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" }, - "web_commit_signoff_required": { - "description": "Whether to require contributors to sign off on web-based commits", - "type": "boolean" - } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "has_discussions", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "ref", - "before", - "after", - "created", - "deleted", - "forced", - "base_ref", - "compare", - "commits", - "head_commit", - "repository", - "pusher" - ] - }, - "webhooks_nullable_string": { "type": ["string", "null"] }, - "webhook-registry-package-published": { - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["published"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "registry_package": { - "type": "object", - "properties": { - "created_at": { "type": ["string", "null"] }, - "description": { "type": ["string", "null"] }, - "ecosystem": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "name": { "type": "string" }, - "namespace": { "type": "string" }, - "owner": { - "type": "object", - "properties": { - "avatar_url": { "type": "string" }, - "events_url": { "type": "string" }, - "followers_url": { "type": "string" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string" }, - "received_events_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string" }, - "user_view_type": { "type": "string" } - }, - "required": [ - "login", - "id", - "node_id", - "avatar_url", - "gravatar_id", - "url", - "html_url", - "followers_url", - "following_url", - "gists_url", - "starred_url", - "subscriptions_url", - "organizations_url", - "repos_url", - "events_url", - "received_events_url", - "type", - "site_admin" - ] - }, - "package_type": { "type": "string" }, - "package_version": { - "type": ["object", "null"], - "properties": { - "author": { - "type": "object", - "properties": { - "avatar_url": { "type": "string" }, - "events_url": { "type": "string" }, - "followers_url": { "type": "string" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string" }, - "received_events_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string" }, - "user_view_type": { "type": "string" } - }, - "required": [ - "login", - "id", - "node_id", - "avatar_url", - "gravatar_id", - "url", - "html_url", - "followers_url", - "following_url", - "gists_url", - "starred_url", - "subscriptions_url", - "organizations_url", - "repos_url", - "events_url", - "received_events_url", - "type", - "site_admin" - ] - }, - "body": { - "oneOf": [{ "type": "string" }, { "type": "object" }] - }, - "body_html": { "type": "string" }, - "container_metadata": { - "type": "object", - "properties": { - "labels": { "type": ["object", "null"] }, - "manifest": { "type": ["object", "null"] }, - "tag": { - "type": "object", - "properties": { - "digest": { "type": "string" }, - "name": { "type": "string" } - } - } - } - }, - "created_at": { "type": "string" }, - "description": { "type": "string" }, - "docker_metadata": { - "type": "array", - "items": { - "type": "object", - "properties": { - "tags": { - "type": "array", - "items": { "type": "string" } - } - } - } - }, - "draft": { "type": "boolean" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "installation_command": { "type": "string" }, - "manifest": { "type": "string" }, - "metadata": { - "type": "array", - "items": { "type": "object", "additionalProperties": true } - }, - "name": { "type": "string" }, - "npm_metadata": { - "type": ["object", "null"], - "properties": { - "name": { "type": "string" }, - "version": { "type": "string" }, - "npm_user": { "type": "string" }, - "author": { - "oneOf": [{ "type": "string" }, { "type": "object" }], - "type": ["null", "string", "object"] - }, - "bugs": { - "oneOf": [{ "type": "string" }, { "type": "object" }], - "type": ["null", "string", "object"] - }, - "dependencies": { "type": "object" }, - "dev_dependencies": { "type": "object" }, - "peer_dependencies": { "type": "object" }, - "optional_dependencies": { "type": "object" }, - "description": { "type": "string" }, - "dist": { - "oneOf": [{ "type": "string" }, { "type": "object" }], - "type": ["null", "string", "object"] - }, - "git_head": { "type": "string" }, - "homepage": { "type": "string" }, - "license": { "type": "string" }, - "main": { "type": "string" }, - "repository": { - "oneOf": [{ "type": "string" }, { "type": "object" }], - "type": ["null", "string", "object"] - }, - "scripts": { "type": "object" }, - "id": { "type": "string" }, - "node_version": { "type": "string" }, - "npm_version": { "type": "string" }, - "has_shrinkwrap": { "type": "boolean" }, - "maintainers": { - "type": "array", - "items": { "type": "string" } - }, - "contributors": { - "type": "array", - "items": { "type": "string" } - }, - "engines": { "type": "object" }, - "keywords": { - "type": "array", - "items": { "type": "string" } - }, - "files": { - "type": "array", - "items": { "type": "string" } - }, - "bin": { "type": "object" }, - "man": { "type": "object" }, - "directories": { - "oneOf": [{ "type": "string" }, { "type": "object" }], - "type": ["null", "string", "object"] - }, - "os": { "type": "array", "items": { "type": "string" } }, - "cpu": { "type": "array", "items": { "type": "string" } }, - "readme": { "type": "string" }, - "installation_command": { "type": "string" }, - "release_id": { "type": "integer" }, - "commit_oid": { "type": "string" }, - "published_via_actions": { "type": "boolean" }, - "deleted_by_id": { "type": "integer" } - } - }, - "nuget_metadata": { - "type": ["array", "null"], - "items": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { "type": "string" }, - { "type": "object" }, - { "type": "integer" } - ], - "type": ["null", "string", "object", "integer"] - }, - "name": { "type": "string" }, - "value": { - "oneOf": [ - { "type": "boolean" }, - { "type": "string" }, - { "type": "integer" }, - { - "type": "object", - "properties": { - "url": { "type": "string" }, - "branch": { "type": "string" }, - "commit": { "type": "string" }, - "type": { "type": "string" } - } - } - ] - } - } - } - }, - "package_files": { - "type": "array", - "items": { - "type": "object", - "properties": { - "content_type": { "type": "string" }, - "created_at": { "type": "string" }, - "download_url": { "type": "string" }, - "id": { "type": "integer" }, - "md5": { "type": ["string", "null"] }, - "name": { "type": "string" }, - "sha1": { "type": ["string", "null"] }, - "sha256": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "state": { "type": ["string", "null"] }, - "updated_at": { "type": "string" } - }, - "required": [ - "download_url", - "id", - "name", - "sha256", - "sha1", - "md5", - "content_type", - "state", - "size", - "created_at", - "updated_at" - ] - } - }, - "package_url": { "type": "string" }, - "prerelease": { "type": "boolean" }, - "release": { - "type": "object", - "properties": { - "author": { - "type": "object", - "properties": { - "avatar_url": { "type": "string" }, - "events_url": { "type": "string" }, - "followers_url": { "type": "string" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string" }, - "received_events_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string" }, - "user_view_type": { "type": "string" } - } - }, - "created_at": { "type": "string" }, - "draft": { "type": "boolean" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "name": { "type": ["string", "null"] }, - "prerelease": { "type": "boolean" }, - "published_at": { "type": "string" }, - "tag_name": { "type": "string" }, - "target_commitish": { "type": "string" }, - "url": { "type": "string" } - } - }, - "rubygems_metadata": { - "type": "array", - "items": { - "$ref": "#/components/schemas/webhook-rubygems-metadata" - } - }, - "summary": { "type": "string" }, - "tag_name": { "type": "string" }, - "target_commitish": { "type": "string" }, - "target_oid": { "type": "string" }, - "updated_at": { "type": "string" }, - "version": { "type": "string" } - }, - "required": [ - "id", - "version", - "name", - "description", - "summary", - "html_url", - "metadata", - "package_files", - "installation_command", - "package_url" - ] - }, - "registry": { - "type": ["object", "null"], - "properties": { - "about_url": { "type": "string" }, - "name": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string" }, - "vendor": { "type": "string" } - } - }, - "updated_at": { "type": ["string", "null"] } - }, - "required": [ - "id", - "name", - "namespace", - "description", - "ecosystem", - "package_type", - "html_url", - "created_at", - "updated_at", - "owner", - "package_version", - "registry" - ] - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "registry_package", "sender"] - }, - "webhook-registry-package-updated": { - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["updated"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "registry_package": { - "type": "object", - "properties": { - "created_at": { "type": "string" }, - "description": { "type": ["null"] }, - "ecosystem": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "name": { "type": "string" }, - "namespace": { "type": "string" }, - "owner": { - "type": "object", - "properties": { - "avatar_url": { "type": "string" }, - "events_url": { "type": "string" }, - "followers_url": { "type": "string" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string" }, - "received_events_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string" }, - "user_view_type": { "type": "string" } - }, - "required": [ - "login", - "id", - "node_id", - "avatar_url", - "gravatar_id", - "url", - "html_url", - "followers_url", - "following_url", - "gists_url", - "starred_url", - "subscriptions_url", - "organizations_url", - "repos_url", - "events_url", - "received_events_url", - "type", - "site_admin" - ] - }, - "package_type": { "type": "string" }, - "package_version": { - "type": "object", - "properties": { - "author": { - "type": "object", - "properties": { - "avatar_url": { "type": "string" }, - "events_url": { "type": "string" }, - "followers_url": { "type": "string" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string" }, - "received_events_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string" }, - "user_view_type": { "type": "string" } - }, - "required": [ - "login", - "id", - "node_id", - "avatar_url", - "gravatar_id", - "url", - "html_url", - "followers_url", - "following_url", - "gists_url", - "starred_url", - "subscriptions_url", - "organizations_url", - "repos_url", - "events_url", - "received_events_url", - "type", - "site_admin" - ] - }, - "body": { "type": "string" }, - "body_html": { "type": "string" }, - "created_at": { "type": "string" }, - "description": { "type": "string" }, - "docker_metadata": { - "type": "array", - "items": { - "type": ["object", "null"], - "properties": { - "tags": { - "type": "array", - "items": { "type": "string" } - } - } - } - }, - "draft": { "type": "boolean" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "installation_command": { "type": "string" }, - "manifest": { "type": "string" }, - "metadata": { - "type": "array", - "items": { "type": "object", "additionalProperties": true } - }, - "name": { "type": "string" }, - "package_files": { - "type": "array", - "items": { - "type": "object", - "properties": { - "content_type": { "type": "string" }, - "created_at": { "type": "string" }, - "download_url": { "type": "string" }, - "id": { "type": "integer" }, - "md5": { "type": ["string", "null"] }, - "name": { "type": "string" }, - "sha1": { "type": ["string", "null"] }, - "sha256": { "type": "string" }, - "size": { "type": "integer" }, - "state": { "type": "string" }, - "updated_at": { "type": "string" } - } - } - }, - "package_url": { "type": "string" }, - "prerelease": { "type": "boolean" }, - "release": { - "type": "object", - "properties": { - "author": { - "type": "object", - "properties": { - "avatar_url": { "type": "string" }, - "events_url": { "type": "string" }, - "followers_url": { "type": "string" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string" }, - "received_events_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string" }, - "user_view_type": { "type": "string" } - }, - "required": [ - "login", - "id", - "node_id", - "avatar_url", - "gravatar_id", - "url", - "html_url", - "followers_url", - "following_url", - "gists_url", - "starred_url", - "subscriptions_url", - "organizations_url", - "repos_url", - "events_url", - "received_events_url", - "type", - "site_admin" - ] - }, - "created_at": { "type": "string" }, - "draft": { "type": "boolean" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "name": { "type": "string" }, - "prerelease": { "type": "boolean" }, - "published_at": { "type": "string" }, - "tag_name": { "type": "string" }, - "target_commitish": { "type": "string" }, - "url": { "type": "string" } - }, - "required": [ - "url", - "html_url", - "id", - "tag_name", - "target_commitish", - "name", - "draft", - "author", - "prerelease", - "created_at", - "published_at" - ] - }, - "rubygems_metadata": { - "type": "array", - "items": { - "$ref": "#/components/schemas/webhook-rubygems-metadata" - } - }, - "summary": { "type": "string" }, - "tag_name": { "type": "string" }, - "target_commitish": { "type": "string" }, - "target_oid": { "type": "string" }, - "updated_at": { "type": "string" }, - "version": { "type": "string" } - }, - "required": [ - "id", - "version", - "name", - "description", - "summary", - "body", - "body_html", - "html_url", - "target_commitish", - "target_oid", - "created_at", - "updated_at", - "metadata", - "package_files", - "author", - "installation_command", - "package_url" - ] - }, - "registry": { "type": ["object", "null"] }, - "updated_at": { "type": "string" } - }, - "required": [ - "id", - "name", - "namespace", - "description", - "ecosystem", - "package_type", - "html_url", - "created_at", - "updated_at", - "owner", - "package_version", - "registry" - ] - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "registry_package", "sender"] - }, - "webhook-release-created": { - "title": "release created event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "release": { "$ref": "#/components/schemas/webhooks_release" }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "release", "repository", "sender"] - }, - "webhooks_release": { - "title": "Release", - "description": "The [release](https://docs.github.com/enterprise-server@3.13/rest/releases/releases/#get-a-release) object.", - "type": "object", - "properties": { - "assets": { - "type": "array", - "items": { - "title": "Release Asset", - "description": "Data related to a release.", - "type": "object", - "properties": { - "browser_download_url": { "type": "string", "format": "uri" }, - "content_type": { "type": "string" }, - "created_at": { "type": "string", "format": "date-time" }, - "download_count": { "type": "integer" }, - "id": { "type": "integer" }, - "label": { "type": ["string", "null"] }, - "name": { - "description": "The file name of the asset.", - "type": "string" - }, - "node_id": { "type": "string" }, - "size": { "type": "integer" }, - "digest": { "type": ["string", "null"] }, - "state": { - "description": "State of the release asset.", - "type": "string", - "enum": ["uploaded"] - }, - "updated_at": { "type": "string", "format": "date-time" }, - "uploader": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["login", "id"] - }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "browser_download_url", - "id", - "node_id", - "name", - "label", - "state", - "digest", - "content_type", - "size", - "download_count", - "created_at", - "updated_at" - ] - } - }, - "assets_url": { "type": "string", "format": "uri" }, - "author": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "body": { "type": ["string", "null"] }, - "created_at": { "type": ["string", "null"], "format": "date-time" }, - "discussion_url": { "type": "string", "format": "uri" }, - "draft": { - "description": "Whether the release is a draft or published", - "type": "boolean" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "name": { "type": ["string", "null"] }, - "node_id": { "type": "string" }, - "prerelease": { - "description": "Whether the release is identified as a prerelease or a full release.", - "type": "boolean" - }, - "published_at": { "type": ["string", "null"], "format": "date-time" }, - "reactions": { - "title": "Reactions", - "type": "object", - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ] - }, - "tag_name": { - "description": "The name of the tag.", - "type": "string" - }, - "tarball_url": { "type": ["string", "null"], "format": "uri" }, - "target_commitish": { - "description": "Specifies the commitish value that determines where the Git tag is created from.", - "type": "string" - }, - "upload_url": { "type": "string", "format": "uri-template" }, - "url": { "type": "string", "format": "uri" }, - "zipball_url": { "type": ["string", "null"], "format": "uri" } - }, - "required": [ - "url", - "assets_url", - "upload_url", - "html_url", - "id", - "node_id", - "tag_name", - "target_commitish", - "name", - "draft", - "author", - "prerelease", - "created_at", - "published_at", - "assets", - "tarball_url", - "zipball_url", - "body" - ] - }, - "webhook-release-deleted": { - "title": "release deleted event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["deleted"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "release": { "$ref": "#/components/schemas/webhooks_release" }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "release", "repository", "sender"] - }, - "webhook-release-edited": { - "title": "release edited event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["edited"] }, - "changes": { - "type": "object", - "properties": { - "body": { - "type": "object", - "properties": { - "from": { - "description": "The previous version of the body if the action was `edited`.", - "type": "string" - } - }, - "required": ["from"] - }, - "name": { - "type": "object", - "properties": { - "from": { - "description": "The previous version of the name if the action was `edited`.", - "type": "string" - } - }, - "required": ["from"] - }, - "tag_name": { - "type": "object", - "properties": { - "from": { - "description": "The previous version of the tag_name if the action was `edited`.", - "type": "string" - } - }, - "required": ["from"] - }, - "make_latest": { - "type": "object", - "properties": { - "to": { - "description": "Whether this release was explicitly `edited` to be the latest.", - "type": "boolean" - } - }, - "required": ["to"] - } - } - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "release": { "$ref": "#/components/schemas/webhooks_release" }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "changes", "release", "repository"] - }, - "webhook-release-prereleased": { - "title": "release prereleased event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["prereleased"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "release": { - "title": "Release", - "description": "The [release](https://docs.github.com/enterprise-server@3.13/rest/releases/releases/#get-a-release) object.", - "type": "object", - "required": [ - "assets", - "assets_url", - "author", - "body", - "created_at", - "draft", - "html_url", - "id", - "name", - "node_id", - "prerelease", - "published_at", - "tag_name", - "tarball_url", - "target_commitish", - "upload_url", - "url", - "zipball_url" - ], - "properties": { - "assets": { - "type": "array", - "items": { - "title": "Release Asset", - "description": "Data related to a release.", - "type": ["object", "null"], - "required": [ - "url", - "browser_download_url", - "id", - "node_id", - "name", - "label", - "state", - "digest", - "content_type", - "size", - "download_count", - "created_at", - "updated_at" - ], - "properties": { - "browser_download_url": { - "type": "string", - "format": "uri" - }, - "content_type": { "type": "string" }, - "created_at": { "type": "string", "format": "date-time" }, - "download_count": { "type": "integer" }, - "id": { "type": "integer" }, - "label": { "type": ["string", "null"] }, - "name": { - "description": "The file name of the asset.", - "type": "string" - }, - "node_id": { "type": "string" }, - "size": { "type": "integer" }, - "digest": { "type": ["string", "null"] }, - "state": { - "description": "State of the release asset.", - "type": "string", - "enum": ["uploaded"] - }, - "updated_at": { "type": "string", "format": "date-time" }, - "uploader": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" } - } - }, - "url": { "type": "string", "format": "uri" } - } - } - }, - "assets_url": { "type": "string", "format": "uri" }, - "author": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - } - }, - "body": { "type": ["string", "null"] }, - "created_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "discussion_url": { "type": "string", "format": "uri" }, - "draft": { - "description": "Whether the release is a draft or published", - "type": "boolean" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "name": { "type": ["string", "null"] }, - "node_id": { "type": "string" }, - "prerelease": { - "description": "Whether the release is identified as a prerelease or a full release.", - "type": "boolean", - "enum": [true] - }, - "published_at": { - "type": ["string", "null"], - "format": "date-time" - }, - "reactions": { - "title": "Reactions", - "type": "object", - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ], - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - } - }, - "tag_name": { - "description": "The name of the tag.", - "type": "string" - }, - "tarball_url": { "type": ["string", "null"], "format": "uri" }, - "target_commitish": { - "description": "Specifies the commitish value that determines where the Git tag is created from.", - "type": "string" - }, - "upload_url": { "type": "string", "format": "uri-template" }, - "url": { "type": "string", "format": "uri" }, - "zipball_url": { "type": ["string", "null"], "format": "uri" } - } - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "release", "repository"] - }, - "webhook-release-published": { - "title": "release published event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["published"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "release": { "$ref": "#/components/schemas/webhooks_release_1" }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "release", "repository"] - }, - "webhooks_release_1": { - "title": "Release", - "description": "The [release](https://docs.github.com/enterprise-server@3.13/rest/releases/releases/#get-a-release) object.", - "type": "object", - "required": [ - "assets", - "assets_url", - "author", - "body", - "created_at", - "draft", - "html_url", - "id", - "name", - "node_id", - "prerelease", - "published_at", - "tag_name", - "tarball_url", - "target_commitish", - "upload_url", - "url", - "zipball_url" - ], - "properties": { - "assets": { - "type": "array", - "items": { - "title": "Release Asset", - "description": "Data related to a release.", - "type": ["object", "null"], - "required": [ - "url", - "browser_download_url", - "id", - "node_id", - "name", - "label", - "state", - "content_type", - "size", - "digest", - "download_count", - "created_at", - "updated_at" - ], - "properties": { - "browser_download_url": { "type": "string", "format": "uri" }, - "content_type": { "type": "string" }, - "created_at": { "type": "string", "format": "date-time" }, - "download_count": { "type": "integer" }, - "id": { "type": "integer" }, - "label": { "type": ["string", "null"] }, - "name": { - "description": "The file name of the asset.", - "type": "string" - }, - "node_id": { "type": "string" }, - "size": { "type": "integer" }, - "digest": { "type": ["string", "null"] }, - "state": { - "description": "State of the release asset.", - "type": "string", - "enum": ["uploaded"] - }, - "updated_at": { "type": "string", "format": "date-time" }, - "uploader": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" } - } - }, - "url": { "type": "string", "format": "uri" } - } - } - }, - "assets_url": { "type": "string", "format": "uri" }, - "author": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - } - }, - "body": { "type": ["string", "null"] }, - "created_at": { "type": ["string", "null"], "format": "date-time" }, - "discussion_url": { "type": "string", "format": "uri" }, - "draft": { - "description": "Whether the release is a draft or published", - "type": "boolean" - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "name": { "type": ["string", "null"] }, - "node_id": { "type": "string" }, - "prerelease": { - "description": "Whether the release is identified as a prerelease or a full release.", - "type": "boolean" - }, - "published_at": { "type": ["string", "null"], "format": "date-time" }, - "reactions": { - "title": "Reactions", - "type": "object", - "required": [ - "url", - "total_count", - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "eyes", - "rocket" - ], - "properties": { - "+1": { "type": "integer" }, - "-1": { "type": "integer" }, - "confused": { "type": "integer" }, - "eyes": { "type": "integer" }, - "heart": { "type": "integer" }, - "hooray": { "type": "integer" }, - "laugh": { "type": "integer" }, - "rocket": { "type": "integer" }, - "total_count": { "type": "integer" }, - "url": { "type": "string", "format": "uri" } - } - }, - "tag_name": { - "description": "The name of the tag.", - "type": "string" - }, - "tarball_url": { "type": ["string", "null"], "format": "uri" }, - "target_commitish": { - "description": "Specifies the commitish value that determines where the Git tag is created from.", - "type": "string" - }, - "upload_url": { "type": "string", "format": "uri-template" }, - "url": { "type": "string", "format": "uri" }, - "zipball_url": { "type": ["string", "null"], "format": "uri" } - } - }, - "webhook-release-released": { - "title": "release released event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["released"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "release": { "$ref": "#/components/schemas/webhooks_release" }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "release", "repository"] - }, - "webhook-release-unpublished": { - "title": "release unpublished event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["unpublished"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "release": { "$ref": "#/components/schemas/webhooks_release_1" }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "release", "repository"] - }, - "webhook-repository-anonymous-access-disabled": { - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["anonymous_access_disabled"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action"] - }, - "webhook-repository-anonymous-access-enabled": { - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["anonymous_access_enabled"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action"] - }, - "webhook-repository-archived": { - "title": "repository archived event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["archived"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "repository", "sender"] - }, - "webhook-repository-created": { - "title": "repository created event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "repository", "sender"] - }, - "webhook-repository-deleted": { - "title": "repository deleted event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["deleted"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "repository", "sender"] - }, - "webhook-repository-dispatch-sample": { - "title": "repository_dispatch event", - "type": "object", - "properties": { - "action": { - "type": "string", - "description": "The `event_type` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body." - }, - "branch": { "type": "string" }, - "client_payload": { - "type": ["object", "null"], - "additionalProperties": true, - "description": "The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body." - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": [ - "action", - "branch", - "client_payload", - "repository", - "sender", - "installation" - ] - }, - "webhook-repository-edited": { - "title": "repository edited event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["edited"] }, - "changes": { - "type": "object", - "properties": { - "default_branch": { - "type": "object", - "properties": { "from": { "type": "string" } }, - "required": ["from"] - }, - "description": { - "type": "object", - "properties": { "from": { "type": ["string", "null"] } }, - "required": ["from"] - }, - "homepage": { - "type": "object", - "properties": { "from": { "type": ["string", "null"] } }, - "required": ["from"] - }, - "topics": { - "type": "object", - "properties": { - "from": { - "type": ["array", "null"], - "items": { "type": "string" } - } - } - } - } - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "changes", "repository", "sender"] - }, - "webhook-repository-privatized": { - "title": "repository privatized event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["privatized"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "repository", "sender"] - }, - "webhook-repository-publicized": { - "title": "repository publicized event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["publicized"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "repository", "sender"] - }, - "webhook-repository-renamed": { - "title": "repository renamed event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["renamed"] }, - "changes": { - "type": "object", - "properties": { - "repository": { - "type": "object", - "properties": { - "name": { - "type": "object", - "properties": { "from": { "type": "string" } }, - "required": ["from"] - } - }, - "required": ["name"] - } - }, - "required": ["repository"] - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "changes", "repository", "sender"] - }, - "webhook-repository-ruleset-created": { - "title": "repository ruleset created event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "repository_ruleset": { - "$ref": "#/components/schemas/repository-ruleset" - }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "repository_ruleset", "sender"] - }, - "repository-ruleset": { - "title": "Repository ruleset", - "type": "object", - "description": "A set of rules to apply when specified conditions are met.", - "required": ["id", "name", "source", "enforcement"], - "properties": { - "id": { "type": "integer", "description": "The ID of the ruleset" }, - "name": { - "type": "string", - "description": "The name of the ruleset" - }, - "target": { - "type": "string", - "description": "The target of the ruleset.", - "enum": ["branch", "tag", "push"] - }, - "source_type": { - "type": "string", - "description": "The type of the source of the ruleset", - "enum": ["Repository", "Organization"] - }, - "source": { - "type": "string", - "description": "The name of the source" - }, - "enforcement": { - "$ref": "#/components/schemas/repository-rule-enforcement" - }, - "bypass_actors": { - "type": "array", - "description": "The actors that can bypass the rules in this ruleset", - "items": { - "$ref": "#/components/schemas/repository-ruleset-bypass-actor" - } - }, - "current_user_can_bypass": { - "type": "string", - "description": "The bypass type of the user making the API request for this ruleset. This field is only returned when\nquerying the repository-level endpoint.", - "enum": ["always", "pull_requests_only", "never"] - }, - "node_id": { "type": "string" }, - "_links": { - "type": "object", - "properties": { - "self": { - "type": "object", - "properties": { - "href": { - "type": "string", - "description": "The URL of the ruleset" - } - } - }, - "html": { - "type": ["object", "null"], - "properties": { - "href": { - "type": "string", - "description": "The html URL of the ruleset" - } - } - } - } - }, - "conditions": { - "anyOf": [ - { "$ref": "#/components/schemas/repository-ruleset-conditions" }, - { "$ref": "#/components/schemas/org-ruleset-conditions" } - ], - "type": ["null", "object"] - }, - "rules": { - "type": "array", - "items": { "$ref": "#/components/schemas/repository-rule" } - }, - "created_at": { "type": "string", "format": "date-time" }, - "updated_at": { "type": "string", "format": "date-time" } - } - }, - "repository-rule-enforcement": { - "type": "string", - "description": "The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights on the Rule Insights page. `evaluate` is not available for the `repository` target.", - "enum": ["disabled", "active", "evaluate"] - }, - "repository-ruleset-bypass-actor": { - "title": "Repository Ruleset Bypass Actor", - "type": "object", - "description": "An actor that can bypass rules in a ruleset", - "required": ["actor_id", "actor_type", "bypass_mode"], - "properties": { - "actor_id": { - "type": "integer", - "description": "The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`." - }, - "actor_type": { - "type": "string", - "enum": [ - "Integration", - "OrganizationAdmin", - "RepositoryRole", - "Team" - ], - "description": "The type of actor that can bypass a ruleset" - }, - "bypass_mode": { - "type": "string", - "description": "When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` is not applicable for the `DeployKey` actor type. Also, `pull_request` is only applicable to branch rulesets.", - "enum": ["always", "pull_request"], - "default": "always" - } - } - }, - "repository-ruleset-conditions": { - "title": "Repository ruleset conditions for ref names", - "type": "object", - "description": "Parameters for a repository ruleset ref name condition", - "properties": { - "ref_name": { - "type": "object", - "properties": { - "include": { - "type": "array", - "description": "Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~DEFAULT_BRANCH` to include the default branch or `~ALL` to include all branches.", - "items": { "type": "string" } - }, - "exclude": { - "type": "array", - "description": "Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.", - "items": { "type": "string" } - } - } - } - } - }, - "org-ruleset-conditions": { - "title": "Organization ruleset conditions", - "type": "object", - "description": "Conditions for an organization ruleset.\nThe branch and tag rulesets conditions object should contain both `repository_name` and `ref_name` properties, or both `repository_id` and `ref_name` properties, or both `repository_property` and `ref_name` properties.\nThe push rulesets conditions object does not require the `ref_name` property.", - "oneOf": [ - { - "type": "object", - "title": "repository_name_and_ref_name", - "description": "Conditions to target repositories by name and refs by name", - "allOf": [ - { "$ref": "#/components/schemas/repository-ruleset-conditions" }, - { - "$ref": "#/components/schemas/repository-ruleset-conditions-repository-name-target" - } - ] - }, - { - "type": "object", - "title": "repository_id_and_ref_name", - "description": "Conditions to target repositories by id and refs by name", - "allOf": [ - { "$ref": "#/components/schemas/repository-ruleset-conditions" }, - { - "$ref": "#/components/schemas/repository-ruleset-conditions-repository-id-target" - } - ] - }, - { - "type": "object", - "title": "repository_property_and_ref_name", - "description": "Conditions to target repositories by property and refs by name", - "allOf": [ - { "$ref": "#/components/schemas/repository-ruleset-conditions" }, - { - "$ref": "#/components/schemas/repository-ruleset-conditions-repository-property-target" - } - ] - } - ] - }, - "repository-ruleset-conditions-repository-name-target": { - "title": "Repository ruleset conditions for repository names", - "type": "object", - "description": "Parameters for a repository name condition", - "properties": { - "repository_name": { - "type": "object", - "properties": { - "include": { - "type": "array", - "description": "Array of repository names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~ALL` to include all repositories.", - "items": { "type": "string" } - }, - "exclude": { - "type": "array", - "description": "Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match.", - "items": { "type": "string" } - }, - "protected": { - "type": "boolean", - "description": "Whether renaming of target repositories is prevented." - } - } - } - }, - "required": ["repository_name"] - }, - "repository-ruleset-conditions-repository-id-target": { - "title": "Repository ruleset conditions for repository IDs", - "type": "object", - "description": "Parameters for a repository ID condition", - "properties": { - "repository_id": { - "type": "object", - "properties": { - "repository_ids": { - "type": "array", - "description": "The repository IDs that the ruleset applies to. One of these IDs must match for the condition to pass.", - "items": { "type": "integer" } - } - } - } - }, - "required": ["repository_id"] - }, - "repository-ruleset-conditions-repository-property-target": { - "title": "Repository ruleset conditions for repository properties", - "type": "object", - "description": "Parameters for a repository property condition", - "properties": { - "repository_property": { - "type": "object", - "properties": { - "include": { - "type": "array", - "description": "The repository properties and values to include. All of these properties must match for the condition to pass.", - "items": { - "$ref": "#/components/schemas/repository-ruleset-conditions-repository-property-spec" - } - }, - "exclude": { - "type": "array", - "description": "The repository properties and values to exclude. The condition will not pass if any of these properties match.", - "items": { - "$ref": "#/components/schemas/repository-ruleset-conditions-repository-property-spec" - } - } - } - } - }, - "required": ["repository_property"] - }, - "repository-ruleset-conditions-repository-property-spec": { - "title": "Repository ruleset property targeting definition", - "type": "object", - "description": "Parameters for a targeting a repository property", - "properties": { - "name": { - "type": "string", - "description": "The name of the repository property to target" - }, - "property_values": { - "type": "array", - "description": "The values to match for the repository property", - "items": { "type": "string" } - }, - "source": { - "type": "string", - "description": "The source of the repository property. Defaults to 'custom' if not specified.", - "enum": ["custom", "system"] - } - }, - "required": ["name", "property_values"] - }, - "repository-rule": { - "title": "Repository Rule", - "type": "object", - "description": "A repository rule.", - "oneOf": [ - { "$ref": "#/components/schemas/repository-rule-creation" }, - { "$ref": "#/components/schemas/repository-rule-update" }, - { "$ref": "#/components/schemas/repository-rule-deletion" }, - { - "$ref": "#/components/schemas/repository-rule-required-linear-history" - }, - { - "$ref": "#/components/schemas/repository-rule-required-deployments" - }, - { - "$ref": "#/components/schemas/repository-rule-required-signatures" - }, - { "$ref": "#/components/schemas/repository-rule-pull-request" }, - { - "$ref": "#/components/schemas/repository-rule-required-status-checks" - }, - { "$ref": "#/components/schemas/repository-rule-non-fast-forward" }, - { - "$ref": "#/components/schemas/repository-rule-commit-message-pattern" - }, - { - "$ref": "#/components/schemas/repository-rule-commit-author-email-pattern" - }, - { - "$ref": "#/components/schemas/repository-rule-committer-email-pattern" - }, - { - "$ref": "#/components/schemas/repository-rule-branch-name-pattern" - }, - { "$ref": "#/components/schemas/repository-rule-tag-name-pattern" }, - { "$ref": "#/components/schemas/repository-rule-workflows" } - ] - }, - "repository-rule-creation": { - "title": "creation", - "description": "Only allow users with bypass permission to create matching refs.", - "type": "object", - "required": ["type"], - "properties": { "type": { "type": "string", "enum": ["creation"] } } - }, - "repository-rule-update": { - "title": "update", - "description": "Only allow users with bypass permission to update matching refs.", - "type": "object", - "required": ["type"], - "properties": { - "type": { "type": "string", "enum": ["update"] }, - "parameters": { - "type": "object", - "properties": { - "update_allows_fetch_and_merge": { - "type": "boolean", - "description": "Branch can pull changes from its upstream repository" - } - }, - "required": ["update_allows_fetch_and_merge"] - } - } - }, - "repository-rule-deletion": { - "title": "deletion", - "description": "Only allow users with bypass permissions to delete matching refs.", - "type": "object", - "required": ["type"], - "properties": { "type": { "type": "string", "enum": ["deletion"] } } - }, - "repository-rule-required-linear-history": { - "title": "required_linear_history", - "description": "Prevent merge commits from being pushed to matching refs.", - "type": "object", - "required": ["type"], - "properties": { - "type": { "type": "string", "enum": ["required_linear_history"] } - } - }, - "repository-rule-required-deployments": { - "title": "required_deployments", - "description": "Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches this rule.", - "type": "object", - "required": ["type"], - "properties": { - "type": { "type": "string", "enum": ["required_deployments"] }, - "parameters": { - "type": "object", - "properties": { - "required_deployment_environments": { - "type": "array", - "description": "The environments that must be successfully deployed to before branches can be merged.", - "items": { "type": "string" } - } - }, - "required": ["required_deployment_environments"] - } - } - }, - "repository-rule-required-signatures": { - "title": "required_signatures", - "description": "Commits pushed to matching refs must have verified signatures.", - "type": "object", - "required": ["type"], - "properties": { - "type": { "type": "string", "enum": ["required_signatures"] } - } - }, - "repository-rule-pull-request": { - "title": "pull_request", - "description": "Require all commits be made to a non-target branch and submitted via a pull request before they can be merged.", - "type": "object", - "required": ["type"], - "properties": { - "type": { "type": "string", "enum": ["pull_request"] }, - "parameters": { - "type": "object", - "properties": { - "automatic_copilot_code_review_enabled": { - "type": "boolean", - "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." - }, - "dismiss_stale_reviews_on_push": { - "type": "boolean", - "description": "New, reviewable commits pushed will dismiss previous pull request review approvals." - }, - "require_code_owner_review": { - "type": "boolean", - "description": "Require an approving review in pull requests that modify files that have a designated code owner." - }, - "require_last_push_approval": { - "type": "boolean", - "description": "Whether the most recent reviewable push must be approved by someone other than the person who pushed it." - }, - "required_approving_review_count": { - "type": "integer", - "description": "The number of approving reviews that are required before a pull request can be merged.", - "minimum": 0, - "maximum": 10 - }, - "required_review_thread_resolution": { - "type": "boolean", - "description": "All conversations on code must be resolved before a pull request can be merged." - } - }, - "required": [ - "dismiss_stale_reviews_on_push", - "require_code_owner_review", - "require_last_push_approval", - "required_approving_review_count", - "required_review_thread_resolution" - ] - } - } - }, - "repository-rule-required-status-checks": { - "title": "required_status_checks", - "description": "Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed to another ref where the checks pass.", - "type": "object", - "required": ["type"], - "properties": { - "type": { "type": "string", "enum": ["required_status_checks"] }, - "parameters": { - "type": "object", - "properties": { - "do_not_enforce_on_create": { - "type": "boolean", - "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." - }, - "required_status_checks": { - "type": "array", - "description": "Status checks that are required.", - "items": { - "$ref": "#/components/schemas/repository-rule-params-status-check-configuration" - } - }, - "strict_required_status_checks_policy": { - "type": "boolean", - "description": "Whether pull requests targeting a matching branch must be tested with the latest code. This setting will not take effect unless at least one status check is enabled." - } - }, - "required": [ - "required_status_checks", - "strict_required_status_checks_policy" - ] - } - } - }, - "repository-rule-params-status-check-configuration": { - "title": "StatusCheckConfiguration", - "description": "Required status check", - "type": "object", - "properties": { - "context": { - "type": "string", - "description": "The status check context name that must be present on the commit." - }, - "integration_id": { - "type": "integer", - "description": "The optional integration ID that this status check must originate from." - } - }, - "required": ["context"] - }, - "repository-rule-non-fast-forward": { - "title": "non_fast_forward", - "description": "Prevent users with push access from force pushing to refs.", - "type": "object", - "required": ["type"], - "properties": { - "type": { "type": "string", "enum": ["non_fast_forward"] } - } - }, - "repository-rule-commit-message-pattern": { - "title": "commit_message_pattern", - "description": "Parameters to be used for the commit_message_pattern rule", - "type": "object", - "required": ["type"], - "properties": { - "type": { "type": "string", "enum": ["commit_message_pattern"] }, - "parameters": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "How this rule will appear to users." - }, - "negate": { - "type": "boolean", - "description": "If true, the rule will fail if the pattern matches." - }, - "operator": { - "type": "string", - "description": "The operator to use for matching.", - "enum": ["starts_with", "ends_with", "contains", "regex"] - }, - "pattern": { - "type": "string", - "description": "The pattern to match with." - } - }, - "required": ["operator", "pattern"] - } - } - }, - "repository-rule-commit-author-email-pattern": { - "title": "commit_author_email_pattern", - "description": "Parameters to be used for the commit_author_email_pattern rule", - "type": "object", - "required": ["type"], - "properties": { - "type": { "type": "string", "enum": ["commit_author_email_pattern"] }, - "parameters": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "How this rule will appear to users." - }, - "negate": { - "type": "boolean", - "description": "If true, the rule will fail if the pattern matches." - }, - "operator": { - "type": "string", - "description": "The operator to use for matching.", - "enum": ["starts_with", "ends_with", "contains", "regex"] - }, - "pattern": { - "type": "string", - "description": "The pattern to match with." - } - }, - "required": ["operator", "pattern"] - } - } - }, - "repository-rule-committer-email-pattern": { - "title": "committer_email_pattern", - "description": "Parameters to be used for the committer_email_pattern rule", - "type": "object", - "required": ["type"], - "properties": { - "type": { "type": "string", "enum": ["committer_email_pattern"] }, - "parameters": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "How this rule will appear to users." - }, - "negate": { - "type": "boolean", - "description": "If true, the rule will fail if the pattern matches." - }, - "operator": { - "type": "string", - "description": "The operator to use for matching.", - "enum": ["starts_with", "ends_with", "contains", "regex"] - }, - "pattern": { - "type": "string", - "description": "The pattern to match with." - } - }, - "required": ["operator", "pattern"] - } - } - }, - "repository-rule-branch-name-pattern": { - "title": "branch_name_pattern", - "description": "Parameters to be used for the branch_name_pattern rule", - "type": "object", - "required": ["type"], - "properties": { - "type": { "type": "string", "enum": ["branch_name_pattern"] }, - "parameters": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "How this rule will appear to users." - }, - "negate": { - "type": "boolean", - "description": "If true, the rule will fail if the pattern matches." - }, - "operator": { - "type": "string", - "description": "The operator to use for matching.", - "enum": ["starts_with", "ends_with", "contains", "regex"] - }, - "pattern": { - "type": "string", - "description": "The pattern to match with." - } - }, - "required": ["operator", "pattern"] - } - } - }, - "repository-rule-tag-name-pattern": { - "title": "tag_name_pattern", - "description": "Parameters to be used for the tag_name_pattern rule", - "type": "object", - "required": ["type"], - "properties": { - "type": { "type": "string", "enum": ["tag_name_pattern"] }, - "parameters": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "How this rule will appear to users." - }, - "negate": { - "type": "boolean", - "description": "If true, the rule will fail if the pattern matches." - }, - "operator": { - "type": "string", - "description": "The operator to use for matching.", - "enum": ["starts_with", "ends_with", "contains", "regex"] - }, - "pattern": { - "type": "string", - "description": "The pattern to match with." - } - }, - "required": ["operator", "pattern"] - } - } - }, - "repository-rule-workflows": { - "title": "workflows", - "description": "Require all changes made to a targeted branch to pass the specified workflows before they can be merged.", - "type": "object", - "required": ["type"], - "properties": { - "type": { "type": "string", "enum": ["workflows"] }, - "parameters": { - "type": "object", - "properties": { - "do_not_enforce_on_create": { - "type": "boolean", - "description": "Allow repositories and branches to be created if a check would otherwise prohibit it." - }, - "workflows": { - "type": "array", - "description": "Workflows that must pass for this rule to pass.", - "items": { - "$ref": "#/components/schemas/repository-rule-params-workflow-file-reference" - } - } - }, - "required": ["workflows"] - } - } - }, - "repository-rule-params-workflow-file-reference": { - "title": "WorkflowFileReference", - "description": "A workflow that must run for this rule to pass", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The path to the workflow file" - }, - "ref": { - "type": "string", - "description": "The ref (branch or tag) of the workflow file to use" - }, - "repository_id": { - "type": "integer", - "description": "The ID of the repository where the workflow is defined" - }, - "sha": { - "type": "string", - "description": "The commit SHA of the workflow file to use" - } - }, - "required": ["path", "repository_id"] - }, - "webhook-repository-ruleset-deleted": { - "title": "repository ruleset deleted event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["deleted"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "repository_ruleset": { - "$ref": "#/components/schemas/repository-ruleset" - }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "repository_ruleset", "sender"] - }, - "webhook-repository-ruleset-edited": { - "title": "repository ruleset edited event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["edited"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "repository_ruleset": { - "$ref": "#/components/schemas/repository-ruleset" - }, - "changes": { - "type": "object", - "properties": { - "name": { - "type": "object", - "properties": { "from": { "type": "string" } } - }, - "enforcement": { - "type": "object", - "properties": { "from": { "type": "string" } } - }, - "conditions": { - "type": "object", - "properties": { - "added": { - "type": "array", - "items": { - "$ref": "#/components/schemas/repository-ruleset-conditions" - } - }, - "deleted": { - "type": "array", - "items": { - "$ref": "#/components/schemas/repository-ruleset-conditions" - } - }, - "updated": { - "type": "array", - "items": { - "type": "object", - "properties": { - "condition": { - "$ref": "#/components/schemas/repository-ruleset-conditions" - }, - "changes": { - "type": "object", - "properties": { - "condition_type": { - "type": "object", - "properties": { "from": { "type": "string" } } - }, - "target": { - "type": "object", - "properties": { "from": { "type": "string" } } - }, - "include": { - "type": "object", - "properties": { - "from": { - "type": "array", - "items": { "type": "string" } - } - } - }, - "exclude": { - "type": "object", - "properties": { - "from": { - "type": "array", - "items": { "type": "string" } - } - } - } - } - } - } - } - } - } - }, - "rules": { - "type": "object", - "properties": { - "added": { - "type": "array", - "items": { "$ref": "#/components/schemas/repository-rule" } - }, - "deleted": { - "type": "array", - "items": { "$ref": "#/components/schemas/repository-rule" } - }, - "updated": { - "type": "array", - "items": { - "type": "object", - "properties": { - "rule": { - "$ref": "#/components/schemas/repository-rule" - }, - "changes": { - "type": "object", - "properties": { - "configuration": { - "type": "object", - "properties": { "from": { "type": "string" } } - }, - "rule_type": { - "type": "object", - "properties": { "from": { "type": "string" } } - }, - "pattern": { - "type": "object", - "properties": { "from": { "type": "string" } } - } - } - } - } - } - } - } - } - } - }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "repository_ruleset", "sender"] - }, - "webhook-repository-transferred": { - "title": "repository transferred event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["transferred"] }, - "changes": { - "type": "object", - "properties": { - "owner": { - "type": "object", - "properties": { - "from": { - "type": "object", - "properties": { - "organization": { - "title": "Organization", - "type": "object", - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri" }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "issues_url": { "type": "string", "format": "uri" }, - "login": { "type": "string" }, - "members_url": { - "type": "string", - "format": "uri-template" - }, - "node_id": { "type": "string" }, - "public_members_url": { - "type": "string", - "format": "uri-template" - }, - "repos_url": { "type": "string", "format": "uri" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "login", - "id", - "node_id", - "url", - "repos_url", - "events_url", - "hooks_url", - "issues_url", - "members_url", - "public_members_url", - "avatar_url", - "description" - ] - }, - "user": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { - "type": "string", - "format": "uri" - }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer", "format": "int64" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - } - } - } - }, - "required": ["from"] - } - }, - "required": ["owner"] - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "changes", "repository", "sender"] - }, - "webhook-repository-unarchived": { - "title": "repository unarchived event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["unarchived"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "repository", "sender"] - }, - "webhook-repository-vulnerability-alert-create": { - "title": "repository_vulnerability_alert create event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["create"] }, - "alert": { "$ref": "#/components/schemas/webhooks_alert" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "alert", "repository", "sender"] - }, - "webhooks_alert": { - "title": "Repository Vulnerability Alert Alert", - "description": "The security alert of the vulnerable dependency.", - "type": "object", - "required": [ - "affected_package_name", - "affected_range", - "created_at", - "external_identifier", - "external_reference", - "ghsa_id", - "id", - "node_id", - "number", - "severity", - "state" - ], - "properties": { - "affected_package_name": { "type": "string" }, - "affected_range": { "type": "string" }, - "created_at": { "type": "string" }, - "dismiss_reason": { "type": "string" }, - "dismissed_at": { "type": "string" }, - "dismisser": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" } - } - }, - "external_identifier": { "type": "string" }, - "external_reference": { "type": ["string", "null"], "format": "uri" }, - "fix_reason": { "type": "string" }, - "fixed_at": { "type": "string", "format": "date-time" }, - "fixed_in": { "type": "string" }, - "ghsa_id": { "type": "string" }, - "id": { "type": "integer" }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "severity": { "type": "string" }, - "state": { "type": "string", "enum": ["open"] } - } - }, - "webhook-repository-vulnerability-alert-dismiss": { - "title": "repository_vulnerability_alert dismiss event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["dismiss"] }, - "alert": { - "title": "Repository Vulnerability Alert Alert", - "description": "The security alert of the vulnerable dependency.", - "type": "object", - "required": [ - "affected_package_name", - "affected_range", - "created_at", - "dismiss_reason", - "dismissed_at", - "dismisser", - "external_identifier", - "external_reference", - "ghsa_id", - "id", - "node_id", - "number", - "severity", - "state" - ], - "properties": { - "affected_package_name": { "type": "string" }, - "affected_range": { "type": "string" }, - "created_at": { "type": "string" }, - "dismiss_comment": { "type": ["string", "null"] }, - "dismiss_reason": { "type": "string" }, - "dismissed_at": { "type": "string" }, - "dismisser": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - } - }, - "external_identifier": { "type": "string" }, - "external_reference": { - "type": ["string", "null"], - "format": "uri" - }, - "fix_reason": { "type": "string" }, - "fixed_at": { "type": "string", "format": "date-time" }, - "fixed_in": { "type": "string" }, - "ghsa_id": { "type": "string" }, - "id": { "type": "integer" }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "severity": { "type": "string" }, - "state": { "type": "string", "enum": ["dismissed"] } - } - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "alert", "repository", "sender"] - }, - "webhook-repository-vulnerability-alert-reopen": { - "title": "repository_vulnerability_alert reopen event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["reopen"] }, - "alert": { "$ref": "#/components/schemas/webhooks_alert" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "alert", "repository", "sender"] - }, - "webhook-repository-vulnerability-alert-resolve": { - "title": "repository_vulnerability_alert resolve event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["resolve"] }, - "alert": { - "title": "Repository Vulnerability Alert Alert", - "description": "The security alert of the vulnerable dependency.", - "type": "object", - "required": [ - "affected_package_name", - "affected_range", - "created_at", - "external_identifier", - "external_reference", - "ghsa_id", - "id", - "node_id", - "number", - "severity", - "state" - ], - "properties": { - "affected_package_name": { "type": "string" }, - "affected_range": { "type": "string" }, - "created_at": { "type": "string" }, - "dismiss_reason": { "type": "string" }, - "dismissed_at": { "type": "string" }, - "dismisser": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" } - } - }, - "external_identifier": { "type": "string" }, - "external_reference": { - "type": ["string", "null"], - "format": "uri" - }, - "fix_reason": { "type": "string" }, - "fixed_at": { "type": "string", "format": "date-time" }, - "fixed_in": { "type": "string" }, - "ghsa_id": { "type": "string" }, - "id": { "type": "integer" }, - "node_id": { "type": "string" }, - "number": { "type": "integer" }, - "severity": { "type": "string" }, - "state": { "type": "string", "enum": ["fixed", "open"] } - } - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "alert", "repository", "sender"] - }, - "webhook-secret-scanning-alert-created": { - "title": "secret_scanning_alert created event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "alert": { - "$ref": "#/components/schemas/secret-scanning-alert-webhook" - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "alert", "repository"] - }, - "secret-scanning-alert-webhook": { - "type": "object", - "properties": { - "number": { "$ref": "#/components/schemas/alert-number" }, - "created_at": { "$ref": "#/components/schemas/alert-created-at" }, - "updated_at": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/alert-updated-at" } - ] - }, - "url": { "$ref": "#/components/schemas/alert-url" }, - "html_url": { "$ref": "#/components/schemas/alert-html-url" }, - "locations_url": { - "type": "string", - "format": "uri", - "description": "The REST API URL of the code locations for this alert." - }, - "resolution": { - "$ref": "#/components/schemas/secret-scanning-alert-resolution-webhook" - }, - "resolved_at": { - "type": ["string", "null"], - "format": "date-time", - "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "resolved_by": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "resolution_comment": { - "type": ["string", "null"], - "description": "An optional comment to resolve an alert." - }, - "secret_type": { - "type": "string", - "description": "The type of secret that secret scanning detected." - }, - "validity": { - "type": "string", - "description": "The token status as of the latest validity check.", - "enum": ["active", "inactive", "unknown"] - }, - "push_protection_bypassed": { - "type": ["boolean", "null"], - "description": "Whether push protection was bypassed for the detected secret." - }, - "push_protection_bypassed_by": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "push_protection_bypassed_at": { - "type": ["string", "null"], - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - } - } - }, - "secret-scanning-alert-resolution-webhook": { - "type": ["string", "null"], - "description": "The reason for resolving the alert.", - "enum": [ - "false_positive", - "wont_fix", - "revoked", - "used_in_tests", - "pattern_deleted", - "pattern_edited", - null - ] - }, - "webhook-secret-scanning-alert-location-created": { - "title": "Secret Scanning Alert Location Created Event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "alert": { - "$ref": "#/components/schemas/secret-scanning-alert-webhook" - }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "location": { - "$ref": "#/components/schemas/secret-scanning-location" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["location", "alert", "repository", "sender", "action"] - }, - "secret-scanning-location": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "commit", - "issue_title", - "issue_body", - "issue_comment", - "discussion_title", - "discussion_body", - "discussion_comment", - "pull_request_title", - "pull_request_body", - "pull_request_comment", - "pull_request_review", - "pull_request_review_comment" - ], - "description": "The location type. Because secrets may be found in different types of resources (ie. code, comments, issues, pull requests, discussions), this field identifies the type of resource where the secret was found.", - "examples": ["commit"] - }, - "details": { - "oneOf": [ - { - "$ref": "#/components/schemas/secret-scanning-location-commit" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-issue-title" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-issue-body" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-issue-comment" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-discussion-title" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-discussion-body" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" - } - ] - } - }, - "required": ["type", "details"] - }, - "secret-scanning-location-commit": { - "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path in the repository", - "examples": ["/example/secrets.txt"] - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "examples": ["af5626b4a114abcb82d63db7c8082c3c4756e51b"] - }, - "blob_url": { - "type": "string", - "description": "The API URL to get the associated blob resource" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "examples": ["af5626b4a114abcb82d63db7c8082c3c4756e51b"] - }, - "commit_url": { - "type": "string", - "description": "The API URL to get the associated commit resource" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "blob_url", - "commit_sha", - "commit_url" - ] - }, - "secret-scanning-location-issue-title": { - "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", - "type": "object", - "properties": { - "issue_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/1347" - ] - } - }, - "required": ["issue_title_url"] - }, - "secret-scanning-location-issue-body": { - "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", - "type": "object", - "properties": { - "issue_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/1347" - ] - } - }, - "required": ["issue_body_url"] - }, - "secret-scanning-location-issue-comment": { - "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", - "type": "object", - "properties": { - "issue_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - ] - } - }, - "required": ["issue_comment_url"] - }, - "secret-scanning-location-discussion-title": { - "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", - "type": "object", - "properties": { - "discussion_title_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082" - ] - } - }, - "required": ["discussion_title_url"] - }, - "secret-scanning-location-discussion-body": { - "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", - "type": "object", - "properties": { - "discussion_body_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082#discussion-4566270" - ] - } - }, - "required": ["discussion_body_url"] - }, - "secret-scanning-location-discussion-comment": { - "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", - "type": "object", - "properties": { - "discussion_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the discussion comment where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082#discussioncomment-4158232" - ] - } - }, - "required": ["discussion_comment_url"] - }, - "secret-scanning-location-pull-request-title": { - "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", - "type": "object", - "properties": { - "pull_request_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - ] - } - }, - "required": ["pull_request_title_url"] - }, - "secret-scanning-location-pull-request-body": { - "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", - "type": "object", - "properties": { - "pull_request_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - ] - } - }, - "required": ["pull_request_body_url"] - }, - "secret-scanning-location-pull-request-comment": { - "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", - "type": "object", - "properties": { - "pull_request_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - ] - } - }, - "required": ["pull_request_comment_url"] - }, - "secret-scanning-location-pull-request-review": { - "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", - "type": "object", - "properties": { - "pull_request_review_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" - ] - } - }, - "required": ["pull_request_review_url"] - }, - "secret-scanning-location-pull-request-review-comment": { - "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", - "type": "object", - "properties": { - "pull_request_review_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" - ] - } - }, - "required": ["pull_request_review_comment_url"] - }, - "webhook-secret-scanning-alert-reopened": { - "title": "secret_scanning_alert reopened event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["reopened"] }, - "alert": { - "$ref": "#/components/schemas/secret-scanning-alert-webhook" - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "alert", "repository"] - }, - "webhook-secret-scanning-alert-resolved": { - "title": "secret_scanning_alert resolved event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["resolved"] }, - "alert": { - "$ref": "#/components/schemas/secret-scanning-alert-webhook" - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "alert", "repository"] - }, - "webhook-secret-scanning-alert-validated": { - "title": "secret_scanning_alert validated event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["validated"] }, - "alert": { - "$ref": "#/components/schemas/secret-scanning-alert-webhook" - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "alert", "repository"] - }, - "webhook-security-advisory-published": { - "title": "security_advisory published event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["published"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "security_advisory": { - "$ref": "#/components/schemas/webhooks_security_advisory" - }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "security_advisory"] - }, - "webhooks_security_advisory": { - "description": "The details of the security advisory, including summary, description, and severity.", - "type": "object", - "properties": { - "cvss": { - "type": "object", - "properties": { - "score": { "type": "number" }, - "vector_string": { "type": ["string", "null"] } - }, - "required": ["vector_string", "score"] - }, - "cvss_severities": { "$ref": "#/components/schemas/cvss-severities" }, - "cwes": { - "type": "array", - "items": { - "type": "object", - "properties": { - "cwe_id": { "type": "string" }, - "name": { "type": "string" } - }, - "required": ["cwe_id", "name"] - } - }, - "description": { "type": "string" }, - "ghsa_id": { "type": "string" }, - "identifiers": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { "type": "string" }, - "value": { "type": "string" } - }, - "required": ["value", "type"] - } - }, - "published_at": { "type": "string" }, - "references": { - "type": "array", - "items": { - "type": "object", - "properties": { "url": { "type": "string", "format": "uri" } }, - "required": ["url"] - } - }, - "severity": { "type": "string" }, - "summary": { "type": "string" }, - "updated_at": { "type": "string" }, - "vulnerabilities": { - "type": "array", - "items": { - "type": "object", - "properties": { - "first_patched_version": { - "type": ["object", "null"], - "properties": { "identifier": { "type": "string" } }, - "required": ["identifier"] - }, - "package": { - "type": "object", - "properties": { - "ecosystem": { "type": "string" }, - "name": { "type": "string" } - }, - "required": ["ecosystem", "name"] - }, - "severity": { "type": "string" }, - "vulnerable_version_range": { "type": "string" } - }, - "required": [ - "package", - "severity", - "vulnerable_version_range", - "first_patched_version" - ] - } - }, - "withdrawn_at": { "type": ["string", "null"] } - }, - "required": [ - "cvss", - "cwes", - "ghsa_id", - "summary", - "description", - "severity", - "identifiers", - "references", - "published_at", - "updated_at", - "withdrawn_at", - "vulnerabilities" - ] - }, - "webhook-security-advisory-updated": { - "title": "security_advisory updated event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["updated"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "security_advisory": { - "$ref": "#/components/schemas/webhooks_security_advisory" - }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "security_advisory"] - }, - "webhook-security-advisory-withdrawn": { - "title": "security_advisory withdrawn event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["withdrawn"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "security_advisory": { - "description": "The details of the security advisory, including summary, description, and severity.", - "type": "object", - "properties": { - "cvss": { - "type": "object", - "properties": { - "score": { "type": "number" }, - "vector_string": { "type": ["string", "null"] } - }, - "required": ["vector_string", "score"] - }, - "cvss_severities": { - "$ref": "#/components/schemas/cvss-severities" - }, - "cwes": { - "type": "array", - "items": { - "type": "object", - "properties": { - "cwe_id": { "type": "string" }, - "name": { "type": "string" } - }, - "required": ["cwe_id", "name"] - } - }, - "description": { "type": "string" }, - "ghsa_id": { "type": "string" }, - "identifiers": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { "type": "string" }, - "value": { "type": "string" } - }, - "required": ["value", "type"] - } - }, - "published_at": { "type": "string" }, - "references": { - "type": "array", - "items": { - "type": "object", - "properties": { - "url": { "type": "string", "format": "uri" } - }, - "required": ["url"] - } - }, - "severity": { "type": "string" }, - "summary": { "type": "string" }, - "updated_at": { "type": "string" }, - "vulnerabilities": { - "type": "array", - "items": { - "type": "object", - "properties": { - "first_patched_version": { - "type": ["object", "null"], - "properties": { "identifier": { "type": "string" } }, - "required": ["identifier"] - }, - "package": { - "type": "object", - "properties": { - "ecosystem": { "type": "string" }, - "name": { "type": "string" } - }, - "required": ["ecosystem", "name"] - }, - "severity": { "type": "string" }, - "vulnerable_version_range": { "type": "string" } - }, - "required": [ - "package", - "severity", - "vulnerable_version_range", - "first_patched_version" - ] - } - }, - "withdrawn_at": { "type": "string" } - }, - "required": [ - "cvss", - "cwes", - "ghsa_id", - "summary", - "description", - "severity", - "identifiers", - "references", - "published_at", - "updated_at", - "withdrawn_at", - "vulnerabilities" - ] - }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "security_advisory"] - }, - "webhook-security-and-analysis": { - "title": "security_and_analysis event", - "type": "object", - "properties": { - "changes": { - "type": "object", - "properties": { - "from": { - "type": "object", - "properties": { - "security_and_analysis": { - "$ref": "#/components/schemas/security-and-analysis" - } - } - } - } - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/full-repository" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["changes", "repository"] - }, - "full-repository": { - "title": "Full Repository", - "description": "Full Repository", - "type": "object", - "properties": { - "id": { "type": "integer", "format": "int64", "examples": [1296269] }, - "node_id": { - "type": "string", - "examples": ["MDEwOlJlcG9zaXRvcnkxMjk2MjY5"] - }, - "name": { "type": "string", "examples": ["Hello-World"] }, - "full_name": { - "type": "string", - "examples": ["octocat/Hello-World"] - }, - "owner": { "$ref": "#/components/schemas/simple-user" }, - "private": { "type": "boolean" }, - "html_url": { - "type": "string", - "format": "uri", - "examples": ["https://github.com/octocat/Hello-World"] - }, - "description": { - "type": ["string", "null"], - "examples": ["This your first repo!"] - }, - "fork": { "type": "boolean" }, - "url": { - "type": "string", - "format": "uri", - "examples": ["https://api.github.com/repos/octocat/Hello-World"] - }, - "archive_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" - ] - }, - "assignees_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" - ] - }, - "blobs_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" - ] - }, - "branches_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" - ] - }, - "collaborators_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" - ] - }, - "comments_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/comments{/number}" - ] - }, - "commits_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" - ] - }, - "compare_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" - ] - }, - "contents_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" - ] - }, - "contributors_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/contributors" - ] - }, - "deployments_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/deployments" - ] - }, - "downloads_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/downloads" - ] - }, - "events_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/events" - ] - }, - "forks_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/forks" - ] - }, - "git_commits_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" - ] - }, - "git_refs_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" - ] - }, - "git_tags_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" - ] - }, - "git_url": { - "type": "string", - "examples": ["git:github.com/octocat/Hello-World.git"] - }, - "issue_comment_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" - ] - }, - "issue_events_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" - ] - }, - "issues_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/issues{/number}" - ] - }, - "keys_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" - ] - }, - "labels_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/labels{/name}" - ] - }, - "languages_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/languages" - ] - }, - "merges_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/merges" - ] - }, - "milestones_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" - ] - }, - "notifications_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" - ] - }, - "pulls_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" - ] - }, - "releases_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/releases{/id}" - ] - }, - "ssh_url": { - "type": "string", - "examples": ["git@github.com:octocat/Hello-World.git"] - }, - "stargazers_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/stargazers" - ] - }, - "statuses_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" - ] - }, - "subscribers_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/subscribers" - ] - }, - "subscription_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/subscription" - ] - }, - "tags_url": { - "type": "string", - "format": "uri", - "examples": ["http://api.github.com/repos/octocat/Hello-World/tags"] - }, - "teams_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/teams" - ] - }, - "trees_url": { - "type": "string", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" - ] - }, - "clone_url": { - "type": "string", - "examples": ["https://github.com/octocat/Hello-World.git"] - }, - "mirror_url": { - "type": ["string", "null"], - "format": "uri", - "examples": ["git:git.example.com/octocat/Hello-World"] - }, - "hooks_url": { - "type": "string", - "format": "uri", - "examples": [ - "http://api.github.com/repos/octocat/Hello-World/hooks" - ] - }, - "svn_url": { - "type": "string", - "format": "uri", - "examples": ["https://svn.github.com/octocat/Hello-World"] - }, - "homepage": { - "type": ["string", "null"], - "format": "uri", - "examples": ["https://github.com"] - }, - "language": { "type": ["string", "null"] }, - "forks_count": { "type": "integer", "examples": [9] }, - "stargazers_count": { "type": "integer", "examples": [80] }, - "watchers_count": { "type": "integer", "examples": [80] }, - "size": { - "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", - "type": "integer", - "examples": [108] - }, - "default_branch": { "type": "string", "examples": ["master"] }, - "open_issues_count": { "type": "integer", "examples": [0] }, - "is_template": { "type": "boolean", "examples": [true] }, - "topics": { - "type": "array", - "items": { "type": "string" }, - "examples": ["octocat", "atom", "electron", "API"] - }, - "has_issues": { "type": "boolean", "examples": [true] }, - "has_projects": { "type": "boolean", "examples": [true] }, - "has_wiki": { "type": "boolean", "examples": [true] }, - "has_pages": { "type": "boolean" }, - "has_downloads": { "type": "boolean", "examples": [true] }, - "has_discussions": { "type": "boolean", "examples": [true] }, - "archived": { "type": "boolean" }, - "disabled": { - "type": "boolean", - "description": "Returns whether or not this repository disabled." - }, - "visibility": { - "description": "The repository visibility: public, private, or internal.", - "type": "string", - "examples": ["public"] - }, - "pushed_at": { - "type": "string", - "format": "date-time", - "examples": ["2011-01-26T19:06:43Z"] - }, - "created_at": { - "type": "string", - "format": "date-time", - "examples": ["2011-01-26T19:01:12Z"] - }, - "updated_at": { - "type": "string", - "format": "date-time", - "examples": ["2011-01-26T19:14:43Z"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" }, - "pull": { "type": "boolean" } - }, - "required": ["admin", "pull", "push"] - }, - "allow_rebase_merge": { "type": "boolean", "examples": [true] }, - "template_repository": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/repository" } - ] - }, - "temp_clone_token": { "type": ["string", "null"] }, - "allow_squash_merge": { "type": "boolean", "examples": [true] }, - "allow_auto_merge": { "type": "boolean", "examples": [false] }, - "delete_branch_on_merge": { "type": "boolean", "examples": [false] }, - "allow_merge_commit": { "type": "boolean", "examples": [true] }, - "allow_update_branch": { "type": "boolean", "examples": [true] }, - "use_squash_pr_title_as_default": { - "type": "boolean", - "examples": [false] - }, - "squash_merge_commit_title": { - "type": "string", - "enum": ["PR_TITLE", "COMMIT_OR_PR_TITLE"], - "description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit).", - "examples": ["PR_TITLE"] - }, - "squash_merge_commit_message": { - "type": "string", - "enum": ["PR_BODY", "COMMIT_MESSAGES", "BLANK"], - "description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message.", - "examples": ["PR_BODY"] - }, - "merge_commit_title": { - "type": "string", - "enum": ["PR_TITLE", "MERGE_MESSAGE"], - "description": "The default value for a merge commit title.\n\n - `PR_TITLE` - default to the pull request's title.\n - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name).", - "examples": ["PR_TITLE"] - }, - "merge_commit_message": { - "type": "string", - "enum": ["PR_BODY", "PR_TITLE", "BLANK"], - "description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message.", - "examples": ["PR_BODY"] - }, - "allow_forking": { "type": "boolean", "examples": [true] }, - "web_commit_signoff_required": { - "type": "boolean", - "examples": [false] - }, - "subscribers_count": { "type": "integer", "examples": [42] }, - "network_count": { "type": "integer", "examples": [0] }, - "license": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/license-simple" } - ] - }, - "organization": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/simple-user" } - ] - }, - "parent": { "$ref": "#/components/schemas/repository" }, - "source": { "$ref": "#/components/schemas/repository" }, - "forks": { "type": "integer" }, - "master_branch": { "type": "string" }, - "open_issues": { "type": "integer" }, - "watchers": { "type": "integer" }, - "anonymous_access_enabled": { - "description": "Whether anonymous git access is allowed.", - "default": true, - "type": "boolean" - }, - "code_of_conduct": { - "$ref": "#/components/schemas/code-of-conduct-simple" - }, - "security_and_analysis": { - "$ref": "#/components/schemas/security-and-analysis" - }, - "custom_properties": { - "type": "object", - "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", - "additionalProperties": true - } - }, - "required": [ - "archive_url", - "assignees_url", - "blobs_url", - "branches_url", - "collaborators_url", - "comments_url", - "commits_url", - "compare_url", - "contents_url", - "contributors_url", - "deployments_url", - "description", - "downloads_url", - "events_url", - "fork", - "forks_url", - "full_name", - "git_commits_url", - "git_refs_url", - "git_tags_url", - "hooks_url", - "html_url", - "id", - "node_id", - "issue_comment_url", - "issue_events_url", - "issues_url", - "keys_url", - "labels_url", - "languages_url", - "merges_url", - "milestones_url", - "name", - "notifications_url", - "owner", - "private", - "pulls_url", - "releases_url", - "stargazers_url", - "statuses_url", - "subscribers_url", - "subscription_url", - "tags_url", - "teams_url", - "trees_url", - "url", - "clone_url", - "default_branch", - "forks", - "forks_count", - "git_url", - "has_issues", - "has_projects", - "has_wiki", - "has_pages", - "has_discussions", - "homepage", - "language", - "archived", - "disabled", - "mirror_url", - "open_issues", - "open_issues_count", - "license", - "pushed_at", - "size", - "ssh_url", - "stargazers_count", - "svn_url", - "watchers", - "watchers_count", - "created_at", - "updated_at", - "network_count", - "subscribers_count" - ] - }, - "code-of-conduct-simple": { - "title": "Code Of Conduct Simple", - "description": "Code of Conduct Simple", - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/repos/github/docs/community/code_of_conduct" - ] - }, - "key": { "type": "string", "examples": ["citizen_code_of_conduct"] }, - "name": { "type": "string", "examples": ["Citizen Code of Conduct"] }, - "html_url": { - "type": ["string", "null"], - "format": "uri", - "examples": [ - "https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md" - ] - } - }, - "required": ["url", "key", "name", "html_url"] - }, - "webhook-sponsorship-cancelled": { - "title": "sponsorship cancelled event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["cancelled"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "sponsorship": { "$ref": "#/components/schemas/webhooks_sponsorship" } - }, - "required": ["action", "sponsorship", "sender"] - }, - "webhooks_sponsorship": { - "type": "object", - "properties": { - "created_at": { "type": "string" }, - "maintainer": { - "type": "object", - "properties": { - "avatar_url": { "type": "string" }, - "events_url": { "type": "string" }, - "followers_url": { "type": "string" }, - "following_url": { "type": "string" }, - "gists_url": { "type": "string" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string" }, - "received_events_url": { "type": "string" }, - "repos_url": { "type": "string" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string" }, - "subscriptions_url": { "type": "string" }, - "type": { "type": "string" }, - "url": { "type": "string" }, - "user_view_type": { "type": "string" } - } - }, - "node_id": { "type": "string" }, - "privacy_level": { "type": "string" }, - "sponsor": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "sponsorable": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { "type": "string", "format": "uri-template" }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "tier": { - "title": "Sponsorship Tier", - "description": "The `tier_changed` and `pending_tier_change` will include the original tier before the change or pending change. For more information, see the pending tier change payload.", - "type": "object", - "properties": { - "created_at": { "type": "string" }, - "description": { "type": "string" }, - "is_custom_ammount": { "type": "boolean" }, - "is_custom_amount": { "type": "boolean" }, - "is_one_time": { "type": "boolean" }, - "monthly_price_in_cents": { "type": "integer" }, - "monthly_price_in_dollars": { "type": "integer" }, - "name": { "type": "string" }, - "node_id": { "type": "string" } - }, - "required": [ - "node_id", - "created_at", - "description", - "monthly_price_in_cents", - "monthly_price_in_dollars", - "name", - "is_one_time" - ] - } - }, - "required": [ - "node_id", - "created_at", - "sponsorable", - "sponsor", - "privacy_level", - "tier" - ] - }, - "webhook-sponsorship-created": { - "title": "sponsorship created event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "sponsorship": { "$ref": "#/components/schemas/webhooks_sponsorship" } - }, - "required": ["action", "sponsorship", "sender"] - }, - "webhook-sponsorship-edited": { - "title": "sponsorship edited event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["edited"] }, - "changes": { - "type": "object", - "properties": { - "privacy_level": { - "type": "object", - "properties": { - "from": { - "description": "The `edited` event types include the details about the change when someone edits a sponsorship to change the privacy.", - "type": "string" - } - }, - "required": ["from"] - } - } - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "sponsorship": { "$ref": "#/components/schemas/webhooks_sponsorship" } - }, - "required": ["action", "changes", "sponsorship", "sender"] - }, - "webhook-sponsorship-pending-cancellation": { - "title": "sponsorship pending_cancellation event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["pending_cancellation"] }, - "effective_date": { - "$ref": "#/components/schemas/webhooks_effective_date" - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "sponsorship": { "$ref": "#/components/schemas/webhooks_sponsorship" } - }, - "required": ["action", "sponsorship", "sender"] - }, - "webhooks_effective_date": { - "description": "The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect.", - "type": "string" - }, - "webhook-sponsorship-pending-tier-change": { - "title": "sponsorship pending_tier_change event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["pending_tier_change"] }, - "changes": { "$ref": "#/components/schemas/webhooks_changes_8" }, - "effective_date": { - "$ref": "#/components/schemas/webhooks_effective_date" - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "sponsorship": { "$ref": "#/components/schemas/webhooks_sponsorship" } - }, - "required": ["action", "changes", "sponsorship", "sender"] - }, - "webhooks_changes_8": { - "type": "object", - "properties": { - "tier": { - "type": "object", - "properties": { - "from": { - "title": "Sponsorship Tier", - "description": "The `tier_changed` and `pending_tier_change` will include the original tier before the change or pending change. For more information, see the pending tier change payload.", - "type": "object", - "properties": { - "created_at": { "type": "string" }, - "description": { "type": "string" }, - "is_custom_ammount": { "type": "boolean" }, - "is_custom_amount": { "type": "boolean" }, - "is_one_time": { "type": "boolean" }, - "monthly_price_in_cents": { "type": "integer" }, - "monthly_price_in_dollars": { "type": "integer" }, - "name": { "type": "string" }, - "node_id": { "type": "string" } - }, - "required": [ - "node_id", - "created_at", - "description", - "monthly_price_in_cents", - "monthly_price_in_dollars", - "name", - "is_one_time" - ] - } - }, - "required": ["from"] - } - }, - "required": ["tier"] - }, - "webhook-sponsorship-tier-changed": { - "title": "sponsorship tier_changed event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["tier_changed"] }, - "changes": { "$ref": "#/components/schemas/webhooks_changes_8" }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "sponsorship": { "$ref": "#/components/schemas/webhooks_sponsorship" } - }, - "required": ["action", "changes", "sponsorship", "sender"] - }, - "webhook-star-created": { - "title": "star created event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "starred_at": { - "description": "The time the star was created. This is a timestamp in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. Will be `null` for the `deleted` action.", - "type": ["string", "null"] - } - }, - "required": ["action", "starred_at", "repository", "sender"] - }, - "webhook-star-deleted": { - "title": "star deleted event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["deleted"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "starred_at": { - "description": "The time the star was created. This is a timestamp in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. Will be `null` for the `deleted` action.", - "type": ["null"] - } - }, - "required": ["action", "starred_at", "repository", "sender"] - }, - "webhook-status": { - "title": "status event", - "type": "object", - "properties": { - "avatar_url": { "type": ["string", "null"], "format": "uri" }, - "branches": { - "description": "An array of branch objects containing the status' SHA. Each branch contains the given SHA, but the SHA may or may not be the head of the branch. The array includes a maximum of 10 branches.", - "type": "array", - "items": { - "type": "object", - "properties": { - "commit": { - "type": "object", - "properties": { - "sha": { "type": ["string", "null"] }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["sha", "url"] - }, - "name": { "type": "string" }, - "protected": { "type": "boolean" } - }, - "required": ["name", "commit", "protected"] - } - }, - "commit": { - "type": "object", - "properties": { - "author": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" } - } - }, - "comments_url": { "type": "string", "format": "uri" }, - "commit": { - "type": "object", - "properties": { - "author": { - "allOf": [ - { - "title": "Committer", - "description": "Metaproperties for Git author/committer information.", - "type": "object", - "properties": { - "date": { "type": "string", "format": "date-time" }, - "email": { - "type": ["string", "null"], - "format": "email" - }, - "name": { - "description": "The git author's name.", - "type": "string" - }, - "username": { "type": "string" } - }, - "required": ["email", "name"] - }, - { - "type": "object", - "properties": { - "date": { "type": "string" }, - "email": { "type": "string" }, - "name": { "type": "string" } - }, - "required": ["date"] - } - ] - }, - "comment_count": { "type": "integer" }, - "committer": { - "allOf": [ - { - "title": "Committer", - "description": "Metaproperties for Git author/committer information.", - "type": "object", - "properties": { - "date": { "type": "string", "format": "date-time" }, - "email": { - "type": ["string", "null"], - "format": "email" - }, - "name": { - "description": "The git author's name.", - "type": "string" - }, - "username": { "type": "string" } - }, - "required": ["email", "name"] - }, - { - "type": "object", - "properties": { - "date": { "type": "string" }, - "email": { "type": "string" }, - "name": { "type": "string" } - }, - "required": ["date"] - } - ] - }, - "message": { "type": "string" }, - "tree": { - "type": "object", - "properties": { - "sha": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["sha", "url"] - }, - "url": { "type": "string", "format": "uri" }, - "verification": { - "type": "object", - "properties": { - "payload": { "type": ["string", "null"] }, - "reason": { - "type": "string", - "enum": [ - "expired_key", - "not_signing_key", - "gpgverify_error", - "gpgverify_unavailable", - "unsigned", - "unknown_signature_type", - "no_user", - "unverified_email", - "bad_email", - "unknown_key", - "malformed_signature", - "invalid", - "valid", - "bad_cert", - "ocsp_pending" - ] - }, - "signature": { "type": ["string", "null"] }, - "verified": { "type": "boolean" } - }, - "required": ["verified", "reason", "signature", "payload"] - } - }, - "required": [ - "author", - "committer", - "message", - "tree", - "url", - "comment_count", - "verification" - ] - }, - "committer": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" } - } - }, - "html_url": { "type": "string", "format": "uri" }, - "node_id": { "type": "string" }, - "parents": { - "type": "array", - "items": { - "type": "object", - "properties": { - "html_url": { "type": "string", "format": "uri" }, - "sha": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["sha", "url", "html_url"] - } - }, - "sha": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "sha", - "node_id", - "commit", - "url", - "html_url", - "comments_url", - "author", - "committer", - "parents" - ] - }, - "context": { "type": "string" }, - "created_at": { "type": "string" }, - "description": { - "description": "The optional human-readable description added to the status.", - "type": ["string", "null"] - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "id": { - "description": "The unique identifier of the status.", - "type": "integer" - }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "name": { "type": "string" }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "sha": { "description": "The Commit SHA.", "type": "string" }, - "state": { - "description": "The new state. Can be `pending`, `success`, `failure`, or `error`.", - "type": "string", - "enum": ["pending", "success", "failure", "error"] - }, - "target_url": { - "description": "The optional link added to the status.", - "type": ["string", "null"] - }, - "updated_at": { "type": "string" } - }, - "required": [ - "id", - "sha", - "name", - "target_url", - "context", - "description", - "state", - "commit", - "branches", - "created_at", - "updated_at", - "repository", - "sender" - ] - }, - "webhook-team-add": { - "title": "team_add event", - "type": "object", - "properties": { - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "team": { "$ref": "#/components/schemas/webhooks_team_1" } - }, - "required": ["team", "repository", "sender"] - }, - "webhooks_team_1": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "deleted": { "type": "boolean" }, - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { "type": "string", "format": "uri-template" }, - "name": { "description": "Name of the team", "type": "string" }, - "node_id": { "type": "string" }, - "parent": { - "type": ["object", "null"], - "properties": { - "description": { - "description": "Description of the team", - "type": ["string", "null"] - }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the team", - "type": "integer" - }, - "members_url": { "type": "string", "format": "uri-template" }, - "name": { "description": "Name of the team", "type": "string" }, - "node_id": { "type": "string" }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { - "type": "string", - "enum": ["open", "closed", "secret"] - }, - "notification_setting": { - "description": "Whether team members will receive notifications when their team is @mentioned", - "type": "string", - "enum": ["notifications_enabled", "notifications_disabled"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": [ - "name", - "id", - "node_id", - "slug", - "description", - "privacy", - "notification_setting", - "url", - "html_url", - "members_url", - "repositories_url", - "permission" - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string" - }, - "privacy": { "type": "string", "enum": ["open", "closed", "secret"] }, - "notification_setting": { - "description": "Whether team members will receive notifications when their team is @mentioned", - "type": "string", - "enum": ["notifications_enabled", "notifications_disabled"] - }, - "repositories_url": { "type": "string", "format": "uri" }, - "slug": { "type": "string" }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri" - } - }, - "required": ["name", "id"] - }, - "webhook-team-added-to-repository": { - "title": "team added_to_repository event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["added_to_repository"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { "type": "string", "format": "uri-template" }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { "type": "string", "format": "uri-template" }, - "blobs_url": { "type": "string", "format": "uri-template" }, - "branches_url": { "type": "string", "format": "uri-template" }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { "type": "string", "format": "uri-template" }, - "commits_url": { "type": "string", "format": "uri-template" }, - "compare_url": { "type": "string", "format": "uri-template" }, - "contents_url": { "type": "string", "format": "uri-template" }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "custom_properties": { - "type": "object", - "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", - "additionalProperties": true - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { "type": "string", "format": "uri-template" }, - "git_refs_url": { "type": "string", "format": "uri-template" }, - "git_tags_url": { "type": "string", "format": "uri-template" }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { "type": "string", "format": "uri-template" }, - "keys_url": { "type": "string", "format": "uri-template" }, - "labels_url": { "type": "string", "format": "uri-template" }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { "type": "string", "format": "uri-template" }, - "mirror_url": { "type": ["string", "null"], "format": "uri" }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { "type": "string", "format": "uri-template" }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { "type": "string", "format": "uri-template" }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { "type": "string", "format": "uri-template" }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { "type": "array", "items": { "type": "string" } }, - "trees_url": { "type": "string", "format": "uri-template" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "team": { "$ref": "#/components/schemas/webhooks_team_1" } - }, - "required": ["action", "team", "organization"] - }, - "webhook-team-created": { - "title": "team created event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { "type": "string", "format": "uri-template" }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { "type": "string", "format": "uri-template" }, - "blobs_url": { "type": "string", "format": "uri-template" }, - "branches_url": { "type": "string", "format": "uri-template" }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { "type": "string", "format": "uri-template" }, - "commits_url": { "type": "string", "format": "uri-template" }, - "compare_url": { "type": "string", "format": "uri-template" }, - "contents_url": { "type": "string", "format": "uri-template" }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "custom_properties": { - "type": "object", - "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", - "additionalProperties": true - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { "type": "string", "format": "uri-template" }, - "git_refs_url": { "type": "string", "format": "uri-template" }, - "git_tags_url": { "type": "string", "format": "uri-template" }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { "type": "string", "format": "uri-template" }, - "keys_url": { "type": "string", "format": "uri-template" }, - "labels_url": { "type": "string", "format": "uri-template" }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { "type": "string", "format": "uri-template" }, - "mirror_url": { "type": ["string", "null"], "format": "uri" }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { "type": "string", "format": "uri-template" }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { "type": "string", "format": "uri-template" }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { "type": "string", "format": "uri-template" }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { "type": "array", "items": { "type": "string" } }, - "trees_url": { "type": "string", "format": "uri-template" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "team": { "$ref": "#/components/schemas/webhooks_team_1" } - }, - "required": ["action", "team", "organization", "sender"] - }, - "webhook-team-deleted": { - "title": "team deleted event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["deleted"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { "type": "string", "format": "uri-template" }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { "type": "string", "format": "uri-template" }, - "blobs_url": { "type": "string", "format": "uri-template" }, - "branches_url": { "type": "string", "format": "uri-template" }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { "type": "string", "format": "uri-template" }, - "commits_url": { "type": "string", "format": "uri-template" }, - "compare_url": { "type": "string", "format": "uri-template" }, - "contents_url": { "type": "string", "format": "uri-template" }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "custom_properties": { - "type": "object", - "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", - "additionalProperties": true - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { "type": "string", "format": "uri-template" }, - "git_refs_url": { "type": "string", "format": "uri-template" }, - "git_tags_url": { "type": "string", "format": "uri-template" }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { "type": "string", "format": "uri-template" }, - "keys_url": { "type": "string", "format": "uri-template" }, - "labels_url": { "type": "string", "format": "uri-template" }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { "type": "string", "format": "uri-template" }, - "mirror_url": { "type": ["string", "null"], "format": "uri" }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { "type": "string", "format": "uri-template" }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { "type": "string", "format": "uri-template" }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { "type": "string", "format": "uri-template" }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { "type": "array", "items": { "type": "string" } }, - "trees_url": { "type": "string", "format": "uri-template" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "team": { "$ref": "#/components/schemas/webhooks_team_1" } - }, - "required": ["action", "team", "organization"] - }, - "webhook-team-edited": { - "title": "team edited event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["edited"] }, - "changes": { - "description": "The changes to the team if the action was `edited`.", - "type": "object", - "properties": { - "description": { - "type": "object", - "properties": { - "from": { - "description": "The previous version of the description if the action was `edited`.", - "type": "string" - } - }, - "required": ["from"] - }, - "name": { - "type": "object", - "properties": { - "from": { - "description": "The previous version of the name if the action was `edited`.", - "type": "string" - } - }, - "required": ["from"] - }, - "privacy": { - "type": "object", - "properties": { - "from": { - "description": "The previous version of the team's privacy if the action was `edited`.", - "type": "string" - } - }, - "required": ["from"] - }, - "notification_setting": { - "type": "object", - "properties": { - "from": { - "description": "The previous version of the team's notification setting if the action was `edited`.", - "type": "string" - } - }, - "required": ["from"] - }, - "repository": { - "type": "object", - "properties": { - "permissions": { - "type": "object", - "properties": { - "from": { - "type": "object", - "properties": { - "admin": { - "description": "The previous version of the team member's `admin` permission on a repository, if the action was `edited`.", - "type": "boolean" - }, - "pull": { - "description": "The previous version of the team member's `pull` permission on a repository, if the action was `edited`.", - "type": "boolean" - }, - "push": { - "description": "The previous version of the team member's `push` permission on a repository, if the action was `edited`.", - "type": "boolean" - } - } - } - }, - "required": ["from"] - } - }, - "required": ["permissions"] - } - } - }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { "type": "string", "format": "uri-template" }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { "type": "string", "format": "uri-template" }, - "blobs_url": { "type": "string", "format": "uri-template" }, - "branches_url": { "type": "string", "format": "uri-template" }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { "type": "string", "format": "uri-template" }, - "commits_url": { "type": "string", "format": "uri-template" }, - "compare_url": { "type": "string", "format": "uri-template" }, - "contents_url": { "type": "string", "format": "uri-template" }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "custom_properties": { - "type": "object", - "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", - "additionalProperties": true - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { "type": "string", "format": "uri-template" }, - "git_refs_url": { "type": "string", "format": "uri-template" }, - "git_tags_url": { "type": "string", "format": "uri-template" }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { "type": "string", "format": "uri-template" }, - "keys_url": { "type": "string", "format": "uri-template" }, - "labels_url": { "type": "string", "format": "uri-template" }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { "type": "string", "format": "uri-template" }, - "mirror_url": { "type": ["string", "null"], "format": "uri" }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { "type": "string", "format": "uri-template" }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { "type": "string", "format": "uri-template" }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { "type": "string", "format": "uri-template" }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { "type": "array", "items": { "type": "string" } }, - "trees_url": { "type": "string", "format": "uri-template" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "team": { "$ref": "#/components/schemas/webhooks_team_1" } - }, - "required": ["action", "changes", "team", "organization", "sender"] - }, - "webhook-team-removed-from-repository": { - "title": "team removed_from_repository event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["removed_from_repository"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { - "title": "Repository", - "description": "A git repository", - "type": "object", - "properties": { - "allow_auto_merge": { - "description": "Whether to allow auto-merge for pull requests.", - "type": "boolean", - "default": false - }, - "allow_forking": { - "description": "Whether to allow private forks", - "type": "boolean" - }, - "allow_merge_commit": { - "description": "Whether to allow merge commits for pull requests.", - "type": "boolean", - "default": true - }, - "allow_rebase_merge": { - "description": "Whether to allow rebase merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_squash_merge": { - "description": "Whether to allow squash merges for pull requests.", - "type": "boolean", - "default": true - }, - "allow_update_branch": { "type": "boolean" }, - "archive_url": { "type": "string", "format": "uri-template" }, - "archived": { - "description": "Whether the repository is archived.", - "type": "boolean", - "default": false - }, - "assignees_url": { "type": "string", "format": "uri-template" }, - "blobs_url": { "type": "string", "format": "uri-template" }, - "branches_url": { "type": "string", "format": "uri-template" }, - "clone_url": { "type": "string", "format": "uri" }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { "type": "string", "format": "uri-template" }, - "commits_url": { "type": "string", "format": "uri-template" }, - "compare_url": { "type": "string", "format": "uri-template" }, - "contents_url": { "type": "string", "format": "uri-template" }, - "contributors_url": { "type": "string", "format": "uri" }, - "created_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ] - }, - "custom_properties": { - "type": "object", - "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", - "additionalProperties": true - }, - "default_branch": { - "description": "The default branch of the repository.", - "type": "string" - }, - "delete_branch_on_merge": { - "description": "Whether to delete head branches when pull requests are merged", - "type": "boolean", - "default": false - }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "disabled": { - "description": "Returns whether or not this repository is disabled.", - "type": "boolean" - }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks": { "type": "integer" }, - "forks_count": { "type": "integer" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { "type": "string", "format": "uri-template" }, - "git_refs_url": { "type": "string", "format": "uri-template" }, - "git_tags_url": { "type": "string", "format": "uri-template" }, - "git_url": { "type": "string", "format": "uri" }, - "has_downloads": { - "description": "Whether downloads are enabled.", - "type": "boolean", - "default": true - }, - "has_issues": { - "description": "Whether issues are enabled.", - "type": "boolean", - "default": true - }, - "has_pages": { "type": "boolean" }, - "has_projects": { - "description": "Whether projects are enabled.", - "type": "boolean", - "default": true - }, - "has_wiki": { - "description": "Whether the wiki is enabled.", - "type": "boolean", - "default": true - }, - "homepage": { "type": ["string", "null"] }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer", - "format": "int64" - }, - "is_template": { "type": "boolean" }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { "type": "string", "format": "uri-template" }, - "keys_url": { "type": "string", "format": "uri-template" }, - "labels_url": { "type": "string", "format": "uri-template" }, - "language": { "type": ["string", "null"] }, - "languages_url": { "type": "string", "format": "uri" }, - "license": { - "title": "License", - "type": ["object", "null"], - "properties": { - "key": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "spdx_id": { "type": "string" }, - "url": { "type": ["string", "null"], "format": "uri" } - }, - "required": ["key", "name", "spdx_id", "url", "node_id"] - }, - "master_branch": { "type": "string" }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { "type": "string", "format": "uri-template" }, - "mirror_url": { "type": ["string", "null"], "format": "uri" }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "open_issues": { "type": "integer" }, - "open_issues_count": { "type": "integer" }, - "organization": { "type": "string" }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "permissions": { - "type": "object", - "properties": { - "admin": { "type": "boolean" }, - "maintain": { "type": "boolean" }, - "pull": { "type": "boolean" }, - "push": { "type": "boolean" }, - "triage": { "type": "boolean" } - }, - "required": ["pull", "push", "admin"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "public": { "type": "boolean" }, - "pulls_url": { "type": "string", "format": "uri-template" }, - "pushed_at": { - "oneOf": [ - { "type": "integer" }, - { "type": "string", "format": "date-time" } - ], - "type": ["null", "integer", "string"] - }, - "releases_url": { "type": "string", "format": "uri-template" }, - "role_name": { "type": ["string", "null"] }, - "size": { "type": "integer" }, - "ssh_url": { "type": "string" }, - "stargazers": { "type": "integer" }, - "stargazers_count": { "type": "integer" }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { "type": "string", "format": "uri-template" }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "svn_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "topics": { "type": "array", "items": { "type": "string" } }, - "trees_url": { "type": "string", "format": "uri-template" }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "visibility": { - "type": "string", - "enum": ["public", "private", "internal"] - }, - "watchers": { "type": "integer" }, - "watchers_count": { "type": "integer" } - }, - "required": [ - "id", - "node_id", - "name", - "full_name", - "private", - "owner", - "html_url", - "description", - "fork", - "url", - "forks_url", - "keys_url", - "collaborators_url", - "teams_url", - "hooks_url", - "issue_events_url", - "events_url", - "assignees_url", - "branches_url", - "tags_url", - "blobs_url", - "git_tags_url", - "git_refs_url", - "trees_url", - "statuses_url", - "languages_url", - "stargazers_url", - "contributors_url", - "subscribers_url", - "subscription_url", - "commits_url", - "git_commits_url", - "comments_url", - "issue_comment_url", - "contents_url", - "compare_url", - "merges_url", - "archive_url", - "downloads_url", - "issues_url", - "pulls_url", - "milestones_url", - "notifications_url", - "labels_url", - "releases_url", - "deployments_url", - "created_at", - "updated_at", - "pushed_at", - "git_url", - "ssh_url", - "clone_url", - "svn_url", - "homepage", - "size", - "stargazers_count", - "watchers_count", - "language", - "has_issues", - "has_projects", - "has_downloads", - "has_wiki", - "has_pages", - "forks_count", - "mirror_url", - "archived", - "open_issues_count", - "license", - "forks", - "open_issues", - "watchers", - "default_branch", - "topics", - "visibility" - ] - }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "team": { "$ref": "#/components/schemas/webhooks_team_1" } - }, - "required": ["action", "team", "organization", "sender"] - }, - "webhook-user-created": { - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["created"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "user": { "$ref": "#/components/schemas/webhooks_user" } - }, - "required": ["action"] - }, - "webhook-user-deleted": { - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["deleted"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "user": { "$ref": "#/components/schemas/webhooks_user" } - }, - "required": ["action"] - }, - "webhook-watch-started": { - "title": "watch started event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["started"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" } - }, - "required": ["action", "repository", "sender"] - }, - "webhook-workflow-dispatch": { - "title": "workflow_dispatch event", - "type": "object", - "properties": { - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "inputs": { - "type": ["object", "null"], - "additionalProperties": true - }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "ref": { "type": "string" }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "workflow": { "type": "string" } - }, - "required": ["inputs", "ref", "repository", "sender", "workflow"] - }, - "webhook-workflow-job-completed": { - "title": "workflow_job completed event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["completed"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "workflow_job": { - "allOf": [ - { - "title": "Workflow Job", - "description": "The workflow job. Many `workflow_job` keys, such as `head_sha`, `conclusion`, and `started_at` are the same as those in a [`check_run`](#check_run) object.", - "type": "object", - "properties": { - "check_run_url": { "type": "string", "format": "uri" }, - "completed_at": { "type": ["string", "null"] }, - "conclusion": { - "type": ["string", "null"], - "enum": [ - "success", - "failure", - null, - "skipped", - "cancelled", - "action_required", - "neutral", - "timed_out" - ] - }, - "created_at": { - "description": "The time that the job created.", - "type": "string" - }, - "head_sha": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels": { - "description": "Custom labels for the job. Specified by the [`\"runs-on\"` attribute](https://docs.github.com/enterprise-server@3.13/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on) in the workflow YAML.", - "type": "array", - "items": { "type": "string" } - }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "run_attempt": { "type": "integer" }, - "run_id": { "type": "number" }, - "run_url": { "type": "string", "format": "uri" }, - "runner_group_id": { - "description": "The ID of the runner group that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`.", - "type": ["integer", "null"] - }, - "runner_group_name": { - "description": "The name of the runner group that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`.", - "type": ["string", "null"] - }, - "runner_id": { - "description": "The ID of the runner that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`.", - "type": ["integer", "null"] - }, - "runner_name": { - "description": "The name of the runner that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`.", - "type": ["string", "null"] - }, - "started_at": { "type": "string" }, - "status": { - "description": "The current status of the job. Can be `queued`, `in_progress`, `waiting`, or `completed`.", - "type": "string", - "enum": ["queued", "in_progress", "completed", "waiting"] - }, - "head_branch": { - "type": ["string", "null"], - "description": "The name of the current branch." - }, - "workflow_name": { - "type": ["string", "null"], - "description": "The name of the workflow." - }, - "steps": { - "type": "array", - "items": { - "title": "Workflow Step", - "type": "object", - "properties": { - "completed_at": { "type": ["string", "null"] }, - "conclusion": { - "type": ["string", "null"], - "enum": [ - "failure", - "skipped", - "success", - "cancelled", - null - ] - }, - "name": { "type": "string" }, - "number": { "type": "integer" }, - "started_at": { "type": ["string", "null"] }, - "status": { - "type": "string", - "enum": ["in_progress", "completed", "queued"] - } - }, - "required": [ - "name", - "status", - "conclusion", - "number", - "started_at", - "completed_at" - ] - } - }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "id", - "run_id", - "run_url", - "run_attempt", - "node_id", - "head_sha", - "url", - "html_url", - "status", - "conclusion", - "started_at", - "completed_at", - "name", - "steps", - "check_run_url", - "labels", - "runner_id", - "runner_name", - "runner_group_id", - "runner_group_name", - "workflow_name", - "head_branch", - "created_at" - ] - }, - { - "type": "object", - "properties": { - "check_run_url": { "type": "string" }, - "completed_at": { "type": "string" }, - "conclusion": { - "type": "string", - "enum": [ - "success", - "failure", - "skipped", - "cancelled", - "action_required", - "neutral", - "timed_out" - ] - }, - "created_at": { - "description": "The time that the job created.", - "type": "string" - }, - "head_sha": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "labels": { - "type": "array", - "items": { "type": ["string", "null"] } - }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "run_attempt": { "type": "integer" }, - "run_id": { "type": "integer" }, - "run_url": { "type": "string" }, - "runner_group_id": { "type": ["number", "null"] }, - "runner_group_name": { "type": ["string", "null"] }, - "runner_id": { "type": ["number", "null"] }, - "runner_name": { "type": ["string", "null"] }, - "started_at": { "type": "string" }, - "status": { "type": "string" }, - "head_branch": { - "type": ["string", "null"], - "description": "The name of the current branch." - }, - "workflow_name": { - "type": ["string", "null"], - "description": "The name of the workflow." - }, - "steps": { - "type": "array", - "items": { "type": ["object", "null"] } - }, - "url": { "type": "string" } - }, - "required": ["conclusion"] - } - ] - }, - "deployment": { "$ref": "#/components/schemas/deployment" } - }, - "required": ["action", "repository", "sender", "workflow_job"] - }, - "webhook-workflow-job-in-progress": { - "title": "workflow_job in_progress event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["in_progress"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "workflow_job": { - "allOf": [ - { - "title": "Workflow Job", - "description": "The workflow job. Many `workflow_job` keys, such as `head_sha`, `conclusion`, and `started_at` are the same as those in a [`check_run`](#check_run) object.", - "type": "object", - "properties": { - "check_run_url": { "type": "string", "format": "uri" }, - "completed_at": { "type": ["string", "null"] }, - "conclusion": { - "type": ["string", "null"], - "enum": ["success", "failure", null, "cancelled", "neutral"] - }, - "created_at": { - "description": "The time that the job created.", - "type": "string" - }, - "head_sha": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels": { - "description": "Custom labels for the job. Specified by the [`\"runs-on\"` attribute](https://docs.github.com/enterprise-server@3.13/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on) in the workflow YAML.", - "type": "array", - "items": { "type": "string" } - }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "run_attempt": { "type": "integer" }, - "run_id": { "type": "number" }, - "run_url": { "type": "string", "format": "uri" }, - "runner_group_id": { - "description": "The ID of the runner group that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`.", - "type": ["integer", "null"] - }, - "runner_group_name": { - "description": "The name of the runner group that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`.", - "type": ["string", "null"] - }, - "runner_id": { - "description": "The ID of the runner that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`.", - "type": ["integer", "null"] - }, - "runner_name": { - "description": "The name of the runner that is running this job. This will be `null` as long as `workflow_job[status]` is `queued`.", - "type": ["string", "null"] - }, - "started_at": { "type": "string" }, - "status": { - "description": "The current status of the job. Can be `queued`, `in_progress`, or `completed`.", - "type": "string", - "enum": ["queued", "in_progress", "completed"] - }, - "head_branch": { - "type": ["string", "null"], - "description": "The name of the current branch." - }, - "workflow_name": { - "type": ["string", "null"], - "description": "The name of the workflow." - }, - "steps": { - "type": "array", - "items": { - "title": "Workflow Step", - "type": "object", - "properties": { - "completed_at": { "type": ["string", "null"] }, - "conclusion": { - "type": ["string", "null"], - "enum": [ - "failure", - "skipped", - "success", - null, - "cancelled" - ] - }, - "name": { "type": "string" }, - "number": { "type": "integer" }, - "started_at": { "type": ["string", "null"] }, - "status": { - "type": "string", - "enum": [ - "in_progress", - "completed", - "queued", - "pending" - ] - } - }, - "required": [ - "name", - "status", - "conclusion", - "number", - "started_at", - "completed_at" - ] - } - }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "id", - "run_id", - "run_url", - "run_attempt", - "node_id", - "head_sha", - "url", - "html_url", - "status", - "conclusion", - "started_at", - "completed_at", - "name", - "steps", - "check_run_url", - "labels", - "runner_id", - "runner_name", - "runner_group_id", - "runner_group_name", - "workflow_name", - "head_branch", - "created_at" - ] - }, - { - "type": "object", - "properties": { - "check_run_url": { "type": "string" }, - "completed_at": { "type": ["string", "null"] }, - "conclusion": { "type": ["string", "null"] }, - "created_at": { - "description": "The time that the job created.", - "type": "string" - }, - "head_sha": { "type": "string" }, - "html_url": { "type": "string" }, - "id": { "type": "integer" }, - "labels": { "type": "array", "items": { "type": "string" } }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "run_attempt": { "type": "integer" }, - "run_id": { "type": "integer" }, - "run_url": { "type": "string" }, - "runner_group_id": { "type": ["number", "null"] }, - "runner_group_name": { "type": ["string", "null"] }, - "runner_id": { "type": ["number", "null"] }, - "runner_name": { "type": ["string", "null"] }, - "started_at": { "type": "string" }, - "status": { - "type": "string", - "enum": ["in_progress", "completed", "queued"] - }, - "head_branch": { - "type": ["string", "null"], - "description": "The name of the current branch." - }, - "workflow_name": { - "type": ["string", "null"], - "description": "The name of the workflow." - }, - "steps": { - "type": "array", - "items": { - "title": "Workflow Step", - "type": "object", - "properties": { - "completed_at": { "type": ["string", "null"] }, - "conclusion": { "type": ["string", "null"] }, - "name": { "type": "string" }, - "number": { "type": "integer" }, - "started_at": { "type": ["string", "null"] }, - "status": { - "type": "string", - "enum": [ - "in_progress", - "completed", - "pending", - "queued" - ] - } - }, - "required": [ - "name", - "status", - "conclusion", - "number", - "started_at", - "completed_at" - ] - } - }, - "url": { "type": "string" } - }, - "required": ["status", "steps"] - } - ] - }, - "deployment": { "$ref": "#/components/schemas/deployment" } - }, - "required": ["action", "repository", "sender", "workflow_job"] - }, - "webhook-workflow-job-queued": { - "title": "workflow_job queued event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["queued"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "workflow_job": { - "type": "object", - "properties": { - "check_run_url": { "type": "string", "format": "uri" }, - "completed_at": { "type": ["string", "null"] }, - "conclusion": { "type": ["string", "null"] }, - "created_at": { - "description": "The time that the job created.", - "type": "string" - }, - "head_sha": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels": { "type": "array", "items": { "type": "string" } }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "run_attempt": { "type": "integer" }, - "run_id": { "type": "number" }, - "run_url": { "type": "string", "format": "uri" }, - "runner_group_id": { "type": ["integer", "null"] }, - "runner_group_name": { "type": ["string", "null"] }, - "runner_id": { "type": ["integer", "null"] }, - "runner_name": { "type": ["string", "null"] }, - "started_at": { "type": "string", "format": "date-time" }, - "status": { - "type": "string", - "enum": ["queued", "in_progress", "completed", "waiting"] - }, - "head_branch": { - "type": ["string", "null"], - "description": "The name of the current branch." - }, - "workflow_name": { - "type": ["string", "null"], - "description": "The name of the workflow." - }, - "steps": { - "type": "array", - "items": { - "title": "Workflow Step", - "type": "object", - "properties": { - "completed_at": { "type": ["string", "null"] }, - "conclusion": { - "type": ["string", "null"], - "enum": [ - "failure", - "skipped", - "success", - "cancelled", - null - ] - }, - "name": { "type": "string" }, - "number": { "type": "integer" }, - "started_at": { "type": ["string", "null"] }, - "status": { - "type": "string", - "enum": ["completed", "in_progress", "queued", "pending"] - } - }, - "required": [ - "name", - "status", - "conclusion", - "number", - "started_at", - "completed_at" - ] - } - }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "id", - "run_id", - "run_url", - "run_attempt", - "node_id", - "head_sha", - "url", - "html_url", - "status", - "conclusion", - "started_at", - "completed_at", - "name", - "steps", - "check_run_url", - "labels", - "runner_id", - "runner_name", - "runner_group_id", - "runner_group_name", - "workflow_name", - "head_branch", - "created_at" - ] - }, - "deployment": { "$ref": "#/components/schemas/deployment" } - }, - "required": ["action", "repository", "sender", "workflow_job"] - }, - "webhook-workflow-job-waiting": { - "title": "workflow_job waiting event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["waiting"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "workflow_job": { - "type": "object", - "properties": { - "check_run_url": { "type": "string", "format": "uri" }, - "completed_at": { "type": ["string", "null"] }, - "conclusion": { "type": ["string", "null"] }, - "created_at": { - "description": "The time that the job created.", - "type": "string" - }, - "head_sha": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "labels": { "type": "array", "items": { "type": "string" } }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "run_attempt": { "type": "integer" }, - "run_id": { "type": "number" }, - "run_url": { "type": "string", "format": "uri" }, - "runner_group_id": { "type": ["integer", "null"] }, - "runner_group_name": { "type": ["string", "null"] }, - "runner_id": { "type": ["integer", "null"] }, - "runner_name": { "type": ["string", "null"] }, - "started_at": { "type": "string", "format": "date-time" }, - "head_branch": { - "type": ["string", "null"], - "description": "The name of the current branch." - }, - "workflow_name": { - "type": ["string", "null"], - "description": "The name of the workflow." - }, - "status": { - "type": "string", - "enum": ["queued", "in_progress", "completed", "waiting"] - }, - "steps": { - "type": "array", - "items": { - "title": "Workflow Step", - "type": "object", - "properties": { - "completed_at": { "type": ["string", "null"] }, - "conclusion": { - "type": ["string", "null"], - "enum": [ - "failure", - "skipped", - "success", - "cancelled", - null - ] - }, - "name": { "type": "string" }, - "number": { "type": "integer" }, - "started_at": { "type": ["string", "null"] }, - "status": { - "type": "string", - "enum": [ - "completed", - "in_progress", - "queued", - "pending", - "waiting" - ] - } - }, - "required": [ - "name", - "status", - "conclusion", - "number", - "started_at", - "completed_at" - ] - } - }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "id", - "run_id", - "run_url", - "run_attempt", - "node_id", - "head_sha", - "url", - "html_url", - "status", - "conclusion", - "started_at", - "completed_at", - "name", - "steps", - "check_run_url", - "labels", - "runner_id", - "runner_name", - "runner_group_id", - "runner_group_name", - "workflow_name", - "head_branch", - "created_at" - ] - }, - "deployment": { "$ref": "#/components/schemas/deployment" } - }, - "required": ["action", "repository", "sender", "workflow_job"] - }, - "webhook-workflow-run-completed": { - "title": "workflow_run completed event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["completed"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "workflow": { "$ref": "#/components/schemas/webhooks_workflow" }, - "workflow_run": { - "title": "Workflow Run", - "type": "object", - "required": [ - "actor", - "artifacts_url", - "cancel_url", - "check_suite_id", - "check_suite_node_id", - "check_suite_url", - "conclusion", - "created_at", - "event", - "head_branch", - "head_commit", - "head_repository", - "head_sha", - "html_url", - "id", - "jobs_url", - "logs_url", - "name", - "node_id", - "path", - "previous_attempt_url", - "pull_requests", - "repository", - "rerun_url", - "run_attempt", - "run_number", - "run_started_at", - "status", - "triggering_actor", - "updated_at", - "url", - "workflow_id", - "workflow_url" - ], - "properties": { - "actor": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - } - }, - "artifacts_url": { "type": "string", "format": "uri" }, - "cancel_url": { "type": "string", "format": "uri" }, - "check_suite_id": { "type": "integer" }, - "check_suite_node_id": { "type": "string" }, - "check_suite_url": { "type": "string", "format": "uri" }, - "conclusion": { - "type": ["string", "null"], - "enum": [ - "action_required", - "cancelled", - "failure", - "neutral", - "skipped", - "stale", - "success", - "timed_out", - "startup_failure", - null - ] - }, - "created_at": { "type": "string", "format": "date-time" }, - "event": { "type": "string" }, - "head_branch": { "type": ["string", "null"] }, - "head_commit": { - "title": "SimpleCommit", - "type": "object", - "required": [ - "id", - "tree_id", - "message", - "timestamp", - "author", - "committer" - ], - "properties": { - "author": { - "title": "Committer", - "description": "Metaproperties for Git author/committer information.", - "type": "object", - "required": ["email", "name"], - "properties": { - "date": { "type": "string", "format": "date-time" }, - "email": { - "type": ["string", "null"], - "format": "email" - }, - "name": { - "description": "The git author's name.", - "type": "string" - }, - "username": { "type": "string" } - } - }, - "committer": { - "title": "Committer", - "description": "Metaproperties for Git author/committer information.", - "type": "object", - "required": ["email", "name"], - "properties": { - "date": { "type": "string", "format": "date-time" }, - "email": { - "type": ["string", "null"], - "format": "email" - }, - "name": { - "description": "The git author's name.", - "type": "string" - }, - "username": { "type": "string" } - } - }, - "id": { "type": "string" }, - "message": { "type": "string" }, - "timestamp": { "type": "string" }, - "tree_id": { "type": "string" } - } - }, - "head_repository": { - "title": "Repository Lite", - "type": "object", - "required": [ - "archive_url", - "assignees_url", - "blobs_url", - "branches_url", - "collaborators_url", - "comments_url", - "commits_url", - "compare_url", - "contents_url", - "contributors_url", - "deployments_url", - "description", - "downloads_url", - "events_url", - "fork", - "forks_url", - "full_name", - "git_commits_url", - "git_refs_url", - "git_tags_url", - "hooks_url", - "html_url", - "id", - "issue_comment_url", - "issue_events_url", - "issues_url", - "keys_url", - "labels_url", - "languages_url", - "merges_url", - "milestones_url", - "name", - "node_id", - "notifications_url", - "owner", - "private", - "pulls_url", - "releases_url", - "stargazers_url", - "statuses_url", - "subscribers_url", - "subscription_url", - "tags_url", - "teams_url", - "trees_url", - "url" - ], - "properties": { - "archive_url": { "type": "string", "format": "uri-template" }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { "type": "string", "format": "uri-template" }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { "type": "string", "format": "uri-template" }, - "compare_url": { "type": "string", "format": "uri-template" }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer" - }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { "type": "string", "format": "uri-template" }, - "keys_url": { "type": "string", "format": "uri-template" }, - "labels_url": { "type": "string", "format": "uri-template" }, - "languages_url": { "type": "string", "format": "uri" }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "owner": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - } - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "pulls_url": { "type": "string", "format": "uri-template" }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "trees_url": { "type": "string", "format": "uri-template" }, - "url": { "type": "string", "format": "uri" } - } - }, - "head_sha": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "jobs_url": { "type": "string", "format": "uri" }, - "logs_url": { "type": "string", "format": "uri" }, - "name": { "type": ["string", "null"] }, - "node_id": { "type": "string" }, - "path": { "type": "string" }, - "previous_attempt_url": { - "type": ["string", "null"], - "format": "uri" - }, - "pull_requests": { - "type": "array", - "items": { - "type": ["object", "null"], - "required": ["url", "id", "number", "head", "base"], - "properties": { - "base": { - "type": "object", - "required": ["ref", "sha", "repo"], - "properties": { - "ref": { "type": "string" }, - "repo": { - "title": "Repo Ref", - "type": "object", - "required": ["id", "url", "name"], - "properties": { - "id": { "type": "integer" }, - "name": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - } - }, - "sha": { "type": "string" } - } - }, - "head": { - "type": "object", - "required": ["ref", "sha", "repo"], - "properties": { - "ref": { "type": "string" }, - "repo": { - "title": "Repo Ref", - "type": "object", - "required": ["id", "url", "name"], - "properties": { - "id": { "type": "integer" }, - "name": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - } - }, - "sha": { "type": "string" } - } - }, - "id": { "type": "number" }, - "number": { "type": "number" }, - "url": { "type": "string", "format": "uri" } - } - } - }, - "referenced_workflows": { - "type": ["array", "null"], - "items": { - "type": "object", - "required": ["path", "sha"], - "properties": { - "path": { "type": "string" }, - "ref": { "type": "string" }, - "sha": { "type": "string" } - } - } - }, - "repository": { - "title": "Repository Lite", - "type": "object", - "required": [ - "archive_url", - "assignees_url", - "blobs_url", - "branches_url", - "collaborators_url", - "comments_url", - "commits_url", - "compare_url", - "contents_url", - "contributors_url", - "deployments_url", - "description", - "downloads_url", - "events_url", - "fork", - "forks_url", - "full_name", - "git_commits_url", - "git_refs_url", - "git_tags_url", - "hooks_url", - "html_url", - "id", - "issue_comment_url", - "issue_events_url", - "issues_url", - "keys_url", - "labels_url", - "languages_url", - "merges_url", - "milestones_url", - "name", - "node_id", - "notifications_url", - "owner", - "private", - "pulls_url", - "releases_url", - "stargazers_url", - "statuses_url", - "subscribers_url", - "subscription_url", - "tags_url", - "teams_url", - "trees_url", - "url" - ], - "properties": { - "archive_url": { "type": "string", "format": "uri-template" }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { "type": "string", "format": "uri-template" }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { "type": "string", "format": "uri-template" }, - "compare_url": { "type": "string", "format": "uri-template" }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer" - }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { "type": "string", "format": "uri-template" }, - "keys_url": { "type": "string", "format": "uri-template" }, - "labels_url": { "type": "string", "format": "uri-template" }, - "languages_url": { "type": "string", "format": "uri" }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "owner": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - } - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "pulls_url": { "type": "string", "format": "uri-template" }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "trees_url": { "type": "string", "format": "uri-template" }, - "url": { "type": "string", "format": "uri" } - } - }, - "rerun_url": { "type": "string", "format": "uri" }, - "run_attempt": { "type": "integer" }, - "run_number": { "type": "integer" }, - "run_started_at": { "type": "string", "format": "date-time" }, - "status": { - "type": "string", - "enum": [ - "requested", - "in_progress", - "completed", - "queued", - "pending", - "waiting" - ] - }, - "triggering_actor": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - } - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "workflow_id": { "type": "integer" }, - "workflow_url": { "type": "string", "format": "uri" }, - "display_title": { - "type": "string", - "description": "The event-specific title associated with the run or the run-name if set, or the value of `run-name` if it is set in the workflow.", - "examples": ["Simple Workflow"] - } - } - } - }, - "required": [ - "action", - "repository", - "sender", - "workflow", - "workflow_run" - ] - }, - "webhook-workflow-run-in-progress": { - "title": "workflow_run in_progress event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["in_progress"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "workflow": { "$ref": "#/components/schemas/webhooks_workflow" }, - "workflow_run": { - "title": "Workflow Run", - "type": "object", - "required": [ - "actor", - "artifacts_url", - "cancel_url", - "check_suite_id", - "check_suite_node_id", - "check_suite_url", - "conclusion", - "created_at", - "event", - "head_branch", - "head_commit", - "head_repository", - "head_sha", - "html_url", - "id", - "jobs_url", - "logs_url", - "name", - "node_id", - "path", - "previous_attempt_url", - "pull_requests", - "repository", - "rerun_url", - "run_attempt", - "run_number", - "run_started_at", - "status", - "triggering_actor", - "updated_at", - "url", - "workflow_id", - "workflow_url" - ], - "properties": { - "actor": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" } - } - }, - "artifacts_url": { "type": "string", "format": "uri" }, - "cancel_url": { "type": "string", "format": "uri" }, - "check_suite_id": { "type": "integer" }, - "check_suite_node_id": { "type": "string" }, - "check_suite_url": { "type": "string", "format": "uri" }, - "conclusion": { - "type": ["string", "null"], - "enum": [ - "action_required", - "cancelled", - "failure", - "neutral", - "skipped", - "stale", - "success", - "timed_out", - null - ] - }, - "created_at": { "type": "string", "format": "date-time" }, - "event": { "type": "string" }, - "head_branch": { "type": ["string", "null"] }, - "head_commit": { - "title": "SimpleCommit", - "type": "object", - "required": [ - "id", - "tree_id", - "message", - "timestamp", - "author", - "committer" - ], - "properties": { - "author": { - "title": "Committer", - "description": "Metaproperties for Git author/committer information.", - "type": "object", - "required": ["email", "name"], - "properties": { - "date": { "type": "string", "format": "date-time" }, - "email": { - "type": ["string", "null"], - "format": "email" - }, - "name": { - "description": "The git author's name.", - "type": "string" - }, - "username": { "type": "string" } - } - }, - "committer": { - "title": "Committer", - "description": "Metaproperties for Git author/committer information.", - "type": "object", - "required": ["email", "name"], - "properties": { - "date": { "type": "string", "format": "date-time" }, - "email": { - "type": ["string", "null"], - "format": "email" - }, - "name": { - "description": "The git author's name.", - "type": "string" - }, - "username": { "type": "string" } - } - }, - "id": { "type": "string" }, - "message": { "type": "string" }, - "timestamp": { "type": "string" }, - "tree_id": { "type": "string" } - } - }, - "head_repository": { - "title": "Repository Lite", - "type": "object", - "required": [ - "archive_url", - "assignees_url", - "blobs_url", - "branches_url", - "collaborators_url", - "comments_url", - "commits_url", - "compare_url", - "contents_url", - "contributors_url", - "deployments_url", - "description", - "downloads_url", - "events_url", - "fork", - "forks_url", - "full_name", - "git_commits_url", - "git_refs_url", - "git_tags_url", - "hooks_url", - "html_url", - "id", - "issue_comment_url", - "issue_events_url", - "issues_url", - "keys_url", - "labels_url", - "languages_url", - "merges_url", - "milestones_url", - "name", - "node_id", - "notifications_url", - "owner", - "private", - "pulls_url", - "releases_url", - "stargazers_url", - "statuses_url", - "subscribers_url", - "subscription_url", - "tags_url", - "teams_url", - "trees_url", - "url" - ], - "properties": { - "archive_url": { "type": "string", "format": "uri-template" }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { "type": "string", "format": "uri-template" }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { "type": "string", "format": "uri-template" }, - "compare_url": { "type": "string", "format": "uri-template" }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer" - }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { "type": "string", "format": "uri-template" }, - "keys_url": { "type": "string", "format": "uri-template" }, - "labels_url": { "type": "string", "format": "uri-template" }, - "languages_url": { "type": "string", "format": "uri" }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "The name of the repository.", - "type": ["string", "null"] - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "owner": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" } - } - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "pulls_url": { "type": "string", "format": "uri-template" }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "trees_url": { "type": "string", "format": "uri-template" }, - "url": { "type": "string", "format": "uri" } - } - }, - "head_sha": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "jobs_url": { "type": "string", "format": "uri" }, - "logs_url": { "type": "string", "format": "uri" }, - "name": { "type": ["string", "null"] }, - "node_id": { "type": "string" }, - "path": { "type": "string" }, - "previous_attempt_url": { - "type": ["string", "null"], - "format": "uri" - }, - "pull_requests": { - "type": "array", - "items": { - "type": ["object", "null"], - "required": ["url", "id", "number", "head", "base"], - "properties": { - "base": { - "type": "object", - "required": ["ref", "sha", "repo"], - "properties": { - "ref": { "type": "string" }, - "repo": { - "title": "Repo Ref", - "type": "object", - "required": ["id", "url", "name"], - "properties": { - "id": { "type": "integer" }, - "name": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - } - }, - "sha": { "type": "string" } - } - }, - "head": { - "type": "object", - "required": ["ref", "sha", "repo"], - "properties": { - "ref": { "type": "string" }, - "repo": { - "title": "Repo Ref", - "type": "object", - "required": ["id", "url", "name"], - "properties": { - "id": { "type": "integer" }, - "name": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - } - }, - "sha": { "type": "string" } - } - }, - "id": { "type": "number" }, - "number": { "type": "number" }, - "url": { "type": "string", "format": "uri" } - } - } - }, - "referenced_workflows": { - "type": ["array", "null"], - "items": { - "type": "object", - "required": ["path", "sha"], - "properties": { - "path": { "type": "string" }, - "ref": { "type": "string" }, - "sha": { "type": "string" } - } - } - }, - "repository": { - "title": "Repository Lite", - "type": "object", - "required": [ - "archive_url", - "assignees_url", - "blobs_url", - "branches_url", - "collaborators_url", - "comments_url", - "commits_url", - "compare_url", - "contents_url", - "contributors_url", - "deployments_url", - "description", - "downloads_url", - "events_url", - "fork", - "forks_url", - "full_name", - "git_commits_url", - "git_refs_url", - "git_tags_url", - "hooks_url", - "html_url", - "id", - "issue_comment_url", - "issue_events_url", - "issues_url", - "keys_url", - "labels_url", - "languages_url", - "merges_url", - "milestones_url", - "name", - "node_id", - "notifications_url", - "owner", - "private", - "pulls_url", - "releases_url", - "stargazers_url", - "statuses_url", - "subscribers_url", - "subscription_url", - "tags_url", - "teams_url", - "trees_url", - "url" - ], - "properties": { - "archive_url": { "type": "string", "format": "uri-template" }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { "type": "string", "format": "uri-template" }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { "type": "string", "format": "uri-template" }, - "compare_url": { "type": "string", "format": "uri-template" }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer" - }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { "type": "string", "format": "uri-template" }, - "keys_url": { "type": "string", "format": "uri-template" }, - "labels_url": { "type": "string", "format": "uri-template" }, - "languages_url": { "type": "string", "format": "uri" }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "owner": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" } - } - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "pulls_url": { "type": "string", "format": "uri-template" }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "trees_url": { "type": "string", "format": "uri-template" }, - "url": { "type": "string", "format": "uri" } - } - }, - "rerun_url": { "type": "string", "format": "uri" }, - "run_attempt": { "type": "integer" }, - "run_number": { "type": "integer" }, - "run_started_at": { "type": "string", "format": "date-time" }, - "status": { - "type": "string", - "enum": [ - "requested", - "in_progress", - "completed", - "queued", - "pending" - ] - }, - "triggering_actor": { - "title": "User", - "type": ["object", "null"], - "required": ["login", "id"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" } - } - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "workflow_id": { "type": "integer" }, - "workflow_url": { "type": "string", "format": "uri" } - } - } - }, - "required": [ - "action", - "repository", - "sender", - "workflow", - "workflow_run" - ] - }, - "webhook-workflow-run-requested": { - "title": "workflow_run requested event", - "type": "object", - "properties": { - "action": { "type": "string", "enum": ["requested"] }, - "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, - "installation": { - "$ref": "#/components/schemas/simple-installation" - }, - "organization": { - "$ref": "#/components/schemas/organization-simple-webhooks" - }, - "repository": { "$ref": "#/components/schemas/repository-webhooks" }, - "sender": { "$ref": "#/components/schemas/simple-user" }, - "workflow": { "$ref": "#/components/schemas/webhooks_workflow" }, - "workflow_run": { - "title": "Workflow Run", - "type": "object", - "properties": { - "actor": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "artifacts_url": { "type": "string", "format": "uri" }, - "cancel_url": { "type": "string", "format": "uri" }, - "check_suite_id": { "type": "integer" }, - "check_suite_node_id": { "type": "string" }, - "check_suite_url": { "type": "string", "format": "uri" }, - "conclusion": { - "type": ["string", "null"], - "enum": [ - "success", - "failure", - "neutral", - "cancelled", - "timed_out", - "action_required", - "stale", - null, - "skipped", - "startup_failure" - ] - }, - "created_at": { "type": "string", "format": "date-time" }, - "event": { "type": "string" }, - "head_branch": { "type": ["string", "null"] }, - "head_commit": { - "title": "SimpleCommit", - "type": "object", - "properties": { - "author": { - "title": "Committer", - "description": "Metaproperties for Git author/committer information.", - "type": "object", - "properties": { - "date": { "type": "string", "format": "date-time" }, - "email": { - "type": ["string", "null"], - "format": "email" - }, - "name": { - "description": "The git author's name.", - "type": "string" - }, - "username": { "type": "string" } - }, - "required": ["email", "name"] - }, - "committer": { - "title": "Committer", - "description": "Metaproperties for Git author/committer information.", - "type": "object", - "properties": { - "date": { "type": "string", "format": "date-time" }, - "email": { - "type": ["string", "null"], - "format": "email" - }, - "name": { - "description": "The git author's name.", - "type": "string" - }, - "username": { "type": "string" } - }, - "required": ["email", "name"] - }, - "id": { "type": "string" }, - "message": { "type": "string" }, - "timestamp": { "type": "string" }, - "tree_id": { "type": "string" } - }, - "required": [ - "id", - "tree_id", - "message", - "timestamp", - "author", - "committer" - ] - }, - "head_repository": { - "title": "Repository Lite", - "type": "object", - "properties": { - "archive_url": { "type": "string", "format": "uri-template" }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { "type": "string", "format": "uri-template" }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { "type": "string", "format": "uri-template" }, - "compare_url": { "type": "string", "format": "uri-template" }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer" - }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { "type": "string", "format": "uri-template" }, - "keys_url": { "type": "string", "format": "uri-template" }, - "labels_url": { "type": "string", "format": "uri-template" }, - "languages_url": { "type": "string", "format": "uri" }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "pulls_url": { "type": "string", "format": "uri-template" }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "trees_url": { "type": "string", "format": "uri-template" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "archive_url", - "assignees_url", - "blobs_url", - "branches_url", - "collaborators_url", - "comments_url", - "commits_url", - "compare_url", - "contents_url", - "contributors_url", - "deployments_url", - "description", - "downloads_url", - "events_url", - "fork", - "forks_url", - "full_name", - "git_commits_url", - "git_refs_url", - "git_tags_url", - "hooks_url", - "html_url", - "id", - "issue_comment_url", - "issue_events_url", - "issues_url", - "keys_url", - "labels_url", - "languages_url", - "merges_url", - "milestones_url", - "name", - "node_id", - "notifications_url", - "owner", - "private", - "pulls_url", - "releases_url", - "stargazers_url", - "statuses_url", - "subscribers_url", - "subscription_url", - "tags_url", - "teams_url", - "trees_url", - "url" - ] - }, - "head_sha": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "jobs_url": { "type": "string", "format": "uri" }, - "logs_url": { "type": "string", "format": "uri" }, - "name": { "type": ["string", "null"] }, - "node_id": { "type": "string" }, - "path": { "type": "string" }, - "previous_attempt_url": { - "type": ["string", "null"], - "format": "uri" - }, - "pull_requests": { - "type": "array", - "items": { - "type": "object", - "properties": { - "base": { - "type": "object", - "properties": { - "ref": { "type": "string" }, - "repo": { - "title": "Repo Ref", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "name": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["id", "url", "name"] - }, - "sha": { "type": "string" } - }, - "required": ["ref", "sha", "repo"] - }, - "head": { - "type": "object", - "properties": { - "ref": { "type": "string" }, - "repo": { - "title": "Repo Ref", - "type": "object", - "properties": { - "id": { "type": "integer" }, - "name": { "type": "string" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["id", "url", "name"] - }, - "sha": { "type": "string" } - }, - "required": ["ref", "sha", "repo"] - }, - "id": { "type": "number" }, - "number": { "type": "number" }, - "url": { "type": "string", "format": "uri" } - }, - "required": ["url", "id", "number", "head", "base"] - } - }, - "referenced_workflows": { - "type": ["array", "null"], - "items": { - "type": "object", - "properties": { - "path": { "type": "string" }, - "ref": { "type": "string" }, - "sha": { "type": "string" } - }, - "required": ["path", "sha"] - } - }, - "repository": { - "title": "Repository Lite", - "type": "object", - "properties": { - "archive_url": { "type": "string", "format": "uri-template" }, - "assignees_url": { - "type": "string", - "format": "uri-template" - }, - "blobs_url": { "type": "string", "format": "uri-template" }, - "branches_url": { - "type": "string", - "format": "uri-template" - }, - "collaborators_url": { - "type": "string", - "format": "uri-template" - }, - "comments_url": { - "type": "string", - "format": "uri-template" - }, - "commits_url": { "type": "string", "format": "uri-template" }, - "compare_url": { "type": "string", "format": "uri-template" }, - "contents_url": { - "type": "string", - "format": "uri-template" - }, - "contributors_url": { "type": "string", "format": "uri" }, - "deployments_url": { "type": "string", "format": "uri" }, - "description": { "type": ["string", "null"] }, - "downloads_url": { "type": "string", "format": "uri" }, - "events_url": { "type": "string", "format": "uri" }, - "fork": { "type": "boolean" }, - "forks_url": { "type": "string", "format": "uri" }, - "full_name": { "type": "string" }, - "git_commits_url": { - "type": "string", - "format": "uri-template" - }, - "git_refs_url": { - "type": "string", - "format": "uri-template" - }, - "git_tags_url": { - "type": "string", - "format": "uri-template" - }, - "hooks_url": { "type": "string", "format": "uri" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { - "description": "Unique identifier of the repository", - "type": "integer" - }, - "issue_comment_url": { - "type": "string", - "format": "uri-template" - }, - "issue_events_url": { - "type": "string", - "format": "uri-template" - }, - "issues_url": { "type": "string", "format": "uri-template" }, - "keys_url": { "type": "string", "format": "uri-template" }, - "labels_url": { "type": "string", "format": "uri-template" }, - "languages_url": { "type": "string", "format": "uri" }, - "merges_url": { "type": "string", "format": "uri" }, - "milestones_url": { - "type": "string", - "format": "uri-template" - }, - "name": { - "description": "The name of the repository.", - "type": "string" - }, - "node_id": { "type": "string" }, - "notifications_url": { - "type": "string", - "format": "uri-template" - }, - "owner": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { - "type": "string", - "format": "uri-template" - }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { - "type": "string", - "format": "uri-template" - }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { - "type": "string", - "format": "uri" - }, - "received_events_url": { - "type": "string", - "format": "uri" - }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { - "type": "string", - "format": "uri-template" - }, - "subscriptions_url": { - "type": "string", - "format": "uri" - }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "private": { - "description": "Whether the repository is private or public.", - "type": "boolean" - }, - "pulls_url": { "type": "string", "format": "uri-template" }, - "releases_url": { - "type": "string", - "format": "uri-template" - }, - "stargazers_url": { "type": "string", "format": "uri" }, - "statuses_url": { - "type": "string", - "format": "uri-template" - }, - "subscribers_url": { "type": "string", "format": "uri" }, - "subscription_url": { "type": "string", "format": "uri" }, - "tags_url": { "type": "string", "format": "uri" }, - "teams_url": { "type": "string", "format": "uri" }, - "trees_url": { "type": "string", "format": "uri-template" }, - "url": { "type": "string", "format": "uri" } - }, - "required": [ - "archive_url", - "assignees_url", - "blobs_url", - "branches_url", - "collaborators_url", - "comments_url", - "commits_url", - "compare_url", - "contents_url", - "contributors_url", - "deployments_url", - "description", - "downloads_url", - "events_url", - "fork", - "forks_url", - "full_name", - "git_commits_url", - "git_refs_url", - "git_tags_url", - "hooks_url", - "html_url", - "id", - "issue_comment_url", - "issue_events_url", - "issues_url", - "keys_url", - "labels_url", - "languages_url", - "merges_url", - "milestones_url", - "name", - "node_id", - "notifications_url", - "owner", - "private", - "pulls_url", - "releases_url", - "stargazers_url", - "statuses_url", - "subscribers_url", - "subscription_url", - "tags_url", - "teams_url", - "trees_url", - "url" - ] - }, - "rerun_url": { "type": "string", "format": "uri" }, - "run_attempt": { "type": "integer" }, - "run_number": { "type": "integer" }, - "run_started_at": { "type": "string", "format": "date-time" }, - "status": { - "type": "string", - "enum": [ - "requested", - "in_progress", - "completed", - "queued", - "pending", - "waiting" - ] - }, - "triggering_actor": { - "title": "User", - "type": ["object", "null"], - "properties": { - "avatar_url": { "type": "string", "format": "uri" }, - "deleted": { "type": "boolean" }, - "email": { "type": ["string", "null"] }, - "events_url": { "type": "string", "format": "uri-template" }, - "followers_url": { "type": "string", "format": "uri" }, - "following_url": { - "type": "string", - "format": "uri-template" - }, - "gists_url": { "type": "string", "format": "uri-template" }, - "gravatar_id": { "type": "string" }, - "html_url": { "type": "string", "format": "uri" }, - "id": { "type": "integer" }, - "login": { "type": "string" }, - "name": { "type": "string" }, - "node_id": { "type": "string" }, - "organizations_url": { "type": "string", "format": "uri" }, - "received_events_url": { "type": "string", "format": "uri" }, - "repos_url": { "type": "string", "format": "uri" }, - "site_admin": { "type": "boolean" }, - "starred_url": { "type": "string", "format": "uri-template" }, - "subscriptions_url": { "type": "string", "format": "uri" }, - "type": { - "type": "string", - "enum": ["Bot", "User", "Organization"] - }, - "url": { "type": "string", "format": "uri" }, - "user_view_type": { "type": "string" } - }, - "required": ["login", "id"] - }, - "updated_at": { "type": "string", "format": "date-time" }, - "url": { "type": "string", "format": "uri" }, - "workflow_id": { "type": "integer" }, - "workflow_url": { "type": "string", "format": "uri" }, - "display_title": { "type": "string" } - }, - "required": [ - "artifacts_url", - "cancel_url", - "check_suite_url", - "check_suite_id", - "check_suite_node_id", - "conclusion", - "created_at", - "event", - "head_branch", - "head_commit", - "head_repository", - "head_sha", - "html_url", - "id", - "jobs_url", - "logs_url", - "node_id", - "name", - "path", - "pull_requests", - "repository", - "rerun_url", - "run_number", - "status", - "updated_at", - "url", - "workflow_id", - "workflow_url", - "run_attempt", - "run_started_at", - "previous_attempt_url", - "actor", - "triggering_actor", - "display_title" - ] - } - }, - "required": [ - "action", - "repository", - "sender", - "workflow", - "workflow_run" - ] - } - }, - "examples": { - "check-run-completed": { - "value": { - "action": "completed", - "check_run": { - "id": 128620228, - "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", - "head_sha": "ec26c3e57ca3a959ca5aad62de7213c562f8c821", - "external_id": "", - "url": "https://api.github.com/repos/Codertocat/Hello-World/check-runs/128620228", - "html_url": "https://github.com/Codertocat/Hello-World/runs/128620228", - "details_url": "https://octocoders.github.io", - "status": "completed", - "conclusion": "success", - "started_at": "2019-05-15T15:21:12Z", - "completed_at": "2019-05-15T15:21:45Z", - "output": { - "title": null, - "summary": null, - "text": null, - "annotations_count": 0, - "annotations_url": "https://api.github.com/repos/Codertocat/Hello-World/check-runs/128620228/annotations" - }, - "name": "Octocoders-linter", - "check_suite": { - "id": 118578147, - "node_id": "MDEwOkNoZWNrU3VpdGUxMTg1NzgxNDc=", - "head_branch": "changes", - "head_sha": "ec26c3e57ca3a959ca5aad62de7213c562f8c821", - "status": "completed", - "conclusion": null, - "url": "https://api.github.com/repos/Codertocat/Hello-World/check-suites/118578147", - "before": "6113728f27ae82c7b1a177c8d03f9e96e0adf246", - "after": "ec26c3e57ca3a959ca5aad62de7213c562f8c821", - "pull_requests": [ - { - "url": "https://api.github.com/repos/Codertocat/Hello-World/pulls/2", - "id": 279147437, - "number": 2, - "head": { - "ref": "changes", - "sha": "ec26c3e57ca3a959ca5aad62de7213c562f8c821", - "repo": { - "id": 186853002, - "url": "https://api.github.com/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - }, - "base": { - "ref": "master", - "sha": "f95f852bd8fca8fcc58a9a2d6c842781e32a215e", - "repo": { - "id": 186853002, - "url": "https://api.github.com/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - } - } - ], - "deployment": { - "url": "https://api.github.com/repos/Codertocat/Hello-World/deployments/326191728", - "id": 326191728, - "node_id": "MDEwOkRlcGxveW1lbnQzMjYxOTE3Mjg=", - "task": "deploy", - "original_environment": "lab", - "environment": "lab", - "description": null, - "created_at": "2021-02-18T08:22:48Z", - "updated_at": "2021-02-18T09:47:16Z", - "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments/326191728/statuses", - "repository_url": "https://api.github.com/repos/Codertocat/Hello-World" - }, - "app": { - "id": 29310, - "node_id": "MDM6QXBwMjkzMTA=", - "owner": { - "login": "Octocoders", - "id": 38302899, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjM4MzAyODk5", - "avatar_url": "https://avatars1.githubusercontent.com/u/38302899?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Octocoders", - "html_url": "https://github.com/Octocoders", - "followers_url": "https://api.github.com/users/Octocoders/followers", - "following_url": "https://api.github.com/users/Octocoders/following{/other_user}", - "gists_url": "https://api.github.com/users/Octocoders/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Octocoders/subscriptions", - "organizations_url": "https://api.github.com/users/Octocoders/orgs", - "repos_url": "https://api.github.com/users/Octocoders/repos", - "events_url": "https://api.github.com/users/Octocoders/events{/privacy}", - "received_events_url": "https://api.github.com/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "name": "octocoders-linter", - "description": "", - "external_url": "https://octocoders.github.io", - "html_url": "https://github.com/apps/octocoders-linter", - "created_at": "2019-04-19T19:36:24Z", - "updated_at": "2019-04-19T19:36:56Z", - "permissions": { - "administration": "write", - "checks": "write", - "contents": "write", - "deployments": "write", - "issues": "write", - "members": "write", - "metadata": "read", - "organization_administration": "write", - "organization_hooks": "write", - "organization_plan": "read", - "organization_projects": "write", - "organization_user_blocking": "write", - "pages": "write", - "pull_requests": "write", - "repository_hooks": "write", - "repository_projects": "write", - "statuses": "write", - "team_discussions": "write", - "vulnerability_alerts": "read" - }, - "events": [] - }, - "created_at": "2019-05-15T15:20:31Z", - "updated_at": "2019-05-15T15:20:31Z" - }, - "app": { - "id": 29310, - "node_id": "MDM6QXBwMjkzMTA=", - "owner": { - "login": "Octocoders", - "id": 38302899, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjM4MzAyODk5", - "avatar_url": "https://avatars1.githubusercontent.com/u/38302899?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Octocoders", - "html_url": "https://github.com/Octocoders", - "followers_url": "https://api.github.com/users/Octocoders/followers", - "following_url": "https://api.github.com/users/Octocoders/following{/other_user}", - "gists_url": "https://api.github.com/users/Octocoders/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Octocoders/subscriptions", - "organizations_url": "https://api.github.com/users/Octocoders/orgs", - "repos_url": "https://api.github.com/users/Octocoders/repos", - "events_url": "https://api.github.com/users/Octocoders/events{/privacy}", - "received_events_url": "https://api.github.com/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "name": "octocoders-linter", - "description": "", - "external_url": "https://octocoders.github.io", - "html_url": "https://github.com/apps/octocoders-linter", - "created_at": "2019-04-19T19:36:24Z", - "updated_at": "2019-04-19T19:36:56Z", - "permissions": { - "administration": "write", - "checks": "write", - "contents": "write", - "deployments": "write", - "issues": "write", - "members": "write", - "metadata": "read", - "organization_administration": "write", - "organization_hooks": "write", - "organization_plan": "read", - "organization_projects": "write", - "organization_user_blocking": "write", - "pages": "write", - "pull_requests": "write", - "repository_hooks": "write", - "repository_projects": "write", - "statuses": "write", - "team_discussions": "write", - "vulnerability_alerts": "read" - }, - "events": [] - }, - "pull_requests": [ - { - "url": "https://api.github.com/repos/Codertocat/Hello-World/pulls/2", - "id": 279147437, - "number": 2, - "head": { - "ref": "changes", - "sha": "ec26c3e57ca3a959ca5aad62de7213c562f8c821", - "repo": { - "id": 186853002, - "url": "https://api.github.com/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - }, - "base": { - "ref": "master", - "sha": "f95f852bd8fca8fcc58a9a2d6c842781e32a215e", - "repo": { - "id": 186853002, - "url": "https://api.github.com/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - } - } - ] - }, - "repository": { - "id": 186853002, - "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 21031067, - "node_id": "MDQ6VXNlcjIxMDMxMDY3", - "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Codertocat", - "html_url": "https://github.com/Codertocat", - "followers_url": "https://api.github.com/users/Codertocat/followers", - "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", - "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", - "organizations_url": "https://api.github.com/users/Codertocat/orgs", - "repos_url": "https://api.github.com/users/Codertocat/repos", - "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://github.com/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://api.github.com/repos/Codertocat/Hello-World", - "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks", - "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events", - "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges", - "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T15:19:25Z", - "updated_at": "2019-05-15T15:21:03Z", - "pushed_at": "2019-05-15T15:20:57Z", - "git_url": "git://github.com/Codertocat/Hello-World.git", - "ssh_url": "git@github.com:Codertocat/Hello-World.git", - "clone_url": "https://github.com/Codertocat/Hello-World.git", - "svn_url": "https://github.com/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 1, - "open_issues": 2, - "watchers": 0, - "default_branch": "master", - "is_template": false - }, - "sender": { - "login": "Codertocat", - "id": 21031067, - "node_id": "MDQ6VXNlcjIxMDMxMDY3", - "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Codertocat", - "html_url": "https://github.com/Codertocat", - "followers_url": "https://api.github.com/users/Codertocat/followers", - "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", - "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", - "organizations_url": "https://api.github.com/users/Codertocat/orgs", - "repos_url": "https://api.github.com/users/Codertocat/repos", - "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - } - }, - "check-run-created": { - "value": { - "action": "created", - "check_run": { - "id": 128620228, - "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", - "head_sha": "ec26c3e57ca3a959ca5aad62de7213c562f8c821", - "external_id": "", - "url": "https://api.github.com/repos/Codertocat/Hello-World/check-runs/128620228", - "html_url": "https://github.com/Codertocat/Hello-World/runs/128620228", - "details_url": "https://octocoders.github.io", - "status": "queued", - "conclusion": null, - "started_at": "2019-05-15T15:21:12Z", - "completed_at": null, - "output": { - "title": null, - "summary": null, - "text": null, - "annotations_count": 0, - "annotations_url": "https://api.github.com/repos/Codertocat/Hello-World/check-runs/128620228/annotations" - }, - "name": "Octocoders-linter", - "check_suite": { - "id": 118578147, - "node_id": "MDEwOkNoZWNrU3VpdGUxMTg1NzgxNDc=", - "head_branch": "changes", - "head_sha": "ec26c3e57ca3a959ca5aad62de7213c562f8c821", - "status": "queued", - "conclusion": null, - "url": "https://api.github.com/repos/Codertocat/Hello-World/check-suites/118578147", - "before": "6113728f27ae82c7b1a177c8d03f9e96e0adf246", - "after": "ec26c3e57ca3a959ca5aad62de7213c562f8c821", - "pull_requests": [ - { - "url": "https://api.github.com/repos/Codertocat/Hello-World/pulls/2", - "id": 279147437, - "number": 2, - "head": { - "ref": "changes", - "sha": "ec26c3e57ca3a959ca5aad62de7213c562f8c821", - "repo": { - "id": 186853002, - "url": "https://api.github.com/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - }, - "base": { - "ref": "master", - "sha": "f95f852bd8fca8fcc58a9a2d6c842781e32a215e", - "repo": { - "id": 186853002, - "url": "https://api.github.com/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - } - } - ], - "deployment": { - "url": "https://api.github.com/repos/Codertocat/Hello-World/deployments/326191728", - "id": 326191728, - "node_id": "MDEwOkRlcGxveW1lbnQzMjYxOTE3Mjg=", - "task": "deploy", - "original_environment": "lab", - "environment": "lab", - "description": null, - "created_at": "2021-02-18T08:22:48Z", - "updated_at": "2021-02-18T09:47:16Z", - "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments/326191728/statuses", - "repository_url": "https://api.github.com/repos/Codertocat/Hello-World" - }, - "app": { - "id": 29310, - "node_id": "MDM6QXBwMjkzMTA=", - "owner": { - "login": "Octocoders", - "id": 38302899, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjM4MzAyODk5", - "avatar_url": "https://avatars1.githubusercontent.com/u/38302899?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Octocoders", - "html_url": "https://github.com/Octocoders", - "followers_url": "https://api.github.com/users/Octocoders/followers", - "following_url": "https://api.github.com/users/Octocoders/following{/other_user}", - "gists_url": "https://api.github.com/users/Octocoders/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Octocoders/subscriptions", - "organizations_url": "https://api.github.com/users/Octocoders/orgs", - "repos_url": "https://api.github.com/users/Octocoders/repos", - "events_url": "https://api.github.com/users/Octocoders/events{/privacy}", - "received_events_url": "https://api.github.com/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "name": "octocoders-linter", - "description": "", - "external_url": "https://octocoders.github.io", - "html_url": "https://github.com/apps/octocoders-linter", - "created_at": "2019-04-19T19:36:24Z", - "updated_at": "2019-04-19T19:36:56Z", - "permissions": { - "administration": "write", - "checks": "write", - "contents": "write", - "deployments": "write", - "issues": "write", - "members": "write", - "metadata": "read", - "organization_administration": "write", - "organization_hooks": "write", - "organization_plan": "read", - "organization_projects": "write", - "organization_user_blocking": "write", - "pages": "write", - "pull_requests": "write", - "repository_hooks": "write", - "repository_projects": "write", - "statuses": "write", - "team_discussions": "write", - "vulnerability_alerts": "read" - }, - "events": [] - }, - "created_at": "2019-05-15T15:20:31Z", - "updated_at": "2019-05-15T15:20:31Z" - }, - "app": { - "id": 29310, - "node_id": "MDM6QXBwMjkzMTA=", - "owner": { - "login": "Octocoders", - "id": 38302899, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjM4MzAyODk5", - "avatar_url": "https://avatars1.githubusercontent.com/u/38302899?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Octocoders", - "html_url": "https://github.com/Octocoders", - "followers_url": "https://api.github.com/users/Octocoders/followers", - "following_url": "https://api.github.com/users/Octocoders/following{/other_user}", - "gists_url": "https://api.github.com/users/Octocoders/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Octocoders/subscriptions", - "organizations_url": "https://api.github.com/users/Octocoders/orgs", - "repos_url": "https://api.github.com/users/Octocoders/repos", - "events_url": "https://api.github.com/users/Octocoders/events{/privacy}", - "received_events_url": "https://api.github.com/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "name": "octocoders-linter", - "description": "", - "external_url": "https://octocoders.github.io", - "html_url": "https://github.com/apps/octocoders-linter", - "created_at": "2019-04-19T19:36:24Z", - "updated_at": "2019-04-19T19:36:56Z", - "permissions": { - "administration": "write", - "checks": "write", - "contents": "write", - "deployments": "write", - "issues": "write", - "members": "write", - "metadata": "read", - "organization_administration": "write", - "organization_hooks": "write", - "organization_plan": "read", - "organization_projects": "write", - "organization_user_blocking": "write", - "pages": "write", - "pull_requests": "write", - "repository_hooks": "write", - "repository_projects": "write", - "statuses": "write", - "team_discussions": "write", - "vulnerability_alerts": "read" - }, - "events": [] - }, - "pull_requests": [ - { - "url": "https://api.github.com/repos/Codertocat/Hello-World/pulls/2", - "id": 279147437, - "number": 2, - "head": { - "ref": "changes", - "sha": "ec26c3e57ca3a959ca5aad62de7213c562f8c821", - "repo": { - "id": 186853002, - "url": "https://api.github.com/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - }, - "base": { - "ref": "master", - "sha": "f95f852bd8fca8fcc58a9a2d6c842781e32a215e", - "repo": { - "id": 186853002, - "url": "https://api.github.com/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - } - } - ] - }, - "repository": { - "id": 186853002, - "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 21031067, - "node_id": "MDQ6VXNlcjIxMDMxMDY3", - "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Codertocat", - "html_url": "https://github.com/Codertocat", - "followers_url": "https://api.github.com/users/Codertocat/followers", - "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", - "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", - "organizations_url": "https://api.github.com/users/Codertocat/orgs", - "repos_url": "https://api.github.com/users/Codertocat/repos", - "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://github.com/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://api.github.com/repos/Codertocat/Hello-World", - "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks", - "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events", - "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges", - "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T15:19:25Z", - "updated_at": "2019-05-15T15:21:03Z", - "pushed_at": "2019-05-15T15:20:57Z", - "git_url": "git://github.com/Codertocat/Hello-World.git", - "ssh_url": "git@github.com:Codertocat/Hello-World.git", - "clone_url": "https://github.com/Codertocat/Hello-World.git", - "svn_url": "https://github.com/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 1, - "open_issues": 2, - "watchers": 0, - "default_branch": "master", - "is_template": false - }, - "sender": { - "login": "Codertocat", - "id": 21031067, - "node_id": "MDQ6VXNlcjIxMDMxMDY3", - "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Codertocat", - "html_url": "https://github.com/Codertocat", - "followers_url": "https://api.github.com/users/Codertocat/followers", - "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", - "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", - "organizations_url": "https://api.github.com/users/Codertocat/orgs", - "repos_url": "https://api.github.com/users/Codertocat/repos", - "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - } - }, - "check-run-requested-action": { - "value": { - "action": "requested_action", - "check_run": { - "id": 128620228, - "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", - "head_sha": "ec26c3e57ca3a959ca5aad62de7213c562f8c821", - "external_id": "", - "url": "https://api.github.com/repos/Codertocat/Hello-World/check-runs/128620228", - "html_url": "https://github.com/Codertocat/Hello-World/runs/128620228", - "details_url": "https://octocoders.github.io", - "status": "queued", - "conclusion": null, - "started_at": "2019-05-15T15:21:12Z", - "completed_at": null, - "output": { - "title": null, - "summary": null, - "text": null, - "annotations_count": 0, - "annotations_url": "https://api.github.com/repos/Codertocat/Hello-World/check-runs/128620228/annotations" - }, - "name": "Octocoders-linter", - "check_suite": { - "id": 118578147, - "node_id": "MDEwOkNoZWNrU3VpdGUxMTg1NzgxNDc=", - "head_branch": "changes", - "head_sha": "ec26c3e57ca3a959ca5aad62de7213c562f8c821", - "status": "queued", - "conclusion": null, - "url": "https://api.github.com/repos/Codertocat/Hello-World/check-suites/118578147", - "before": "6113728f27ae82c7b1a177c8d03f9e96e0adf246", - "after": "ec26c3e57ca3a959ca5aad62de7213c562f8c821", - "pull_requests": [ - { - "url": "https://api.github.com/repos/Codertocat/Hello-World/pulls/2", - "id": 279147437, - "number": 2, - "head": { - "ref": "changes", - "sha": "ec26c3e57ca3a959ca5aad62de7213c562f8c821", - "repo": { - "id": 186853002, - "url": "https://api.github.com/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - }, - "base": { - "ref": "master", - "sha": "f95f852bd8fca8fcc58a9a2d6c842781e32a215e", - "repo": { - "id": 186853002, - "url": "https://api.github.com/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - } - } - ], - "app": { - "id": 29310, - "node_id": "MDM6QXBwMjkzMTA=", - "owner": { - "login": "Octocoders", - "id": 38302899, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjM4MzAyODk5", - "avatar_url": "https://avatars1.githubusercontent.com/u/38302899?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Octocoders", - "html_url": "https://github.com/Octocoders", - "followers_url": "https://api.github.com/users/Octocoders/followers", - "following_url": "https://api.github.com/users/Octocoders/following{/other_user}", - "gists_url": "https://api.github.com/users/Octocoders/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Octocoders/subscriptions", - "organizations_url": "https://api.github.com/users/Octocoders/orgs", - "repos_url": "https://api.github.com/users/Octocoders/repos", - "events_url": "https://api.github.com/users/Octocoders/events{/privacy}", - "received_events_url": "https://api.github.com/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "name": "octocoders-linter", - "description": "", - "external_url": "https://octocoders.github.io", - "html_url": "https://github.com/apps/octocoders-linter", - "created_at": "2019-04-19T19:36:24Z", - "updated_at": "2019-04-19T19:36:56Z", - "permissions": { - "administration": "write", - "checks": "write", - "contents": "write", - "deployments": "write", - "issues": "write", - "members": "write", - "metadata": "read", - "organization_administration": "write", - "organization_hooks": "write", - "organization_plan": "read", - "organization_projects": "write", - "organization_user_blocking": "write", - "pages": "write", - "pull_requests": "write", - "repository_hooks": "write", - "repository_projects": "write", - "statuses": "write", - "team_discussions": "write", - "vulnerability_alerts": "read" - }, - "events": [] - }, - "created_at": "2019-05-15T15:20:31Z", - "updated_at": "2019-05-15T15:20:31Z" - }, - "app": { - "id": 29310, - "node_id": "MDM6QXBwMjkzMTA=", - "owner": { - "login": "Octocoders", - "id": 38302899, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjM4MzAyODk5", - "avatar_url": "https://avatars1.githubusercontent.com/u/38302899?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Octocoders", - "html_url": "https://github.com/Octocoders", - "followers_url": "https://api.github.com/users/Octocoders/followers", - "following_url": "https://api.github.com/users/Octocoders/following{/other_user}", - "gists_url": "https://api.github.com/users/Octocoders/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Octocoders/subscriptions", - "organizations_url": "https://api.github.com/users/Octocoders/orgs", - "repos_url": "https://api.github.com/users/Octocoders/repos", - "events_url": "https://api.github.com/users/Octocoders/events{/privacy}", - "received_events_url": "https://api.github.com/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "name": "octocoders-linter", - "description": "", - "external_url": "https://octocoders.github.io", - "html_url": "https://github.com/apps/octocoders-linter", - "created_at": "2019-04-19T19:36:24Z", - "updated_at": "2019-04-19T19:36:56Z", - "permissions": { - "administration": "write", - "checks": "write", - "contents": "write", - "deployments": "write", - "issues": "write", - "members": "write", - "metadata": "read", - "organization_administration": "write", - "organization_hooks": "write", - "organization_plan": "read", - "organization_projects": "write", - "organization_user_blocking": "write", - "pages": "write", - "pull_requests": "write", - "repository_hooks": "write", - "repository_projects": "write", - "statuses": "write", - "team_discussions": "write", - "vulnerability_alerts": "read" - }, - "events": [] - }, - "pull_requests": [ - { - "url": "https://api.github.com/repos/Codertocat/Hello-World/pulls/2", - "id": 279147437, - "number": 2, - "head": { - "ref": "changes", - "sha": "ec26c3e57ca3a959ca5aad62de7213c562f8c821", - "repo": { - "id": 186853002, - "url": "https://api.github.com/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - }, - "base": { - "ref": "master", - "sha": "f95f852bd8fca8fcc58a9a2d6c842781e32a215e", - "repo": { - "id": 186853002, - "url": "https://api.github.com/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - } - } - ], - "deployment": { - "url": "https://api.github.com/repos/Codertocat/Hello-World/deployments/326191728", - "id": 326191728, - "node_id": "MDEwOkRlcGxveW1lbnQzMjYxOTE3Mjg=", - "task": "deploy", - "original_environment": "lab", - "environment": "lab", - "description": null, - "created_at": "2021-02-18T08:22:48Z", - "updated_at": "2021-02-18T09:47:16Z", - "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments/326191728/statuses", - "repository_url": "https://api.github.com/repos/Codertocat/Hello-World" - } - }, - "requested_action": { "identifier": "lgtm|1234" }, - "repository": { - "id": 186853002, - "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 21031067, - "node_id": "MDQ6VXNlcjIxMDMxMDY3", - "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Codertocat", - "html_url": "https://github.com/Codertocat", - "followers_url": "https://api.github.com/users/Codertocat/followers", - "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", - "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", - "organizations_url": "https://api.github.com/users/Codertocat/orgs", - "repos_url": "https://api.github.com/users/Codertocat/repos", - "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://github.com/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://api.github.com/repos/Codertocat/Hello-World", - "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks", - "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events", - "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges", - "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T15:19:25Z", - "updated_at": "2019-05-15T15:21:03Z", - "pushed_at": "2019-05-15T15:20:57Z", - "git_url": "git://github.com/Codertocat/Hello-World.git", - "ssh_url": "git@github.com:Codertocat/Hello-World.git", - "clone_url": "https://github.com/Codertocat/Hello-World.git", - "svn_url": "https://github.com/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 1, - "open_issues": 2, - "watchers": 0, - "default_branch": "master" - }, - "sender": { - "login": "Codertocat", - "id": 21031067, - "node_id": "MDQ6VXNlcjIxMDMxMDY3", - "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Codertocat", - "html_url": "https://github.com/Codertocat", - "followers_url": "https://api.github.com/users/Codertocat/followers", - "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", - "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", - "organizations_url": "https://api.github.com/users/Codertocat/orgs", - "repos_url": "https://api.github.com/users/Codertocat/repos", - "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - } - }, - "check-run-rerequested": { - "value": { - "action": "rerequested", - "check_run": { - "id": 128620228, - "node_id": "MDg6Q2hlY2tSdW4xMjg2MjAyMjg=", - "head_sha": "ec26c3e57ca3a959ca5aad62de7213c562f8c821", - "external_id": "", - "url": "https://api.github.com/repos/Codertocat/Hello-World/check-runs/128620228", - "html_url": "https://github.com/Codertocat/Hello-World/runs/128620228", - "details_url": "https://octocoders.github.io", - "status": "completed", - "conclusion": "success", - "started_at": "2019-05-15T15:21:12Z", - "completed_at": "2019-05-15T15:21:45Z", - "output": { - "title": null, - "summary": null, - "text": null, - "annotations_count": 0, - "annotations_url": "https://api.github.com/repos/Codertocat/Hello-World/check-runs/128620228/annotations" - }, - "name": "Octocoders-linter", - "check_suite": { - "id": 118578147, - "node_id": "MDEwOkNoZWNrU3VpdGUxMTg1NzgxNDc=", - "head_branch": "changes", - "head_sha": "ec26c3e57ca3a959ca5aad62de7213c562f8c821", - "status": "completed", - "conclusion": null, - "url": "https://api.github.com/repos/Codertocat/Hello-World/check-suites/118578147", - "before": "6113728f27ae82c7b1a177c8d03f9e96e0adf246", - "after": "ec26c3e57ca3a959ca5aad62de7213c562f8c821", - "pull_requests": [ - { - "url": "https://api.github.com/repos/Codertocat/Hello-World/pulls/2", - "id": 279147437, - "number": 2, - "head": { - "ref": "changes", - "sha": "ec26c3e57ca3a959ca5aad62de7213c562f8c821", - "repo": { - "id": 186853002, - "url": "https://api.github.com/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - }, - "base": { - "ref": "master", - "sha": "f95f852bd8fca8fcc58a9a2d6c842781e32a215e", - "repo": { - "id": 186853002, - "url": "https://api.github.com/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - } - } - ], - "deployment": { - "url": "https://api.github.com/repos/Codertocat/Hello-World/deployments/326191728", - "id": 326191728, - "node_id": "MDEwOkRlcGxveW1lbnQzMjYxOTE3Mjg=", - "task": "deploy", - "original_environment": "lab", - "environment": "lab", - "description": null, - "created_at": "2021-02-18T08:22:48Z", - "updated_at": "2021-02-18T09:47:16Z", - "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments/326191728/statuses", - "repository_url": "https://api.github.com/repos/Codertocat/Hello-World" - }, - "app": { - "id": 29310, - "node_id": "MDM6QXBwMjkzMTA=", - "owner": { - "login": "Octocoders", - "id": 38302899, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjM4MzAyODk5", - "avatar_url": "https://avatars1.githubusercontent.com/u/38302899?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Octocoders", - "html_url": "https://github.com/Octocoders", - "followers_url": "https://api.github.com/users/Octocoders/followers", - "following_url": "https://api.github.com/users/Octocoders/following{/other_user}", - "gists_url": "https://api.github.com/users/Octocoders/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Octocoders/subscriptions", - "organizations_url": "https://api.github.com/users/Octocoders/orgs", - "repos_url": "https://api.github.com/users/Octocoders/repos", - "events_url": "https://api.github.com/users/Octocoders/events{/privacy}", - "received_events_url": "https://api.github.com/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "name": "octocoders-linter", - "description": "", - "external_url": "https://octocoders.github.io", - "html_url": "https://github.com/apps/octocoders-linter", - "created_at": "2019-04-19T19:36:24Z", - "updated_at": "2019-04-19T19:36:56Z", - "permissions": { - "administration": "write", - "checks": "write", - "contents": "write", - "deployments": "write", - "issues": "write", - "members": "write", - "metadata": "read", - "organization_administration": "write", - "organization_hooks": "write", - "organization_plan": "read", - "organization_projects": "write", - "organization_user_blocking": "write", - "pages": "write", - "pull_requests": "write", - "repository_hooks": "write", - "repository_projects": "write", - "statuses": "write", - "team_discussions": "write", - "vulnerability_alerts": "read" - }, - "events": [] - }, - "created_at": "2019-05-15T15:20:31Z", - "updated_at": "2019-05-15T15:20:31Z" - }, - "app": { - "id": 29310, - "node_id": "MDM6QXBwMjkzMTA=", - "owner": { - "login": "Octocoders", - "id": 38302899, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjM4MzAyODk5", - "avatar_url": "https://avatars1.githubusercontent.com/u/38302899?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Octocoders", - "html_url": "https://github.com/Octocoders", - "followers_url": "https://api.github.com/users/Octocoders/followers", - "following_url": "https://api.github.com/users/Octocoders/following{/other_user}", - "gists_url": "https://api.github.com/users/Octocoders/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Octocoders/subscriptions", - "organizations_url": "https://api.github.com/users/Octocoders/orgs", - "repos_url": "https://api.github.com/users/Octocoders/repos", - "events_url": "https://api.github.com/users/Octocoders/events{/privacy}", - "received_events_url": "https://api.github.com/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "name": "octocoders-linter", - "description": "", - "external_url": "https://octocoders.github.io", - "html_url": "https://github.com/apps/octocoders-linter", - "created_at": "2019-04-19T19:36:24Z", - "updated_at": "2019-04-19T19:36:56Z", - "permissions": { - "administration": "write", - "checks": "write", - "contents": "write", - "deployments": "write", - "issues": "write", - "members": "write", - "metadata": "read", - "organization_administration": "write", - "organization_hooks": "write", - "organization_plan": "read", - "organization_projects": "write", - "organization_user_blocking": "write", - "pages": "write", - "pull_requests": "write", - "repository_hooks": "write", - "repository_projects": "write", - "statuses": "write", - "team_discussions": "write", - "vulnerability_alerts": "read" - }, - "events": [] - }, - "pull_requests": [ - { - "url": "https://api.github.com/repos/Codertocat/Hello-World/pulls/2", - "id": 279147437, - "number": 2, - "head": { - "ref": "changes", - "sha": "ec26c3e57ca3a959ca5aad62de7213c562f8c821", - "repo": { - "id": 186853002, - "url": "https://api.github.com/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - }, - "base": { - "ref": "master", - "sha": "f95f852bd8fca8fcc58a9a2d6c842781e32a215e", - "repo": { - "id": 186853002, - "url": "https://api.github.com/repos/Codertocat/Hello-World", - "name": "Hello-World" - } - } - } - ] - }, - "repository": { - "id": 186853002, - "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=", - "name": "Hello-World", - "full_name": "Codertocat/Hello-World", - "private": false, - "owner": { - "login": "Codertocat", - "id": 21031067, - "node_id": "MDQ6VXNlcjIxMDMxMDY3", - "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Codertocat", - "html_url": "https://github.com/Codertocat", - "followers_url": "https://api.github.com/users/Codertocat/followers", - "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", - "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", - "organizations_url": "https://api.github.com/users/Codertocat/orgs", - "repos_url": "https://api.github.com/users/Codertocat/repos", - "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/Codertocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://github.com/Codertocat/Hello-World", - "description": null, - "fork": false, - "url": "https://api.github.com/repos/Codertocat/Hello-World", - "forks_url": "https://api.github.com/repos/Codertocat/Hello-World/forks", - "keys_url": "https://api.github.com/repos/Codertocat/Hello-World/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/Codertocat/Hello-World/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/Codertocat/Hello-World/teams", - "hooks_url": "https://api.github.com/repos/Codertocat/Hello-World/hooks", - "issue_events_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/events{/number}", - "events_url": "https://api.github.com/repos/Codertocat/Hello-World/events", - "assignees_url": "https://api.github.com/repos/Codertocat/Hello-World/assignees{/user}", - "branches_url": "https://api.github.com/repos/Codertocat/Hello-World/branches{/branch}", - "tags_url": "https://api.github.com/repos/Codertocat/Hello-World/tags", - "blobs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/Codertocat/Hello-World/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/Codertocat/Hello-World/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/Codertocat/Hello-World/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/Codertocat/Hello-World/statuses/{sha}", - "languages_url": "https://api.github.com/repos/Codertocat/Hello-World/languages", - "stargazers_url": "https://api.github.com/repos/Codertocat/Hello-World/stargazers", - "contributors_url": "https://api.github.com/repos/Codertocat/Hello-World/contributors", - "subscribers_url": "https://api.github.com/repos/Codertocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/Codertocat/Hello-World/subscription", - "commits_url": "https://api.github.com/repos/Codertocat/Hello-World/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/Codertocat/Hello-World/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/Codertocat/Hello-World/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/Codertocat/Hello-World/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/Codertocat/Hello-World/contents/{+path}", - "compare_url": "https://api.github.com/repos/Codertocat/Hello-World/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/Codertocat/Hello-World/merges", - "archive_url": "https://api.github.com/repos/Codertocat/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/Codertocat/Hello-World/downloads", - "issues_url": "https://api.github.com/repos/Codertocat/Hello-World/issues{/number}", - "pulls_url": "https://api.github.com/repos/Codertocat/Hello-World/pulls{/number}", - "milestones_url": "https://api.github.com/repos/Codertocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/Codertocat/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/Codertocat/Hello-World/labels{/name}", - "releases_url": "https://api.github.com/repos/Codertocat/Hello-World/releases{/id}", - "deployments_url": "https://api.github.com/repos/Codertocat/Hello-World/deployments", - "created_at": "2019-05-15T15:19:25Z", - "updated_at": "2019-05-15T15:21:03Z", - "pushed_at": "2019-05-15T15:20:57Z", - "git_url": "git://github.com/Codertocat/Hello-World.git", - "ssh_url": "git@github.com:Codertocat/Hello-World.git", - "clone_url": "https://github.com/Codertocat/Hello-World.git", - "svn_url": "https://github.com/Codertocat/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 1, - "open_issues": 2, - "watchers": 0, - "default_branch": "master", - "is_template": false - }, - "sender": { - "login": "Codertocat", - "id": 21031067, - "node_id": "MDQ6VXNlcjIxMDMxMDY3", - "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Codertocat", - "html_url": "https://github.com/Codertocat", - "followers_url": "https://api.github.com/users/Codertocat/followers", - "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", - "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", - "organizations_url": "https://api.github.com/users/Codertocat/orgs", - "repos_url": "https://api.github.com/users/Codertocat/repos", - "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - } - }, - "ping": { - "value": { - "zen": "Anything added dilutes everything else.", - "hook_id": 109948940, - "hook": { - "type": "Repository", - "id": 109948940, - "name": "web", - "active": true, - "events": ["*"], - "config": { - "content_type": "json", - "url": "https://smee.io/****************", - "insecure_ssl": "0" - }, - "updated_at": "2019-05-15T15:20:49Z", - "created_at": "2019-05-15T15:20:49Z", - "url": "https://api.github.com/repos/Octocoders/Hello-World/hooks/109948940", - "test_url": "https://api.github.com/repos/Octocoders/Hello-World/hooks/109948940/test", - "ping_url": "https://api.github.com/repos/Octocoders/Hello-World/hooks/109948940/pings", - "last_response": { - "code": null, - "status": "unused", - "message": null - } - }, - "repository": { - "id": 186853261, - "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMyNjE=", - "name": "Hello-World", - "full_name": "Octocoders/Hello-World", - "private": false, - "owner": { - "login": "Octocoders", - "id": 38302899, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjM4MzAyODk5", - "avatar_url": "https://avatars1.githubusercontent.com/u/38302899?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Octocoders", - "html_url": "https://github.com/Octocoders", - "followers_url": "https://api.github.com/users/Octocoders/followers", - "following_url": "https://api.github.com/users/Octocoders/following{/other_user}", - "gists_url": "https://api.github.com/users/Octocoders/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Octocoders/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Octocoders/subscriptions", - "organizations_url": "https://api.github.com/users/Octocoders/orgs", - "repos_url": "https://api.github.com/users/Octocoders/repos", - "events_url": "https://api.github.com/users/Octocoders/events{/privacy}", - "received_events_url": "https://api.github.com/users/Octocoders/received_events", - "type": "Organization", - "site_admin": false - }, - "html_url": "https://github.com/Octocoders/Hello-World", - "description": null, - "fork": true, - "url": "https://api.github.com/repos/Octocoders/Hello-World", - "forks_url": "https://api.github.com/repos/Octocoders/Hello-World/forks", - "keys_url": "https://api.github.com/repos/Octocoders/Hello-World/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/Octocoders/Hello-World/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/Octocoders/Hello-World/teams", - "hooks_url": "https://api.github.com/repos/Octocoders/Hello-World/hooks", - "issue_events_url": "https://api.github.com/repos/Octocoders/Hello-World/issues/events{/number}", - "events_url": "https://api.github.com/repos/Octocoders/Hello-World/events", - "assignees_url": "https://api.github.com/repos/Octocoders/Hello-World/assignees{/user}", - "branches_url": "https://api.github.com/repos/Octocoders/Hello-World/branches{/branch}", - "tags_url": "https://api.github.com/repos/Octocoders/Hello-World/tags", - "blobs_url": "https://api.github.com/repos/Octocoders/Hello-World/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/Octocoders/Hello-World/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/Octocoders/Hello-World/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/Octocoders/Hello-World/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/Octocoders/Hello-World/statuses/{sha}", - "languages_url": "https://api.github.com/repos/Octocoders/Hello-World/languages", - "stargazers_url": "https://api.github.com/repos/Octocoders/Hello-World/stargazers", - "contributors_url": "https://api.github.com/repos/Octocoders/Hello-World/contributors", - "subscribers_url": "https://api.github.com/repos/Octocoders/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/Octocoders/Hello-World/subscription", - "commits_url": "https://api.github.com/repos/Octocoders/Hello-World/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/Octocoders/Hello-World/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/Octocoders/Hello-World/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/Octocoders/Hello-World/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/Octocoders/Hello-World/contents/{+path}", - "compare_url": "https://api.github.com/repos/Octocoders/Hello-World/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/Octocoders/Hello-World/merges", - "archive_url": "https://api.github.com/repos/Octocoders/Hello-World/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/Octocoders/Hello-World/downloads", - "issues_url": "https://api.github.com/repos/Octocoders/Hello-World/issues{/number}", - "pulls_url": "https://api.github.com/repos/Octocoders/Hello-World/pulls{/number}", - "milestones_url": "https://api.github.com/repos/Octocoders/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/Octocoders/Hello-World/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/Octocoders/Hello-World/labels{/name}", - "releases_url": "https://api.github.com/repos/Octocoders/Hello-World/releases{/id}", - "deployments_url": "https://api.github.com/repos/Octocoders/Hello-World/deployments", - "created_at": "2019-05-15T15:20:42Z", - "updated_at": "2019-05-15T15:20:45Z", - "pushed_at": "2019-05-15T15:20:33Z", - "git_url": "git://github.com/Octocoders/Hello-World.git", - "ssh_url": "git@github.com:Octocoders/Hello-World.git", - "clone_url": "https://github.com/Octocoders/Hello-World.git", - "svn_url": "https://github.com/Octocoders/Hello-World", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": false, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": false, - "forks_count": 0, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 0, - "license": null, - "forks": 0, - "open_issues": 0, - "watchers": 0, - "default_branch": "master" - }, - "sender": { - "login": "Codertocat", - "id": 21031067, - "node_id": "MDQ6VXNlcjIxMDMxMDY3", - "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/Codertocat", - "html_url": "https://github.com/Codertocat", - "followers_url": "https://api.github.com/users/Codertocat/followers", - "following_url": "https://api.github.com/users/Codertocat/following{/other_user}", - "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions", - "organizations_url": "https://api.github.com/users/Codertocat/orgs", - "repos_url": "https://api.github.com/users/Codertocat/repos", - "events_url": "https://api.github.com/users/Codertocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/Codertocat/received_events", - "type": "User", - "site_admin": false - } - } - }, - "secret-scanning-alert-location-created": { - "value": { - "action": "created", - "alert": { - "number": 42, - "created_at": "2020-11-06T18:18:30Z", - "updated_at": "2020-11-06T18:18:30Z", - "url": "https://api.github.com/repos/octocat-repo/hello-world/secret-scanning/alerts/42", - "html_url": "https://github.com/octocat-repo/hello-world/security/secret-scanning/42", - "locations_url": "https://api.github.com/repos/octocat-repo/hello-world/secret-scanning/alerts/42/locations", - "state": "open", - "secret_type": "mailchimp_api_key", - "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2" - }, - "location": { - "type": "commit", - "details": { - "path": "/example/secrets.txt", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 64, - "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", - "blob_url": "https://api.github.com/repos/octocat-repo/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", - "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", - "commit_url": "https://api.github.com/repos/octocat-repo/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" - } - }, - "repository": { - "id": 186853002, - "node_id": "MDEwOlJlcG9zaXRvcnkxODY4NTMwMDI=", - "name": "hello-world", - "full_name": "octocat-repo/hello-world", - "private": false, - "owner": { - "login": "octocat", - "id": 21031067, - "node_id": "MDQ6VXNlcjIxMDMxMDY3", - "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "html_url": "https://github.com/octocat-repo/hello-world", - "description": null, - "fork": false, - "url": "https://api.github.com/repos/octocat-repo/hello-world", - "forks_url": "https://api.github.com/repos/octocat-repo/hello-world/forks", - "keys_url": "https://api.github.com/repos/octocat-repo/hello-world/keys{/key_id}", - "collaborators_url": "https://api.github.com/repos/octocat-repo/hello-world/collaborators{/collaborator}", - "teams_url": "https://api.github.com/repos/octocat-repo/hello-world/teams", - "hooks_url": "https://api.github.com/repos/octocat-repo/hello-world/hooks", - "issue_events_url": "https://api.github.com/repos/octocat-repo/hello-world/issues/events{/number}", - "events_url": "https://api.github.com/repos/octocat-repo/hello-world/events", - "assignees_url": "https://api.github.com/repos/octocat-repo/hello-world/assignees{/user}", - "branches_url": "https://api.github.com/repos/octocat-repo/hello-world/branches{/branch}", - "tags_url": "https://api.github.com/repos/octocat-repo/hello-world/tags", - "blobs_url": "https://api.github.com/repos/octocat-repo/hello-world/git/blobs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat-repo/hello-world/git/tags{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat-repo/hello-world/git/refs{/sha}", - "trees_url": "https://api.github.com/repos/octocat-repo/hello-world/git/trees{/sha}", - "statuses_url": "https://api.github.com/repos/octocat-repo/hello-world/statuses/{sha}", - "languages_url": "https://api.github.com/repos/octocat-repo/hello-world/languages", - "stargazers_url": "https://api.github.com/repos/octocat-repo/hello-world/stargazers", - "contributors_url": "https://api.github.com/repos/octocat-repo/hello-world/contributors", - "subscribers_url": "https://api.github.com/repos/octocat-repo/hello-world/subscribers", - "subscription_url": "https://api.github.com/repos/octocat-repo/hello-world/subscription", - "commits_url": "https://api.github.com/repos/octocat-repo/hello-world/commits{/sha}", - "git_commits_url": "https://api.github.com/repos/octocat-repo/hello-world/git/commits{/sha}", - "comments_url": "https://api.github.com/repos/octocat-repo/hello-world/comments{/number}", - "issue_comment_url": "https://api.github.com/repos/octocat-repo/hello-world/issues/comments{/number}", - "contents_url": "https://api.github.com/repos/octocat-repo/hello-world/contents/{+path}", - "compare_url": "https://api.github.com/repos/octocat-repo/hello-world/compare/{base}...{head}", - "merges_url": "https://api.github.com/repos/octocat-repo/hello-world/merges", - "archive_url": "https://api.github.com/repos/octocat-repo/hello-world/{archive_format}{/ref}", - "downloads_url": "https://api.github.com/repos/octocat-repo/hello-world/downloads", - "issues_url": "https://api.github.com/repos/octocat-repo/hello-world/issues{/number}", - "pulls_url": "https://api.github.com/repos/octocat-repo/hello-world/pulls{/number}", - "milestones_url": "https://api.github.com/repos/octocat-repo/hello-world/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat-repo/hello-world/notifications{?since,all,participating}", - "labels_url": "https://api.github.com/repos/octocat-repo/hello-world/labels{/name}", - "releases_url": "https://api.github.com/repos/octocat-repo/hello-world/releases{/id}", - "deployments_url": "https://api.github.com/repos/octocat-repo/hello-world/deployments", - "created_at": "2019-05-15T15:19:25Z", - "updated_at": "2019-05-15T15:21:03Z", - "pushed_at": "2019-05-15T15:20:57Z", - "git_url": "git://github.com/octocat-repo/hello-world.git", - "ssh_url": "git@github.com:octocat-repo/hello-world.git", - "clone_url": "https://github.com/octocat-repo/hello-world.git", - "svn_url": "https://github.com/octocat-repo/hello-world", - "homepage": null, - "size": 0, - "stargazers_count": 0, - "watchers_count": 0, - "language": "Ruby", - "has_issues": true, - "has_projects": true, - "has_downloads": true, - "has_wiki": true, - "has_pages": true, - "forks_count": 1, - "mirror_url": null, - "archived": false, - "disabled": false, - "open_issues_count": 2, - "license": null, - "forks": 1, - "open_issues": 2, - "watchers": 0, - "default_branch": "master", - "is_template": false - }, - "sender": { - "login": "octocat", - "id": 21031067, - "node_id": "MDQ6VXNlcjIxMDMxMDY3", - "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - } - } - } -} diff --git a/packages/openapi-webhooks/generated/ghes-3.14.json b/packages/openapi-webhooks/generated/ghes-3.14.json index 03432bf..02ca22a 100644 --- a/packages/openapi-webhooks/generated/ghes-3.14.json +++ b/packages/openapi-webhooks/generated/ghes-3.14.json @@ -75,7 +75,10 @@ "name": "packages", "description": "Manage packages for authenticated users and organizations." }, - { "name": "projects", "description": "Interact with GitHub Projects." }, + { + "name": "projects-classic", + "description": "Interact with GitHub Projects (classic)." + }, { "name": "pulls", "description": "Interact with GitHub Pull Requests." }, { "name": "rate-limit", @@ -2544,12 +2547,13 @@ } } }, - "delete": { + "custom-property-created": { "post": { - "summary": "This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including\nbranch and tag deletions, use the [`push`](#push) webhook event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.\n\n> [!NOTE]\n> This event will not occur when more than three tags are deleted at once.", - "operationId": "delete", + "summary": "This event occurs when there is activity relating to a custom property.\n\nFor more information, see \"[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.14/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)\". For information about the APIs to manage custom properties, see \"[Custom properties](https://docs.github.com/enterprise-server@3.14/rest/orgs/custom-properties)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Custom properties\" organization permission.", + "description": "A new custom property was created.", + "operationId": "custom-property/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#delete" + "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#custom_property" }, "parameters": [ { @@ -2600,27 +2604,15 @@ "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", "schema": { "type": "string" }, "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true } ], "requestBody": { "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-delete" } + "schema": { + "$ref": "#/components/schemas/webhook-custom-property-created" + } } } }, @@ -2632,18 +2624,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "delete", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "custom_property", + "supported-webhook-types": ["business", "organization", "app"] } } }, - "dependabot-alert-auto-dismissed": { + "custom-property-deleted": { "post": { - "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.14/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.14/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A Dependabot alert was automatically closed by a Dependabot auto-triage rule.", - "operationId": "dependabot-alert/auto-dismissed", + "summary": "This event occurs when there is activity relating to a custom property.\n\nFor more information, see \"[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.14/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)\". For information about the APIs to manage custom properties, see \"[Custom properties](https://docs.github.com/enterprise-server@3.14/rest/orgs/custom-properties)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Custom properties\" organization permission.", + "description": "A custom property was deleted.", + "operationId": "custom-property/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#dependabot_alert" + "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#custom_property" }, "parameters": [ { @@ -2694,20 +2686,6 @@ "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", "schema": { "type": "string" }, "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true } ], "requestBody": { @@ -2715,7 +2693,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-auto-dismissed" + "$ref": "#/components/schemas/webhook-custom-property-deleted" } } } @@ -2728,18 +2706,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "dependabot_alert", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "custom_property", + "supported-webhook-types": ["business", "organization", "app"] } } }, - "dependabot-alert-auto-reopened": { + "custom-property-updated": { "post": { - "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.14/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.14/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A Dependabot alert, that had been automatically closed by a Dependabot auto-triage rule, was automatically reopened because the alert metadata or rule changed.", - "operationId": "dependabot-alert/auto-reopened", + "summary": "This event occurs when there is activity relating to a custom property.\n\nFor more information, see \"[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.14/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)\". For information about the APIs to manage custom properties, see \"[Custom properties](https://docs.github.com/enterprise-server@3.14/rest/orgs/custom-properties)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Custom properties\" organization permission.", + "description": "A custom property was updated.", + "operationId": "custom-property/updated", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#dependabot_alert" + "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#custom_property" }, "parameters": [ { @@ -2790,20 +2768,6 @@ "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", "schema": { "type": "string" }, "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true } ], "requestBody": { @@ -2811,7 +2775,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-auto-reopened" + "$ref": "#/components/schemas/webhook-custom-property-updated" } } } @@ -2824,18 +2788,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "dependabot_alert", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "custom_property", + "supported-webhook-types": ["business", "organization", "app"] } } }, - "dependabot-alert-created": { + "custom-property-values-updated": { "post": { - "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.14/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.14/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A manifest file change introduced a vulnerable dependency, or a GitHub Security Advisory was published and an existing dependency was found to be vulnerable.", - "operationId": "dependabot-alert/created", + "summary": "This event occurs when there is activity relating to custom property values for a repository.\n\nFor more information, see \"[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.14/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)\". For information about the APIs to manage custom properties for a repository, see \"[Custom properties](https://docs.github.com/enterprise-server@3.14/rest/repos/custom-properties)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Custom properties\" organization permission.", + "description": "The custom property values of a repository were updated.", + "operationId": "custom-property-values/updated", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#dependabot_alert" + "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#custom-property-values" }, "parameters": [ { @@ -2886,20 +2850,6 @@ "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", "schema": { "type": "string" }, "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true } ], "requestBody": { @@ -2907,7 +2857,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-created" + "$ref": "#/components/schemas/webhook-custom-property-values-updated" } } } @@ -2920,18 +2870,17 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "dependabot_alert", + "subcategory": "custom-property-values", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "dependabot-alert-dismissed": { + "delete": { "post": { - "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.14/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.14/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A Dependabot alert was manually closed.", - "operationId": "dependabot-alert/dismissed", + "summary": "This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including\nbranch and tag deletions, use the [`push`](#push) webhook event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.\n\n> [!NOTE]\n> This event will not occur when more than three tags are deleted at once.", + "operationId": "delete", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#dependabot_alert" + "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#delete" }, "parameters": [ { @@ -3002,9 +2951,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-dismissed" - } + "schema": { "$ref": "#/components/schemas/webhook-delete" } } } }, @@ -3016,16 +2963,16 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "dependabot_alert", + "subcategory": "delete", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "dependabot-alert-fixed": { + "dependabot-alert-auto-dismissed": { "post": { "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.14/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.14/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A manifest file change removed a vulnerability.", - "operationId": "dependabot-alert/fixed", + "description": "A Dependabot alert was automatically closed by a Dependabot auto-triage rule.", + "operationId": "dependabot-alert/auto-dismissed", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#dependabot_alert" }, @@ -3099,7 +3046,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-fixed" + "$ref": "#/components/schemas/webhook-dependabot-alert-auto-dismissed" } } } @@ -3117,11 +3064,11 @@ } } }, - "dependabot-alert-reintroduced": { + "dependabot-alert-auto-reopened": { "post": { "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.14/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.14/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A manifest file change introduced a vulnerable dependency that had previously been fixed.", - "operationId": "dependabot-alert/reintroduced", + "description": "A Dependabot alert, that had been automatically closed by a Dependabot auto-triage rule, was automatically reopened because the alert metadata or rule changed.", + "operationId": "dependabot-alert/auto-reopened", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#dependabot_alert" }, @@ -3195,7 +3142,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-reintroduced" + "$ref": "#/components/schemas/webhook-dependabot-alert-auto-reopened" } } } @@ -3213,11 +3160,11 @@ } } }, - "dependabot-alert-reopened": { + "dependabot-alert-created": { "post": { "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.14/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.14/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A Dependabot alert was manually reopened.", - "operationId": "dependabot-alert/reopened", + "description": "A manifest file change introduced a vulnerable dependency, or a GitHub Security Advisory was published and an existing dependency was found to be vulnerable.", + "operationId": "dependabot-alert/created", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#dependabot_alert" }, @@ -3291,7 +3238,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-reopened" + "$ref": "#/components/schemas/webhook-dependabot-alert-created" } } } @@ -3309,13 +3256,13 @@ } } }, - "deploy-key-created": { + "dependabot-alert-dismissed": { "post": { - "summary": "This event occurs when there is activity relating to deploy keys. For more information, see \"[Managing deploy keys](https://docs.github.com/enterprise-server@3.14/developers/overview/managing-deploy-keys).\" For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#deploykey) or \"[Deploy keys](https://docs.github.com/enterprise-server@3.14/rest/deploy-keys)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deploy key was created.", - "operationId": "deploy-key/created", + "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.14/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.14/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", + "description": "A Dependabot alert was manually closed.", + "operationId": "dependabot-alert/dismissed", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#deploy_key" + "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#dependabot_alert" }, "parameters": [ { @@ -3387,7 +3334,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-deploy-key-created" + "$ref": "#/components/schemas/webhook-dependabot-alert-dismissed" } } } @@ -3400,18 +3347,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "deploy_key", + "subcategory": "dependabot_alert", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "deploy-key-deleted": { + "dependabot-alert-fixed": { "post": { - "summary": "This event occurs when there is activity relating to deploy keys. For more information, see \"[Managing deploy keys](https://docs.github.com/enterprise-server@3.14/developers/overview/managing-deploy-keys).\" For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#deploykey) or \"[Deploy keys](https://docs.github.com/enterprise-server@3.14/rest/deploy-keys)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deploy key was deleted.", - "operationId": "deploy-key/deleted", + "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.14/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.14/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", + "description": "A manifest file change removed a vulnerability.", + "operationId": "dependabot-alert/fixed", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#deploy_key" + "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#dependabot_alert" }, "parameters": [ { @@ -3483,7 +3430,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-deploy-key-deleted" + "$ref": "#/components/schemas/webhook-dependabot-alert-fixed" } } } @@ -3496,18 +3443,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "deploy_key", + "subcategory": "dependabot_alert", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "deployment-created": { + "dependabot-alert-reintroduced": { "post": { - "summary": "This event occurs when there is activity relating to deployments. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.14/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.14/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment status, use the `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deployment was created.", - "operationId": "deployment/created", + "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.14/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.14/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", + "description": "A manifest file change introduced a vulnerable dependency that had previously been fixed.", + "operationId": "dependabot-alert/reintroduced", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#deployment" + "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#dependabot_alert" }, "parameters": [ { @@ -3579,7 +3526,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-deployment-created" + "$ref": "#/components/schemas/webhook-dependabot-alert-reintroduced" } } } @@ -3592,18 +3539,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "deployment", + "subcategory": "dependabot_alert", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "deployment-protection-rule-requested": { + "dependabot-alert-reopened": { "post": { - "summary": "This event occurs when there is activity relating to deployment protection rules. For more information, see \"[Using environments for deployment](https://docs.github.com/enterprise-server@3.14/actions/deployment/targeting-different-environments/using-environments-for-deployment#environment-protection-rules).\" For information about the API to manage deployment protection rules, see [the REST API documentation](https://docs.github.com/enterprise-server@3.14/rest/deployments/environments).\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deployment protection rule was requested for an environment.", - "operationId": "deployment-protection-rule/requested", + "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.14/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.14/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", + "description": "A Dependabot alert was manually reopened.", + "operationId": "dependabot-alert/reopened", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#deployment_protection_rule" + "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#dependabot_alert" }, "parameters": [ { @@ -3675,7 +3622,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-deployment-protection-rule-requested" + "$ref": "#/components/schemas/webhook-dependabot-alert-reopened" } } } @@ -3688,18 +3635,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "deployment_protection_rule", - "supported-webhook-types": ["app"] + "subcategory": "dependabot_alert", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "deployment-review-approved": { + "deploy-key-created": { "post": { - "summary": "This event occurs when there is activity relating to deployment reviews. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.14/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.14/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deployment review was approved.", - "operationId": "deployment-review/approved", + "summary": "This event occurs when there is activity relating to deploy keys. For more information, see \"[Managing deploy keys](https://docs.github.com/enterprise-server@3.14/developers/overview/managing-deploy-keys).\" For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#deploykey) or \"[Deploy keys](https://docs.github.com/enterprise-server@3.14/rest/deploy-keys)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", + "description": "A deploy key was created.", + "operationId": "deploy-key/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#deployment_review" + "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#deploy_key" }, "parameters": [ { @@ -3771,7 +3718,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-deployment-review-approved" + "$ref": "#/components/schemas/webhook-deploy-key-created" } } } @@ -3784,18 +3731,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "deployment_review", - "supported-webhook-types": ["app"] + "subcategory": "deploy_key", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "deployment-review-rejected": { + "deploy-key-deleted": { "post": { - "summary": "This event occurs when there is activity relating to deployment reviews. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.14/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.14/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deployment review was rejected.", - "operationId": "deployment-review/rejected", + "summary": "This event occurs when there is activity relating to deploy keys. For more information, see \"[Managing deploy keys](https://docs.github.com/enterprise-server@3.14/developers/overview/managing-deploy-keys).\" For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#deploykey) or \"[Deploy keys](https://docs.github.com/enterprise-server@3.14/rest/deploy-keys)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", + "description": "A deploy key was deleted.", + "operationId": "deploy-key/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#deployment_review" + "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#deploy_key" }, "parameters": [ { @@ -3867,7 +3814,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-deployment-review-rejected" + "$ref": "#/components/schemas/webhook-deploy-key-deleted" } } } @@ -3880,18 +3827,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "deployment_review", - "supported-webhook-types": ["app"] + "subcategory": "deploy_key", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "deployment-review-requested": { + "deployment-created": { "post": { - "summary": "This event occurs when there is activity relating to deployment reviews. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.14/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.14/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deployment review was requested.", - "operationId": "deployment-review/requested", + "summary": "This event occurs when there is activity relating to deployments. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.14/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.14/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment status, use the `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", + "description": "A deployment was created.", + "operationId": "deployment/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#deployment_review" + "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#deployment" }, "parameters": [ { @@ -3963,7 +3910,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-deployment-review-requested" + "$ref": "#/components/schemas/webhook-deployment-created" } } } @@ -3976,18 +3923,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "deployment_review", - "supported-webhook-types": ["app"] + "subcategory": "deployment", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "deployment-status-created": { + "deployment-protection-rule-requested": { "post": { - "summary": "This event occurs when there is activity relating to deployment statuses. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.14/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.14/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation, use the `deployment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.\n\n> [!NOTE]\n> A webhook event is not fired for deployment statuses with an `inactive` state.", - "description": "A new deployment status was created.", - "operationId": "deployment-status/created", + "summary": "This event occurs when there is activity relating to deployment protection rules. For more information, see \"[Using environments for deployment](https://docs.github.com/enterprise-server@3.14/actions/deployment/targeting-different-environments/using-environments-for-deployment#environment-protection-rules).\" For information about the API to manage deployment protection rules, see [the REST API documentation](https://docs.github.com/enterprise-server@3.14/rest/deployments/environments).\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", + "description": "A deployment protection rule was requested for an environment.", + "operationId": "deployment-protection-rule/requested", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#deployment_status" + "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#deployment_protection_rule" }, "parameters": [ { @@ -4059,7 +4006,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-deployment-status-created" + "$ref": "#/components/schemas/webhook-deployment-protection-rule-requested" } } } @@ -4072,18 +4019,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "deployment_status", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "deployment_protection_rule", + "supported-webhook-types": ["app"] } } }, - "discussion-answered": { + "deployment-review-approved": { "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.14/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A comment on the discussion was marked as the answer.", - "operationId": "discussion/answered", + "summary": "This event occurs when there is activity relating to deployment reviews. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.14/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.14/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", + "description": "A deployment review was approved.", + "operationId": "deployment-review/approved", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#discussion" + "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#deployment_review" }, "parameters": [ { @@ -4155,7 +4102,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-answered" + "$ref": "#/components/schemas/webhook-deployment-review-approved" } } } @@ -4168,18 +4115,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "discussion", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "deployment_review", + "supported-webhook-types": ["app"] } } }, - "discussion-category-changed": { + "deployment-review-rejected": { "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.14/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "The category of a discussion was changed.", - "operationId": "discussion/category-changed", + "summary": "This event occurs when there is activity relating to deployment reviews. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.14/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.14/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", + "description": "A deployment review was rejected.", + "operationId": "deployment-review/rejected", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#discussion" + "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#deployment_review" }, "parameters": [ { @@ -4251,103 +4198,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-category-changed" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "discussion", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "discussion-closed": { - "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.14/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was closed.", - "operationId": "discussion/closed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#discussion" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "discussions", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.9.0", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-discussion-closed" + "$ref": "#/components/schemas/webhook-deployment-review-rejected" } } } @@ -4360,18 +4211,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "discussion", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "deployment_review", + "supported-webhook-types": ["app"] } } }, - "discussion-comment-created": { + "deployment-review-requested": { "post": { - "summary": "This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.14/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#discussion).\n\nFor activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A comment on a discussion was created.", - "operationId": "discussion-comment/created", + "summary": "This event occurs when there is activity relating to deployment reviews. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.14/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.14/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", + "description": "A deployment review was requested.", + "operationId": "deployment-review/requested", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#discussion_comment" + "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#deployment_review" }, "parameters": [ { @@ -4443,7 +4294,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-comment-created" + "$ref": "#/components/schemas/webhook-deployment-review-requested" } } } @@ -4456,18 +4307,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "discussion_comment", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "deployment_review", + "supported-webhook-types": ["app"] } } }, - "discussion-comment-deleted": { + "deployment-status-created": { "post": { - "summary": "This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.14/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#discussion).\n\nFor activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A comment on a discussion was deleted.", - "operationId": "discussion-comment/deleted", + "summary": "This event occurs when there is activity relating to deployment statuses. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.14/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.14/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation, use the `deployment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.\n\n> [!NOTE]\n> A webhook event is not fired for deployment statuses with an `inactive` state.", + "description": "A new deployment status was created.", + "operationId": "deployment-status/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#discussion_comment" + "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#deployment_status" }, "parameters": [ { @@ -4539,7 +4390,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-comment-deleted" + "$ref": "#/components/schemas/webhook-deployment-status-created" } } } @@ -4552,18 +4403,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "discussion_comment", + "subcategory": "deployment_status", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "discussion-comment-edited": { + "discussion-answered": { "post": { - "summary": "This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.14/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#discussion).\n\nFor activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A comment on a discussion was edited.", - "operationId": "discussion-comment/edited", + "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.14/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "description": "A comment on the discussion was marked as the answer.", + "operationId": "discussion/answered", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#discussion_comment" + "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#discussion" }, "parameters": [ { @@ -4635,7 +4486,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-comment-edited" + "$ref": "#/components/schemas/webhook-discussion-answered" } } } @@ -4648,16 +4499,16 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "discussion_comment", + "subcategory": "discussion", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "discussion-created": { + "discussion-category-changed": { "post": { "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.14/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was created.", - "operationId": "discussion/created", + "description": "The category of a discussion was changed.", + "operationId": "discussion/category-changed", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#discussion" }, @@ -4731,7 +4582,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-created" + "$ref": "#/components/schemas/webhook-discussion-category-changed" } } } @@ -4749,11 +4600,11 @@ } } }, - "discussion-deleted": { + "discussion-closed": { "post": { "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.14/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was deleted.", - "operationId": "discussion/deleted", + "description": "A discussion was closed.", + "operationId": "discussion/closed", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#discussion" }, @@ -4775,7 +4626,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "discussions", "schema": { "type": "string" }, "required": true }, @@ -4810,7 +4661,7 @@ { "name": "X-GitHub-Enterprise-Version", "in": "header", - "example": "3.1.9", + "example": "3.9.0", "schema": { "type": "string" }, "required": true }, @@ -4827,7 +4678,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-deleted" + "$ref": "#/components/schemas/webhook-discussion-closed" } } } @@ -4845,13 +4696,13 @@ } } }, - "discussion-edited": { + "discussion-comment-created": { "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.14/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "The title or body on a discussion was edited, or the category of the discussion was changed.", - "operationId": "discussion/edited", + "summary": "This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.14/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#discussion).\n\nFor activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "description": "A comment on a discussion was created.", + "operationId": "discussion-comment/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#discussion" + "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#discussion_comment" }, "parameters": [ { @@ -4923,7 +4774,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-edited" + "$ref": "#/components/schemas/webhook-discussion-comment-created" } } } @@ -4936,18 +4787,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "discussion", + "subcategory": "discussion_comment", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "discussion-labeled": { + "discussion-comment-deleted": { "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.14/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A label was added to a discussion.", - "operationId": "discussion/labeled", + "summary": "This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.14/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#discussion).\n\nFor activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "description": "A comment on a discussion was deleted.", + "operationId": "discussion-comment/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#discussion" + "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#discussion_comment" }, "parameters": [ { @@ -5019,7 +4870,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-labeled" + "$ref": "#/components/schemas/webhook-discussion-comment-deleted" } } } @@ -5032,18 +4883,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "discussion", + "subcategory": "discussion_comment", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "discussion-locked": { + "discussion-comment-edited": { "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.14/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was locked.", - "operationId": "discussion/locked", + "summary": "This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.14/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#discussion).\n\nFor activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "description": "A comment on a discussion was edited.", + "operationId": "discussion-comment/edited", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#discussion" + "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#discussion_comment" }, "parameters": [ { @@ -5115,7 +4966,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-locked" + "$ref": "#/components/schemas/webhook-discussion-comment-edited" } } } @@ -5128,16 +4979,16 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "discussion", + "subcategory": "discussion_comment", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "discussion-pinned": { + "discussion-created": { "post": { "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.14/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was pinned.", - "operationId": "discussion/pinned", + "description": "A discussion was created.", + "operationId": "discussion/created", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#discussion" }, @@ -5211,7 +5062,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-pinned" + "$ref": "#/components/schemas/webhook-discussion-created" } } } @@ -5229,11 +5080,11 @@ } } }, - "discussion-reopened": { + "discussion-deleted": { "post": { "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.14/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was reopened.", - "operationId": "discussion/reopened", + "description": "A discussion was deleted.", + "operationId": "discussion/deleted", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#discussion" }, @@ -5255,7 +5106,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "discussions", + "example": "issues", "schema": { "type": "string" }, "required": true }, @@ -5290,7 +5141,7 @@ { "name": "X-GitHub-Enterprise-Version", "in": "header", - "example": "3.9.0", + "example": "3.1.9", "schema": { "type": "string" }, "required": true }, @@ -5307,7 +5158,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-reopened" + "$ref": "#/components/schemas/webhook-discussion-deleted" } } } @@ -5325,11 +5176,11 @@ } } }, - "discussion-transferred": { + "discussion-edited": { "post": { "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.14/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was transferred to another repository.", - "operationId": "discussion/transferred", + "description": "The title or body on a discussion was edited, or the category of the discussion was changed.", + "operationId": "discussion/edited", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#discussion" }, @@ -5403,7 +5254,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-transferred" + "$ref": "#/components/schemas/webhook-discussion-edited" } } } @@ -5421,11 +5272,11 @@ } } }, - "discussion-unanswered": { + "discussion-labeled": { "post": { "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.14/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A comment on the discussion was unmarked as the answer.", - "operationId": "discussion/unanswered", + "description": "A label was added to a discussion.", + "operationId": "discussion/labeled", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#discussion" }, @@ -5499,7 +5350,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-unanswered" + "$ref": "#/components/schemas/webhook-discussion-labeled" } } } @@ -5517,11 +5368,11 @@ } } }, - "discussion-unlabeled": { + "discussion-locked": { "post": { "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.14/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A label was removed from a discussion.", - "operationId": "discussion/unlabeled", + "description": "A discussion was locked.", + "operationId": "discussion/locked", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#discussion" }, @@ -5595,7 +5446,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-unlabeled" + "$ref": "#/components/schemas/webhook-discussion-locked" } } } @@ -5613,11 +5464,11 @@ } } }, - "discussion-unlocked": { + "discussion-pinned": { "post": { "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.14/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was unlocked.", - "operationId": "discussion/unlocked", + "description": "A discussion was pinned.", + "operationId": "discussion/pinned", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#discussion" }, @@ -5691,7 +5542,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-unlocked" + "$ref": "#/components/schemas/webhook-discussion-pinned" } } } @@ -5709,11 +5560,11 @@ } } }, - "discussion-unpinned": { + "discussion-reopened": { "post": { "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.14/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was unpinned.", - "operationId": "discussion/unpinned", + "description": "A discussion was reopened.", + "operationId": "discussion/reopened", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#discussion" }, @@ -5735,7 +5586,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "discussions", "schema": { "type": "string" }, "required": true }, @@ -5770,7 +5621,7 @@ { "name": "X-GitHub-Enterprise-Version", "in": "header", - "example": "3.1.9", + "example": "3.9.0", "schema": { "type": "string" }, "required": true }, @@ -5787,7 +5638,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-unpinned" + "$ref": "#/components/schemas/webhook-discussion-reopened" } } } @@ -5805,13 +5656,13 @@ } } }, - "enterprise-anonymous-access-disabled": { + "discussion-transferred": { "post": { - "summary": "This event occurs when there is activity relating to anonymous Git read access in an enterprise. For more information, see \"[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.14/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access).\"", - "description": "Anonymous Git read access was disabled.", - "operationId": "enterprise/anonymous-access-disabled", + "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.14/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "description": "A discussion was transferred to another repository.", + "operationId": "discussion/transferred", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#enterprise" + "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#discussion" }, "parameters": [ { @@ -5883,7 +5734,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-enterprise-anonymous-access-disabled" + "$ref": "#/components/schemas/webhook-discussion-transferred" } } } @@ -5896,18 +5747,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "enterprise", - "supported-webhook-types": ["business"] + "subcategory": "discussion", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "enterprise-anonymous-access-enabled": { + "discussion-unanswered": { "post": { - "summary": "This event occurs when there is activity relating to anonymous Git read access in an enterprise. For more information, see \"[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.14/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access).\"", - "description": "Anonymous Git read access was enabled.", - "operationId": "enterprise/anonymous-access-enabled", + "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.14/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "description": "A comment on the discussion was unmarked as the answer.", + "operationId": "discussion/unanswered", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#enterprise" + "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#discussion" }, "parameters": [ { @@ -5979,7 +5830,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-enterprise-anonymous-access-enabled" + "$ref": "#/components/schemas/webhook-discussion-unanswered" } } } @@ -5992,17 +5843,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "enterprise", - "supported-webhook-types": ["business"] + "subcategory": "discussion", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "fork": { + "discussion-unlabeled": { "post": { - "summary": "This event occurs when someone forks a repository. For more information, see \"[Fork a repo](https://docs.github.com/enterprise-server@3.14/get-started/quickstart/fork-a-repo).\" For information about the API to manage forks, see \"[Forks](https://docs.github.com/enterprise-server@3.14/rest/repos/forks)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", - "operationId": "fork", + "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.14/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "description": "A label was removed from a discussion.", + "operationId": "discussion/unlabeled", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#fork" + "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#discussion" }, "parameters": [ { @@ -6073,7 +5925,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-fork" } + "schema": { + "$ref": "#/components/schemas/webhook-discussion-unlabeled" + } } } }, @@ -6085,23 +5939,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "fork", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] + "subcategory": "discussion", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "github-app-authorization-revoked": { + "discussion-unlocked": { "post": { - "summary": "This event occurs when a user revokes their authorization of a GitHub App. For more information, see \"[About apps](https://docs.github.com/enterprise-server@3.14/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the API to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.14/rest/apps)\" in the REST API documentation.\n\nA GitHub App receives this webhook by default and cannot unsubscribe from this event.\n\nAnyone can revoke their authorization of a GitHub App from their [GitHub account settings page](https://github.com/settings/apps/authorizations). Revoking the authorization of a GitHub App does not uninstall the GitHub App. You should program your GitHub App so that when it receives this webhook, it stops calling the API on behalf of the person who revoked the token. If your GitHub App continues to use a revoked access token, it will receive the `401 Bad Credentials` error. For details about requests with a user access token, which require GitHub App authorization, see \"[Authenticating with a GitHub App on behalf of a user](https://docs.github.com/enterprise-server@3.14/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-with-a-github-app-on-behalf-of-a-user).\"", - "description": "Someone revoked their authorization of a GitHub App.", - "operationId": "github-app-authorization/revoked", + "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.14/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "description": "A discussion was unlocked.", + "operationId": "discussion/unlocked", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#github_app_authorization" + "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#discussion" }, "parameters": [ { @@ -6173,7 +6022,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-github-app-authorization-revoked" + "$ref": "#/components/schemas/webhook-discussion-unlocked" } } } @@ -6186,17 +6035,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "github_app_authorization", - "supported-webhook-types": ["app"] + "subcategory": "discussion", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "gollum": { + "discussion-unpinned": { "post": { - "summary": "This event occurs when someone creates or updates a wiki page. For more information, see \"[About wikis](https://docs.github.com/enterprise-server@3.14/communities/documenting-your-project-with-wikis/about-wikis).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", - "operationId": "gollum", + "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.14/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "description": "A discussion was unpinned.", + "operationId": "discussion/unpinned", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#gollum" + "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#discussion" }, "parameters": [ { @@ -6267,7 +6117,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-gollum" } + "schema": { + "$ref": "#/components/schemas/webhook-discussion-unpinned" + } } } }, @@ -6279,18 +6131,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "gollum", + "subcategory": "discussion", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "installation-created": { + "enterprise-anonymous-access-disabled": { "post": { - "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.14/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.14/rest/apps)\" in the REST API documentation.", - "description": "Someone installed a GitHub App on a user or organization account.", - "operationId": "installation/created", + "summary": "This event occurs when there is activity relating to anonymous Git read access in an enterprise. For more information, see \"[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.14/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access).\"", + "description": "Anonymous Git read access was disabled.", + "operationId": "enterprise/anonymous-access-disabled", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#installation" + "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#enterprise" }, "parameters": [ { @@ -6362,7 +6214,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-installation-created" + "$ref": "#/components/schemas/webhook-enterprise-anonymous-access-disabled" } } } @@ -6375,18 +6227,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "installation", - "supported-webhook-types": ["app"] + "subcategory": "enterprise", + "supported-webhook-types": ["business"] } } }, - "installation-deleted": { + "enterprise-anonymous-access-enabled": { "post": { - "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.14/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.14/rest/apps)\" in the REST API documentation.", - "description": "Someone uninstalled a GitHub App from their user or organization account.", - "operationId": "installation/deleted", + "summary": "This event occurs when there is activity relating to anonymous Git read access in an enterprise. For more information, see \"[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.14/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access).\"", + "description": "Anonymous Git read access was enabled.", + "operationId": "enterprise/anonymous-access-enabled", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#installation" + "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#enterprise" }, "parameters": [ { @@ -6458,7 +6310,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-installation-deleted" + "$ref": "#/components/schemas/webhook-enterprise-anonymous-access-enabled" } } } @@ -6471,18 +6323,116 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "installation", - "supported-webhook-types": ["app"] + "subcategory": "enterprise", + "supported-webhook-types": ["business"] } } }, - "installation-new-permissions-accepted": { + "fork": { "post": { - "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.14/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.14/rest/apps)\" in the REST API documentation.", - "description": "Someone granted new permissions to a GitHub App.", - "operationId": "installation/new-permissions-accepted", + "summary": "This event occurs when someone forks a repository. For more information, see \"[Fork a repo](https://docs.github.com/enterprise-server@3.14/get-started/quickstart/fork-a-repo).\" For information about the API to manage forks, see \"[Forks](https://docs.github.com/enterprise-server@3.14/rest/repos/forks)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", + "operationId": "fork", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#installation" + "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#fork" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Enterprise-Version", + "in": "header", + "example": "3.1.9", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Enterprise-Host", + "in": "header", + "example": "ghes.github.com", + "schema": { "type": "string" }, + "required": true + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/webhook-fork" } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "fork", + "supported-webhook-types": [ + "business", + "repository", + "organization", + "app" + ] + } + } + }, + "github-app-authorization-revoked": { + "post": { + "summary": "This event occurs when a user revokes their authorization of a GitHub App. For more information, see \"[About apps](https://docs.github.com/enterprise-server@3.14/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the API to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.14/rest/apps)\" in the REST API documentation.\n\nA GitHub App receives this webhook by default and cannot unsubscribe from this event.\n\nAnyone can revoke their authorization of a GitHub App from their [GitHub account settings page](https://github.com/settings/apps/authorizations). Revoking the authorization of a GitHub App does not uninstall the GitHub App. You should program your GitHub App so that when it receives this webhook, it stops calling the API on behalf of the person who revoked the token. If your GitHub App continues to use a revoked access token, it will receive the `401 Bad Credentials` error. For details about requests with a user access token, which require GitHub App authorization, see \"[Authenticating with a GitHub App on behalf of a user](https://docs.github.com/enterprise-server@3.14/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-with-a-github-app-on-behalf-of-a-user).\"", + "description": "Someone revoked their authorization of a GitHub App.", + "operationId": "github-app-authorization/revoked", + "externalDocs": { + "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#github_app_authorization" }, "parameters": [ { @@ -6554,7 +6504,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-installation-new-permissions-accepted" + "$ref": "#/components/schemas/webhook-github-app-authorization-revoked" } } } @@ -6567,18 +6517,111 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "installation", + "subcategory": "github_app_authorization", "supported-webhook-types": ["app"] } } }, - "installation-repositories-added": { + "gollum": { "post": { - "summary": "This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.14/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.14/rest/apps)\" in the REST API documentation.", - "description": "A GitHub App installation was granted access to one or more repositories.", - "operationId": "installation-repositories/added", + "summary": "This event occurs when someone creates or updates a wiki page. For more information, see \"[About wikis](https://docs.github.com/enterprise-server@3.14/communities/documenting-your-project-with-wikis/about-wikis).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", + "operationId": "gollum", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#installation_repositories" + "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#gollum" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Enterprise-Version", + "in": "header", + "example": "3.1.9", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Enterprise-Host", + "in": "header", + "example": "ghes.github.com", + "schema": { "type": "string" }, + "required": true + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/webhook-gollum" } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "gollum", + "supported-webhook-types": ["repository", "organization", "app"] + } + } + }, + "installation-created": { + "post": { + "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.14/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.14/rest/apps)\" in the REST API documentation.", + "description": "Someone installed a GitHub App on a user or organization account.", + "operationId": "installation/created", + "externalDocs": { + "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#installation" }, "parameters": [ { @@ -6650,7 +6693,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-installation-repositories-added" + "$ref": "#/components/schemas/webhook-installation-created" } } } @@ -6663,18 +6706,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "installation_repositories", + "subcategory": "installation", "supported-webhook-types": ["app"] } } }, - "installation-repositories-removed": { + "installation-deleted": { "post": { - "summary": "This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.14/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.14/rest/apps)\" in the REST API documentation.", - "description": "Access to one or more repositories was revoked for a GitHub App installation.", - "operationId": "installation-repositories/removed", + "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.14/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.14/rest/apps)\" in the REST API documentation.", + "description": "Someone uninstalled a GitHub App from their user or organization account.", + "operationId": "installation/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#installation_repositories" + "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#installation" }, "parameters": [ { @@ -6746,7 +6789,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-installation-repositories-removed" + "$ref": "#/components/schemas/webhook-installation-deleted" } } } @@ -6759,16 +6802,16 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "installation_repositories", + "subcategory": "installation", "supported-webhook-types": ["app"] } } }, - "installation-suspend": { + "installation-new-permissions-accepted": { "post": { "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.14/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.14/rest/apps)\" in the REST API documentation.", - "description": "Someone blocked access by a GitHub App to their user or organization account.", - "operationId": "installation/suspend", + "description": "Someone granted new permissions to a GitHub App.", + "operationId": "installation/new-permissions-accepted", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#installation" }, @@ -6842,7 +6885,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-installation-suspend" + "$ref": "#/components/schemas/webhook-installation-new-permissions-accepted" } } } @@ -6860,13 +6903,13 @@ } } }, - "installation-target-renamed": { + "installation-repositories-added": { "post": { - "summary": "This event occurs when there is activity relating to the user or organization account that a GitHub App is installed on. For more information, see \"[About apps](https://docs.github.com/enterprise-server@3.14/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.14/rest/apps)\" in the REST API documentation.", - "description": "Somebody renamed the user or organization account that a GitHub App is installed on.", - "operationId": "installation-target/renamed", + "summary": "This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.14/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.14/rest/apps)\" in the REST API documentation.", + "description": "A GitHub App installation was granted access to one or more repositories.", + "operationId": "installation-repositories/added", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#installation_target" + "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#installation_repositories" }, "parameters": [ { @@ -6938,7 +6981,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-installation-target-renamed" + "$ref": "#/components/schemas/webhook-installation-repositories-added" } } } @@ -6951,18 +6994,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "installation_target", + "subcategory": "installation_repositories", "supported-webhook-types": ["app"] } } }, - "installation-unsuspend": { + "installation-repositories-removed": { "post": { - "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.14/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.14/rest/apps)\" in the REST API documentation.", - "description": "A GitHub App that was blocked from accessing a user or organization account was given access the account again.", - "operationId": "installation/unsuspend", + "summary": "This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.14/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.14/rest/apps)\" in the REST API documentation.", + "description": "Access to one or more repositories was revoked for a GitHub App installation.", + "operationId": "installation-repositories/removed", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#installation" + "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#installation_repositories" }, "parameters": [ { @@ -7034,7 +7077,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-installation-unsuspend" + "$ref": "#/components/schemas/webhook-installation-repositories-removed" } } } @@ -7047,18 +7090,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "installation", + "subcategory": "installation_repositories", "supported-webhook-types": ["app"] } } }, - "issue-comment-created": { + "installation-suspend": { "post": { - "summary": "This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see \"[About issues](https://docs.github.com/enterprise-server@3.14/issues/tracking-your-work-with-issues/about-issues)\" and \"[About pull requests](https://docs.github.com/enterprise-server@3.14/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#issuecomment) or \"[Issue comments](https://docs.github.com/enterprise-server@3.14/rest/issues/comments)\" in the REST API documentation.\n\nFor activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see \"[Working with comments](https://docs.github.com/enterprise-server@3.14/rest/guides/working-with-comments).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A comment on an issue or pull request was created.", - "operationId": "issue-comment/created", + "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.14/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.14/rest/apps)\" in the REST API documentation.", + "description": "Someone blocked access by a GitHub App to their user or organization account.", + "operationId": "installation/suspend", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#issue_comment" + "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#installation" }, "parameters": [ { @@ -7130,7 +7173,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issue-comment-created" + "$ref": "#/components/schemas/webhook-installation-suspend" } } } @@ -7143,18 +7186,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "issue_comment", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "installation", + "supported-webhook-types": ["app"] } } }, - "issue-comment-deleted": { + "installation-target-renamed": { "post": { - "summary": "This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see \"[About issues](https://docs.github.com/enterprise-server@3.14/issues/tracking-your-work-with-issues/about-issues)\" and \"[About pull requests](https://docs.github.com/enterprise-server@3.14/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#issuecomment) or \"[Issue comments](https://docs.github.com/enterprise-server@3.14/rest/issues/comments)\" in the REST API documentation.\n\nFor activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see \"[Working with comments](https://docs.github.com/enterprise-server@3.14/rest/guides/working-with-comments).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A comment on an issue or pull request was deleted.", - "operationId": "issue-comment/deleted", + "summary": "This event occurs when there is activity relating to the user or organization account that a GitHub App is installed on. For more information, see \"[About apps](https://docs.github.com/enterprise-server@3.14/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.14/rest/apps)\" in the REST API documentation.", + "description": "Somebody renamed the user or organization account that a GitHub App is installed on.", + "operationId": "installation-target/renamed", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#issue_comment" + "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#installation_target" }, "parameters": [ { @@ -7226,7 +7269,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issue-comment-deleted" + "$ref": "#/components/schemas/webhook-installation-target-renamed" } } } @@ -7239,18 +7282,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "issue_comment", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "installation_target", + "supported-webhook-types": ["app"] } } }, - "issue-comment-edited": { + "installation-unsuspend": { "post": { - "summary": "This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see \"[About issues](https://docs.github.com/enterprise-server@3.14/issues/tracking-your-work-with-issues/about-issues)\" and \"[About pull requests](https://docs.github.com/enterprise-server@3.14/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#issuecomment) or \"[Issue comments](https://docs.github.com/enterprise-server@3.14/rest/issues/comments)\" in the REST API documentation.\n\nFor activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see \"[Working with comments](https://docs.github.com/enterprise-server@3.14/rest/guides/working-with-comments).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A comment on an issue or pull request was edited.", - "operationId": "issue-comment/edited", + "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.14/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.14/rest/apps)\" in the REST API documentation.", + "description": "A GitHub App that was blocked from accessing a user or organization account was given access the account again.", + "operationId": "installation/unsuspend", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#issue_comment" + "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#installation" }, "parameters": [ { @@ -7322,7 +7365,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issue-comment-edited" + "$ref": "#/components/schemas/webhook-installation-unsuspend" } } } @@ -7335,18 +7378,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "issue_comment", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "installation", + "supported-webhook-types": ["app"] } } }, - "issues-assigned": { + "issue-comment-created": { "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.14/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.14/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was assigned to a user.", - "operationId": "issues/assigned", + "summary": "This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see \"[About issues](https://docs.github.com/enterprise-server@3.14/issues/tracking-your-work-with-issues/about-issues)\" and \"[About pull requests](https://docs.github.com/enterprise-server@3.14/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#issuecomment) or \"[Issue comments](https://docs.github.com/enterprise-server@3.14/rest/issues/comments)\" in the REST API documentation.\n\nFor activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see \"[Working with comments](https://docs.github.com/enterprise-server@3.14/rest/guides/working-with-comments).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "A comment on an issue or pull request was created.", + "operationId": "issue-comment/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#issues" + "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#issue_comment" }, "parameters": [ { @@ -7418,7 +7461,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-assigned" + "$ref": "#/components/schemas/webhook-issue-comment-created" } } } @@ -7431,18 +7474,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "issues", + "subcategory": "issue_comment", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "issues-closed": { + "issue-comment-deleted": { "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.14/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.14/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was closed.", - "operationId": "issues/closed", + "summary": "This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see \"[About issues](https://docs.github.com/enterprise-server@3.14/issues/tracking-your-work-with-issues/about-issues)\" and \"[About pull requests](https://docs.github.com/enterprise-server@3.14/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#issuecomment) or \"[Issue comments](https://docs.github.com/enterprise-server@3.14/rest/issues/comments)\" in the REST API documentation.\n\nFor activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see \"[Working with comments](https://docs.github.com/enterprise-server@3.14/rest/guides/working-with-comments).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "A comment on an issue or pull request was deleted.", + "operationId": "issue-comment/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#issues" + "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#issue_comment" }, "parameters": [ { @@ -7513,7 +7556,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-issues-closed" } + "schema": { + "$ref": "#/components/schemas/webhook-issue-comment-deleted" + } } } }, @@ -7525,18 +7570,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "issues", + "subcategory": "issue_comment", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "issues-deleted": { + "issue-comment-edited": { "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.14/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.14/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was deleted.", - "operationId": "issues/deleted", + "summary": "This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see \"[About issues](https://docs.github.com/enterprise-server@3.14/issues/tracking-your-work-with-issues/about-issues)\" and \"[About pull requests](https://docs.github.com/enterprise-server@3.14/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#issuecomment) or \"[Issue comments](https://docs.github.com/enterprise-server@3.14/rest/issues/comments)\" in the REST API documentation.\n\nFor activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see \"[Working with comments](https://docs.github.com/enterprise-server@3.14/rest/guides/working-with-comments).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "A comment on an issue or pull request was edited.", + "operationId": "issue-comment/edited", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#issues" + "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#issue_comment" }, "parameters": [ { @@ -7608,7 +7653,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-deleted" + "$ref": "#/components/schemas/webhook-issue-comment-edited" } } } @@ -7621,16 +7666,16 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "issues", + "subcategory": "issue_comment", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "issues-demilestoned": { + "issues-assigned": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.14/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.14/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was removed from a milestone.", - "operationId": "issues/demilestoned", + "description": "An issue was assigned to a user.", + "operationId": "issues/assigned", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#issues" }, @@ -7704,7 +7749,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-demilestoned" + "$ref": "#/components/schemas/webhook-issues-assigned" } } } @@ -7722,11 +7767,11 @@ } } }, - "issues-edited": { + "issues-closed": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.14/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.14/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "The title or body on an issue was edited.", - "operationId": "issues/edited", + "description": "An issue was closed.", + "operationId": "issues/closed", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#issues" }, @@ -7799,7 +7844,7 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-issues-edited" } + "schema": { "$ref": "#/components/schemas/webhook-issues-closed" } } } }, @@ -7816,11 +7861,11 @@ } } }, - "issues-labeled": { + "issues-deleted": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.14/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.14/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A label was added to an issue.", - "operationId": "issues/labeled", + "description": "An issue was deleted.", + "operationId": "issues/deleted", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#issues" }, @@ -7894,7 +7939,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-labeled" + "$ref": "#/components/schemas/webhook-issues-deleted" } } } @@ -7912,11 +7957,11 @@ } } }, - "issues-locked": { + "issues-demilestoned": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.14/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.14/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/enterprise-server@3.14/communities/moderating-comments-and-conversations/locking-conversations).\"", - "operationId": "issues/locked", + "description": "An issue was removed from a milestone.", + "operationId": "issues/demilestoned", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#issues" }, @@ -7989,7 +8034,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-issues-locked" } + "schema": { + "$ref": "#/components/schemas/webhook-issues-demilestoned" + } } } }, @@ -8006,11 +8053,11 @@ } } }, - "issues-milestoned": { + "issues-edited": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.14/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.14/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was added to a milestone.", - "operationId": "issues/milestoned", + "description": "The title or body on an issue was edited.", + "operationId": "issues/edited", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#issues" }, @@ -8083,9 +8130,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-issues-milestoned" - } + "schema": { "$ref": "#/components/schemas/webhook-issues-edited" } } } }, @@ -8102,11 +8147,11 @@ } } }, - "issues-opened": { + "issues-labeled": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.14/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.14/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was created. When a closed issue is reopened, the action will be `reopened` instead.", - "operationId": "issues/opened", + "description": "A label was added to an issue.", + "operationId": "issues/labeled", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#issues" }, @@ -8179,7 +8224,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-issues-opened" } + "schema": { + "$ref": "#/components/schemas/webhook-issues-labeled" + } } } }, @@ -8196,11 +8243,11 @@ } } }, - "issues-pinned": { + "issues-locked": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.14/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.14/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was pinned to a repository. For more information, see \"[Pinning an issue to your repository](https://docs.github.com/enterprise-server@3.14/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository).\"", - "operationId": "issues/pinned", + "description": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/enterprise-server@3.14/communities/moderating-comments-and-conversations/locking-conversations).\"", + "operationId": "issues/locked", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#issues" }, @@ -8273,7 +8320,7 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-issues-pinned" } + "schema": { "$ref": "#/components/schemas/webhook-issues-locked" } } } }, @@ -8290,11 +8337,11 @@ } } }, - "issues-reopened": { + "issues-milestoned": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.14/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.14/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A closed issue was reopened.", - "operationId": "issues/reopened", + "description": "An issue was added to a milestone.", + "operationId": "issues/milestoned", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#issues" }, @@ -8368,7 +8415,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-reopened" + "$ref": "#/components/schemas/webhook-issues-milestoned" } } } @@ -8386,11 +8433,199 @@ } } }, - "issues-transferred": { + "issues-opened": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.14/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.14/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was transferred to another repository. For more information, see \"[Transferring an issue to another repository](https://docs.github.com/enterprise-server@3.14/issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository).\"", - "operationId": "issues/transferred", + "description": "An issue was created. When a closed issue is reopened, the action will be `reopened` instead.", + "operationId": "issues/opened", + "externalDocs": { + "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#issues" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Enterprise-Version", + "in": "header", + "example": "3.1.9", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Enterprise-Host", + "in": "header", + "example": "ghes.github.com", + "schema": { "type": "string" }, + "required": true + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/webhook-issues-opened" } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "issues", + "supported-webhook-types": ["repository", "organization", "app"] + } + } + }, + "issues-pinned": { + "post": { + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.14/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.14/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "An issue was pinned to a repository. For more information, see \"[Pinning an issue to your repository](https://docs.github.com/enterprise-server@3.14/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository).\"", + "operationId": "issues/pinned", + "externalDocs": { + "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#issues" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Enterprise-Version", + "in": "header", + "example": "3.1.9", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Enterprise-Host", + "in": "header", + "example": "ghes.github.com", + "schema": { "type": "string" }, + "required": true + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/webhook-issues-pinned" } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "issues", + "supported-webhook-types": ["repository", "organization", "app"] + } + } + }, + "issues-reopened": { + "post": { + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.14/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.14/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "A closed issue was reopened.", + "operationId": "issues/reopened", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#issues" }, @@ -8464,7 +8699,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-transferred" + "$ref": "#/components/schemas/webhook-issues-reopened" } } } @@ -8482,11 +8717,11 @@ } } }, - "issues-unassigned": { + "issues-transferred": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.14/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.14/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A user was unassigned from an issue.", - "operationId": "issues/unassigned", + "description": "An issue was transferred to another repository. For more information, see \"[Transferring an issue to another repository](https://docs.github.com/enterprise-server@3.14/issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository).\"", + "operationId": "issues/transferred", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#issues" }, @@ -8560,7 +8795,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unassigned" + "$ref": "#/components/schemas/webhook-issues-transferred" } } } @@ -8578,11 +8813,107 @@ } } }, - "issues-unlabeled": { + "issues-unassigned": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.14/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.14/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A label was removed from an issue.", - "operationId": "issues/unlabeled", + "description": "A user was unassigned from an issue.", + "operationId": "issues/unassigned", + "externalDocs": { + "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#issues" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Enterprise-Version", + "in": "header", + "example": "3.1.9", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Enterprise-Host", + "in": "header", + "example": "ghes.github.com", + "schema": { "type": "string" }, + "required": true + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-issues-unassigned" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "issues", + "supported-webhook-types": ["repository", "organization", "app"] + } + } + }, + "issues-unlabeled": { + "post": { + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.14/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.14/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.14/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "A label was removed from an issue.", + "operationId": "issues/unlabeled", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.14/webhooks/webhook-events-and-payloads#issues" }, @@ -24499,12 +24830,7 @@ "description": "A check performed on the code of a given code change", "type": "object", "properties": { - "app": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/integration" } - ] - }, + "app": { "$ref": "#/components/schemas/integration" }, "check_suite": { "$ref": "#/components/schemas/simple-check-suite" }, "completed_at": { "type": ["string", "null"], @@ -25290,6 +25616,7 @@ "type": ["object", "null"], "properties": { "advanced_security": { + "description": "Enable or disable GitHub Advanced Security for the repository.\n\nFor standalone Code Scanning or Secret Protection products, this parameter cannot be used.\n", "type": "object", "properties": { "status": { "type": "string", "enum": ["enabled", "disabled"] } @@ -28319,6 +28646,176 @@ "description": "The [`git ref`](https://docs.github.com/enterprise-server@3.14/rest/git/refs#get-a-reference) resource.", "type": "string" }, + "webhook-custom-property-created": { + "title": "custom property created event", + "type": "object", + "properties": { + "action": { "type": "string", "enum": ["created"] }, + "definition": { "$ref": "#/components/schemas/custom-property" }, + "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "sender": { "$ref": "#/components/schemas/simple-user" } + }, + "required": ["action", "definition"] + }, + "custom-property": { + "title": "Organization Custom Property", + "description": "Custom property defined on an organization", + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property" + }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL that can be used to fetch, update, or delete info about this property via the API." + }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": ["organization", "enterprise"], + "examples": ["organization"] + }, + "value_type": { + "type": "string", + "enum": ["string", "single_select", "multi_select", "true_false"], + "description": "The type of the value for the property", + "examples": ["single_select"] + }, + "required": { + "type": "boolean", + "description": "Whether the property is required." + }, + "default_value": { + "oneOf": [ + { "type": "string" }, + { "type": "array", "items": { "type": "string" } } + ], + "description": "Default value of the property", + "type": ["null", "string", "array"] + }, + "description": { + "type": ["string", "null"], + "description": "Short description of the property" + }, + "allowed_values": { + "type": ["array", "null"], + "items": { "type": "string", "maxLength": 75 }, + "maxItems": 200, + "description": "An ordered list of the allowed values of the property.\nThe property can have up to 200 allowed values." + }, + "values_editable_by": { + "type": ["string", "null"], + "enum": ["org_actors", "org_and_repo_actors", null], + "description": "Who can edit the values of the property", + "examples": ["org_actors"] + } + }, + "required": ["property_name", "value_type"] + }, + "webhook-custom-property-deleted": { + "title": "custom property deleted event", + "type": "object", + "properties": { + "action": { "type": "string", "enum": ["deleted"] }, + "definition": { + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property that was deleted." + } + }, + "required": ["property_name"] + }, + "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "sender": { "$ref": "#/components/schemas/simple-user" } + }, + "required": ["action", "definition"] + }, + "webhook-custom-property-updated": { + "title": "custom property updated event", + "type": "object", + "properties": { + "action": { "type": "string", "enum": ["updated"] }, + "definition": { "$ref": "#/components/schemas/custom-property" }, + "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "sender": { "$ref": "#/components/schemas/simple-user" } + }, + "required": ["action", "definition"] + }, + "webhook-custom-property-values-updated": { + "title": "Custom property values updated event", + "type": "object", + "properties": { + "action": { "type": "string", "enum": ["updated"] }, + "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "repository": { "$ref": "#/components/schemas/repository-webhooks" }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "sender": { "$ref": "#/components/schemas/simple-user" }, + "new_property_values": { + "type": "array", + "description": "The new custom property values for the repository.", + "items": { "$ref": "#/components/schemas/custom-property-value" } + }, + "old_property_values": { + "type": "array", + "description": "The old custom property values for the repository.", + "items": { "$ref": "#/components/schemas/custom-property-value" } + } + }, + "required": [ + "action", + "repository", + "organization", + "new_property_values", + "old_property_values" + ] + }, + "custom-property-value": { + "title": "Custom Property Value", + "description": "Custom property name and associated value", + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property" + }, + "value": { + "oneOf": [ + { "type": "string" }, + { "type": "array", "items": { "type": "string" } } + ], + "description": "The value assigned to the property", + "type": ["null", "string", "array"] + } + }, + "required": ["property_name", "value"] + }, "webhook-delete": { "title": "delete event", "type": "object", @@ -35047,6 +35544,10 @@ ] }, "app_id": { "type": "integer", "examples": [1] }, + "client_id": { + "type": "string", + "examples": ["Iv1.ab1112223334445c"] + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -36459,14 +36960,10 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -36736,6 +37233,32 @@ }, "required": ["action", "issue", "comment", "repository", "sender"] }, + "sub-issues-summary": { + "title": "Sub-issues Summary", + "type": "object", + "properties": { + "total": { "type": "integer" }, + "completed": { "type": "integer" }, + "percent_completed": { "type": "integer" } + }, + "required": ["total", "completed", "percent_completed"] + }, + "issue-dependencies-summary": { + "title": "Issue Dependencies Summary", + "type": "object", + "properties": { + "blocked_by": { "type": "integer" }, + "blocking": { "type": "integer" }, + "total_blocked_by": { "type": "integer" }, + "total_blocking": { "type": "integer" } + }, + "required": [ + "blocked_by", + "blocking", + "total_blocked_by", + "total_blocking" + ] + }, "issue-type": { "title": "Issue Type", "description": "The type of issue.", @@ -37451,14 +37974,10 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -38512,14 +39031,10 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -39348,14 +39863,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -39429,6 +39944,59 @@ "reactions" ] }, + "issue-field-value": { + "title": "Issue Field Value", + "description": "A value assigned to an issue field", + "type": "object", + "properties": { + "issue_field_id": { + "description": "Unique identifier for the issue field.", + "type": "integer", + "format": "int64", + "examples": [1] + }, + "node_id": { "type": "string", "examples": ["IFT_GDKND"] }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": ["text", "single_select", "number", "date"], + "examples": ["text"] + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { "type": "string", "examples": ["Sample text"] }, + { "type": "number", "examples": [42.5] }, + { "type": "integer", "examples": [1] } + ], + "type": ["null", "string", "number", "integer"] + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": ["object", "null"], + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [1] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": ["High"] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": ["red"] + } + }, + "required": ["id", "name", "color"] + } + }, + "required": ["issue_field_id", "node_id", "data_type", "value"] + }, "webhook-issues-closed": { "title": "issues closed event", "type": "object", @@ -40097,14 +40665,16 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { + "$ref": "#/components/schemas/issue-field-value" + } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -40893,14 +41463,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -41613,14 +42183,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -42400,14 +42970,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -43101,14 +43671,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -43827,14 +44397,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -44525,14 +45095,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -45255,14 +45825,16 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { + "$ref": "#/components/schemas/issue-field-value" + } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -46316,14 +46888,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -46940,14 +47512,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -47649,14 +48221,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -48378,14 +48950,16 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { + "$ref": "#/components/schemas/issue-field-value" + } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -49578,14 +50152,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -50073,7 +50647,7 @@ "action": { "type": "string", "enum": ["deleted"] }, "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, "hook": { - "description": "The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, business, app, or GitHub Marketplace.", + "description": "The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, business, app, or GitHub Marketplace.", "type": "object", "properties": { "active": { "type": "boolean" }, @@ -50092,6 +50666,7 @@ }, "created_at": { "type": "string" }, "events": { + "description": "", "type": "array", "items": { "type": "string", @@ -50588,6 +51163,18 @@ "properties": { "organization_url": { "type": "string", "format": "uri" }, "role": { "type": "string" }, + "direct_membership": { + "type": "boolean", + "description": "Whether the user has direct membership in the organization.", + "examples": [true] + }, + "enterprise_teams_providing_indirect_membership": { + "type": "array", + "description": "The slugs of the enterprise teams providing the user with indirect membership in the organization.\nA limit of 100 enterprise team slugs is returned.", + "maxItems": 100, + "items": { "type": "string" }, + "examples": ["ent:team-one", "ent:team-two"] + }, "state": { "type": "string" }, "url": { "type": "string", "format": "uri" }, "user": { @@ -52746,6 +53333,17 @@ { "type": "null" }, { "$ref": "#/components/schemas/simple-user" } ] + }, + "state": { "type": "string", "enum": ["open", "closed"] }, + "latest_status_update": { + "anyOf": [ + { "type": "null" }, + { "$ref": "#/components/schemas/projects-v2-status-update" } + ] + }, + "is_template": { + "type": "boolean", + "description": "Whether this project is a template" } }, "required": [ @@ -52765,6 +53363,54 @@ "deleted_by" ] }, + "projects-v2-status-update": { + "title": "Projects v2 Status Update", + "description": "An status update belonging to a project", + "type": "object", + "properties": { + "id": { "type": "number" }, + "node_id": { "type": "string" }, + "project_node_id": { "type": "string" }, + "creator": { "$ref": "#/components/schemas/simple-user" }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": ["2022-04-28T12:00:00Z"] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": ["2022-04-28T12:00:00Z"] + }, + "status": { + "type": ["string", "null"], + "enum": [ + "INACTIVE", + "ON_TRACK", + "AT_RISK", + "OFF_TRACK", + "COMPLETE", + null + ] + }, + "start_date": { + "type": "string", + "format": "date", + "examples": ["2022-04-28"] + }, + "target_date": { + "type": "string", + "format": "date", + "examples": ["2022-04-28"] + }, + "body": { + "description": "Body of the status update", + "type": ["string", "null"], + "examples": ["The project is off to a great start!"] + } + }, + "required": ["id", "node_id", "created_at", "updated_at"] + }, "webhook-projects-v2-project-created": { "description": "A project was created", "type": "object", @@ -53103,8 +53749,10 @@ "properties": { "id": { "type": "string" }, "title": { "type": "string" }, + "title_html": { "type": "string" }, "duration": { "type": ["number", "null"] }, - "start_date": { "type": ["string", "null"] } + "start_date": { "type": ["string", "null"] }, + "completed": { "type": "boolean" } }, "required": ["id", "title"] }, @@ -71984,6 +72632,10 @@ "enum": ["dismissed", "approved", "changes_requested"] }, "submitted_at": { "type": "string", "format": "date-time" }, + "updated_at": { + "type": ["string", "null"], + "format": "date-time" + }, "user": { "title": "User", "type": ["object", "null"], @@ -73829,6 +74481,7 @@ "pull_request_url": { "type": "string", "format": "uri" }, "state": { "type": "string" }, "submitted_at": { "type": ["string", "null"], "format": "date-time" }, + "updated_at": { "type": ["string", "null"], "format": "date-time" }, "user": { "title": "User", "type": ["object", "null"], @@ -86069,7 +86722,8 @@ "node_id": { "type": "string" } }, "required": ["node_id", "comments"] - } + }, + "updated_at": { "type": ["string", "null"], "format": "date-time" } }, "required": ["action", "thread", "pull_request", "repository"] }, @@ -88059,7 +88713,8 @@ "node_id": { "type": "string" } }, "required": ["node_id", "comments"] - } + }, + "updated_at": { "type": ["string", "null"], "format": "date-time" } }, "required": ["action", "thread", "pull_request", "repository"] }, @@ -96851,6 +97506,7 @@ }, "body": { "type": ["string", "null"] }, "created_at": { "type": ["string", "null"], "format": "date-time" }, + "updated_at": { "type": ["string", "null"], "format": "date-time" }, "discussion_url": { "type": "string", "format": "uri" }, "draft": { "description": "Whether the release is a draft or published", @@ -96858,6 +97514,10 @@ }, "html_url": { "type": "string", "format": "uri" }, "id": { "type": "integer" }, + "immutable": { + "description": "Whether or not the release is immutable.", + "type": "boolean" + }, "name": { "type": ["string", "null"] }, "node_id": { "type": "string" }, "prerelease": { @@ -96919,10 +97579,12 @@ "draft", "author", "prerelease", + "immutable", "created_at", "published_at", "assets", "tarball_url", + "updated_at", "zipball_url", "body" ] @@ -97033,6 +97695,7 @@ "draft", "html_url", "id", + "immutable", "name", "node_id", "prerelease", @@ -97040,6 +97703,7 @@ "tag_name", "tarball_url", "target_commitish", + "updated_at", "upload_url", "url", "zipball_url" @@ -97193,6 +97857,10 @@ }, "html_url": { "type": "string", "format": "uri" }, "id": { "type": "integer" }, + "immutable": { + "description": "Whether or not the release is immutable.", + "type": "boolean" + }, "name": { "type": ["string", "null"] }, "node_id": { "type": "string" }, "prerelease": { @@ -97242,6 +97910,10 @@ "type": "string" }, "upload_url": { "type": "string", "format": "uri-template" }, + "updated_at": { + "type": ["string", "null"], + "format": "date-time" + }, "url": { "type": "string", "format": "uri" }, "zipball_url": { "type": ["string", "null"], "format": "uri" } } @@ -97285,10 +97957,12 @@ "name", "node_id", "prerelease", + "immutable", "published_at", "tag_name", "tarball_url", "target_commitish", + "updated_at", "upload_url", "url", "zipball_url" @@ -97424,6 +98098,10 @@ }, "html_url": { "type": "string", "format": "uri" }, "id": { "type": "integer" }, + "immutable": { + "description": "Whether or not the release is immutable.", + "type": "boolean" + }, "name": { "type": ["string", "null"] }, "node_id": { "type": "string" }, "prerelease": { @@ -97468,6 +98146,7 @@ "description": "Specifies the commitish value that determines where the Git tag is created from.", "type": "string" }, + "updated_at": { "type": ["string", "null"], "format": "date-time" }, "upload_url": { "type": "string", "format": "uri-template" }, "url": { "type": "string", "format": "uri" }, "zipball_url": { "type": ["string", "null"], "format": "uri" } @@ -97851,7 +98530,7 @@ "properties": { "actor_id": { "type": ["integer", "null"], - "description": "The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. `OrganizationAdmin` is not applicable for personal repositories." + "description": "The ID of the actor that can bypass a ruleset. Required for `Integration`, `RepositoryRole`, and `Team` actor types. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. `OrganizationAdmin` is not applicable for personal repositories." }, "actor_type": { "type": "string", @@ -98150,7 +98829,7 @@ "properties": { "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", diff --git a/packages/openapi-webhooks/generated/ghes-3.15.json b/packages/openapi-webhooks/generated/ghes-3.15.json index bcd98b1..9da49f3 100644 --- a/packages/openapi-webhooks/generated/ghes-3.15.json +++ b/packages/openapi-webhooks/generated/ghes-3.15.json @@ -75,7 +75,10 @@ "name": "packages", "description": "Manage packages for authenticated users and organizations." }, - { "name": "projects", "description": "Interact with GitHub Projects." }, + { + "name": "projects-classic", + "description": "Interact with GitHub Projects (classic)." + }, { "name": "pulls", "description": "Interact with GitHub Pull Requests." }, { "name": "rate-limit", @@ -2545,12 +2548,13 @@ } } }, - "delete": { + "custom-property-created": { "post": { - "summary": "This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including\nbranch and tag deletions, use the [`push`](#push) webhook event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.\n\n> [!NOTE]\n> This event will not occur when more than three tags are deleted at once.", - "operationId": "delete", + "summary": "This event occurs when there is activity relating to a custom property.\n\nFor more information, see \"[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.15/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)\". For information about the APIs to manage custom properties, see \"[Custom properties](https://docs.github.com/enterprise-server@3.15/rest/orgs/custom-properties)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Custom properties\" organization permission.", + "description": "A new custom property was created.", + "operationId": "custom-property/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#delete" + "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#custom_property" }, "parameters": [ { @@ -2601,27 +2605,15 @@ "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", "schema": { "type": "string" }, "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true } ], "requestBody": { "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-delete" } + "schema": { + "$ref": "#/components/schemas/webhook-custom-property-created" + } } } }, @@ -2633,18 +2625,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "delete", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "custom_property", + "supported-webhook-types": ["business", "organization", "app"] } } }, - "dependabot-alert-auto-dismissed": { + "custom-property-deleted": { "post": { - "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.15/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.15/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A Dependabot alert was automatically closed by a Dependabot auto-triage rule.", - "operationId": "dependabot-alert/auto-dismissed", + "summary": "This event occurs when there is activity relating to a custom property.\n\nFor more information, see \"[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.15/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)\". For information about the APIs to manage custom properties, see \"[Custom properties](https://docs.github.com/enterprise-server@3.15/rest/orgs/custom-properties)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Custom properties\" organization permission.", + "description": "A custom property was deleted.", + "operationId": "custom-property/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#dependabot_alert" + "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#custom_property" }, "parameters": [ { @@ -2695,20 +2687,6 @@ "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", "schema": { "type": "string" }, "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true } ], "requestBody": { @@ -2716,7 +2694,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-auto-dismissed" + "$ref": "#/components/schemas/webhook-custom-property-deleted" } } } @@ -2729,18 +2707,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "dependabot_alert", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "custom_property", + "supported-webhook-types": ["business", "organization", "app"] } } }, - "dependabot-alert-auto-reopened": { + "custom-property-updated": { "post": { - "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.15/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.15/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A Dependabot alert, that had been automatically closed by a Dependabot auto-triage rule, was automatically reopened because the alert metadata or rule changed.", - "operationId": "dependabot-alert/auto-reopened", + "summary": "This event occurs when there is activity relating to a custom property.\n\nFor more information, see \"[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.15/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)\". For information about the APIs to manage custom properties, see \"[Custom properties](https://docs.github.com/enterprise-server@3.15/rest/orgs/custom-properties)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Custom properties\" organization permission.", + "description": "A custom property was updated.", + "operationId": "custom-property/updated", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#dependabot_alert" + "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#custom_property" }, "parameters": [ { @@ -2791,20 +2769,6 @@ "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", "schema": { "type": "string" }, "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true } ], "requestBody": { @@ -2812,7 +2776,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-auto-reopened" + "$ref": "#/components/schemas/webhook-custom-property-updated" } } } @@ -2825,18 +2789,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "dependabot_alert", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "custom_property", + "supported-webhook-types": ["business", "organization", "app"] } } }, - "dependabot-alert-created": { + "custom-property-values-updated": { "post": { - "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.15/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.15/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A manifest file change introduced a vulnerable dependency, or a GitHub Security Advisory was published and an existing dependency was found to be vulnerable.", - "operationId": "dependabot-alert/created", + "summary": "This event occurs when there is activity relating to custom property values for a repository.\n\nFor more information, see \"[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.15/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)\". For information about the APIs to manage custom properties for a repository, see \"[Custom properties](https://docs.github.com/enterprise-server@3.15/rest/repos/custom-properties)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Custom properties\" organization permission.", + "description": "The custom property values of a repository were updated.", + "operationId": "custom-property-values/updated", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#dependabot_alert" + "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#custom-property-values" }, "parameters": [ { @@ -2887,20 +2851,6 @@ "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", "schema": { "type": "string" }, "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true } ], "requestBody": { @@ -2908,7 +2858,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-created" + "$ref": "#/components/schemas/webhook-custom-property-values-updated" } } } @@ -2921,18 +2871,17 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "dependabot_alert", + "subcategory": "custom-property-values", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "dependabot-alert-dismissed": { + "delete": { "post": { - "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.15/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.15/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A Dependabot alert was manually closed.", - "operationId": "dependabot-alert/dismissed", + "summary": "This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including\nbranch and tag deletions, use the [`push`](#push) webhook event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.\n\n> [!NOTE]\n> This event will not occur when more than three tags are deleted at once.", + "operationId": "delete", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#dependabot_alert" + "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#delete" }, "parameters": [ { @@ -3003,9 +2952,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-dismissed" - } + "schema": { "$ref": "#/components/schemas/webhook-delete" } } } }, @@ -3017,16 +2964,16 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "dependabot_alert", + "subcategory": "delete", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "dependabot-alert-fixed": { + "dependabot-alert-auto-dismissed": { "post": { "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.15/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.15/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A manifest file change removed a vulnerability.", - "operationId": "dependabot-alert/fixed", + "description": "A Dependabot alert was automatically closed by a Dependabot auto-triage rule.", + "operationId": "dependabot-alert/auto-dismissed", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#dependabot_alert" }, @@ -3100,7 +3047,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-fixed" + "$ref": "#/components/schemas/webhook-dependabot-alert-auto-dismissed" } } } @@ -3118,11 +3065,11 @@ } } }, - "dependabot-alert-reintroduced": { + "dependabot-alert-auto-reopened": { "post": { "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.15/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.15/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A manifest file change introduced a vulnerable dependency that had previously been fixed.", - "operationId": "dependabot-alert/reintroduced", + "description": "A Dependabot alert, that had been automatically closed by a Dependabot auto-triage rule, was automatically reopened because the alert metadata or rule changed.", + "operationId": "dependabot-alert/auto-reopened", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#dependabot_alert" }, @@ -3196,7 +3143,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-reintroduced" + "$ref": "#/components/schemas/webhook-dependabot-alert-auto-reopened" } } } @@ -3214,11 +3161,11 @@ } } }, - "dependabot-alert-reopened": { + "dependabot-alert-created": { "post": { "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.15/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.15/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A Dependabot alert was manually reopened.", - "operationId": "dependabot-alert/reopened", + "description": "A manifest file change introduced a vulnerable dependency, or a GitHub Security Advisory was published and an existing dependency was found to be vulnerable.", + "operationId": "dependabot-alert/created", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#dependabot_alert" }, @@ -3292,7 +3239,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-reopened" + "$ref": "#/components/schemas/webhook-dependabot-alert-created" } } } @@ -3310,13 +3257,13 @@ } } }, - "deploy-key-created": { + "dependabot-alert-dismissed": { "post": { - "summary": "This event occurs when there is activity relating to deploy keys. For more information, see \"[Managing deploy keys](https://docs.github.com/enterprise-server@3.15/developers/overview/managing-deploy-keys).\" For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#deploykey) or \"[Deploy keys](https://docs.github.com/enterprise-server@3.15/rest/deploy-keys)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deploy key was created.", - "operationId": "deploy-key/created", + "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.15/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.15/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", + "description": "A Dependabot alert was manually closed.", + "operationId": "dependabot-alert/dismissed", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#deploy_key" + "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#dependabot_alert" }, "parameters": [ { @@ -3388,7 +3335,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-deploy-key-created" + "$ref": "#/components/schemas/webhook-dependabot-alert-dismissed" } } } @@ -3401,18 +3348,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "deploy_key", + "subcategory": "dependabot_alert", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "deploy-key-deleted": { + "dependabot-alert-fixed": { "post": { - "summary": "This event occurs when there is activity relating to deploy keys. For more information, see \"[Managing deploy keys](https://docs.github.com/enterprise-server@3.15/developers/overview/managing-deploy-keys).\" For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#deploykey) or \"[Deploy keys](https://docs.github.com/enterprise-server@3.15/rest/deploy-keys)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deploy key was deleted.", - "operationId": "deploy-key/deleted", + "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.15/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.15/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", + "description": "A manifest file change removed a vulnerability.", + "operationId": "dependabot-alert/fixed", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#deploy_key" + "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#dependabot_alert" }, "parameters": [ { @@ -3484,7 +3431,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-deploy-key-deleted" + "$ref": "#/components/schemas/webhook-dependabot-alert-fixed" } } } @@ -3497,18 +3444,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "deploy_key", + "subcategory": "dependabot_alert", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "deployment-created": { + "dependabot-alert-reintroduced": { "post": { - "summary": "This event occurs when there is activity relating to deployments. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.15/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.15/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment status, use the `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deployment was created.", - "operationId": "deployment/created", + "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.15/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.15/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", + "description": "A manifest file change introduced a vulnerable dependency that had previously been fixed.", + "operationId": "dependabot-alert/reintroduced", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#deployment" + "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#dependabot_alert" }, "parameters": [ { @@ -3580,7 +3527,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-deployment-created" + "$ref": "#/components/schemas/webhook-dependabot-alert-reintroduced" } } } @@ -3593,18 +3540,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "deployment", + "subcategory": "dependabot_alert", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "deployment-protection-rule-requested": { + "dependabot-alert-reopened": { "post": { - "summary": "This event occurs when there is activity relating to deployment protection rules. For more information, see \"[Using environments for deployment](https://docs.github.com/enterprise-server@3.15/actions/deployment/targeting-different-environments/using-environments-for-deployment#environment-protection-rules).\" For information about the API to manage deployment protection rules, see [the REST API documentation](https://docs.github.com/enterprise-server@3.15/rest/deployments/environments).\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deployment protection rule was requested for an environment.", - "operationId": "deployment-protection-rule/requested", + "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.15/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.15/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", + "description": "A Dependabot alert was manually reopened.", + "operationId": "dependabot-alert/reopened", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#deployment_protection_rule" + "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#dependabot_alert" }, "parameters": [ { @@ -3676,7 +3623,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-deployment-protection-rule-requested" + "$ref": "#/components/schemas/webhook-dependabot-alert-reopened" } } } @@ -3689,18 +3636,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "deployment_protection_rule", - "supported-webhook-types": ["app"] + "subcategory": "dependabot_alert", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "deployment-review-approved": { + "deploy-key-created": { "post": { - "summary": "This event occurs when there is activity relating to deployment reviews. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.15/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.15/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deployment review was approved.", - "operationId": "deployment-review/approved", + "summary": "This event occurs when there is activity relating to deploy keys. For more information, see \"[Managing deploy keys](https://docs.github.com/enterprise-server@3.15/developers/overview/managing-deploy-keys).\" For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#deploykey) or \"[Deploy keys](https://docs.github.com/enterprise-server@3.15/rest/deploy-keys)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", + "description": "A deploy key was created.", + "operationId": "deploy-key/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#deployment_review" + "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#deploy_key" }, "parameters": [ { @@ -3772,7 +3719,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-deployment-review-approved" + "$ref": "#/components/schemas/webhook-deploy-key-created" } } } @@ -3785,18 +3732,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "deployment_review", - "supported-webhook-types": ["app"] + "subcategory": "deploy_key", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "deployment-review-rejected": { + "deploy-key-deleted": { "post": { - "summary": "This event occurs when there is activity relating to deployment reviews. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.15/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.15/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deployment review was rejected.", - "operationId": "deployment-review/rejected", + "summary": "This event occurs when there is activity relating to deploy keys. For more information, see \"[Managing deploy keys](https://docs.github.com/enterprise-server@3.15/developers/overview/managing-deploy-keys).\" For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#deploykey) or \"[Deploy keys](https://docs.github.com/enterprise-server@3.15/rest/deploy-keys)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", + "description": "A deploy key was deleted.", + "operationId": "deploy-key/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#deployment_review" + "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#deploy_key" }, "parameters": [ { @@ -3868,7 +3815,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-deployment-review-rejected" + "$ref": "#/components/schemas/webhook-deploy-key-deleted" } } } @@ -3881,18 +3828,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "deployment_review", - "supported-webhook-types": ["app"] + "subcategory": "deploy_key", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "deployment-review-requested": { + "deployment-created": { "post": { - "summary": "This event occurs when there is activity relating to deployment reviews. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.15/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.15/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deployment review was requested.", - "operationId": "deployment-review/requested", + "summary": "This event occurs when there is activity relating to deployments. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.15/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.15/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment status, use the `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", + "description": "A deployment was created.", + "operationId": "deployment/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#deployment_review" + "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#deployment" }, "parameters": [ { @@ -3964,7 +3911,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-deployment-review-requested" + "$ref": "#/components/schemas/webhook-deployment-created" } } } @@ -3977,18 +3924,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "deployment_review", - "supported-webhook-types": ["app"] + "subcategory": "deployment", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "deployment-status-created": { + "deployment-protection-rule-requested": { "post": { - "summary": "This event occurs when there is activity relating to deployment statuses. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.15/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.15/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation, use the `deployment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.\n\n> [!NOTE]\n> A webhook event is not fired for deployment statuses with an `inactive` state.", - "description": "A new deployment status was created.", - "operationId": "deployment-status/created", + "summary": "This event occurs when there is activity relating to deployment protection rules. For more information, see \"[Using environments for deployment](https://docs.github.com/enterprise-server@3.15/actions/deployment/targeting-different-environments/using-environments-for-deployment#environment-protection-rules).\" For information about the API to manage deployment protection rules, see [the REST API documentation](https://docs.github.com/enterprise-server@3.15/rest/deployments/environments).\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", + "description": "A deployment protection rule was requested for an environment.", + "operationId": "deployment-protection-rule/requested", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#deployment_status" + "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#deployment_protection_rule" }, "parameters": [ { @@ -4060,7 +4007,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-deployment-status-created" + "$ref": "#/components/schemas/webhook-deployment-protection-rule-requested" } } } @@ -4073,18 +4020,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "deployment_status", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "deployment_protection_rule", + "supported-webhook-types": ["app"] } } }, - "discussion-answered": { + "deployment-review-approved": { "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.15/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A comment on the discussion was marked as the answer.", - "operationId": "discussion/answered", + "summary": "This event occurs when there is activity relating to deployment reviews. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.15/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.15/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", + "description": "A deployment review was approved.", + "operationId": "deployment-review/approved", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#discussion" + "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#deployment_review" }, "parameters": [ { @@ -4156,7 +4103,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-answered" + "$ref": "#/components/schemas/webhook-deployment-review-approved" } } } @@ -4169,18 +4116,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "discussion", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "deployment_review", + "supported-webhook-types": ["app"] } } }, - "discussion-category-changed": { + "deployment-review-rejected": { "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.15/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "The category of a discussion was changed.", - "operationId": "discussion/category-changed", + "summary": "This event occurs when there is activity relating to deployment reviews. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.15/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.15/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", + "description": "A deployment review was rejected.", + "operationId": "deployment-review/rejected", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#discussion" + "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#deployment_review" }, "parameters": [ { @@ -4252,103 +4199,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-category-changed" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "discussion", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "discussion-closed": { - "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.15/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was closed.", - "operationId": "discussion/closed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#discussion" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "discussions", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.9.0", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-discussion-closed" + "$ref": "#/components/schemas/webhook-deployment-review-rejected" } } } @@ -4361,18 +4212,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "discussion", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "deployment_review", + "supported-webhook-types": ["app"] } } }, - "discussion-comment-created": { + "deployment-review-requested": { "post": { - "summary": "This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.15/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#discussion).\n\nFor activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A comment on a discussion was created.", - "operationId": "discussion-comment/created", + "summary": "This event occurs when there is activity relating to deployment reviews. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.15/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.15/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", + "description": "A deployment review was requested.", + "operationId": "deployment-review/requested", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#discussion_comment" + "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#deployment_review" }, "parameters": [ { @@ -4444,7 +4295,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-comment-created" + "$ref": "#/components/schemas/webhook-deployment-review-requested" } } } @@ -4457,18 +4308,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "discussion_comment", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "deployment_review", + "supported-webhook-types": ["app"] } } }, - "discussion-comment-deleted": { + "deployment-status-created": { "post": { - "summary": "This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.15/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#discussion).\n\nFor activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A comment on a discussion was deleted.", - "operationId": "discussion-comment/deleted", + "summary": "This event occurs when there is activity relating to deployment statuses. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.15/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.15/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation, use the `deployment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.\n\n> [!NOTE]\n> A webhook event is not fired for deployment statuses with an `inactive` state.", + "description": "A new deployment status was created.", + "operationId": "deployment-status/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#discussion_comment" + "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#deployment_status" }, "parameters": [ { @@ -4540,7 +4391,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-comment-deleted" + "$ref": "#/components/schemas/webhook-deployment-status-created" } } } @@ -4553,18 +4404,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "discussion_comment", + "subcategory": "deployment_status", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "discussion-comment-edited": { + "discussion-answered": { "post": { - "summary": "This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.15/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#discussion).\n\nFor activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A comment on a discussion was edited.", - "operationId": "discussion-comment/edited", + "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.15/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "description": "A comment on the discussion was marked as the answer.", + "operationId": "discussion/answered", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#discussion_comment" + "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#discussion" }, "parameters": [ { @@ -4636,7 +4487,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-comment-edited" + "$ref": "#/components/schemas/webhook-discussion-answered" } } } @@ -4649,16 +4500,16 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "discussion_comment", + "subcategory": "discussion", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "discussion-created": { + "discussion-category-changed": { "post": { "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.15/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was created.", - "operationId": "discussion/created", + "description": "The category of a discussion was changed.", + "operationId": "discussion/category-changed", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#discussion" }, @@ -4732,7 +4583,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-created" + "$ref": "#/components/schemas/webhook-discussion-category-changed" } } } @@ -4750,11 +4601,11 @@ } } }, - "discussion-deleted": { + "discussion-closed": { "post": { "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.15/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was deleted.", - "operationId": "discussion/deleted", + "description": "A discussion was closed.", + "operationId": "discussion/closed", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#discussion" }, @@ -4776,7 +4627,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "discussions", "schema": { "type": "string" }, "required": true }, @@ -4811,7 +4662,7 @@ { "name": "X-GitHub-Enterprise-Version", "in": "header", - "example": "3.1.9", + "example": "3.9.0", "schema": { "type": "string" }, "required": true }, @@ -4828,7 +4679,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-deleted" + "$ref": "#/components/schemas/webhook-discussion-closed" } } } @@ -4846,13 +4697,13 @@ } } }, - "discussion-edited": { + "discussion-comment-created": { "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.15/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "The title or body on a discussion was edited, or the category of the discussion was changed.", - "operationId": "discussion/edited", + "summary": "This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.15/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#discussion).\n\nFor activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "description": "A comment on a discussion was created.", + "operationId": "discussion-comment/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#discussion" + "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#discussion_comment" }, "parameters": [ { @@ -4924,7 +4775,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-edited" + "$ref": "#/components/schemas/webhook-discussion-comment-created" } } } @@ -4937,18 +4788,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "discussion", + "subcategory": "discussion_comment", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "discussion-labeled": { + "discussion-comment-deleted": { "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.15/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A label was added to a discussion.", - "operationId": "discussion/labeled", + "summary": "This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.15/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#discussion).\n\nFor activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "description": "A comment on a discussion was deleted.", + "operationId": "discussion-comment/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#discussion" + "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#discussion_comment" }, "parameters": [ { @@ -5020,7 +4871,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-labeled" + "$ref": "#/components/schemas/webhook-discussion-comment-deleted" } } } @@ -5033,18 +4884,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "discussion", + "subcategory": "discussion_comment", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "discussion-locked": { + "discussion-comment-edited": { "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.15/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was locked.", - "operationId": "discussion/locked", + "summary": "This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.15/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#discussion).\n\nFor activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "description": "A comment on a discussion was edited.", + "operationId": "discussion-comment/edited", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#discussion" + "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#discussion_comment" }, "parameters": [ { @@ -5116,7 +4967,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-locked" + "$ref": "#/components/schemas/webhook-discussion-comment-edited" } } } @@ -5129,16 +4980,16 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "discussion", + "subcategory": "discussion_comment", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "discussion-pinned": { + "discussion-created": { "post": { "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.15/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was pinned.", - "operationId": "discussion/pinned", + "description": "A discussion was created.", + "operationId": "discussion/created", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#discussion" }, @@ -5212,7 +5063,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-pinned" + "$ref": "#/components/schemas/webhook-discussion-created" } } } @@ -5230,11 +5081,11 @@ } } }, - "discussion-reopened": { + "discussion-deleted": { "post": { "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.15/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was reopened.", - "operationId": "discussion/reopened", + "description": "A discussion was deleted.", + "operationId": "discussion/deleted", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#discussion" }, @@ -5256,7 +5107,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "discussions", + "example": "issues", "schema": { "type": "string" }, "required": true }, @@ -5291,7 +5142,7 @@ { "name": "X-GitHub-Enterprise-Version", "in": "header", - "example": "3.9.0", + "example": "3.1.9", "schema": { "type": "string" }, "required": true }, @@ -5308,7 +5159,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-reopened" + "$ref": "#/components/schemas/webhook-discussion-deleted" } } } @@ -5326,11 +5177,11 @@ } } }, - "discussion-transferred": { + "discussion-edited": { "post": { "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.15/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was transferred to another repository.", - "operationId": "discussion/transferred", + "description": "The title or body on a discussion was edited, or the category of the discussion was changed.", + "operationId": "discussion/edited", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#discussion" }, @@ -5404,7 +5255,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-transferred" + "$ref": "#/components/schemas/webhook-discussion-edited" } } } @@ -5422,11 +5273,11 @@ } } }, - "discussion-unanswered": { + "discussion-labeled": { "post": { "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.15/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A comment on the discussion was unmarked as the answer.", - "operationId": "discussion/unanswered", + "description": "A label was added to a discussion.", + "operationId": "discussion/labeled", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#discussion" }, @@ -5500,7 +5351,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-unanswered" + "$ref": "#/components/schemas/webhook-discussion-labeled" } } } @@ -5518,11 +5369,11 @@ } } }, - "discussion-unlabeled": { + "discussion-locked": { "post": { "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.15/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A label was removed from a discussion.", - "operationId": "discussion/unlabeled", + "description": "A discussion was locked.", + "operationId": "discussion/locked", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#discussion" }, @@ -5596,7 +5447,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-unlabeled" + "$ref": "#/components/schemas/webhook-discussion-locked" } } } @@ -5614,11 +5465,11 @@ } } }, - "discussion-unlocked": { + "discussion-pinned": { "post": { "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.15/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was unlocked.", - "operationId": "discussion/unlocked", + "description": "A discussion was pinned.", + "operationId": "discussion/pinned", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#discussion" }, @@ -5692,7 +5543,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-unlocked" + "$ref": "#/components/schemas/webhook-discussion-pinned" } } } @@ -5710,11 +5561,11 @@ } } }, - "discussion-unpinned": { + "discussion-reopened": { "post": { "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.15/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was unpinned.", - "operationId": "discussion/unpinned", + "description": "A discussion was reopened.", + "operationId": "discussion/reopened", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#discussion" }, @@ -5736,7 +5587,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "discussions", "schema": { "type": "string" }, "required": true }, @@ -5771,7 +5622,7 @@ { "name": "X-GitHub-Enterprise-Version", "in": "header", - "example": "3.1.9", + "example": "3.9.0", "schema": { "type": "string" }, "required": true }, @@ -5788,7 +5639,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-unpinned" + "$ref": "#/components/schemas/webhook-discussion-reopened" } } } @@ -5806,13 +5657,13 @@ } } }, - "enterprise-anonymous-access-disabled": { + "discussion-transferred": { "post": { - "summary": "This event occurs when there is activity relating to anonymous Git read access in an enterprise. For more information, see \"[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.15/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access).\"", - "description": "Anonymous Git read access was disabled.", - "operationId": "enterprise/anonymous-access-disabled", + "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.15/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "description": "A discussion was transferred to another repository.", + "operationId": "discussion/transferred", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#enterprise" + "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#discussion" }, "parameters": [ { @@ -5884,7 +5735,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-enterprise-anonymous-access-disabled" + "$ref": "#/components/schemas/webhook-discussion-transferred" } } } @@ -5897,18 +5748,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "enterprise", - "supported-webhook-types": ["business"] + "subcategory": "discussion", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "enterprise-anonymous-access-enabled": { + "discussion-unanswered": { "post": { - "summary": "This event occurs when there is activity relating to anonymous Git read access in an enterprise. For more information, see \"[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.15/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access).\"", - "description": "Anonymous Git read access was enabled.", - "operationId": "enterprise/anonymous-access-enabled", + "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.15/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "description": "A comment on the discussion was unmarked as the answer.", + "operationId": "discussion/unanswered", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#enterprise" + "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#discussion" }, "parameters": [ { @@ -5980,7 +5831,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-enterprise-anonymous-access-enabled" + "$ref": "#/components/schemas/webhook-discussion-unanswered" } } } @@ -5993,17 +5844,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "enterprise", - "supported-webhook-types": ["business"] + "subcategory": "discussion", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "fork": { + "discussion-unlabeled": { "post": { - "summary": "This event occurs when someone forks a repository. For more information, see \"[Fork a repo](https://docs.github.com/enterprise-server@3.15/get-started/quickstart/fork-a-repo).\" For information about the API to manage forks, see \"[Forks](https://docs.github.com/enterprise-server@3.15/rest/repos/forks)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", - "operationId": "fork", + "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.15/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "description": "A label was removed from a discussion.", + "operationId": "discussion/unlabeled", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#fork" + "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#discussion" }, "parameters": [ { @@ -6074,7 +5926,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-fork" } + "schema": { + "$ref": "#/components/schemas/webhook-discussion-unlabeled" + } } } }, @@ -6086,23 +5940,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "fork", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] + "subcategory": "discussion", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "github-app-authorization-revoked": { + "discussion-unlocked": { "post": { - "summary": "This event occurs when a user revokes their authorization of a GitHub App. For more information, see \"[About apps](https://docs.github.com/enterprise-server@3.15/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the API to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.15/rest/apps)\" in the REST API documentation.\n\nA GitHub App receives this webhook by default and cannot unsubscribe from this event.\n\nAnyone can revoke their authorization of a GitHub App from their [GitHub account settings page](https://github.com/settings/apps/authorizations). Revoking the authorization of a GitHub App does not uninstall the GitHub App. You should program your GitHub App so that when it receives this webhook, it stops calling the API on behalf of the person who revoked the token. If your GitHub App continues to use a revoked access token, it will receive the `401 Bad Credentials` error. For details about requests with a user access token, which require GitHub App authorization, see \"[Authenticating with a GitHub App on behalf of a user](https://docs.github.com/enterprise-server@3.15/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-with-a-github-app-on-behalf-of-a-user).\"", - "description": "Someone revoked their authorization of a GitHub App.", - "operationId": "github-app-authorization/revoked", + "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.15/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "description": "A discussion was unlocked.", + "operationId": "discussion/unlocked", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#github_app_authorization" + "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#discussion" }, "parameters": [ { @@ -6174,7 +6023,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-github-app-authorization-revoked" + "$ref": "#/components/schemas/webhook-discussion-unlocked" } } } @@ -6187,17 +6036,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "github_app_authorization", - "supported-webhook-types": ["app"] + "subcategory": "discussion", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "gollum": { + "discussion-unpinned": { "post": { - "summary": "This event occurs when someone creates or updates a wiki page. For more information, see \"[About wikis](https://docs.github.com/enterprise-server@3.15/communities/documenting-your-project-with-wikis/about-wikis).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", - "operationId": "gollum", + "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.15/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "description": "A discussion was unpinned.", + "operationId": "discussion/unpinned", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#gollum" + "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#discussion" }, "parameters": [ { @@ -6268,7 +6118,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-gollum" } + "schema": { + "$ref": "#/components/schemas/webhook-discussion-unpinned" + } } } }, @@ -6280,18 +6132,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "gollum", + "subcategory": "discussion", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "installation-created": { + "enterprise-anonymous-access-disabled": { "post": { - "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.15/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.15/rest/apps)\" in the REST API documentation.", - "description": "Someone installed a GitHub App on a user or organization account.", - "operationId": "installation/created", + "summary": "This event occurs when there is activity relating to anonymous Git read access in an enterprise. For more information, see \"[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.15/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access).\"", + "description": "Anonymous Git read access was disabled.", + "operationId": "enterprise/anonymous-access-disabled", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#installation" + "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#enterprise" }, "parameters": [ { @@ -6363,7 +6215,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-installation-created" + "$ref": "#/components/schemas/webhook-enterprise-anonymous-access-disabled" } } } @@ -6376,18 +6228,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "installation", - "supported-webhook-types": ["app"] + "subcategory": "enterprise", + "supported-webhook-types": ["business"] } } }, - "installation-deleted": { + "enterprise-anonymous-access-enabled": { "post": { - "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.15/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.15/rest/apps)\" in the REST API documentation.", - "description": "Someone uninstalled a GitHub App from their user or organization account.", - "operationId": "installation/deleted", + "summary": "This event occurs when there is activity relating to anonymous Git read access in an enterprise. For more information, see \"[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.15/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access).\"", + "description": "Anonymous Git read access was enabled.", + "operationId": "enterprise/anonymous-access-enabled", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#installation" + "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#enterprise" }, "parameters": [ { @@ -6459,7 +6311,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-installation-deleted" + "$ref": "#/components/schemas/webhook-enterprise-anonymous-access-enabled" } } } @@ -6472,18 +6324,116 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "installation", - "supported-webhook-types": ["app"] + "subcategory": "enterprise", + "supported-webhook-types": ["business"] } } }, - "installation-new-permissions-accepted": { + "fork": { "post": { - "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.15/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.15/rest/apps)\" in the REST API documentation.", - "description": "Someone granted new permissions to a GitHub App.", - "operationId": "installation/new-permissions-accepted", + "summary": "This event occurs when someone forks a repository. For more information, see \"[Fork a repo](https://docs.github.com/enterprise-server@3.15/get-started/quickstart/fork-a-repo).\" For information about the API to manage forks, see \"[Forks](https://docs.github.com/enterprise-server@3.15/rest/repos/forks)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", + "operationId": "fork", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#installation" + "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#fork" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Enterprise-Version", + "in": "header", + "example": "3.1.9", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Enterprise-Host", + "in": "header", + "example": "ghes.github.com", + "schema": { "type": "string" }, + "required": true + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/webhook-fork" } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "fork", + "supported-webhook-types": [ + "business", + "repository", + "organization", + "app" + ] + } + } + }, + "github-app-authorization-revoked": { + "post": { + "summary": "This event occurs when a user revokes their authorization of a GitHub App. For more information, see \"[About apps](https://docs.github.com/enterprise-server@3.15/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the API to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.15/rest/apps)\" in the REST API documentation.\n\nA GitHub App receives this webhook by default and cannot unsubscribe from this event.\n\nAnyone can revoke their authorization of a GitHub App from their [GitHub account settings page](https://github.com/settings/apps/authorizations). Revoking the authorization of a GitHub App does not uninstall the GitHub App. You should program your GitHub App so that when it receives this webhook, it stops calling the API on behalf of the person who revoked the token. If your GitHub App continues to use a revoked access token, it will receive the `401 Bad Credentials` error. For details about requests with a user access token, which require GitHub App authorization, see \"[Authenticating with a GitHub App on behalf of a user](https://docs.github.com/enterprise-server@3.15/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-with-a-github-app-on-behalf-of-a-user).\"", + "description": "Someone revoked their authorization of a GitHub App.", + "operationId": "github-app-authorization/revoked", + "externalDocs": { + "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#github_app_authorization" }, "parameters": [ { @@ -6555,7 +6505,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-installation-new-permissions-accepted" + "$ref": "#/components/schemas/webhook-github-app-authorization-revoked" } } } @@ -6568,18 +6518,111 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "installation", + "subcategory": "github_app_authorization", "supported-webhook-types": ["app"] } } }, - "installation-repositories-added": { + "gollum": { "post": { - "summary": "This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.15/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.15/rest/apps)\" in the REST API documentation.", - "description": "A GitHub App installation was granted access to one or more repositories.", - "operationId": "installation-repositories/added", + "summary": "This event occurs when someone creates or updates a wiki page. For more information, see \"[About wikis](https://docs.github.com/enterprise-server@3.15/communities/documenting-your-project-with-wikis/about-wikis).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", + "operationId": "gollum", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#installation_repositories" + "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#gollum" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Enterprise-Version", + "in": "header", + "example": "3.1.9", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Enterprise-Host", + "in": "header", + "example": "ghes.github.com", + "schema": { "type": "string" }, + "required": true + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/webhook-gollum" } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "gollum", + "supported-webhook-types": ["repository", "organization", "app"] + } + } + }, + "installation-created": { + "post": { + "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.15/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.15/rest/apps)\" in the REST API documentation.", + "description": "Someone installed a GitHub App on a user or organization account.", + "operationId": "installation/created", + "externalDocs": { + "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#installation" }, "parameters": [ { @@ -6651,7 +6694,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-installation-repositories-added" + "$ref": "#/components/schemas/webhook-installation-created" } } } @@ -6664,18 +6707,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "installation_repositories", + "subcategory": "installation", "supported-webhook-types": ["app"] } } }, - "installation-repositories-removed": { + "installation-deleted": { "post": { - "summary": "This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.15/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.15/rest/apps)\" in the REST API documentation.", - "description": "Access to one or more repositories was revoked for a GitHub App installation.", - "operationId": "installation-repositories/removed", + "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.15/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.15/rest/apps)\" in the REST API documentation.", + "description": "Someone uninstalled a GitHub App from their user or organization account.", + "operationId": "installation/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#installation_repositories" + "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#installation" }, "parameters": [ { @@ -6747,7 +6790,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-installation-repositories-removed" + "$ref": "#/components/schemas/webhook-installation-deleted" } } } @@ -6760,16 +6803,16 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "installation_repositories", + "subcategory": "installation", "supported-webhook-types": ["app"] } } }, - "installation-suspend": { + "installation-new-permissions-accepted": { "post": { "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.15/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.15/rest/apps)\" in the REST API documentation.", - "description": "Someone blocked access by a GitHub App to their user or organization account.", - "operationId": "installation/suspend", + "description": "Someone granted new permissions to a GitHub App.", + "operationId": "installation/new-permissions-accepted", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#installation" }, @@ -6843,7 +6886,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-installation-suspend" + "$ref": "#/components/schemas/webhook-installation-new-permissions-accepted" } } } @@ -6861,13 +6904,13 @@ } } }, - "installation-target-renamed": { + "installation-repositories-added": { "post": { - "summary": "This event occurs when there is activity relating to the user or organization account that a GitHub App is installed on. For more information, see \"[About apps](https://docs.github.com/enterprise-server@3.15/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.15/rest/apps)\" in the REST API documentation.", - "description": "Somebody renamed the user or organization account that a GitHub App is installed on.", - "operationId": "installation-target/renamed", + "summary": "This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.15/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.15/rest/apps)\" in the REST API documentation.", + "description": "A GitHub App installation was granted access to one or more repositories.", + "operationId": "installation-repositories/added", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#installation_target" + "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#installation_repositories" }, "parameters": [ { @@ -6939,7 +6982,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-installation-target-renamed" + "$ref": "#/components/schemas/webhook-installation-repositories-added" } } } @@ -6952,18 +6995,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "installation_target", + "subcategory": "installation_repositories", "supported-webhook-types": ["app"] } } }, - "installation-unsuspend": { + "installation-repositories-removed": { "post": { - "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.15/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.15/rest/apps)\" in the REST API documentation.", - "description": "A GitHub App that was blocked from accessing a user or organization account was given access the account again.", - "operationId": "installation/unsuspend", + "summary": "This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.15/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.15/rest/apps)\" in the REST API documentation.", + "description": "Access to one or more repositories was revoked for a GitHub App installation.", + "operationId": "installation-repositories/removed", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#installation" + "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#installation_repositories" }, "parameters": [ { @@ -7035,7 +7078,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-installation-unsuspend" + "$ref": "#/components/schemas/webhook-installation-repositories-removed" } } } @@ -7048,18 +7091,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "installation", + "subcategory": "installation_repositories", "supported-webhook-types": ["app"] } } }, - "issue-comment-created": { + "installation-suspend": { "post": { - "summary": "This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see \"[About issues](https://docs.github.com/enterprise-server@3.15/issues/tracking-your-work-with-issues/about-issues)\" and \"[About pull requests](https://docs.github.com/enterprise-server@3.15/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#issuecomment) or \"[Issue comments](https://docs.github.com/enterprise-server@3.15/rest/issues/comments)\" in the REST API documentation.\n\nFor activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see \"[Working with comments](https://docs.github.com/enterprise-server@3.15/rest/guides/working-with-comments).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A comment on an issue or pull request was created.", - "operationId": "issue-comment/created", + "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.15/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.15/rest/apps)\" in the REST API documentation.", + "description": "Someone blocked access by a GitHub App to their user or organization account.", + "operationId": "installation/suspend", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#issue_comment" + "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#installation" }, "parameters": [ { @@ -7131,7 +7174,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issue-comment-created" + "$ref": "#/components/schemas/webhook-installation-suspend" } } } @@ -7144,18 +7187,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "issue_comment", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "installation", + "supported-webhook-types": ["app"] } } }, - "issue-comment-deleted": { + "installation-target-renamed": { "post": { - "summary": "This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see \"[About issues](https://docs.github.com/enterprise-server@3.15/issues/tracking-your-work-with-issues/about-issues)\" and \"[About pull requests](https://docs.github.com/enterprise-server@3.15/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#issuecomment) or \"[Issue comments](https://docs.github.com/enterprise-server@3.15/rest/issues/comments)\" in the REST API documentation.\n\nFor activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see \"[Working with comments](https://docs.github.com/enterprise-server@3.15/rest/guides/working-with-comments).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A comment on an issue or pull request was deleted.", - "operationId": "issue-comment/deleted", + "summary": "This event occurs when there is activity relating to the user or organization account that a GitHub App is installed on. For more information, see \"[About apps](https://docs.github.com/enterprise-server@3.15/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.15/rest/apps)\" in the REST API documentation.", + "description": "Somebody renamed the user or organization account that a GitHub App is installed on.", + "operationId": "installation-target/renamed", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#issue_comment" + "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#installation_target" }, "parameters": [ { @@ -7227,7 +7270,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issue-comment-deleted" + "$ref": "#/components/schemas/webhook-installation-target-renamed" } } } @@ -7240,18 +7283,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "issue_comment", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "installation_target", + "supported-webhook-types": ["app"] } } }, - "issue-comment-edited": { + "installation-unsuspend": { "post": { - "summary": "This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see \"[About issues](https://docs.github.com/enterprise-server@3.15/issues/tracking-your-work-with-issues/about-issues)\" and \"[About pull requests](https://docs.github.com/enterprise-server@3.15/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#issuecomment) or \"[Issue comments](https://docs.github.com/enterprise-server@3.15/rest/issues/comments)\" in the REST API documentation.\n\nFor activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see \"[Working with comments](https://docs.github.com/enterprise-server@3.15/rest/guides/working-with-comments).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A comment on an issue or pull request was edited.", - "operationId": "issue-comment/edited", + "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.15/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.15/rest/apps)\" in the REST API documentation.", + "description": "A GitHub App that was blocked from accessing a user or organization account was given access the account again.", + "operationId": "installation/unsuspend", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#issue_comment" + "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#installation" }, "parameters": [ { @@ -7323,7 +7366,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issue-comment-edited" + "$ref": "#/components/schemas/webhook-installation-unsuspend" } } } @@ -7336,18 +7379,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "issue_comment", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "installation", + "supported-webhook-types": ["app"] } } }, - "issues-assigned": { + "issue-comment-created": { "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.15/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.15/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was assigned to a user.", - "operationId": "issues/assigned", + "summary": "This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see \"[About issues](https://docs.github.com/enterprise-server@3.15/issues/tracking-your-work-with-issues/about-issues)\" and \"[About pull requests](https://docs.github.com/enterprise-server@3.15/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#issuecomment) or \"[Issue comments](https://docs.github.com/enterprise-server@3.15/rest/issues/comments)\" in the REST API documentation.\n\nFor activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see \"[Working with comments](https://docs.github.com/enterprise-server@3.15/rest/guides/working-with-comments).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "A comment on an issue or pull request was created.", + "operationId": "issue-comment/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#issues" + "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#issue_comment" }, "parameters": [ { @@ -7419,7 +7462,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-assigned" + "$ref": "#/components/schemas/webhook-issue-comment-created" } } } @@ -7432,18 +7475,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "issues", + "subcategory": "issue_comment", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "issues-closed": { + "issue-comment-deleted": { "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.15/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.15/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was closed.", - "operationId": "issues/closed", + "summary": "This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see \"[About issues](https://docs.github.com/enterprise-server@3.15/issues/tracking-your-work-with-issues/about-issues)\" and \"[About pull requests](https://docs.github.com/enterprise-server@3.15/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#issuecomment) or \"[Issue comments](https://docs.github.com/enterprise-server@3.15/rest/issues/comments)\" in the REST API documentation.\n\nFor activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see \"[Working with comments](https://docs.github.com/enterprise-server@3.15/rest/guides/working-with-comments).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "A comment on an issue or pull request was deleted.", + "operationId": "issue-comment/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#issues" + "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#issue_comment" }, "parameters": [ { @@ -7514,7 +7557,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-issues-closed" } + "schema": { + "$ref": "#/components/schemas/webhook-issue-comment-deleted" + } } } }, @@ -7526,18 +7571,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "issues", + "subcategory": "issue_comment", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "issues-deleted": { + "issue-comment-edited": { "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.15/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.15/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was deleted.", - "operationId": "issues/deleted", + "summary": "This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see \"[About issues](https://docs.github.com/enterprise-server@3.15/issues/tracking-your-work-with-issues/about-issues)\" and \"[About pull requests](https://docs.github.com/enterprise-server@3.15/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#issuecomment) or \"[Issue comments](https://docs.github.com/enterprise-server@3.15/rest/issues/comments)\" in the REST API documentation.\n\nFor activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see \"[Working with comments](https://docs.github.com/enterprise-server@3.15/rest/guides/working-with-comments).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "A comment on an issue or pull request was edited.", + "operationId": "issue-comment/edited", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#issues" + "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#issue_comment" }, "parameters": [ { @@ -7609,7 +7654,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-deleted" + "$ref": "#/components/schemas/webhook-issue-comment-edited" } } } @@ -7622,16 +7667,16 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "issues", + "subcategory": "issue_comment", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "issues-demilestoned": { + "issues-assigned": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.15/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.15/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was removed from a milestone.", - "operationId": "issues/demilestoned", + "description": "An issue was assigned to a user.", + "operationId": "issues/assigned", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#issues" }, @@ -7705,7 +7750,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-demilestoned" + "$ref": "#/components/schemas/webhook-issues-assigned" } } } @@ -7723,11 +7768,11 @@ } } }, - "issues-edited": { + "issues-closed": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.15/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.15/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "The title or body on an issue was edited.", - "operationId": "issues/edited", + "description": "An issue was closed.", + "operationId": "issues/closed", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#issues" }, @@ -7800,7 +7845,7 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-issues-edited" } + "schema": { "$ref": "#/components/schemas/webhook-issues-closed" } } } }, @@ -7817,11 +7862,11 @@ } } }, - "issues-labeled": { + "issues-deleted": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.15/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.15/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A label was added to an issue.", - "operationId": "issues/labeled", + "description": "An issue was deleted.", + "operationId": "issues/deleted", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#issues" }, @@ -7895,7 +7940,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-labeled" + "$ref": "#/components/schemas/webhook-issues-deleted" } } } @@ -7913,11 +7958,11 @@ } } }, - "issues-locked": { + "issues-demilestoned": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.15/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.15/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/enterprise-server@3.15/communities/moderating-comments-and-conversations/locking-conversations).\"", - "operationId": "issues/locked", + "description": "An issue was removed from a milestone.", + "operationId": "issues/demilestoned", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#issues" }, @@ -7990,7 +8035,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-issues-locked" } + "schema": { + "$ref": "#/components/schemas/webhook-issues-demilestoned" + } } } }, @@ -8007,11 +8054,11 @@ } } }, - "issues-milestoned": { + "issues-edited": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.15/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.15/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was added to a milestone.", - "operationId": "issues/milestoned", + "description": "The title or body on an issue was edited.", + "operationId": "issues/edited", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#issues" }, @@ -8084,9 +8131,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-issues-milestoned" - } + "schema": { "$ref": "#/components/schemas/webhook-issues-edited" } } } }, @@ -8103,11 +8148,11 @@ } } }, - "issues-opened": { + "issues-labeled": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.15/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.15/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was created. When a closed issue is reopened, the action will be `reopened` instead.", - "operationId": "issues/opened", + "description": "A label was added to an issue.", + "operationId": "issues/labeled", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#issues" }, @@ -8180,7 +8225,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-issues-opened" } + "schema": { + "$ref": "#/components/schemas/webhook-issues-labeled" + } } } }, @@ -8197,11 +8244,11 @@ } } }, - "issues-pinned": { + "issues-locked": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.15/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.15/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was pinned to a repository. For more information, see \"[Pinning an issue to your repository](https://docs.github.com/enterprise-server@3.15/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository).\"", - "operationId": "issues/pinned", + "description": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/enterprise-server@3.15/communities/moderating-comments-and-conversations/locking-conversations).\"", + "operationId": "issues/locked", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#issues" }, @@ -8274,7 +8321,7 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-issues-pinned" } + "schema": { "$ref": "#/components/schemas/webhook-issues-locked" } } } }, @@ -8291,11 +8338,11 @@ } } }, - "issues-reopened": { + "issues-milestoned": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.15/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.15/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A closed issue was reopened.", - "operationId": "issues/reopened", + "description": "An issue was added to a milestone.", + "operationId": "issues/milestoned", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#issues" }, @@ -8369,7 +8416,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-reopened" + "$ref": "#/components/schemas/webhook-issues-milestoned" } } } @@ -8387,11 +8434,199 @@ } } }, - "issues-transferred": { + "issues-opened": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.15/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.15/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was transferred to another repository. For more information, see \"[Transferring an issue to another repository](https://docs.github.com/enterprise-server@3.15/issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository).\"", - "operationId": "issues/transferred", + "description": "An issue was created. When a closed issue is reopened, the action will be `reopened` instead.", + "operationId": "issues/opened", + "externalDocs": { + "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#issues" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Enterprise-Version", + "in": "header", + "example": "3.1.9", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Enterprise-Host", + "in": "header", + "example": "ghes.github.com", + "schema": { "type": "string" }, + "required": true + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/webhook-issues-opened" } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "issues", + "supported-webhook-types": ["repository", "organization", "app"] + } + } + }, + "issues-pinned": { + "post": { + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.15/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.15/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "An issue was pinned to a repository. For more information, see \"[Pinning an issue to your repository](https://docs.github.com/enterprise-server@3.15/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository).\"", + "operationId": "issues/pinned", + "externalDocs": { + "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#issues" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Enterprise-Version", + "in": "header", + "example": "3.1.9", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Enterprise-Host", + "in": "header", + "example": "ghes.github.com", + "schema": { "type": "string" }, + "required": true + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/webhook-issues-pinned" } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "issues", + "supported-webhook-types": ["repository", "organization", "app"] + } + } + }, + "issues-reopened": { + "post": { + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.15/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.15/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "A closed issue was reopened.", + "operationId": "issues/reopened", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#issues" }, @@ -8465,7 +8700,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-transferred" + "$ref": "#/components/schemas/webhook-issues-reopened" } } } @@ -8483,11 +8718,11 @@ } } }, - "issues-unassigned": { + "issues-transferred": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.15/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.15/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A user was unassigned from an issue.", - "operationId": "issues/unassigned", + "description": "An issue was transferred to another repository. For more information, see \"[Transferring an issue to another repository](https://docs.github.com/enterprise-server@3.15/issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository).\"", + "operationId": "issues/transferred", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#issues" }, @@ -8561,7 +8796,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unassigned" + "$ref": "#/components/schemas/webhook-issues-transferred" } } } @@ -8579,11 +8814,107 @@ } } }, - "issues-unlabeled": { + "issues-unassigned": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.15/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.15/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A label was removed from an issue.", - "operationId": "issues/unlabeled", + "description": "A user was unassigned from an issue.", + "operationId": "issues/unassigned", + "externalDocs": { + "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#issues" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Enterprise-Version", + "in": "header", + "example": "3.1.9", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Enterprise-Host", + "in": "header", + "example": "ghes.github.com", + "schema": { "type": "string" }, + "required": true + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-issues-unassigned" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "issues", + "supported-webhook-types": ["repository", "organization", "app"] + } + } + }, + "issues-unlabeled": { + "post": { + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.15/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.15/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.15/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "A label was removed from an issue.", + "operationId": "issues/unlabeled", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.15/webhooks/webhook-events-and-payloads#issues" }, @@ -24524,12 +24855,7 @@ "description": "A check performed on the code of a given code change", "type": "object", "properties": { - "app": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/integration" } - ] - }, + "app": { "$ref": "#/components/schemas/integration" }, "check_suite": { "$ref": "#/components/schemas/simple-check-suite" }, "completed_at": { "type": ["string", "null"], @@ -25319,6 +25645,7 @@ "type": ["object", "null"], "properties": { "advanced_security": { + "description": "Enable or disable GitHub Advanced Security for the repository.\n\nFor standalone Code Scanning or Secret Protection products, this parameter cannot be used.\n", "type": "object", "properties": { "status": { "type": "string", "enum": ["enabled", "disabled"] } @@ -28354,6 +28681,176 @@ "description": "The [`git ref`](https://docs.github.com/enterprise-server@3.15/rest/git/refs#get-a-reference) resource.", "type": "string" }, + "webhook-custom-property-created": { + "title": "custom property created event", + "type": "object", + "properties": { + "action": { "type": "string", "enum": ["created"] }, + "definition": { "$ref": "#/components/schemas/custom-property" }, + "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "sender": { "$ref": "#/components/schemas/simple-user" } + }, + "required": ["action", "definition"] + }, + "custom-property": { + "title": "Organization Custom Property", + "description": "Custom property defined on an organization", + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property" + }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL that can be used to fetch, update, or delete info about this property via the API." + }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": ["organization", "enterprise"], + "examples": ["organization"] + }, + "value_type": { + "type": "string", + "enum": ["string", "single_select", "multi_select", "true_false"], + "description": "The type of the value for the property", + "examples": ["single_select"] + }, + "required": { + "type": "boolean", + "description": "Whether the property is required." + }, + "default_value": { + "oneOf": [ + { "type": "string" }, + { "type": "array", "items": { "type": "string" } } + ], + "description": "Default value of the property", + "type": ["null", "string", "array"] + }, + "description": { + "type": ["string", "null"], + "description": "Short description of the property" + }, + "allowed_values": { + "type": ["array", "null"], + "items": { "type": "string", "maxLength": 75 }, + "maxItems": 200, + "description": "An ordered list of the allowed values of the property.\nThe property can have up to 200 allowed values." + }, + "values_editable_by": { + "type": ["string", "null"], + "enum": ["org_actors", "org_and_repo_actors", null], + "description": "Who can edit the values of the property", + "examples": ["org_actors"] + } + }, + "required": ["property_name", "value_type"] + }, + "webhook-custom-property-deleted": { + "title": "custom property deleted event", + "type": "object", + "properties": { + "action": { "type": "string", "enum": ["deleted"] }, + "definition": { + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property that was deleted." + } + }, + "required": ["property_name"] + }, + "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "sender": { "$ref": "#/components/schemas/simple-user" } + }, + "required": ["action", "definition"] + }, + "webhook-custom-property-updated": { + "title": "custom property updated event", + "type": "object", + "properties": { + "action": { "type": "string", "enum": ["updated"] }, + "definition": { "$ref": "#/components/schemas/custom-property" }, + "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "sender": { "$ref": "#/components/schemas/simple-user" } + }, + "required": ["action", "definition"] + }, + "webhook-custom-property-values-updated": { + "title": "Custom property values updated event", + "type": "object", + "properties": { + "action": { "type": "string", "enum": ["updated"] }, + "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "repository": { "$ref": "#/components/schemas/repository-webhooks" }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "sender": { "$ref": "#/components/schemas/simple-user" }, + "new_property_values": { + "type": "array", + "description": "The new custom property values for the repository.", + "items": { "$ref": "#/components/schemas/custom-property-value" } + }, + "old_property_values": { + "type": "array", + "description": "The old custom property values for the repository.", + "items": { "$ref": "#/components/schemas/custom-property-value" } + } + }, + "required": [ + "action", + "repository", + "organization", + "new_property_values", + "old_property_values" + ] + }, + "custom-property-value": { + "title": "Custom Property Value", + "description": "Custom property name and associated value", + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property" + }, + "value": { + "oneOf": [ + { "type": "string" }, + { "type": "array", "items": { "type": "string" } } + ], + "description": "The value assigned to the property", + "type": ["null", "string", "array"] + } + }, + "required": ["property_name", "value"] + }, "webhook-delete": { "title": "delete event", "type": "object", @@ -35082,6 +35579,10 @@ ] }, "app_id": { "type": "integer", "examples": [1] }, + "client_id": { + "type": "string", + "examples": ["Iv1.ab1112223334445c"] + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -36499,14 +37000,10 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -36776,6 +37273,32 @@ }, "required": ["action", "issue", "comment", "repository", "sender"] }, + "sub-issues-summary": { + "title": "Sub-issues Summary", + "type": "object", + "properties": { + "total": { "type": "integer" }, + "completed": { "type": "integer" }, + "percent_completed": { "type": "integer" } + }, + "required": ["total", "completed", "percent_completed"] + }, + "issue-dependencies-summary": { + "title": "Issue Dependencies Summary", + "type": "object", + "properties": { + "blocked_by": { "type": "integer" }, + "blocking": { "type": "integer" }, + "total_blocked_by": { "type": "integer" }, + "total_blocking": { "type": "integer" } + }, + "required": [ + "blocked_by", + "blocking", + "total_blocked_by", + "total_blocking" + ] + }, "issue-type": { "title": "Issue Type", "description": "The type of issue.", @@ -37491,14 +38014,10 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -38552,14 +39071,10 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -39388,14 +39903,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -39469,6 +39984,59 @@ "reactions" ] }, + "issue-field-value": { + "title": "Issue Field Value", + "description": "A value assigned to an issue field", + "type": "object", + "properties": { + "issue_field_id": { + "description": "Unique identifier for the issue field.", + "type": "integer", + "format": "int64", + "examples": [1] + }, + "node_id": { "type": "string", "examples": ["IFT_GDKND"] }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": ["text", "single_select", "number", "date"], + "examples": ["text"] + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { "type": "string", "examples": ["Sample text"] }, + { "type": "number", "examples": [42.5] }, + { "type": "integer", "examples": [1] } + ], + "type": ["null", "string", "number", "integer"] + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": ["object", "null"], + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [1] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": ["High"] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": ["red"] + } + }, + "required": ["id", "name", "color"] + } + }, + "required": ["issue_field_id", "node_id", "data_type", "value"] + }, "webhook-issues-closed": { "title": "issues closed event", "type": "object", @@ -40137,14 +40705,16 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { + "$ref": "#/components/schemas/issue-field-value" + } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -40933,14 +41503,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -41653,14 +42223,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -42440,14 +43010,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -43141,14 +43711,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -43867,14 +44437,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -44565,14 +45135,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -45295,14 +45865,16 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { + "$ref": "#/components/schemas/issue-field-value" + } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -46356,14 +46928,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -46980,14 +47552,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -47689,14 +48261,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -48418,14 +48990,16 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { + "$ref": "#/components/schemas/issue-field-value" + } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -49618,14 +50192,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -50113,7 +50687,7 @@ "action": { "type": "string", "enum": ["deleted"] }, "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, "hook": { - "description": "The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, business, app, or GitHub Marketplace.", + "description": "The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, business, app, or GitHub Marketplace.", "type": "object", "properties": { "active": { "type": "boolean" }, @@ -50132,6 +50706,7 @@ }, "created_at": { "type": "string" }, "events": { + "description": "", "type": "array", "items": { "type": "string", @@ -50628,6 +51203,18 @@ "properties": { "organization_url": { "type": "string", "format": "uri" }, "role": { "type": "string" }, + "direct_membership": { + "type": "boolean", + "description": "Whether the user has direct membership in the organization.", + "examples": [true] + }, + "enterprise_teams_providing_indirect_membership": { + "type": "array", + "description": "The slugs of the enterprise teams providing the user with indirect membership in the organization.\nA limit of 100 enterprise team slugs is returned.", + "maxItems": 100, + "items": { "type": "string" }, + "examples": ["ent:team-one", "ent:team-two"] + }, "state": { "type": "string" }, "url": { "type": "string", "format": "uri" }, "user": { @@ -52786,6 +53373,17 @@ { "type": "null" }, { "$ref": "#/components/schemas/simple-user" } ] + }, + "state": { "type": "string", "enum": ["open", "closed"] }, + "latest_status_update": { + "anyOf": [ + { "type": "null" }, + { "$ref": "#/components/schemas/projects-v2-status-update" } + ] + }, + "is_template": { + "type": "boolean", + "description": "Whether this project is a template" } }, "required": [ @@ -52805,6 +53403,54 @@ "deleted_by" ] }, + "projects-v2-status-update": { + "title": "Projects v2 Status Update", + "description": "An status update belonging to a project", + "type": "object", + "properties": { + "id": { "type": "number" }, + "node_id": { "type": "string" }, + "project_node_id": { "type": "string" }, + "creator": { "$ref": "#/components/schemas/simple-user" }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": ["2022-04-28T12:00:00Z"] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": ["2022-04-28T12:00:00Z"] + }, + "status": { + "type": ["string", "null"], + "enum": [ + "INACTIVE", + "ON_TRACK", + "AT_RISK", + "OFF_TRACK", + "COMPLETE", + null + ] + }, + "start_date": { + "type": "string", + "format": "date", + "examples": ["2022-04-28"] + }, + "target_date": { + "type": "string", + "format": "date", + "examples": ["2022-04-28"] + }, + "body": { + "description": "Body of the status update", + "type": ["string", "null"], + "examples": ["The project is off to a great start!"] + } + }, + "required": ["id", "node_id", "created_at", "updated_at"] + }, "webhook-projects-v2-project-created": { "description": "A project was created", "type": "object", @@ -53143,8 +53789,10 @@ "properties": { "id": { "type": "string" }, "title": { "type": "string" }, + "title_html": { "type": "string" }, "duration": { "type": ["number", "null"] }, - "start_date": { "type": ["string", "null"] } + "start_date": { "type": ["string", "null"] }, + "completed": { "type": "boolean" } }, "required": ["id", "title"] }, @@ -72024,6 +72672,10 @@ "enum": ["dismissed", "approved", "changes_requested"] }, "submitted_at": { "type": "string", "format": "date-time" }, + "updated_at": { + "type": ["string", "null"], + "format": "date-time" + }, "user": { "title": "User", "type": ["object", "null"], @@ -73869,6 +74521,7 @@ "pull_request_url": { "type": "string", "format": "uri" }, "state": { "type": "string" }, "submitted_at": { "type": ["string", "null"], "format": "date-time" }, + "updated_at": { "type": ["string", "null"], "format": "date-time" }, "user": { "title": "User", "type": ["object", "null"], @@ -86109,7 +86762,8 @@ "node_id": { "type": "string" } }, "required": ["node_id", "comments"] - } + }, + "updated_at": { "type": ["string", "null"], "format": "date-time" } }, "required": ["action", "thread", "pull_request", "repository"] }, @@ -88099,7 +88753,8 @@ "node_id": { "type": "string" } }, "required": ["node_id", "comments"] - } + }, + "updated_at": { "type": ["string", "null"], "format": "date-time" } }, "required": ["action", "thread", "pull_request", "repository"] }, @@ -96891,6 +97546,7 @@ }, "body": { "type": ["string", "null"] }, "created_at": { "type": ["string", "null"], "format": "date-time" }, + "updated_at": { "type": ["string", "null"], "format": "date-time" }, "discussion_url": { "type": "string", "format": "uri" }, "draft": { "description": "Whether the release is a draft or published", @@ -96898,6 +97554,10 @@ }, "html_url": { "type": "string", "format": "uri" }, "id": { "type": "integer" }, + "immutable": { + "description": "Whether or not the release is immutable.", + "type": "boolean" + }, "name": { "type": ["string", "null"] }, "node_id": { "type": "string" }, "prerelease": { @@ -96959,10 +97619,12 @@ "draft", "author", "prerelease", + "immutable", "created_at", "published_at", "assets", "tarball_url", + "updated_at", "zipball_url", "body" ] @@ -97073,6 +97735,7 @@ "draft", "html_url", "id", + "immutable", "name", "node_id", "prerelease", @@ -97080,6 +97743,7 @@ "tag_name", "tarball_url", "target_commitish", + "updated_at", "upload_url", "url", "zipball_url" @@ -97233,6 +97897,10 @@ }, "html_url": { "type": "string", "format": "uri" }, "id": { "type": "integer" }, + "immutable": { + "description": "Whether or not the release is immutable.", + "type": "boolean" + }, "name": { "type": ["string", "null"] }, "node_id": { "type": "string" }, "prerelease": { @@ -97282,6 +97950,10 @@ "type": "string" }, "upload_url": { "type": "string", "format": "uri-template" }, + "updated_at": { + "type": ["string", "null"], + "format": "date-time" + }, "url": { "type": "string", "format": "uri" }, "zipball_url": { "type": ["string", "null"], "format": "uri" } } @@ -97325,10 +97997,12 @@ "name", "node_id", "prerelease", + "immutable", "published_at", "tag_name", "tarball_url", "target_commitish", + "updated_at", "upload_url", "url", "zipball_url" @@ -97464,6 +98138,10 @@ }, "html_url": { "type": "string", "format": "uri" }, "id": { "type": "integer" }, + "immutable": { + "description": "Whether or not the release is immutable.", + "type": "boolean" + }, "name": { "type": ["string", "null"] }, "node_id": { "type": "string" }, "prerelease": { @@ -97508,6 +98186,7 @@ "description": "Specifies the commitish value that determines where the Git tag is created from.", "type": "string" }, + "updated_at": { "type": ["string", "null"], "format": "date-time" }, "upload_url": { "type": "string", "format": "uri-template" }, "url": { "type": "string", "format": "uri" }, "zipball_url": { "type": ["string", "null"], "format": "uri" } @@ -97891,7 +98570,7 @@ "properties": { "actor_id": { "type": ["integer", "null"], - "description": "The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. `OrganizationAdmin` is not applicable for personal repositories." + "description": "The ID of the actor that can bypass a ruleset. Required for `Integration`, `RepositoryRole`, and `Team` actor types. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. `OrganizationAdmin` is not applicable for personal repositories." }, "actor_type": { "type": "string", @@ -98254,7 +98933,7 @@ "properties": { "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", diff --git a/packages/openapi-webhooks/generated/ghes-3.16.json b/packages/openapi-webhooks/generated/ghes-3.16.json index e31edb8..760e607 100644 --- a/packages/openapi-webhooks/generated/ghes-3.16.json +++ b/packages/openapi-webhooks/generated/ghes-3.16.json @@ -75,7 +75,10 @@ "name": "packages", "description": "Manage packages for authenticated users and organizations." }, - { "name": "projects", "description": "Interact with GitHub Projects." }, + { + "name": "projects-classic", + "description": "Interact with GitHub Projects (classic)." + }, { "name": "pulls", "description": "Interact with GitHub Pull Requests." }, { "name": "rate-limit", @@ -2959,12 +2962,13 @@ } } }, - "delete": { + "custom-property-created": { "post": { - "summary": "This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including\nbranch and tag deletions, use the [`push`](#push) webhook event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.\n\n> [!NOTE]\n> This event will not occur when more than three tags are deleted at once.", - "operationId": "delete", + "summary": "This event occurs when there is activity relating to a custom property.\n\nFor more information, see \"[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.16/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)\". For information about the APIs to manage custom properties, see \"[Custom properties](https://docs.github.com/enterprise-server@3.16/rest/orgs/custom-properties)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Custom properties\" organization permission.", + "description": "A new custom property was created.", + "operationId": "custom-property/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#delete" + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#custom_property" }, "parameters": [ { @@ -3015,27 +3019,15 @@ "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", "schema": { "type": "string" }, "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true } ], "requestBody": { "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-delete" } + "schema": { + "$ref": "#/components/schemas/webhook-custom-property-created" + } } } }, @@ -3047,18 +3039,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "delete", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "custom_property", + "supported-webhook-types": ["business", "organization", "app"] } } }, - "dependabot-alert-auto-dismissed": { + "custom-property-deleted": { "post": { - "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.16/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.16/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A Dependabot alert was automatically closed by a Dependabot auto-triage rule.", - "operationId": "dependabot-alert/auto-dismissed", + "summary": "This event occurs when there is activity relating to a custom property.\n\nFor more information, see \"[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.16/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)\". For information about the APIs to manage custom properties, see \"[Custom properties](https://docs.github.com/enterprise-server@3.16/rest/orgs/custom-properties)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Custom properties\" organization permission.", + "description": "A custom property was deleted.", + "operationId": "custom-property/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#dependabot_alert" + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#custom_property" }, "parameters": [ { @@ -3109,20 +3101,6 @@ "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", "schema": { "type": "string" }, "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true } ], "requestBody": { @@ -3130,7 +3108,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-auto-dismissed" + "$ref": "#/components/schemas/webhook-custom-property-deleted" } } } @@ -3143,18 +3121,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "dependabot_alert", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "custom_property", + "supported-webhook-types": ["business", "organization", "app"] } } }, - "dependabot-alert-auto-reopened": { + "custom-property-updated": { "post": { - "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.16/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.16/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A Dependabot alert, that had been automatically closed by a Dependabot auto-triage rule, was automatically reopened because the alert metadata or rule changed.", - "operationId": "dependabot-alert/auto-reopened", + "summary": "This event occurs when there is activity relating to a custom property.\n\nFor more information, see \"[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.16/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)\". For information about the APIs to manage custom properties, see \"[Custom properties](https://docs.github.com/enterprise-server@3.16/rest/orgs/custom-properties)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Custom properties\" organization permission.", + "description": "A custom property was updated.", + "operationId": "custom-property/updated", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#dependabot_alert" + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#custom_property" }, "parameters": [ { @@ -3205,20 +3183,6 @@ "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", "schema": { "type": "string" }, "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true } ], "requestBody": { @@ -3226,7 +3190,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-auto-reopened" + "$ref": "#/components/schemas/webhook-custom-property-updated" } } } @@ -3239,18 +3203,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "dependabot_alert", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "custom_property", + "supported-webhook-types": ["business", "organization", "app"] } } }, - "dependabot-alert-created": { + "custom-property-values-updated": { "post": { - "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.16/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.16/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A manifest file change introduced a vulnerable dependency, or a GitHub Security Advisory was published and an existing dependency was found to be vulnerable.", - "operationId": "dependabot-alert/created", + "summary": "This event occurs when there is activity relating to custom property values for a repository.\n\nFor more information, see \"[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.16/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)\". For information about the APIs to manage custom properties for a repository, see \"[Custom properties](https://docs.github.com/enterprise-server@3.16/rest/repos/custom-properties)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Custom properties\" organization permission.", + "description": "The custom property values of a repository were updated.", + "operationId": "custom-property-values/updated", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#dependabot_alert" + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#custom-property-values" }, "parameters": [ { @@ -3301,20 +3265,6 @@ "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", "schema": { "type": "string" }, "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true } ], "requestBody": { @@ -3322,7 +3272,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-created" + "$ref": "#/components/schemas/webhook-custom-property-values-updated" } } } @@ -3335,18 +3285,17 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "dependabot_alert", + "subcategory": "custom-property-values", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "dependabot-alert-dismissed": { + "delete": { "post": { - "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.16/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.16/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A Dependabot alert was manually closed.", - "operationId": "dependabot-alert/dismissed", + "summary": "This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including\nbranch and tag deletions, use the [`push`](#push) webhook event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.\n\n> [!NOTE]\n> This event will not occur when more than three tags are deleted at once.", + "operationId": "delete", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#dependabot_alert" + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#delete" }, "parameters": [ { @@ -3417,9 +3366,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-dismissed" - } + "schema": { "$ref": "#/components/schemas/webhook-delete" } } } }, @@ -3431,16 +3378,16 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "dependabot_alert", + "subcategory": "delete", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "dependabot-alert-fixed": { + "dependabot-alert-auto-dismissed": { "post": { "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.16/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.16/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A manifest file change removed a vulnerability.", - "operationId": "dependabot-alert/fixed", + "description": "A Dependabot alert was automatically closed by a Dependabot auto-triage rule.", + "operationId": "dependabot-alert/auto-dismissed", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#dependabot_alert" }, @@ -3514,7 +3461,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-fixed" + "$ref": "#/components/schemas/webhook-dependabot-alert-auto-dismissed" } } } @@ -3532,11 +3479,11 @@ } } }, - "dependabot-alert-reintroduced": { + "dependabot-alert-auto-reopened": { "post": { "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.16/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.16/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A manifest file change introduced a vulnerable dependency that had previously been fixed.", - "operationId": "dependabot-alert/reintroduced", + "description": "A Dependabot alert, that had been automatically closed by a Dependabot auto-triage rule, was automatically reopened because the alert metadata or rule changed.", + "operationId": "dependabot-alert/auto-reopened", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#dependabot_alert" }, @@ -3610,7 +3557,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-reintroduced" + "$ref": "#/components/schemas/webhook-dependabot-alert-auto-reopened" } } } @@ -3628,11 +3575,11 @@ } } }, - "dependabot-alert-reopened": { + "dependabot-alert-created": { "post": { "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.16/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.16/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A Dependabot alert was manually reopened.", - "operationId": "dependabot-alert/reopened", + "description": "A manifest file change introduced a vulnerable dependency, or a GitHub Security Advisory was published and an existing dependency was found to be vulnerable.", + "operationId": "dependabot-alert/created", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#dependabot_alert" }, @@ -3706,7 +3653,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-reopened" + "$ref": "#/components/schemas/webhook-dependabot-alert-created" } } } @@ -3724,13 +3671,13 @@ } } }, - "deploy-key-created": { + "dependabot-alert-dismissed": { "post": { - "summary": "This event occurs when there is activity relating to deploy keys. For more information, see \"[Managing deploy keys](https://docs.github.com/enterprise-server@3.16/developers/overview/managing-deploy-keys).\" For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#deploykey) or \"[Deploy keys](https://docs.github.com/enterprise-server@3.16/rest/deploy-keys)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deploy key was created.", - "operationId": "deploy-key/created", + "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.16/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.16/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", + "description": "A Dependabot alert was manually closed.", + "operationId": "dependabot-alert/dismissed", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#deploy_key" + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#dependabot_alert" }, "parameters": [ { @@ -3802,7 +3749,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-deploy-key-created" + "$ref": "#/components/schemas/webhook-dependabot-alert-dismissed" } } } @@ -3815,18 +3762,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "deploy_key", + "subcategory": "dependabot_alert", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "deploy-key-deleted": { + "dependabot-alert-fixed": { "post": { - "summary": "This event occurs when there is activity relating to deploy keys. For more information, see \"[Managing deploy keys](https://docs.github.com/enterprise-server@3.16/developers/overview/managing-deploy-keys).\" For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#deploykey) or \"[Deploy keys](https://docs.github.com/enterprise-server@3.16/rest/deploy-keys)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deploy key was deleted.", - "operationId": "deploy-key/deleted", + "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.16/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.16/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", + "description": "A manifest file change removed a vulnerability.", + "operationId": "dependabot-alert/fixed", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#deploy_key" + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#dependabot_alert" }, "parameters": [ { @@ -3898,7 +3845,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-deploy-key-deleted" + "$ref": "#/components/schemas/webhook-dependabot-alert-fixed" } } } @@ -3911,18 +3858,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "deploy_key", + "subcategory": "dependabot_alert", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "deployment-created": { + "dependabot-alert-reintroduced": { "post": { - "summary": "This event occurs when there is activity relating to deployments. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.16/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.16/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment status, use the `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deployment was created.", - "operationId": "deployment/created", + "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.16/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.16/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", + "description": "A manifest file change introduced a vulnerable dependency that had previously been fixed.", + "operationId": "dependabot-alert/reintroduced", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#deployment" + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#dependabot_alert" }, "parameters": [ { @@ -3994,7 +3941,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-deployment-created" + "$ref": "#/components/schemas/webhook-dependabot-alert-reintroduced" } } } @@ -4007,18 +3954,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "deployment", + "subcategory": "dependabot_alert", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "deployment-protection-rule-requested": { + "dependabot-alert-reopened": { "post": { - "summary": "This event occurs when there is activity relating to deployment protection rules. For more information, see \"[Using environments for deployment](https://docs.github.com/enterprise-server@3.16/actions/deployment/targeting-different-environments/using-environments-for-deployment#environment-protection-rules).\" For information about the API to manage deployment protection rules, see [the REST API documentation](https://docs.github.com/enterprise-server@3.16/rest/deployments/environments).\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deployment protection rule was requested for an environment.", - "operationId": "deployment-protection-rule/requested", + "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.16/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.16/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", + "description": "A Dependabot alert was manually reopened.", + "operationId": "dependabot-alert/reopened", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#deployment_protection_rule" + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#dependabot_alert" }, "parameters": [ { @@ -4090,7 +4037,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-deployment-protection-rule-requested" + "$ref": "#/components/schemas/webhook-dependabot-alert-reopened" } } } @@ -4103,18 +4050,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "deployment_protection_rule", - "supported-webhook-types": ["app"] + "subcategory": "dependabot_alert", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "deployment-review-approved": { + "deploy-key-created": { "post": { - "summary": "This event occurs when there is activity relating to deployment reviews. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.16/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.16/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deployment review was approved.", - "operationId": "deployment-review/approved", + "summary": "This event occurs when there is activity relating to deploy keys. For more information, see \"[Managing deploy keys](https://docs.github.com/enterprise-server@3.16/developers/overview/managing-deploy-keys).\" For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#deploykey) or \"[Deploy keys](https://docs.github.com/enterprise-server@3.16/rest/deploy-keys)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", + "description": "A deploy key was created.", + "operationId": "deploy-key/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#deployment_review" + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#deploy_key" }, "parameters": [ { @@ -4186,7 +4133,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-deployment-review-approved" + "$ref": "#/components/schemas/webhook-deploy-key-created" } } } @@ -4199,18 +4146,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "deployment_review", - "supported-webhook-types": ["app"] + "subcategory": "deploy_key", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "deployment-review-rejected": { + "deploy-key-deleted": { "post": { - "summary": "This event occurs when there is activity relating to deployment reviews. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.16/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.16/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deployment review was rejected.", - "operationId": "deployment-review/rejected", + "summary": "This event occurs when there is activity relating to deploy keys. For more information, see \"[Managing deploy keys](https://docs.github.com/enterprise-server@3.16/developers/overview/managing-deploy-keys).\" For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#deploykey) or \"[Deploy keys](https://docs.github.com/enterprise-server@3.16/rest/deploy-keys)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", + "description": "A deploy key was deleted.", + "operationId": "deploy-key/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#deployment_review" + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#deploy_key" }, "parameters": [ { @@ -4282,7 +4229,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-deployment-review-rejected" + "$ref": "#/components/schemas/webhook-deploy-key-deleted" } } } @@ -4295,18 +4242,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "deployment_review", - "supported-webhook-types": ["app"] + "subcategory": "deploy_key", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "deployment-review-requested": { + "deployment-created": { "post": { - "summary": "This event occurs when there is activity relating to deployment reviews. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.16/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.16/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deployment review was requested.", - "operationId": "deployment-review/requested", + "summary": "This event occurs when there is activity relating to deployments. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.16/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.16/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment status, use the `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", + "description": "A deployment was created.", + "operationId": "deployment/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#deployment_review" + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#deployment" }, "parameters": [ { @@ -4378,7 +4325,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-deployment-review-requested" + "$ref": "#/components/schemas/webhook-deployment-created" } } } @@ -4391,18 +4338,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "deployment_review", - "supported-webhook-types": ["app"] + "subcategory": "deployment", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "deployment-status-created": { + "deployment-protection-rule-requested": { "post": { - "summary": "This event occurs when there is activity relating to deployment statuses. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.16/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.16/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation, use the `deployment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.\n\n> [!NOTE]\n> A webhook event is not fired for deployment statuses with an `inactive` state.", - "description": "A new deployment status was created.", - "operationId": "deployment-status/created", + "summary": "This event occurs when there is activity relating to deployment protection rules. For more information, see \"[Using environments for deployment](https://docs.github.com/enterprise-server@3.16/actions/deployment/targeting-different-environments/using-environments-for-deployment#environment-protection-rules).\" For information about the API to manage deployment protection rules, see [the REST API documentation](https://docs.github.com/enterprise-server@3.16/rest/deployments/environments).\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", + "description": "A deployment protection rule was requested for an environment.", + "operationId": "deployment-protection-rule/requested", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#deployment_status" + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#deployment_protection_rule" }, "parameters": [ { @@ -4474,7 +4421,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-deployment-status-created" + "$ref": "#/components/schemas/webhook-deployment-protection-rule-requested" } } } @@ -4487,18 +4434,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "deployment_status", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "deployment_protection_rule", + "supported-webhook-types": ["app"] } } }, - "discussion-answered": { + "deployment-review-approved": { "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.16/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A comment on the discussion was marked as the answer.", - "operationId": "discussion/answered", + "summary": "This event occurs when there is activity relating to deployment reviews. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.16/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.16/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", + "description": "A deployment review was approved.", + "operationId": "deployment-review/approved", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#discussion" + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#deployment_review" }, "parameters": [ { @@ -4570,7 +4517,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-answered" + "$ref": "#/components/schemas/webhook-deployment-review-approved" } } } @@ -4583,18 +4530,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "discussion", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "deployment_review", + "supported-webhook-types": ["app"] } } }, - "discussion-category-changed": { + "deployment-review-rejected": { "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.16/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "The category of a discussion was changed.", - "operationId": "discussion/category-changed", + "summary": "This event occurs when there is activity relating to deployment reviews. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.16/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.16/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", + "description": "A deployment review was rejected.", + "operationId": "deployment-review/rejected", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#discussion" + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#deployment_review" }, "parameters": [ { @@ -4666,103 +4613,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-category-changed" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "discussion", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "discussion-closed": { - "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.16/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was closed.", - "operationId": "discussion/closed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#discussion" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "discussions", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.9.0", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-discussion-closed" + "$ref": "#/components/schemas/webhook-deployment-review-rejected" } } } @@ -4775,18 +4626,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "discussion", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "deployment_review", + "supported-webhook-types": ["app"] } } }, - "discussion-comment-created": { + "deployment-review-requested": { "post": { - "summary": "This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.16/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#discussion).\n\nFor activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A comment on a discussion was created.", - "operationId": "discussion-comment/created", + "summary": "This event occurs when there is activity relating to deployment reviews. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.16/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.16/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", + "description": "A deployment review was requested.", + "operationId": "deployment-review/requested", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#discussion_comment" + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#deployment_review" }, "parameters": [ { @@ -4858,7 +4709,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-comment-created" + "$ref": "#/components/schemas/webhook-deployment-review-requested" } } } @@ -4871,18 +4722,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "discussion_comment", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "deployment_review", + "supported-webhook-types": ["app"] } } }, - "discussion-comment-deleted": { + "deployment-status-created": { "post": { - "summary": "This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.16/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#discussion).\n\nFor activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A comment on a discussion was deleted.", - "operationId": "discussion-comment/deleted", + "summary": "This event occurs when there is activity relating to deployment statuses. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.16/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.16/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation, use the `deployment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.\n\n> [!NOTE]\n> A webhook event is not fired for deployment statuses with an `inactive` state.", + "description": "A new deployment status was created.", + "operationId": "deployment-status/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#discussion_comment" + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#deployment_status" }, "parameters": [ { @@ -4954,7 +4805,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-comment-deleted" + "$ref": "#/components/schemas/webhook-deployment-status-created" } } } @@ -4967,18 +4818,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "discussion_comment", + "subcategory": "deployment_status", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "discussion-comment-edited": { + "discussion-answered": { "post": { - "summary": "This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.16/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#discussion).\n\nFor activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A comment on a discussion was edited.", - "operationId": "discussion-comment/edited", + "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.16/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "description": "A comment on the discussion was marked as the answer.", + "operationId": "discussion/answered", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#discussion_comment" + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#discussion" }, "parameters": [ { @@ -5050,7 +4901,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-comment-edited" + "$ref": "#/components/schemas/webhook-discussion-answered" } } } @@ -5063,16 +4914,16 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "discussion_comment", + "subcategory": "discussion", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "discussion-created": { + "discussion-category-changed": { "post": { "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.16/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was created.", - "operationId": "discussion/created", + "description": "The category of a discussion was changed.", + "operationId": "discussion/category-changed", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#discussion" }, @@ -5146,7 +4997,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-created" + "$ref": "#/components/schemas/webhook-discussion-category-changed" } } } @@ -5164,11 +5015,11 @@ } } }, - "discussion-deleted": { + "discussion-closed": { "post": { "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.16/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was deleted.", - "operationId": "discussion/deleted", + "description": "A discussion was closed.", + "operationId": "discussion/closed", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#discussion" }, @@ -5190,7 +5041,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "discussions", "schema": { "type": "string" }, "required": true }, @@ -5225,7 +5076,7 @@ { "name": "X-GitHub-Enterprise-Version", "in": "header", - "example": "3.1.9", + "example": "3.9.0", "schema": { "type": "string" }, "required": true }, @@ -5242,7 +5093,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-deleted" + "$ref": "#/components/schemas/webhook-discussion-closed" } } } @@ -5260,13 +5111,13 @@ } } }, - "discussion-edited": { + "discussion-comment-created": { "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.16/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "The title or body on a discussion was edited, or the category of the discussion was changed.", - "operationId": "discussion/edited", + "summary": "This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.16/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#discussion).\n\nFor activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "description": "A comment on a discussion was created.", + "operationId": "discussion-comment/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#discussion" + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#discussion_comment" }, "parameters": [ { @@ -5338,7 +5189,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-edited" + "$ref": "#/components/schemas/webhook-discussion-comment-created" } } } @@ -5351,18 +5202,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "discussion", + "subcategory": "discussion_comment", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "discussion-labeled": { + "discussion-comment-deleted": { "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.16/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A label was added to a discussion.", - "operationId": "discussion/labeled", + "summary": "This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.16/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#discussion).\n\nFor activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "description": "A comment on a discussion was deleted.", + "operationId": "discussion-comment/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#discussion" + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#discussion_comment" }, "parameters": [ { @@ -5434,7 +5285,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-labeled" + "$ref": "#/components/schemas/webhook-discussion-comment-deleted" } } } @@ -5447,18 +5298,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "discussion", + "subcategory": "discussion_comment", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "discussion-locked": { + "discussion-comment-edited": { "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.16/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was locked.", - "operationId": "discussion/locked", + "summary": "This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.16/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#discussion).\n\nFor activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "description": "A comment on a discussion was edited.", + "operationId": "discussion-comment/edited", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#discussion" + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#discussion_comment" }, "parameters": [ { @@ -5530,7 +5381,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-locked" + "$ref": "#/components/schemas/webhook-discussion-comment-edited" } } } @@ -5543,16 +5394,16 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "discussion", + "subcategory": "discussion_comment", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "discussion-pinned": { + "discussion-created": { "post": { "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.16/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was pinned.", - "operationId": "discussion/pinned", + "description": "A discussion was created.", + "operationId": "discussion/created", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#discussion" }, @@ -5626,7 +5477,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-pinned" + "$ref": "#/components/schemas/webhook-discussion-created" } } } @@ -5644,11 +5495,11 @@ } } }, - "discussion-reopened": { + "discussion-deleted": { "post": { "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.16/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was reopened.", - "operationId": "discussion/reopened", + "description": "A discussion was deleted.", + "operationId": "discussion/deleted", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#discussion" }, @@ -5670,7 +5521,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "discussions", + "example": "issues", "schema": { "type": "string" }, "required": true }, @@ -5705,7 +5556,7 @@ { "name": "X-GitHub-Enterprise-Version", "in": "header", - "example": "3.9.0", + "example": "3.1.9", "schema": { "type": "string" }, "required": true }, @@ -5722,7 +5573,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-reopened" + "$ref": "#/components/schemas/webhook-discussion-deleted" } } } @@ -5740,11 +5591,11 @@ } } }, - "discussion-transferred": { + "discussion-edited": { "post": { "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.16/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was transferred to another repository.", - "operationId": "discussion/transferred", + "description": "The title or body on a discussion was edited, or the category of the discussion was changed.", + "operationId": "discussion/edited", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#discussion" }, @@ -5818,7 +5669,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-transferred" + "$ref": "#/components/schemas/webhook-discussion-edited" } } } @@ -5836,11 +5687,11 @@ } } }, - "discussion-unanswered": { + "discussion-labeled": { "post": { "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.16/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A comment on the discussion was unmarked as the answer.", - "operationId": "discussion/unanswered", + "description": "A label was added to a discussion.", + "operationId": "discussion/labeled", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#discussion" }, @@ -5914,7 +5765,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-unanswered" + "$ref": "#/components/schemas/webhook-discussion-labeled" } } } @@ -5932,11 +5783,11 @@ } } }, - "discussion-unlabeled": { + "discussion-locked": { "post": { "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.16/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A label was removed from a discussion.", - "operationId": "discussion/unlabeled", + "description": "A discussion was locked.", + "operationId": "discussion/locked", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#discussion" }, @@ -6010,7 +5861,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-unlabeled" + "$ref": "#/components/schemas/webhook-discussion-locked" } } } @@ -6028,11 +5879,11 @@ } } }, - "discussion-unlocked": { + "discussion-pinned": { "post": { "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.16/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was unlocked.", - "operationId": "discussion/unlocked", + "description": "A discussion was pinned.", + "operationId": "discussion/pinned", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#discussion" }, @@ -6106,7 +5957,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-unlocked" + "$ref": "#/components/schemas/webhook-discussion-pinned" } } } @@ -6124,11 +5975,11 @@ } } }, - "discussion-unpinned": { + "discussion-reopened": { "post": { "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.16/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was unpinned.", - "operationId": "discussion/unpinned", + "description": "A discussion was reopened.", + "operationId": "discussion/reopened", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#discussion" }, @@ -6150,7 +6001,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "discussions", "schema": { "type": "string" }, "required": true }, @@ -6185,7 +6036,7 @@ { "name": "X-GitHub-Enterprise-Version", "in": "header", - "example": "3.1.9", + "example": "3.9.0", "schema": { "type": "string" }, "required": true }, @@ -6202,7 +6053,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-unpinned" + "$ref": "#/components/schemas/webhook-discussion-reopened" } } } @@ -6220,13 +6071,13 @@ } } }, - "enterprise-anonymous-access-disabled": { + "discussion-transferred": { "post": { - "summary": "This event occurs when there is activity relating to anonymous Git read access in an enterprise. For more information, see \"[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.16/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access).\"", - "description": "Anonymous Git read access was disabled.", - "operationId": "enterprise/anonymous-access-disabled", + "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.16/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "description": "A discussion was transferred to another repository.", + "operationId": "discussion/transferred", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#enterprise" + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#discussion" }, "parameters": [ { @@ -6298,7 +6149,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-enterprise-anonymous-access-disabled" + "$ref": "#/components/schemas/webhook-discussion-transferred" } } } @@ -6311,18 +6162,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "enterprise", - "supported-webhook-types": ["business"] + "subcategory": "discussion", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "enterprise-anonymous-access-enabled": { + "discussion-unanswered": { "post": { - "summary": "This event occurs when there is activity relating to anonymous Git read access in an enterprise. For more information, see \"[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.16/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access).\"", - "description": "Anonymous Git read access was enabled.", - "operationId": "enterprise/anonymous-access-enabled", + "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.16/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "description": "A comment on the discussion was unmarked as the answer.", + "operationId": "discussion/unanswered", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#enterprise" + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#discussion" }, "parameters": [ { @@ -6394,7 +6245,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-enterprise-anonymous-access-enabled" + "$ref": "#/components/schemas/webhook-discussion-unanswered" } } } @@ -6407,17 +6258,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "enterprise", - "supported-webhook-types": ["business"] + "subcategory": "discussion", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "fork": { + "discussion-unlabeled": { "post": { - "summary": "This event occurs when someone forks a repository. For more information, see \"[Fork a repo](https://docs.github.com/enterprise-server@3.16/get-started/quickstart/fork-a-repo).\" For information about the API to manage forks, see \"[Forks](https://docs.github.com/enterprise-server@3.16/rest/repos/forks)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", - "operationId": "fork", + "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.16/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "description": "A label was removed from a discussion.", + "operationId": "discussion/unlabeled", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#fork" + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#discussion" }, "parameters": [ { @@ -6488,7 +6340,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-fork" } + "schema": { + "$ref": "#/components/schemas/webhook-discussion-unlabeled" + } } } }, @@ -6500,23 +6354,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "fork", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] + "subcategory": "discussion", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "github-app-authorization-revoked": { + "discussion-unlocked": { "post": { - "summary": "This event occurs when a user revokes their authorization of a GitHub App. For more information, see \"[About apps](https://docs.github.com/enterprise-server@3.16/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the API to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.16/rest/apps)\" in the REST API documentation.\n\nA GitHub App receives this webhook by default and cannot unsubscribe from this event.\n\nAnyone can revoke their authorization of a GitHub App from their [GitHub account settings page](https://github.com/settings/apps/authorizations). Revoking the authorization of a GitHub App does not uninstall the GitHub App. You should program your GitHub App so that when it receives this webhook, it stops calling the API on behalf of the person who revoked the token. If your GitHub App continues to use a revoked access token, it will receive the `401 Bad Credentials` error. For details about requests with a user access token, which require GitHub App authorization, see \"[Authenticating with a GitHub App on behalf of a user](https://docs.github.com/enterprise-server@3.16/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-with-a-github-app-on-behalf-of-a-user).\"", - "description": "Someone revoked their authorization of a GitHub App.", - "operationId": "github-app-authorization/revoked", + "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.16/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "description": "A discussion was unlocked.", + "operationId": "discussion/unlocked", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#github_app_authorization" + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#discussion" }, "parameters": [ { @@ -6588,7 +6437,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-github-app-authorization-revoked" + "$ref": "#/components/schemas/webhook-discussion-unlocked" } } } @@ -6601,17 +6450,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "github_app_authorization", - "supported-webhook-types": ["app"] + "subcategory": "discussion", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "gollum": { + "discussion-unpinned": { "post": { - "summary": "This event occurs when someone creates or updates a wiki page. For more information, see \"[About wikis](https://docs.github.com/enterprise-server@3.16/communities/documenting-your-project-with-wikis/about-wikis).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", - "operationId": "gollum", + "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.16/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "description": "A discussion was unpinned.", + "operationId": "discussion/unpinned", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#gollum" + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#discussion" }, "parameters": [ { @@ -6682,7 +6532,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-gollum" } + "schema": { + "$ref": "#/components/schemas/webhook-discussion-unpinned" + } } } }, @@ -6694,18 +6546,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "gollum", + "subcategory": "discussion", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "installation-created": { + "enterprise-anonymous-access-disabled": { "post": { - "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.16/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.16/rest/apps)\" in the REST API documentation.", - "description": "Someone installed a GitHub App on a user or organization account.", - "operationId": "installation/created", + "summary": "This event occurs when there is activity relating to anonymous Git read access in an enterprise. For more information, see \"[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.16/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access).\"", + "description": "Anonymous Git read access was disabled.", + "operationId": "enterprise/anonymous-access-disabled", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#installation" + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#enterprise" }, "parameters": [ { @@ -6777,7 +6629,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-installation-created" + "$ref": "#/components/schemas/webhook-enterprise-anonymous-access-disabled" } } } @@ -6790,18 +6642,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "installation", - "supported-webhook-types": ["app"] + "subcategory": "enterprise", + "supported-webhook-types": ["business"] } } }, - "installation-deleted": { + "enterprise-anonymous-access-enabled": { "post": { - "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.16/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.16/rest/apps)\" in the REST API documentation.", - "description": "Someone uninstalled a GitHub App from their user or organization account.", - "operationId": "installation/deleted", + "summary": "This event occurs when there is activity relating to anonymous Git read access in an enterprise. For more information, see \"[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.16/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access).\"", + "description": "Anonymous Git read access was enabled.", + "operationId": "enterprise/anonymous-access-enabled", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#installation" + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#enterprise" }, "parameters": [ { @@ -6873,7 +6725,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-installation-deleted" + "$ref": "#/components/schemas/webhook-enterprise-anonymous-access-enabled" } } } @@ -6886,18 +6738,116 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "installation", - "supported-webhook-types": ["app"] + "subcategory": "enterprise", + "supported-webhook-types": ["business"] } } }, - "installation-new-permissions-accepted": { + "fork": { "post": { - "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.16/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.16/rest/apps)\" in the REST API documentation.", - "description": "Someone granted new permissions to a GitHub App.", - "operationId": "installation/new-permissions-accepted", + "summary": "This event occurs when someone forks a repository. For more information, see \"[Fork a repo](https://docs.github.com/enterprise-server@3.16/get-started/quickstart/fork-a-repo).\" For information about the API to manage forks, see \"[Forks](https://docs.github.com/enterprise-server@3.16/rest/repos/forks)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", + "operationId": "fork", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#installation" + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#fork" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Enterprise-Version", + "in": "header", + "example": "3.1.9", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Enterprise-Host", + "in": "header", + "example": "ghes.github.com", + "schema": { "type": "string" }, + "required": true + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/webhook-fork" } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "fork", + "supported-webhook-types": [ + "business", + "repository", + "organization", + "app" + ] + } + } + }, + "github-app-authorization-revoked": { + "post": { + "summary": "This event occurs when a user revokes their authorization of a GitHub App. For more information, see \"[About apps](https://docs.github.com/enterprise-server@3.16/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the API to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.16/rest/apps)\" in the REST API documentation.\n\nA GitHub App receives this webhook by default and cannot unsubscribe from this event.\n\nAnyone can revoke their authorization of a GitHub App from their [GitHub account settings page](https://github.com/settings/apps/authorizations). Revoking the authorization of a GitHub App does not uninstall the GitHub App. You should program your GitHub App so that when it receives this webhook, it stops calling the API on behalf of the person who revoked the token. If your GitHub App continues to use a revoked access token, it will receive the `401 Bad Credentials` error. For details about requests with a user access token, which require GitHub App authorization, see \"[Authenticating with a GitHub App on behalf of a user](https://docs.github.com/enterprise-server@3.16/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-with-a-github-app-on-behalf-of-a-user).\"", + "description": "Someone revoked their authorization of a GitHub App.", + "operationId": "github-app-authorization/revoked", + "externalDocs": { + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#github_app_authorization" }, "parameters": [ { @@ -6969,7 +6919,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-installation-new-permissions-accepted" + "$ref": "#/components/schemas/webhook-github-app-authorization-revoked" } } } @@ -6982,18 +6932,111 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "installation", + "subcategory": "github_app_authorization", "supported-webhook-types": ["app"] } } }, - "installation-repositories-added": { + "gollum": { "post": { - "summary": "This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.16/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.16/rest/apps)\" in the REST API documentation.", - "description": "A GitHub App installation was granted access to one or more repositories.", - "operationId": "installation-repositories/added", + "summary": "This event occurs when someone creates or updates a wiki page. For more information, see \"[About wikis](https://docs.github.com/enterprise-server@3.16/communities/documenting-your-project-with-wikis/about-wikis).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", + "operationId": "gollum", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#installation_repositories" + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#gollum" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Enterprise-Version", + "in": "header", + "example": "3.1.9", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Enterprise-Host", + "in": "header", + "example": "ghes.github.com", + "schema": { "type": "string" }, + "required": true + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/webhook-gollum" } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "gollum", + "supported-webhook-types": ["repository", "organization", "app"] + } + } + }, + "installation-created": { + "post": { + "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.16/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.16/rest/apps)\" in the REST API documentation.", + "description": "Someone installed a GitHub App on a user or organization account.", + "operationId": "installation/created", + "externalDocs": { + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#installation" }, "parameters": [ { @@ -7065,7 +7108,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-installation-repositories-added" + "$ref": "#/components/schemas/webhook-installation-created" } } } @@ -7078,18 +7121,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "installation_repositories", + "subcategory": "installation", "supported-webhook-types": ["app"] } } }, - "installation-repositories-removed": { + "installation-deleted": { "post": { - "summary": "This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.16/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.16/rest/apps)\" in the REST API documentation.", - "description": "Access to one or more repositories was revoked for a GitHub App installation.", - "operationId": "installation-repositories/removed", + "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.16/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.16/rest/apps)\" in the REST API documentation.", + "description": "Someone uninstalled a GitHub App from their user or organization account.", + "operationId": "installation/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#installation_repositories" + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#installation" }, "parameters": [ { @@ -7161,7 +7204,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-installation-repositories-removed" + "$ref": "#/components/schemas/webhook-installation-deleted" } } } @@ -7174,16 +7217,16 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "installation_repositories", + "subcategory": "installation", "supported-webhook-types": ["app"] } } }, - "installation-suspend": { + "installation-new-permissions-accepted": { "post": { "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.16/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.16/rest/apps)\" in the REST API documentation.", - "description": "Someone blocked access by a GitHub App to their user or organization account.", - "operationId": "installation/suspend", + "description": "Someone granted new permissions to a GitHub App.", + "operationId": "installation/new-permissions-accepted", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#installation" }, @@ -7257,7 +7300,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-installation-suspend" + "$ref": "#/components/schemas/webhook-installation-new-permissions-accepted" } } } @@ -7275,13 +7318,13 @@ } } }, - "installation-target-renamed": { + "installation-repositories-added": { "post": { - "summary": "This event occurs when there is activity relating to the user or organization account that a GitHub App is installed on. For more information, see \"[About apps](https://docs.github.com/enterprise-server@3.16/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.16/rest/apps)\" in the REST API documentation.", - "description": "Somebody renamed the user or organization account that a GitHub App is installed on.", - "operationId": "installation-target/renamed", + "summary": "This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.16/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.16/rest/apps)\" in the REST API documentation.", + "description": "A GitHub App installation was granted access to one or more repositories.", + "operationId": "installation-repositories/added", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#installation_target" + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#installation_repositories" }, "parameters": [ { @@ -7353,7 +7396,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-installation-target-renamed" + "$ref": "#/components/schemas/webhook-installation-repositories-added" } } } @@ -7366,18 +7409,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "installation_target", + "subcategory": "installation_repositories", "supported-webhook-types": ["app"] } } }, - "installation-unsuspend": { + "installation-repositories-removed": { "post": { - "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.16/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.16/rest/apps)\" in the REST API documentation.", - "description": "A GitHub App that was blocked from accessing a user or organization account was given access the account again.", - "operationId": "installation/unsuspend", + "summary": "This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.16/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.16/rest/apps)\" in the REST API documentation.", + "description": "Access to one or more repositories was revoked for a GitHub App installation.", + "operationId": "installation-repositories/removed", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#installation" + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#installation_repositories" }, "parameters": [ { @@ -7449,7 +7492,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-installation-unsuspend" + "$ref": "#/components/schemas/webhook-installation-repositories-removed" } } } @@ -7462,18 +7505,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "installation", + "subcategory": "installation_repositories", "supported-webhook-types": ["app"] } } }, - "issue-comment-created": { + "installation-suspend": { "post": { - "summary": "This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see \"[About issues](https://docs.github.com/enterprise-server@3.16/issues/tracking-your-work-with-issues/about-issues)\" and \"[About pull requests](https://docs.github.com/enterprise-server@3.16/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#issuecomment) or \"[Issue comments](https://docs.github.com/enterprise-server@3.16/rest/issues/comments)\" in the REST API documentation.\n\nFor activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see \"[Working with comments](https://docs.github.com/enterprise-server@3.16/rest/guides/working-with-comments).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A comment on an issue or pull request was created.", - "operationId": "issue-comment/created", + "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.16/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.16/rest/apps)\" in the REST API documentation.", + "description": "Someone blocked access by a GitHub App to their user or organization account.", + "operationId": "installation/suspend", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#issue_comment" + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#installation" }, "parameters": [ { @@ -7545,7 +7588,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issue-comment-created" + "$ref": "#/components/schemas/webhook-installation-suspend" } } } @@ -7558,18 +7601,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "issue_comment", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "installation", + "supported-webhook-types": ["app"] } } }, - "issue-comment-deleted": { + "installation-target-renamed": { "post": { - "summary": "This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see \"[About issues](https://docs.github.com/enterprise-server@3.16/issues/tracking-your-work-with-issues/about-issues)\" and \"[About pull requests](https://docs.github.com/enterprise-server@3.16/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#issuecomment) or \"[Issue comments](https://docs.github.com/enterprise-server@3.16/rest/issues/comments)\" in the REST API documentation.\n\nFor activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see \"[Working with comments](https://docs.github.com/enterprise-server@3.16/rest/guides/working-with-comments).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A comment on an issue or pull request was deleted.", - "operationId": "issue-comment/deleted", + "summary": "This event occurs when there is activity relating to the user or organization account that a GitHub App is installed on. For more information, see \"[About apps](https://docs.github.com/enterprise-server@3.16/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.16/rest/apps)\" in the REST API documentation.", + "description": "Somebody renamed the user or organization account that a GitHub App is installed on.", + "operationId": "installation-target/renamed", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#issue_comment" + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#installation_target" }, "parameters": [ { @@ -7641,7 +7684,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issue-comment-deleted" + "$ref": "#/components/schemas/webhook-installation-target-renamed" } } } @@ -7654,18 +7697,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "issue_comment", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "installation_target", + "supported-webhook-types": ["app"] } } }, - "issue-comment-edited": { + "installation-unsuspend": { "post": { - "summary": "This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see \"[About issues](https://docs.github.com/enterprise-server@3.16/issues/tracking-your-work-with-issues/about-issues)\" and \"[About pull requests](https://docs.github.com/enterprise-server@3.16/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#issuecomment) or \"[Issue comments](https://docs.github.com/enterprise-server@3.16/rest/issues/comments)\" in the REST API documentation.\n\nFor activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see \"[Working with comments](https://docs.github.com/enterprise-server@3.16/rest/guides/working-with-comments).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A comment on an issue or pull request was edited.", - "operationId": "issue-comment/edited", + "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.16/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.16/rest/apps)\" in the REST API documentation.", + "description": "A GitHub App that was blocked from accessing a user or organization account was given access the account again.", + "operationId": "installation/unsuspend", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#issue_comment" + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#installation" }, "parameters": [ { @@ -7737,7 +7780,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issue-comment-edited" + "$ref": "#/components/schemas/webhook-installation-unsuspend" } } } @@ -7750,18 +7793,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "issue_comment", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "installation", + "supported-webhook-types": ["app"] } } }, - "issues-assigned": { + "issue-comment-created": { "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.16/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.16/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was assigned to a user.", - "operationId": "issues/assigned", + "summary": "This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see \"[About issues](https://docs.github.com/enterprise-server@3.16/issues/tracking-your-work-with-issues/about-issues)\" and \"[About pull requests](https://docs.github.com/enterprise-server@3.16/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#issuecomment) or \"[Issue comments](https://docs.github.com/enterprise-server@3.16/rest/issues/comments)\" in the REST API documentation.\n\nFor activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see \"[Working with comments](https://docs.github.com/enterprise-server@3.16/rest/guides/working-with-comments).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "A comment on an issue or pull request was created.", + "operationId": "issue-comment/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#issues" + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#issue_comment" }, "parameters": [ { @@ -7833,7 +7876,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-assigned" + "$ref": "#/components/schemas/webhook-issue-comment-created" } } } @@ -7846,18 +7889,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "issues", + "subcategory": "issue_comment", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "issues-closed": { + "issue-comment-deleted": { "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.16/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.16/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was closed.", - "operationId": "issues/closed", + "summary": "This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see \"[About issues](https://docs.github.com/enterprise-server@3.16/issues/tracking-your-work-with-issues/about-issues)\" and \"[About pull requests](https://docs.github.com/enterprise-server@3.16/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#issuecomment) or \"[Issue comments](https://docs.github.com/enterprise-server@3.16/rest/issues/comments)\" in the REST API documentation.\n\nFor activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see \"[Working with comments](https://docs.github.com/enterprise-server@3.16/rest/guides/working-with-comments).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "A comment on an issue or pull request was deleted.", + "operationId": "issue-comment/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#issues" + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#issue_comment" }, "parameters": [ { @@ -7928,7 +7971,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-issues-closed" } + "schema": { + "$ref": "#/components/schemas/webhook-issue-comment-deleted" + } } } }, @@ -7940,18 +7985,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "issues", + "subcategory": "issue_comment", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "issues-deleted": { + "issue-comment-edited": { "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.16/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.16/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was deleted.", - "operationId": "issues/deleted", + "summary": "This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see \"[About issues](https://docs.github.com/enterprise-server@3.16/issues/tracking-your-work-with-issues/about-issues)\" and \"[About pull requests](https://docs.github.com/enterprise-server@3.16/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#issuecomment) or \"[Issue comments](https://docs.github.com/enterprise-server@3.16/rest/issues/comments)\" in the REST API documentation.\n\nFor activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see \"[Working with comments](https://docs.github.com/enterprise-server@3.16/rest/guides/working-with-comments).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "A comment on an issue or pull request was edited.", + "operationId": "issue-comment/edited", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#issues" + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#issue_comment" }, "parameters": [ { @@ -8023,7 +8068,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-deleted" + "$ref": "#/components/schemas/webhook-issue-comment-edited" } } } @@ -8036,16 +8081,16 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "issues", + "subcategory": "issue_comment", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "issues-demilestoned": { + "issues-assigned": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.16/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.16/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was removed from a milestone.", - "operationId": "issues/demilestoned", + "description": "An issue was assigned to a user.", + "operationId": "issues/assigned", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#issues" }, @@ -8119,7 +8164,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-demilestoned" + "$ref": "#/components/schemas/webhook-issues-assigned" } } } @@ -8137,11 +8182,11 @@ } } }, - "issues-edited": { + "issues-closed": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.16/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.16/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "The title or body on an issue was edited.", - "operationId": "issues/edited", + "description": "An issue was closed.", + "operationId": "issues/closed", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#issues" }, @@ -8214,7 +8259,7 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-issues-edited" } + "schema": { "$ref": "#/components/schemas/webhook-issues-closed" } } } }, @@ -8231,11 +8276,11 @@ } } }, - "issues-labeled": { + "issues-deleted": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.16/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.16/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A label was added to an issue.", - "operationId": "issues/labeled", + "description": "An issue was deleted.", + "operationId": "issues/deleted", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#issues" }, @@ -8309,7 +8354,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-labeled" + "$ref": "#/components/schemas/webhook-issues-deleted" } } } @@ -8327,11 +8372,11 @@ } } }, - "issues-locked": { + "issues-demilestoned": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.16/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.16/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/enterprise-server@3.16/communities/moderating-comments-and-conversations/locking-conversations).\"", - "operationId": "issues/locked", + "description": "An issue was removed from a milestone.", + "operationId": "issues/demilestoned", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#issues" }, @@ -8404,7 +8449,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-issues-locked" } + "schema": { + "$ref": "#/components/schemas/webhook-issues-demilestoned" + } } } }, @@ -8421,11 +8468,11 @@ } } }, - "issues-milestoned": { + "issues-edited": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.16/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.16/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was added to a milestone.", - "operationId": "issues/milestoned", + "description": "The title or body on an issue was edited.", + "operationId": "issues/edited", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#issues" }, @@ -8498,9 +8545,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-issues-milestoned" - } + "schema": { "$ref": "#/components/schemas/webhook-issues-edited" } } } }, @@ -8517,11 +8562,11 @@ } } }, - "issues-opened": { + "issues-labeled": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.16/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.16/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was created. When a closed issue is reopened, the action will be `reopened` instead.", - "operationId": "issues/opened", + "description": "A label was added to an issue.", + "operationId": "issues/labeled", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#issues" }, @@ -8594,7 +8639,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-issues-opened" } + "schema": { + "$ref": "#/components/schemas/webhook-issues-labeled" + } } } }, @@ -8611,11 +8658,11 @@ } } }, - "issues-pinned": { + "issues-locked": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.16/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.16/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was pinned to a repository. For more information, see \"[Pinning an issue to your repository](https://docs.github.com/enterprise-server@3.16/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository).\"", - "operationId": "issues/pinned", + "description": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/enterprise-server@3.16/communities/moderating-comments-and-conversations/locking-conversations).\"", + "operationId": "issues/locked", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#issues" }, @@ -8688,7 +8735,7 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-issues-pinned" } + "schema": { "$ref": "#/components/schemas/webhook-issues-locked" } } } }, @@ -8705,11 +8752,11 @@ } } }, - "issues-reopened": { + "issues-milestoned": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.16/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.16/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A closed issue was reopened.", - "operationId": "issues/reopened", + "description": "An issue was added to a milestone.", + "operationId": "issues/milestoned", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#issues" }, @@ -8783,7 +8830,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-reopened" + "$ref": "#/components/schemas/webhook-issues-milestoned" } } } @@ -8801,11 +8848,199 @@ } } }, - "issues-transferred": { + "issues-opened": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.16/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.16/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was transferred to another repository. For more information, see \"[Transferring an issue to another repository](https://docs.github.com/enterprise-server@3.16/issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository).\"", - "operationId": "issues/transferred", + "description": "An issue was created. When a closed issue is reopened, the action will be `reopened` instead.", + "operationId": "issues/opened", + "externalDocs": { + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#issues" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Enterprise-Version", + "in": "header", + "example": "3.1.9", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Enterprise-Host", + "in": "header", + "example": "ghes.github.com", + "schema": { "type": "string" }, + "required": true + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/webhook-issues-opened" } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "issues", + "supported-webhook-types": ["repository", "organization", "app"] + } + } + }, + "issues-pinned": { + "post": { + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.16/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.16/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "An issue was pinned to a repository. For more information, see \"[Pinning an issue to your repository](https://docs.github.com/enterprise-server@3.16/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository).\"", + "operationId": "issues/pinned", + "externalDocs": { + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#issues" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Enterprise-Version", + "in": "header", + "example": "3.1.9", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Enterprise-Host", + "in": "header", + "example": "ghes.github.com", + "schema": { "type": "string" }, + "required": true + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/webhook-issues-pinned" } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "issues", + "supported-webhook-types": ["repository", "organization", "app"] + } + } + }, + "issues-reopened": { + "post": { + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.16/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.16/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "A closed issue was reopened.", + "operationId": "issues/reopened", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#issues" }, @@ -8879,7 +9114,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-transferred" + "$ref": "#/components/schemas/webhook-issues-reopened" } } } @@ -8897,11 +9132,11 @@ } } }, - "issues-unassigned": { + "issues-transferred": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.16/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.16/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A user was unassigned from an issue.", - "operationId": "issues/unassigned", + "description": "An issue was transferred to another repository. For more information, see \"[Transferring an issue to another repository](https://docs.github.com/enterprise-server@3.16/issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository).\"", + "operationId": "issues/transferred", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#issues" }, @@ -8975,7 +9210,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unassigned" + "$ref": "#/components/schemas/webhook-issues-transferred" } } } @@ -8993,11 +9228,107 @@ } } }, - "issues-unlabeled": { + "issues-unassigned": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.16/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.16/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A label was removed from an issue.", - "operationId": "issues/unlabeled", + "description": "A user was unassigned from an issue.", + "operationId": "issues/unassigned", + "externalDocs": { + "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#issues" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Enterprise-Version", + "in": "header", + "example": "3.1.9", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Enterprise-Host", + "in": "header", + "example": "ghes.github.com", + "schema": { "type": "string" }, + "required": true + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-issues-unassigned" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "issues", + "supported-webhook-types": ["repository", "organization", "app"] + } + } + }, + "issues-unlabeled": { + "post": { + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.16/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.16/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.16/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "A label was removed from an issue.", + "operationId": "issues/unlabeled", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.16/webhooks/webhook-events-and-payloads#issues" }, @@ -25020,12 +25351,7 @@ "description": "A check performed on the code of a given code change", "type": "object", "properties": { - "app": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/integration" } - ] - }, + "app": { "$ref": "#/components/schemas/integration" }, "check_suite": { "$ref": "#/components/schemas/simple-check-suite" }, "completed_at": { "type": ["string", "null"], @@ -25815,6 +26141,7 @@ "type": ["object", "null"], "properties": { "advanced_security": { + "description": "Enable or disable GitHub Advanced Security for the repository.\n\nFor standalone Code Scanning or Secret Protection products, this parameter cannot be used.\n", "type": "object", "properties": { "status": { "type": "string", "enum": ["enabled", "disabled"] } @@ -28850,6 +29177,176 @@ "description": "The [`git ref`](https://docs.github.com/enterprise-server@3.16/rest/git/refs#get-a-reference) resource.", "type": "string" }, + "webhook-custom-property-created": { + "title": "custom property created event", + "type": "object", + "properties": { + "action": { "type": "string", "enum": ["created"] }, + "definition": { "$ref": "#/components/schemas/custom-property" }, + "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "sender": { "$ref": "#/components/schemas/simple-user" } + }, + "required": ["action", "definition"] + }, + "custom-property": { + "title": "Organization Custom Property", + "description": "Custom property defined on an organization", + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property" + }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL that can be used to fetch, update, or delete info about this property via the API." + }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": ["organization", "enterprise"], + "examples": ["organization"] + }, + "value_type": { + "type": "string", + "enum": ["string", "single_select", "multi_select", "true_false"], + "description": "The type of the value for the property", + "examples": ["single_select"] + }, + "required": { + "type": "boolean", + "description": "Whether the property is required." + }, + "default_value": { + "oneOf": [ + { "type": "string" }, + { "type": "array", "items": { "type": "string" } } + ], + "description": "Default value of the property", + "type": ["null", "string", "array"] + }, + "description": { + "type": ["string", "null"], + "description": "Short description of the property" + }, + "allowed_values": { + "type": ["array", "null"], + "items": { "type": "string", "maxLength": 75 }, + "maxItems": 200, + "description": "An ordered list of the allowed values of the property.\nThe property can have up to 200 allowed values." + }, + "values_editable_by": { + "type": ["string", "null"], + "enum": ["org_actors", "org_and_repo_actors", null], + "description": "Who can edit the values of the property", + "examples": ["org_actors"] + } + }, + "required": ["property_name", "value_type"] + }, + "webhook-custom-property-deleted": { + "title": "custom property deleted event", + "type": "object", + "properties": { + "action": { "type": "string", "enum": ["deleted"] }, + "definition": { + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property that was deleted." + } + }, + "required": ["property_name"] + }, + "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "sender": { "$ref": "#/components/schemas/simple-user" } + }, + "required": ["action", "definition"] + }, + "webhook-custom-property-updated": { + "title": "custom property updated event", + "type": "object", + "properties": { + "action": { "type": "string", "enum": ["updated"] }, + "definition": { "$ref": "#/components/schemas/custom-property" }, + "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "sender": { "$ref": "#/components/schemas/simple-user" } + }, + "required": ["action", "definition"] + }, + "webhook-custom-property-values-updated": { + "title": "Custom property values updated event", + "type": "object", + "properties": { + "action": { "type": "string", "enum": ["updated"] }, + "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "repository": { "$ref": "#/components/schemas/repository-webhooks" }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "sender": { "$ref": "#/components/schemas/simple-user" }, + "new_property_values": { + "type": "array", + "description": "The new custom property values for the repository.", + "items": { "$ref": "#/components/schemas/custom-property-value" } + }, + "old_property_values": { + "type": "array", + "description": "The old custom property values for the repository.", + "items": { "$ref": "#/components/schemas/custom-property-value" } + } + }, + "required": [ + "action", + "repository", + "organization", + "new_property_values", + "old_property_values" + ] + }, + "custom-property-value": { + "title": "Custom Property Value", + "description": "Custom property name and associated value", + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property" + }, + "value": { + "oneOf": [ + { "type": "string" }, + { "type": "array", "items": { "type": "string" } } + ], + "description": "The value assigned to the property", + "type": ["null", "string", "array"] + } + }, + "required": ["property_name", "value"] + }, "webhook-delete": { "title": "delete event", "type": "object", @@ -35589,6 +36086,10 @@ ] }, "app_id": { "type": "integer", "examples": [1] }, + "client_id": { + "type": "string", + "examples": ["Iv1.ab1112223334445c"] + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -37011,14 +37512,10 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -37288,6 +37785,32 @@ }, "required": ["action", "issue", "comment", "repository", "sender"] }, + "sub-issues-summary": { + "title": "Sub-issues Summary", + "type": "object", + "properties": { + "total": { "type": "integer" }, + "completed": { "type": "integer" }, + "percent_completed": { "type": "integer" } + }, + "required": ["total", "completed", "percent_completed"] + }, + "issue-dependencies-summary": { + "title": "Issue Dependencies Summary", + "type": "object", + "properties": { + "blocked_by": { "type": "integer" }, + "blocking": { "type": "integer" }, + "total_blocked_by": { "type": "integer" }, + "total_blocking": { "type": "integer" } + }, + "required": [ + "blocked_by", + "blocking", + "total_blocked_by", + "total_blocking" + ] + }, "issue-type": { "title": "Issue Type", "description": "The type of issue.", @@ -38003,14 +38526,10 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -39064,14 +39583,10 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -39900,14 +40415,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -39981,6 +40496,59 @@ "reactions" ] }, + "issue-field-value": { + "title": "Issue Field Value", + "description": "A value assigned to an issue field", + "type": "object", + "properties": { + "issue_field_id": { + "description": "Unique identifier for the issue field.", + "type": "integer", + "format": "int64", + "examples": [1] + }, + "node_id": { "type": "string", "examples": ["IFT_GDKND"] }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": ["text", "single_select", "number", "date"], + "examples": ["text"] + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { "type": "string", "examples": ["Sample text"] }, + { "type": "number", "examples": [42.5] }, + { "type": "integer", "examples": [1] } + ], + "type": ["null", "string", "number", "integer"] + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": ["object", "null"], + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [1] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": ["High"] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": ["red"] + } + }, + "required": ["id", "name", "color"] + } + }, + "required": ["issue_field_id", "node_id", "data_type", "value"] + }, "webhook-issues-closed": { "title": "issues closed event", "type": "object", @@ -40649,14 +41217,16 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { + "$ref": "#/components/schemas/issue-field-value" + } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -41445,14 +42015,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -42165,14 +42735,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -42952,14 +43522,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -43653,14 +44223,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -44379,14 +44949,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -45077,14 +45647,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -45807,14 +46377,16 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { + "$ref": "#/components/schemas/issue-field-value" + } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -46868,14 +47440,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -47492,14 +48064,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -48201,14 +48773,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -48930,14 +49502,16 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { + "$ref": "#/components/schemas/issue-field-value" + } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -50130,14 +50704,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -50625,7 +51199,7 @@ "action": { "type": "string", "enum": ["deleted"] }, "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, "hook": { - "description": "The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, business, app, or GitHub Marketplace.", + "description": "The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, business, app, or GitHub Marketplace.", "type": "object", "properties": { "active": { "type": "boolean" }, @@ -50644,6 +51218,7 @@ }, "created_at": { "type": "string" }, "events": { + "description": "", "type": "array", "items": { "type": "string", @@ -51140,6 +51715,18 @@ "properties": { "organization_url": { "type": "string", "format": "uri" }, "role": { "type": "string" }, + "direct_membership": { + "type": "boolean", + "description": "Whether the user has direct membership in the organization.", + "examples": [true] + }, + "enterprise_teams_providing_indirect_membership": { + "type": "array", + "description": "The slugs of the enterprise teams providing the user with indirect membership in the organization.\nA limit of 100 enterprise team slugs is returned.", + "maxItems": 100, + "items": { "type": "string" }, + "examples": ["ent:team-one", "ent:team-two"] + }, "state": { "type": "string" }, "url": { "type": "string", "format": "uri" }, "user": { @@ -53298,6 +53885,17 @@ { "type": "null" }, { "$ref": "#/components/schemas/simple-user" } ] + }, + "state": { "type": "string", "enum": ["open", "closed"] }, + "latest_status_update": { + "anyOf": [ + { "type": "null" }, + { "$ref": "#/components/schemas/projects-v2-status-update" } + ] + }, + "is_template": { + "type": "boolean", + "description": "Whether this project is a template" } }, "required": [ @@ -53317,6 +53915,54 @@ "deleted_by" ] }, + "projects-v2-status-update": { + "title": "Projects v2 Status Update", + "description": "An status update belonging to a project", + "type": "object", + "properties": { + "id": { "type": "number" }, + "node_id": { "type": "string" }, + "project_node_id": { "type": "string" }, + "creator": { "$ref": "#/components/schemas/simple-user" }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": ["2022-04-28T12:00:00Z"] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": ["2022-04-28T12:00:00Z"] + }, + "status": { + "type": ["string", "null"], + "enum": [ + "INACTIVE", + "ON_TRACK", + "AT_RISK", + "OFF_TRACK", + "COMPLETE", + null + ] + }, + "start_date": { + "type": "string", + "format": "date", + "examples": ["2022-04-28"] + }, + "target_date": { + "type": "string", + "format": "date", + "examples": ["2022-04-28"] + }, + "body": { + "description": "Body of the status update", + "type": ["string", "null"], + "examples": ["The project is off to a great start!"] + } + }, + "required": ["id", "node_id", "created_at", "updated_at"] + }, "webhook-projects-v2-project-created": { "description": "A project was created", "type": "object", @@ -53655,8 +54301,10 @@ "properties": { "id": { "type": "string" }, "title": { "type": "string" }, + "title_html": { "type": "string" }, "duration": { "type": ["number", "null"] }, - "start_date": { "type": ["string", "null"] } + "start_date": { "type": ["string", "null"] }, + "completed": { "type": "boolean" } }, "required": ["id", "title"] }, @@ -72536,6 +73184,10 @@ "enum": ["dismissed", "approved", "changes_requested"] }, "submitted_at": { "type": "string", "format": "date-time" }, + "updated_at": { + "type": ["string", "null"], + "format": "date-time" + }, "user": { "title": "User", "type": ["object", "null"], @@ -74381,6 +75033,7 @@ "pull_request_url": { "type": "string", "format": "uri" }, "state": { "type": "string" }, "submitted_at": { "type": ["string", "null"], "format": "date-time" }, + "updated_at": { "type": ["string", "null"], "format": "date-time" }, "user": { "title": "User", "type": ["object", "null"], @@ -86621,7 +87274,8 @@ "node_id": { "type": "string" } }, "required": ["node_id", "comments"] - } + }, + "updated_at": { "type": ["string", "null"], "format": "date-time" } }, "required": ["action", "thread", "pull_request", "repository"] }, @@ -88611,7 +89265,8 @@ "node_id": { "type": "string" } }, "required": ["node_id", "comments"] - } + }, + "updated_at": { "type": ["string", "null"], "format": "date-time" } }, "required": ["action", "thread", "pull_request", "repository"] }, @@ -97403,6 +98058,7 @@ }, "body": { "type": ["string", "null"] }, "created_at": { "type": ["string", "null"], "format": "date-time" }, + "updated_at": { "type": ["string", "null"], "format": "date-time" }, "discussion_url": { "type": "string", "format": "uri" }, "draft": { "description": "Whether the release is a draft or published", @@ -97410,6 +98066,10 @@ }, "html_url": { "type": "string", "format": "uri" }, "id": { "type": "integer" }, + "immutable": { + "description": "Whether or not the release is immutable.", + "type": "boolean" + }, "name": { "type": ["string", "null"] }, "node_id": { "type": "string" }, "prerelease": { @@ -97471,10 +98131,12 @@ "draft", "author", "prerelease", + "immutable", "created_at", "published_at", "assets", "tarball_url", + "updated_at", "zipball_url", "body" ] @@ -97585,6 +98247,7 @@ "draft", "html_url", "id", + "immutable", "name", "node_id", "prerelease", @@ -97592,6 +98255,7 @@ "tag_name", "tarball_url", "target_commitish", + "updated_at", "upload_url", "url", "zipball_url" @@ -97745,6 +98409,10 @@ }, "html_url": { "type": "string", "format": "uri" }, "id": { "type": "integer" }, + "immutable": { + "description": "Whether or not the release is immutable.", + "type": "boolean" + }, "name": { "type": ["string", "null"] }, "node_id": { "type": "string" }, "prerelease": { @@ -97794,6 +98462,10 @@ "type": "string" }, "upload_url": { "type": "string", "format": "uri-template" }, + "updated_at": { + "type": ["string", "null"], + "format": "date-time" + }, "url": { "type": "string", "format": "uri" }, "zipball_url": { "type": ["string", "null"], "format": "uri" } } @@ -97837,10 +98509,12 @@ "name", "node_id", "prerelease", + "immutable", "published_at", "tag_name", "tarball_url", "target_commitish", + "updated_at", "upload_url", "url", "zipball_url" @@ -97976,6 +98650,10 @@ }, "html_url": { "type": "string", "format": "uri" }, "id": { "type": "integer" }, + "immutable": { + "description": "Whether or not the release is immutable.", + "type": "boolean" + }, "name": { "type": ["string", "null"] }, "node_id": { "type": "string" }, "prerelease": { @@ -98020,6 +98698,7 @@ "description": "Specifies the commitish value that determines where the Git tag is created from.", "type": "string" }, + "updated_at": { "type": ["string", "null"], "format": "date-time" }, "upload_url": { "type": "string", "format": "uri-template" }, "url": { "type": "string", "format": "uri" }, "zipball_url": { "type": ["string", "null"], "format": "uri" } @@ -98403,7 +99082,7 @@ "properties": { "actor_id": { "type": ["integer", "null"], - "description": "The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. If `actor_type` is `EnterpriseOwner`, `actor_id` is ignored. `OrganizationAdmin` and `EnterpriseOwner` are not applicable for personal repositories." + "description": "The ID of the actor that can bypass a ruleset. Required for `Integration`, `RepositoryRole`, and `Team` actor types. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. If `actor_type` is `EnterpriseOwner`, `actor_id` is ignored. `OrganizationAdmin` and `EnterpriseOwner` are not applicable for personal repositories." }, "actor_type": { "type": "string", @@ -98767,7 +99446,7 @@ "properties": { "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", diff --git a/packages/openapi-webhooks/generated/ghes-3.17.json b/packages/openapi-webhooks/generated/ghes-3.17.json index 44a4552..8e72e6c 100644 --- a/packages/openapi-webhooks/generated/ghes-3.17.json +++ b/packages/openapi-webhooks/generated/ghes-3.17.json @@ -75,7 +75,10 @@ "name": "packages", "description": "Manage packages for authenticated users and organizations." }, - { "name": "projects", "description": "Interact with GitHub Projects." }, + { + "name": "projects-classic", + "description": "Interact with GitHub Projects (classic)." + }, { "name": "pulls", "description": "Interact with GitHub Pull Requests." }, { "name": "rate-limit", @@ -2959,12 +2962,13 @@ } } }, - "delete": { + "custom-property-created": { "post": { - "summary": "This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including\nbranch and tag deletions, use the [`push`](#push) webhook event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.\n\n> [!NOTE]\n> This event will not occur when more than three tags are deleted at once.", - "operationId": "delete", + "summary": "This event occurs when there is activity relating to a custom property.\n\nFor more information, see \"[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.17/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)\". For information about the APIs to manage custom properties, see \"[Custom properties](https://docs.github.com/enterprise-server@3.17/rest/orgs/custom-properties)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Custom properties\" organization permission.", + "description": "A new custom property was created.", + "operationId": "custom-property/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#delete" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#custom_property" }, "parameters": [ { @@ -3015,27 +3019,15 @@ "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", "schema": { "type": "string" }, "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true } ], "requestBody": { "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-delete" } + "schema": { + "$ref": "#/components/schemas/webhook-custom-property-created" + } } } }, @@ -3047,18 +3039,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "delete", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "custom_property", + "supported-webhook-types": ["business", "organization", "app"] } } }, - "dependabot-alert-auto-dismissed": { + "custom-property-deleted": { "post": { - "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.17/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.17/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A Dependabot alert was automatically closed by a Dependabot auto-triage rule.", - "operationId": "dependabot-alert/auto-dismissed", + "summary": "This event occurs when there is activity relating to a custom property.\n\nFor more information, see \"[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.17/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)\". For information about the APIs to manage custom properties, see \"[Custom properties](https://docs.github.com/enterprise-server@3.17/rest/orgs/custom-properties)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Custom properties\" organization permission.", + "description": "A custom property was deleted.", + "operationId": "custom-property/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#dependabot_alert" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#custom_property" }, "parameters": [ { @@ -3109,20 +3101,6 @@ "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", "schema": { "type": "string" }, "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true } ], "requestBody": { @@ -3130,7 +3108,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-auto-dismissed" + "$ref": "#/components/schemas/webhook-custom-property-deleted" } } } @@ -3143,18 +3121,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "dependabot_alert", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "custom_property", + "supported-webhook-types": ["business", "organization", "app"] } } }, - "dependabot-alert-auto-reopened": { + "custom-property-updated": { "post": { - "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.17/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.17/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A Dependabot alert, that had been automatically closed by a Dependabot auto-triage rule, was automatically reopened because the alert metadata or rule changed.", - "operationId": "dependabot-alert/auto-reopened", + "summary": "This event occurs when there is activity relating to a custom property.\n\nFor more information, see \"[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.17/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)\". For information about the APIs to manage custom properties, see \"[Custom properties](https://docs.github.com/enterprise-server@3.17/rest/orgs/custom-properties)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Custom properties\" organization permission.", + "description": "A custom property was updated.", + "operationId": "custom-property/updated", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#dependabot_alert" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#custom_property" }, "parameters": [ { @@ -3205,20 +3183,6 @@ "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", "schema": { "type": "string" }, "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true } ], "requestBody": { @@ -3226,7 +3190,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-auto-reopened" + "$ref": "#/components/schemas/webhook-custom-property-updated" } } } @@ -3239,18 +3203,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "dependabot_alert", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "custom_property", + "supported-webhook-types": ["business", "organization", "app"] } } }, - "dependabot-alert-created": { + "custom-property-values-updated": { "post": { - "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.17/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.17/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A manifest file change introduced a vulnerable dependency, or a GitHub Security Advisory was published and an existing dependency was found to be vulnerable.", - "operationId": "dependabot-alert/created", + "summary": "This event occurs when there is activity relating to custom property values for a repository.\n\nFor more information, see \"[Managing custom properties for repositories in your organization](https://docs.github.com/enterprise-server@3.17/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)\". For information about the APIs to manage custom properties for a repository, see \"[Custom properties](https://docs.github.com/enterprise-server@3.17/rest/repos/custom-properties)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Custom properties\" organization permission.", + "description": "The custom property values of a repository were updated.", + "operationId": "custom-property-values/updated", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#dependabot_alert" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#custom-property-values" }, "parameters": [ { @@ -3301,20 +3265,6 @@ "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", "schema": { "type": "string" }, "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true } ], "requestBody": { @@ -3322,7 +3272,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-created" + "$ref": "#/components/schemas/webhook-custom-property-values-updated" } } } @@ -3335,18 +3285,17 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "dependabot_alert", + "subcategory": "custom-property-values", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "dependabot-alert-dismissed": { + "delete": { "post": { - "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.17/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.17/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A Dependabot alert was manually closed.", - "operationId": "dependabot-alert/dismissed", + "summary": "This event occurs when a Git branch or tag is deleted. To subscribe to all pushes to a repository, including\nbranch and tag deletions, use the [`push`](#push) webhook event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.\n\n> [!NOTE]\n> This event will not occur when more than three tags are deleted at once.", + "operationId": "delete", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#dependabot_alert" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#delete" }, "parameters": [ { @@ -3417,9 +3366,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-dismissed" - } + "schema": { "$ref": "#/components/schemas/webhook-delete" } } } }, @@ -3431,16 +3378,16 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "dependabot_alert", + "subcategory": "delete", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "dependabot-alert-fixed": { + "dependabot-alert-auto-dismissed": { "post": { "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.17/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.17/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A manifest file change removed a vulnerability.", - "operationId": "dependabot-alert/fixed", + "description": "A Dependabot alert was automatically closed by a Dependabot auto-triage rule.", + "operationId": "dependabot-alert/auto-dismissed", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#dependabot_alert" }, @@ -3514,7 +3461,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-fixed" + "$ref": "#/components/schemas/webhook-dependabot-alert-auto-dismissed" } } } @@ -3532,11 +3479,11 @@ } } }, - "dependabot-alert-reintroduced": { + "dependabot-alert-auto-reopened": { "post": { "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.17/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.17/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A manifest file change introduced a vulnerable dependency that had previously been fixed.", - "operationId": "dependabot-alert/reintroduced", + "description": "A Dependabot alert, that had been automatically closed by a Dependabot auto-triage rule, was automatically reopened because the alert metadata or rule changed.", + "operationId": "dependabot-alert/auto-reopened", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#dependabot_alert" }, @@ -3610,7 +3557,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-reintroduced" + "$ref": "#/components/schemas/webhook-dependabot-alert-auto-reopened" } } } @@ -3628,11 +3575,11 @@ } } }, - "dependabot-alert-reopened": { + "dependabot-alert-created": { "post": { "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.17/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.17/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", - "description": "A Dependabot alert was manually reopened.", - "operationId": "dependabot-alert/reopened", + "description": "A manifest file change introduced a vulnerable dependency, or a GitHub Security Advisory was published and an existing dependency was found to be vulnerable.", + "operationId": "dependabot-alert/created", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#dependabot_alert" }, @@ -3706,7 +3653,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-dependabot-alert-reopened" + "$ref": "#/components/schemas/webhook-dependabot-alert-created" } } } @@ -3724,13 +3671,13 @@ } } }, - "deploy-key-created": { + "dependabot-alert-dismissed": { "post": { - "summary": "This event occurs when there is activity relating to deploy keys. For more information, see \"[Managing deploy keys](https://docs.github.com/enterprise-server@3.17/developers/overview/managing-deploy-keys).\" For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#deploykey) or \"[Deploy keys](https://docs.github.com/enterprise-server@3.17/rest/deploy-keys)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deploy key was created.", - "operationId": "deploy-key/created", + "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.17/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.17/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", + "description": "A Dependabot alert was manually closed.", + "operationId": "dependabot-alert/dismissed", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#deploy_key" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#dependabot_alert" }, "parameters": [ { @@ -3802,7 +3749,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-deploy-key-created" + "$ref": "#/components/schemas/webhook-dependabot-alert-dismissed" } } } @@ -3815,18 +3762,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "deploy_key", + "subcategory": "dependabot_alert", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "deploy-key-deleted": { + "dependabot-alert-fixed": { "post": { - "summary": "This event occurs when there is activity relating to deploy keys. For more information, see \"[Managing deploy keys](https://docs.github.com/enterprise-server@3.17/developers/overview/managing-deploy-keys).\" For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#deploykey) or \"[Deploy keys](https://docs.github.com/enterprise-server@3.17/rest/deploy-keys)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deploy key was deleted.", - "operationId": "deploy-key/deleted", + "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.17/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.17/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", + "description": "A manifest file change removed a vulnerability.", + "operationId": "dependabot-alert/fixed", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#deploy_key" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#dependabot_alert" }, "parameters": [ { @@ -3898,7 +3845,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-deploy-key-deleted" + "$ref": "#/components/schemas/webhook-dependabot-alert-fixed" } } } @@ -3911,18 +3858,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "deploy_key", + "subcategory": "dependabot_alert", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "deployment-created": { + "dependabot-alert-reintroduced": { "post": { - "summary": "This event occurs when there is activity relating to deployments. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.17/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.17/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment status, use the `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deployment was created.", - "operationId": "deployment/created", + "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.17/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.17/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", + "description": "A manifest file change introduced a vulnerable dependency that had previously been fixed.", + "operationId": "dependabot-alert/reintroduced", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#deployment" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#dependabot_alert" }, "parameters": [ { @@ -3994,7 +3941,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-deployment-created" + "$ref": "#/components/schemas/webhook-dependabot-alert-reintroduced" } } } @@ -4007,18 +3954,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "deployment", + "subcategory": "dependabot_alert", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "deployment-protection-rule-requested": { + "dependabot-alert-reopened": { "post": { - "summary": "This event occurs when there is activity relating to deployment protection rules. For more information, see \"[Using environments for deployment](https://docs.github.com/enterprise-server@3.17/actions/deployment/targeting-different-environments/using-environments-for-deployment#environment-protection-rules).\" For information about the API to manage deployment protection rules, see [the REST API documentation](https://docs.github.com/enterprise-server@3.17/rest/deployments/environments).\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deployment protection rule was requested for an environment.", - "operationId": "deployment-protection-rule/requested", + "summary": "This event occurs when there is activity relating to Dependabot alerts.\n\nFor more information about Dependabot alerts, see \"[About Dependabot alerts](https://docs.github.com/enterprise-server@3.17/code-security/dependabot/dependabot-alerts/about-dependabot-alerts).\" For information about the API to manage Dependabot alerts, see \"[Dependabot alerts](https://docs.github.com/enterprise-server@3.17/rest/dependabot/alerts)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Dependabot alerts\" repository permission.\n\n> [!NOTE]\n> Webhook events for Dependabot alerts are currently in public preview and subject to change.", + "description": "A Dependabot alert was manually reopened.", + "operationId": "dependabot-alert/reopened", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#deployment_protection_rule" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#dependabot_alert" }, "parameters": [ { @@ -4090,7 +4037,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-deployment-protection-rule-requested" + "$ref": "#/components/schemas/webhook-dependabot-alert-reopened" } } } @@ -4103,18 +4050,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "deployment_protection_rule", - "supported-webhook-types": ["app"] + "subcategory": "dependabot_alert", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "deployment-review-approved": { + "deploy-key-created": { "post": { - "summary": "This event occurs when there is activity relating to deployment reviews. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.17/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.17/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deployment review was approved.", - "operationId": "deployment-review/approved", + "summary": "This event occurs when there is activity relating to deploy keys. For more information, see \"[Managing deploy keys](https://docs.github.com/enterprise-server@3.17/developers/overview/managing-deploy-keys).\" For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#deploykey) or \"[Deploy keys](https://docs.github.com/enterprise-server@3.17/rest/deploy-keys)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", + "description": "A deploy key was created.", + "operationId": "deploy-key/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#deployment_review" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#deploy_key" }, "parameters": [ { @@ -4186,7 +4133,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-deployment-review-approved" + "$ref": "#/components/schemas/webhook-deploy-key-created" } } } @@ -4199,18 +4146,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "deployment_review", - "supported-webhook-types": ["app"] + "subcategory": "deploy_key", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "deployment-review-rejected": { + "deploy-key-deleted": { "post": { - "summary": "This event occurs when there is activity relating to deployment reviews. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.17/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.17/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deployment review was rejected.", - "operationId": "deployment-review/rejected", + "summary": "This event occurs when there is activity relating to deploy keys. For more information, see \"[Managing deploy keys](https://docs.github.com/enterprise-server@3.17/developers/overview/managing-deploy-keys).\" For information about the APIs to manage deploy keys, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#deploykey) or \"[Deploy keys](https://docs.github.com/enterprise-server@3.17/rest/deploy-keys)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", + "description": "A deploy key was deleted.", + "operationId": "deploy-key/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#deployment_review" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#deploy_key" }, "parameters": [ { @@ -4282,7 +4229,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-deployment-review-rejected" + "$ref": "#/components/schemas/webhook-deploy-key-deleted" } } } @@ -4295,18 +4242,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "deployment_review", - "supported-webhook-types": ["app"] + "subcategory": "deploy_key", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "deployment-review-requested": { + "deployment-created": { "post": { - "summary": "This event occurs when there is activity relating to deployment reviews. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.17/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.17/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", - "description": "A deployment review was requested.", - "operationId": "deployment-review/requested", + "summary": "This event occurs when there is activity relating to deployments. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.17/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.17/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment status, use the `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", + "description": "A deployment was created.", + "operationId": "deployment/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#deployment_review" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#deployment" }, "parameters": [ { @@ -4378,7 +4325,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-deployment-review-requested" + "$ref": "#/components/schemas/webhook-deployment-created" } } } @@ -4391,18 +4338,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "deployment_review", - "supported-webhook-types": ["app"] + "subcategory": "deployment", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "deployment-status-created": { + "deployment-protection-rule-requested": { "post": { - "summary": "This event occurs when there is activity relating to deployment statuses. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.17/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.17/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation, use the `deployment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.\n\n> [!NOTE]\n> A webhook event is not fired for deployment statuses with an `inactive` state.", - "description": "A new deployment status was created.", - "operationId": "deployment-status/created", + "summary": "This event occurs when there is activity relating to deployment protection rules. For more information, see \"[Using environments for deployment](https://docs.github.com/enterprise-server@3.17/actions/deployment/targeting-different-environments/using-environments-for-deployment#environment-protection-rules).\" For information about the API to manage deployment protection rules, see [the REST API documentation](https://docs.github.com/enterprise-server@3.17/rest/deployments/environments).\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", + "description": "A deployment protection rule was requested for an environment.", + "operationId": "deployment-protection-rule/requested", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#deployment_status" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#deployment_protection_rule" }, "parameters": [ { @@ -4474,7 +4421,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-deployment-status-created" + "$ref": "#/components/schemas/webhook-deployment-protection-rule-requested" } } } @@ -4487,18 +4434,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "deployment_status", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "deployment_protection_rule", + "supported-webhook-types": ["app"] } } }, - "discussion-answered": { + "deployment-review-approved": { "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.17/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A comment on the discussion was marked as the answer.", - "operationId": "discussion/answered", + "summary": "This event occurs when there is activity relating to deployment reviews. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.17/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.17/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", + "description": "A deployment review was approved.", + "operationId": "deployment-review/approved", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#discussion" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#deployment_review" }, "parameters": [ { @@ -4570,7 +4517,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-answered" + "$ref": "#/components/schemas/webhook-deployment-review-approved" } } } @@ -4583,18 +4530,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "discussion", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "deployment_review", + "supported-webhook-types": ["app"] } } }, - "discussion-category-changed": { + "deployment-review-rejected": { "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.17/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "The category of a discussion was changed.", - "operationId": "discussion/category-changed", + "summary": "This event occurs when there is activity relating to deployment reviews. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.17/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.17/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", + "description": "A deployment review was rejected.", + "operationId": "deployment-review/rejected", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#discussion" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#deployment_review" }, "parameters": [ { @@ -4666,103 +4613,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-category-changed" - } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "discussion", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "discussion-closed": { - "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.17/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was closed.", - "operationId": "discussion/closed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#discussion" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "discussions", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.9.0", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-discussion-closed" + "$ref": "#/components/schemas/webhook-deployment-review-rejected" } } } @@ -4775,18 +4626,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "discussion", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "deployment_review", + "supported-webhook-types": ["app"] } } }, - "discussion-comment-created": { + "deployment-review-requested": { "post": { - "summary": "This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.17/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#discussion).\n\nFor activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A comment on a discussion was created.", - "operationId": "discussion-comment/created", + "summary": "This event occurs when there is activity relating to deployment reviews. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.17/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.17/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation or deployment status, use the `deployment` or `deployment_status` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.", + "description": "A deployment review was requested.", + "operationId": "deployment-review/requested", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#discussion_comment" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#deployment_review" }, "parameters": [ { @@ -4858,7 +4709,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-comment-created" + "$ref": "#/components/schemas/webhook-deployment-review-requested" } } } @@ -4871,18 +4722,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "discussion_comment", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "deployment_review", + "supported-webhook-types": ["app"] } } }, - "discussion-comment-deleted": { + "deployment-status-created": { "post": { - "summary": "This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.17/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#discussion).\n\nFor activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A comment on a discussion was deleted.", - "operationId": "discussion-comment/deleted", + "summary": "This event occurs when there is activity relating to deployment statuses. For more information, see \"[About deployments](https://docs.github.com/enterprise-server@3.17/actions/deployment/about-deployments).\" For information about the APIs to manage deployments, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#deployment) or \"[Deployments](https://docs.github.com/enterprise-server@3.17/rest/deployments/deployments)\" in the REST API documentation.\n\nFor activity relating to deployment creation, use the `deployment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Deployments\" repository permission.\n\n> [!NOTE]\n> A webhook event is not fired for deployment statuses with an `inactive` state.", + "description": "A new deployment status was created.", + "operationId": "deployment-status/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#discussion_comment" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#deployment_status" }, "parameters": [ { @@ -4954,7 +4805,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-comment-deleted" + "$ref": "#/components/schemas/webhook-deployment-status-created" } } } @@ -4967,18 +4818,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "discussion_comment", + "subcategory": "deployment_status", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "discussion-comment-edited": { + "discussion-answered": { "post": { - "summary": "This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.17/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#discussion).\n\nFor activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A comment on a discussion was edited.", - "operationId": "discussion-comment/edited", + "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.17/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "description": "A comment on the discussion was marked as the answer.", + "operationId": "discussion/answered", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#discussion_comment" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#discussion" }, "parameters": [ { @@ -5050,7 +4901,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-comment-edited" + "$ref": "#/components/schemas/webhook-discussion-answered" } } } @@ -5063,16 +4914,16 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "discussion_comment", + "subcategory": "discussion", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "discussion-created": { + "discussion-category-changed": { "post": { "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.17/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was created.", - "operationId": "discussion/created", + "description": "The category of a discussion was changed.", + "operationId": "discussion/category-changed", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#discussion" }, @@ -5146,7 +4997,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-created" + "$ref": "#/components/schemas/webhook-discussion-category-changed" } } } @@ -5164,11 +5015,11 @@ } } }, - "discussion-deleted": { + "discussion-closed": { "post": { "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.17/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was deleted.", - "operationId": "discussion/deleted", + "description": "A discussion was closed.", + "operationId": "discussion/closed", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#discussion" }, @@ -5190,7 +5041,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "issues", + "example": "discussions", "schema": { "type": "string" }, "required": true }, @@ -5225,7 +5076,7 @@ { "name": "X-GitHub-Enterprise-Version", "in": "header", - "example": "3.1.9", + "example": "3.9.0", "schema": { "type": "string" }, "required": true }, @@ -5242,7 +5093,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-deleted" + "$ref": "#/components/schemas/webhook-discussion-closed" } } } @@ -5260,13 +5111,13 @@ } } }, - "discussion-edited": { + "discussion-comment-created": { "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.17/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "The title or body on a discussion was edited, or the category of the discussion was changed.", - "operationId": "discussion/edited", + "summary": "This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.17/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#discussion).\n\nFor activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "description": "A comment on a discussion was created.", + "operationId": "discussion-comment/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#discussion" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#discussion_comment" }, "parameters": [ { @@ -5338,7 +5189,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-edited" + "$ref": "#/components/schemas/webhook-discussion-comment-created" } } } @@ -5351,18 +5202,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "discussion", + "subcategory": "discussion_comment", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "discussion-labeled": { + "discussion-comment-deleted": { "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.17/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A label was added to a discussion.", - "operationId": "discussion/labeled", + "summary": "This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.17/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#discussion).\n\nFor activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "description": "A comment on a discussion was deleted.", + "operationId": "discussion-comment/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#discussion" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#discussion_comment" }, "parameters": [ { @@ -5434,7 +5285,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-labeled" + "$ref": "#/components/schemas/webhook-discussion-comment-deleted" } } } @@ -5447,18 +5298,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "discussion", + "subcategory": "discussion_comment", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "discussion-locked": { + "discussion-comment-edited": { "post": { - "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.17/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was locked.", - "operationId": "discussion/locked", + "summary": "This event occurs when there is activity relating to a comment on a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.17/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#discussion).\n\nFor activity relating to a discussion as opposed to comments on a discussion, use the `discussion` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "description": "A comment on a discussion was edited.", + "operationId": "discussion-comment/edited", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#discussion" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#discussion_comment" }, "parameters": [ { @@ -5530,7 +5381,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-locked" + "$ref": "#/components/schemas/webhook-discussion-comment-edited" } } } @@ -5543,16 +5394,16 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "discussion", + "subcategory": "discussion_comment", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "discussion-pinned": { + "discussion-created": { "post": { "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.17/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was pinned.", - "operationId": "discussion/pinned", + "description": "A discussion was created.", + "operationId": "discussion/created", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#discussion" }, @@ -5626,7 +5477,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-pinned" + "$ref": "#/components/schemas/webhook-discussion-created" } } } @@ -5644,11 +5495,11 @@ } } }, - "discussion-reopened": { + "discussion-deleted": { "post": { "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.17/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was reopened.", - "operationId": "discussion/reopened", + "description": "A discussion was deleted.", + "operationId": "discussion/deleted", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#discussion" }, @@ -5670,7 +5521,7 @@ { "name": "X-Github-Event", "in": "header", - "example": "discussions", + "example": "issues", "schema": { "type": "string" }, "required": true }, @@ -5705,7 +5556,7 @@ { "name": "X-GitHub-Enterprise-Version", "in": "header", - "example": "3.9.0", + "example": "3.1.9", "schema": { "type": "string" }, "required": true }, @@ -5722,7 +5573,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-reopened" + "$ref": "#/components/schemas/webhook-discussion-deleted" } } } @@ -5740,11 +5591,11 @@ } } }, - "discussion-transferred": { + "discussion-edited": { "post": { "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.17/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was transferred to another repository.", - "operationId": "discussion/transferred", + "description": "The title or body on a discussion was edited, or the category of the discussion was changed.", + "operationId": "discussion/edited", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#discussion" }, @@ -5818,7 +5669,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-transferred" + "$ref": "#/components/schemas/webhook-discussion-edited" } } } @@ -5836,11 +5687,11 @@ } } }, - "discussion-unanswered": { + "discussion-labeled": { "post": { "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.17/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A comment on the discussion was unmarked as the answer.", - "operationId": "discussion/unanswered", + "description": "A label was added to a discussion.", + "operationId": "discussion/labeled", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#discussion" }, @@ -5914,7 +5765,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-unanswered" + "$ref": "#/components/schemas/webhook-discussion-labeled" } } } @@ -5932,11 +5783,11 @@ } } }, - "discussion-unlabeled": { + "discussion-locked": { "post": { "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.17/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A label was removed from a discussion.", - "operationId": "discussion/unlabeled", + "description": "A discussion was locked.", + "operationId": "discussion/locked", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#discussion" }, @@ -6010,7 +5861,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-unlabeled" + "$ref": "#/components/schemas/webhook-discussion-locked" } } } @@ -6028,11 +5879,11 @@ } } }, - "discussion-unlocked": { + "discussion-pinned": { "post": { "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.17/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was unlocked.", - "operationId": "discussion/unlocked", + "description": "A discussion was pinned.", + "operationId": "discussion/pinned", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#discussion" }, @@ -6106,7 +5957,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-unlocked" + "$ref": "#/components/schemas/webhook-discussion-pinned" } } } @@ -6124,11 +5975,107 @@ } } }, - "discussion-unpinned": { + "discussion-reopened": { "post": { "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.17/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", - "description": "A discussion was unpinned.", - "operationId": "discussion/unpinned", + "description": "A discussion was reopened.", + "operationId": "discussion/reopened", + "externalDocs": { + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#discussion" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "discussions", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Enterprise-Version", + "in": "header", + "example": "3.9.0", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Enterprise-Host", + "in": "header", + "example": "ghes.github.com", + "schema": { "type": "string" }, + "required": true + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-discussion-reopened" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "discussion", + "supported-webhook-types": ["repository", "organization", "app"] + } + } + }, + "discussion-transferred": { + "post": { + "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.17/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "description": "A discussion was transferred to another repository.", + "operationId": "discussion/transferred", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#discussion" }, @@ -6202,7 +6149,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-discussion-unpinned" + "$ref": "#/components/schemas/webhook-discussion-transferred" } } } @@ -6220,13 +6167,13 @@ } } }, - "dismissal-request-code-scanning-created": { + "discussion-unanswered": { "post": { - "summary": "This event occurs when there is activity related to a user's request to dismiss a code scanning alert.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"code scanning alerts\" repository permission.\n\n> [!NOTE]\n> Delegated alert dismissal for code scanning is currently in public preview and subject to change.", - "description": "A code scanning alert dismissal request was created.", - "operationId": "dismissal-request-code-scanning/created", + "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.17/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "description": "A comment on the discussion was unmarked as the answer.", + "operationId": "discussion/unanswered", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#dismissal_request_code_scanning" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#discussion" }, "parameters": [ { @@ -6277,6 +6224,20 @@ "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", "schema": { "type": "string" }, "required": true + }, + { + "name": "X-GitHub-Enterprise-Version", + "in": "header", + "example": "3.1.9", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Enterprise-Host", + "in": "header", + "example": "ghes.github.com", + "schema": { "type": "string" }, + "required": true } ], "requestBody": { @@ -6284,7 +6245,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-exemption-request-created" + "$ref": "#/components/schemas/webhook-discussion-unanswered" } } } @@ -6295,20 +6256,20 @@ } }, "x-github": { - "githubCloudOnly": true, + "githubCloudOnly": false, "category": "webhooks", - "subcategory": "dismissal_request_code_scanning", + "subcategory": "discussion", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "dismissal-request-code-scanning-response-submitted": { + "discussion-unlabeled": { "post": { - "summary": "This event occurs when there is activity related to a user's request to dismiss a code scanning alert.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"code scanning alerts\" repository permission.\n\n> [!NOTE]\n> Delegated alert dismissal for code scanning is currently in public preview and subject to change.", - "description": "A code scanning alert dismissal response was submitted.", - "operationId": "dismissal-request-code-scanning/response-submitted", + "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.17/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "description": "A label was removed from a discussion.", + "operationId": "discussion/unlabeled", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#dismissal_request_code_scanning" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#discussion" }, "parameters": [ { @@ -6359,6 +6320,20 @@ "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", "schema": { "type": "string" }, "required": true + }, + { + "name": "X-GitHub-Enterprise-Version", + "in": "header", + "example": "3.1.9", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Enterprise-Host", + "in": "header", + "example": "ghes.github.com", + "schema": { "type": "string" }, + "required": true } ], "requestBody": { @@ -6366,7 +6341,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-exemption-request-response-submitted" + "$ref": "#/components/schemas/webhook-discussion-unlabeled" } } } @@ -6377,20 +6352,20 @@ } }, "x-github": { - "githubCloudOnly": true, + "githubCloudOnly": false, "category": "webhooks", - "subcategory": "dismissal_request_code_scanning", + "subcategory": "discussion", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "dismissal-request-secret-scanning-cancelled": { + "discussion-unlocked": { "post": { - "summary": "This event occurs when there is activity related to a user's request to dismiss a secret scanning alert.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.\n\n[!NOTE]\nDelegated alert dismissal for secret scanning is currently in public preview and subject to change.", - "description": "A secret scanning alert dismissal request was canceled.", - "operationId": "dismissal-request-secret-scanning/cancelled", + "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.17/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "description": "A discussion was unlocked.", + "operationId": "discussion/unlocked", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#dismissal_request_secret_scanning" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#discussion" }, "parameters": [ { @@ -6441,6 +6416,20 @@ "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", "schema": { "type": "string" }, "required": true + }, + { + "name": "X-GitHub-Enterprise-Version", + "in": "header", + "example": "3.1.9", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Enterprise-Host", + "in": "header", + "example": "ghes.github.com", + "schema": { "type": "string" }, + "required": true } ], "requestBody": { @@ -6448,7 +6437,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-exemption-request-cancelled" + "$ref": "#/components/schemas/webhook-discussion-unlocked" } } } @@ -6459,20 +6448,20 @@ } }, "x-github": { - "githubCloudOnly": true, + "githubCloudOnly": false, "category": "webhooks", - "subcategory": "dismissal_request_secret_scanning", + "subcategory": "discussion", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "dismissal-request-secret-scanning-completed": { + "discussion-unpinned": { "post": { - "summary": "This event occurs when there is activity related to a user's request to dismiss a secret scanning alert.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.\n\n[!NOTE]\nDelegated alert dismissal for secret scanning is currently in public preview and subject to change.", - "description": "A secret scanning alert dismissal request was completed.", - "operationId": "dismissal-request-secret-scanning/completed", + "summary": "This event occurs when there is activity relating to a discussion. For more information about discussions, see \"[GitHub Discussions](https://docs.github.com/enterprise-server@3.17/discussions).\" For information about the API to manage discussions, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#discussion).\n\nFor activity relating to a comment on a discussion, use the `discussion_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Discussions\" repository permission.\n\n> [!NOTE]\n> Webhook events for GitHub Discussions are currently in public preview and subject to change.", + "description": "A discussion was unpinned.", + "operationId": "discussion/unpinned", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#dismissal_request_secret_scanning" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#discussion" }, "parameters": [ { @@ -6523,6 +6512,20 @@ "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", "schema": { "type": "string" }, "required": true + }, + { + "name": "X-GitHub-Enterprise-Version", + "in": "header", + "example": "3.1.9", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Enterprise-Host", + "in": "header", + "example": "ghes.github.com", + "schema": { "type": "string" }, + "required": true } ], "requestBody": { @@ -6530,7 +6533,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-exemption-request-completed" + "$ref": "#/components/schemas/webhook-discussion-unpinned" } } } @@ -6541,20 +6544,20 @@ } }, "x-github": { - "githubCloudOnly": true, + "githubCloudOnly": false, "category": "webhooks", - "subcategory": "dismissal_request_secret_scanning", + "subcategory": "discussion", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "dismissal-request-secret-scanning-created": { + "dismissal-request-code-scanning-created": { "post": { - "summary": "This event occurs when there is activity related to a user's request to dismiss a secret scanning alert.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.\n\n[!NOTE]\nDelegated alert dismissal for secret scanning is currently in public preview and subject to change.", - "description": "A secret scanning alert dismissal request was created.", - "operationId": "dismissal-request-secret-scanning/created", + "summary": "This event occurs when there is activity related to a user's request to dismiss a code scanning alert.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"code scanning alerts\" repository permission.", + "description": "A code scanning alert dismissal request was created.", + "operationId": "dismissal-request-code-scanning/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#dismissal_request_secret_scanning" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#dismissal_request_code_scanning" }, "parameters": [ { @@ -6625,18 +6628,18 @@ "x-github": { "githubCloudOnly": true, "category": "webhooks", - "subcategory": "dismissal_request_secret_scanning", + "subcategory": "dismissal_request_code_scanning", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "dismissal-request-secret-scanning-response-dismissed": { + "dismissal-request-code-scanning-response-submitted": { "post": { - "summary": "This event occurs when there is activity related to a user's request to dismiss a secret scanning alert.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.\n\n[!NOTE]\nDelegated alert dismissal for secret scanning is currently in public preview and subject to change.", - "description": "A secret scanning alert dismissal response was dismissed.", - "operationId": "dismissal-request-secret-scanning/response-dismissed", + "summary": "This event occurs when there is activity related to a user's request to dismiss a code scanning alert.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"code scanning alerts\" repository permission.", + "description": "A code scanning alert dismissal response was submitted.", + "operationId": "dismissal-request-code-scanning/response-submitted", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#dismissal_request_secret_scanning" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#dismissal_request_code_scanning" }, "parameters": [ { @@ -6694,7 +6697,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-exemption-request-response-dismissed" + "$ref": "#/components/schemas/webhook-exemption-request-response-submitted" } } } @@ -6707,16 +6710,16 @@ "x-github": { "githubCloudOnly": true, "category": "webhooks", - "subcategory": "dismissal_request_secret_scanning", + "subcategory": "dismissal_request_code_scanning", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "dismissal-request-secret-scanning-response-submitted": { + "dismissal-request-secret-scanning-cancelled": { "post": { "summary": "This event occurs when there is activity related to a user's request to dismiss a secret scanning alert.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.\n\n[!NOTE]\nDelegated alert dismissal for secret scanning is currently in public preview and subject to change.", - "description": "A secret scanning alert dismissal response was submitted.", - "operationId": "dismissal-request-secret-scanning/response-submitted", + "description": "A secret scanning alert dismissal request was canceled.", + "operationId": "dismissal-request-secret-scanning/cancelled", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#dismissal_request_secret_scanning" }, @@ -6776,7 +6779,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-exemption-request-response-submitted" + "$ref": "#/components/schemas/webhook-exemption-request-cancelled" } } } @@ -6794,13 +6797,13 @@ } } }, - "enterprise-anonymous-access-disabled": { + "dismissal-request-secret-scanning-completed": { "post": { - "summary": "This event occurs when there is activity relating to anonymous Git read access in an enterprise. For more information, see \"[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.17/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access).\"", - "description": "Anonymous Git read access was disabled.", - "operationId": "enterprise/anonymous-access-disabled", + "summary": "This event occurs when there is activity related to a user's request to dismiss a secret scanning alert.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.\n\n[!NOTE]\nDelegated alert dismissal for secret scanning is currently in public preview and subject to change.", + "description": "A secret scanning alert dismissal request was completed.", + "operationId": "dismissal-request-secret-scanning/completed", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#enterprise" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#dismissal_request_secret_scanning" }, "parameters": [ { @@ -6851,20 +6854,6 @@ "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", "schema": { "type": "string" }, "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true } ], "requestBody": { @@ -6872,7 +6861,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-enterprise-anonymous-access-disabled" + "$ref": "#/components/schemas/webhook-exemption-request-completed" } } } @@ -6883,20 +6872,20 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "category": "webhooks", - "subcategory": "enterprise", - "supported-webhook-types": ["business"] + "subcategory": "dismissal_request_secret_scanning", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "enterprise-anonymous-access-enabled": { + "dismissal-request-secret-scanning-created": { "post": { - "summary": "This event occurs when there is activity relating to anonymous Git read access in an enterprise. For more information, see \"[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.17/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access).\"", - "description": "Anonymous Git read access was enabled.", - "operationId": "enterprise/anonymous-access-enabled", + "summary": "This event occurs when there is activity related to a user's request to dismiss a secret scanning alert.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.\n\n[!NOTE]\nDelegated alert dismissal for secret scanning is currently in public preview and subject to change.", + "description": "A secret scanning alert dismissal request was created.", + "operationId": "dismissal-request-secret-scanning/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#enterprise" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#dismissal_request_secret_scanning" }, "parameters": [ { @@ -6947,20 +6936,6 @@ "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", "schema": { "type": "string" }, "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true } ], "requestBody": { @@ -6968,7 +6943,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-enterprise-anonymous-access-enabled" + "$ref": "#/components/schemas/webhook-exemption-request-created" } } } @@ -6979,118 +6954,20 @@ } }, "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "enterprise", - "supported-webhook-types": ["business"] - } - } - }, - "fork": { - "post": { - "summary": "This event occurs when someone forks a repository. For more information, see \"[Fork a repo](https://docs.github.com/enterprise-server@3.17/get-started/quickstart/fork-a-repo).\" For information about the API to manage forks, see \"[Forks](https://docs.github.com/enterprise-server@3.17/rest/repos/forks)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", - "operationId": "fork", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#fork" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-fork" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "category": "webhooks", - "subcategory": "fork", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] + "subcategory": "dismissal_request_secret_scanning", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "github-app-authorization-revoked": { + "dismissal-request-secret-scanning-response-dismissed": { "post": { - "summary": "This event occurs when a user revokes their authorization of a GitHub App. For more information, see \"[About apps](https://docs.github.com/enterprise-server@3.17/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the API to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.17/rest/apps)\" in the REST API documentation.\n\nA GitHub App receives this webhook by default and cannot unsubscribe from this event.\n\nAnyone can revoke their authorization of a GitHub App from their [GitHub account settings page](https://github.com/settings/apps/authorizations). Revoking the authorization of a GitHub App does not uninstall the GitHub App. You should program your GitHub App so that when it receives this webhook, it stops calling the API on behalf of the person who revoked the token. If your GitHub App continues to use a revoked access token, it will receive the `401 Bad Credentials` error. For details about requests with a user access token, which require GitHub App authorization, see \"[Authenticating with a GitHub App on behalf of a user](https://docs.github.com/enterprise-server@3.17/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-with-a-github-app-on-behalf-of-a-user).\"", - "description": "Someone revoked their authorization of a GitHub App.", - "operationId": "github-app-authorization/revoked", + "summary": "This event occurs when there is activity related to a user's request to dismiss a secret scanning alert.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.\n\n[!NOTE]\nDelegated alert dismissal for secret scanning is currently in public preview and subject to change.", + "description": "A secret scanning alert dismissal response was dismissed.", + "operationId": "dismissal-request-secret-scanning/response-dismissed", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#github_app_authorization" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#dismissal_request_secret_scanning" }, "parameters": [ { @@ -7141,20 +7018,6 @@ "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", "schema": { "type": "string" }, "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true } ], "requestBody": { @@ -7162,7 +7025,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-github-app-authorization-revoked" + "$ref": "#/components/schemas/webhook-exemption-request-response-dismissed" } } } @@ -7173,19 +7036,20 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "category": "webhooks", - "subcategory": "github_app_authorization", - "supported-webhook-types": ["app"] + "subcategory": "dismissal_request_secret_scanning", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "gollum": { + "dismissal-request-secret-scanning-response-submitted": { "post": { - "summary": "This event occurs when someone creates or updates a wiki page. For more information, see \"[About wikis](https://docs.github.com/enterprise-server@3.17/communities/documenting-your-project-with-wikis/about-wikis).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", - "operationId": "gollum", + "summary": "This event occurs when there is activity related to a user's request to dismiss a secret scanning alert.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.\n\n[!NOTE]\nDelegated alert dismissal for secret scanning is currently in public preview and subject to change.", + "description": "A secret scanning alert dismissal response was submitted.", + "operationId": "dismissal-request-secret-scanning/response-submitted", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#gollum" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#dismissal_request_secret_scanning" }, "parameters": [ { @@ -7236,27 +7100,15 @@ "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", "schema": { "type": "string" }, "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true } ], "requestBody": { "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-gollum" } + "schema": { + "$ref": "#/components/schemas/webhook-exemption-request-response-submitted" + } } } }, @@ -7266,20 +7118,20 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "category": "webhooks", - "subcategory": "gollum", + "subcategory": "dismissal_request_secret_scanning", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "installation-created": { + "enterprise-anonymous-access-disabled": { "post": { - "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.17/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.17/rest/apps)\" in the REST API documentation.", - "description": "Someone installed a GitHub App on a user or organization account.", - "operationId": "installation/created", + "summary": "This event occurs when there is activity relating to anonymous Git read access in an enterprise. For more information, see \"[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.17/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access).\"", + "description": "Anonymous Git read access was disabled.", + "operationId": "enterprise/anonymous-access-disabled", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#installation" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#enterprise" }, "parameters": [ { @@ -7351,7 +7203,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-installation-created" + "$ref": "#/components/schemas/webhook-enterprise-anonymous-access-disabled" } } } @@ -7364,18 +7216,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "installation", - "supported-webhook-types": ["app"] + "subcategory": "enterprise", + "supported-webhook-types": ["business"] } } }, - "installation-deleted": { + "enterprise-anonymous-access-enabled": { "post": { - "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.17/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.17/rest/apps)\" in the REST API documentation.", - "description": "Someone uninstalled a GitHub App from their user or organization account.", - "operationId": "installation/deleted", + "summary": "This event occurs when there is activity relating to anonymous Git read access in an enterprise. For more information, see \"[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.17/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access).\"", + "description": "Anonymous Git read access was enabled.", + "operationId": "enterprise/anonymous-access-enabled", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#installation" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#enterprise" }, "parameters": [ { @@ -7447,7 +7299,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-installation-deleted" + "$ref": "#/components/schemas/webhook-enterprise-anonymous-access-enabled" } } } @@ -7460,18 +7312,17 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "installation", - "supported-webhook-types": ["app"] + "subcategory": "enterprise", + "supported-webhook-types": ["business"] } } }, - "installation-new-permissions-accepted": { + "fork": { "post": { - "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.17/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.17/rest/apps)\" in the REST API documentation.", - "description": "Someone granted new permissions to a GitHub App.", - "operationId": "installation/new-permissions-accepted", + "summary": "This event occurs when someone forks a repository. For more information, see \"[Fork a repo](https://docs.github.com/enterprise-server@3.17/get-started/quickstart/fork-a-repo).\" For information about the API to manage forks, see \"[Forks](https://docs.github.com/enterprise-server@3.17/rest/repos/forks)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", + "operationId": "fork", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#installation" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#fork" }, "parameters": [ { @@ -7542,9 +7393,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-installation-new-permissions-accepted" - } + "schema": { "$ref": "#/components/schemas/webhook-fork" } } } }, @@ -7556,18 +7405,23 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "installation", - "supported-webhook-types": ["app"] + "subcategory": "fork", + "supported-webhook-types": [ + "business", + "repository", + "organization", + "app" + ] } } }, - "installation-repositories-added": { + "github-app-authorization-revoked": { "post": { - "summary": "This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.17/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.17/rest/apps)\" in the REST API documentation.", - "description": "A GitHub App installation was granted access to one or more repositories.", - "operationId": "installation-repositories/added", + "summary": "This event occurs when a user revokes their authorization of a GitHub App. For more information, see \"[About apps](https://docs.github.com/enterprise-server@3.17/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the API to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.17/rest/apps)\" in the REST API documentation.\n\nA GitHub App receives this webhook by default and cannot unsubscribe from this event.\n\nAnyone can revoke their authorization of a GitHub App from their [GitHub account settings page](https://github.com/settings/apps/authorizations). Revoking the authorization of a GitHub App does not uninstall the GitHub App. You should program your GitHub App so that when it receives this webhook, it stops calling the API on behalf of the person who revoked the token. If your GitHub App continues to use a revoked access token, it will receive the `401 Bad Credentials` error. For details about requests with a user access token, which require GitHub App authorization, see \"[Authenticating with a GitHub App on behalf of a user](https://docs.github.com/enterprise-server@3.17/apps/creating-github-apps/authenticating-with-a-github-app/authenticating-with-a-github-app-on-behalf-of-a-user).\"", + "description": "Someone revoked their authorization of a GitHub App.", + "operationId": "github-app-authorization/revoked", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#installation_repositories" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#github_app_authorization" }, "parameters": [ { @@ -7639,7 +7493,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-installation-repositories-added" + "$ref": "#/components/schemas/webhook-github-app-authorization-revoked" } } } @@ -7652,18 +7506,17 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "installation_repositories", + "subcategory": "github_app_authorization", "supported-webhook-types": ["app"] } } }, - "installation-repositories-removed": { + "gollum": { "post": { - "summary": "This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.17/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.17/rest/apps)\" in the REST API documentation.", - "description": "Access to one or more repositories was revoked for a GitHub App installation.", - "operationId": "installation-repositories/removed", + "summary": "This event occurs when someone creates or updates a wiki page. For more information, see \"[About wikis](https://docs.github.com/enterprise-server@3.17/communities/documenting-your-project-with-wikis/about-wikis).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Contents\" repository permission.", + "operationId": "gollum", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#installation_repositories" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#gollum" }, "parameters": [ { @@ -7734,9 +7587,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-installation-repositories-removed" - } + "schema": { "$ref": "#/components/schemas/webhook-gollum" } } } }, @@ -7748,16 +7599,16 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "installation_repositories", - "supported-webhook-types": ["app"] + "subcategory": "gollum", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "installation-suspend": { + "installation-created": { "post": { "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.17/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.17/rest/apps)\" in the REST API documentation.", - "description": "Someone blocked access by a GitHub App to their user or organization account.", - "operationId": "installation/suspend", + "description": "Someone installed a GitHub App on a user or organization account.", + "operationId": "installation/created", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#installation" }, @@ -7831,7 +7682,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-installation-suspend" + "$ref": "#/components/schemas/webhook-installation-created" } } } @@ -7849,13 +7700,13 @@ } } }, - "installation-target-renamed": { + "installation-deleted": { "post": { - "summary": "This event occurs when there is activity relating to the user or organization account that a GitHub App is installed on. For more information, see \"[About apps](https://docs.github.com/enterprise-server@3.17/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.17/rest/apps)\" in the REST API documentation.", - "description": "Somebody renamed the user or organization account that a GitHub App is installed on.", - "operationId": "installation-target/renamed", + "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.17/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.17/rest/apps)\" in the REST API documentation.", + "description": "Someone uninstalled a GitHub App from their user or organization account.", + "operationId": "installation/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#installation_target" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#installation" }, "parameters": [ { @@ -7927,7 +7778,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-installation-target-renamed" + "$ref": "#/components/schemas/webhook-installation-deleted" } } } @@ -7940,16 +7791,16 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "installation_target", + "subcategory": "installation", "supported-webhook-types": ["app"] } } }, - "installation-unsuspend": { + "installation-new-permissions-accepted": { "post": { "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.17/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.17/rest/apps)\" in the REST API documentation.", - "description": "A GitHub App that was blocked from accessing a user or organization account was given access the account again.", - "operationId": "installation/unsuspend", + "description": "Someone granted new permissions to a GitHub App.", + "operationId": "installation/new-permissions-accepted", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#installation" }, @@ -8023,7 +7874,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-installation-unsuspend" + "$ref": "#/components/schemas/webhook-installation-new-permissions-accepted" } } } @@ -8041,13 +7892,13 @@ } } }, - "issue-comment-created": { + "installation-repositories-added": { "post": { - "summary": "This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see \"[About issues](https://docs.github.com/enterprise-server@3.17/issues/tracking-your-work-with-issues/about-issues)\" and \"[About pull requests](https://docs.github.com/enterprise-server@3.17/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#issuecomment) or \"[Issue comments](https://docs.github.com/enterprise-server@3.17/rest/issues/comments)\" in the REST API documentation.\n\nFor activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see \"[Working with comments](https://docs.github.com/enterprise-server@3.17/rest/guides/working-with-comments).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A comment on an issue or pull request was created.", - "operationId": "issue-comment/created", + "summary": "This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.17/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.17/rest/apps)\" in the REST API documentation.", + "description": "A GitHub App installation was granted access to one or more repositories.", + "operationId": "installation-repositories/added", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#issue_comment" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#installation_repositories" }, "parameters": [ { @@ -8119,7 +7970,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issue-comment-created" + "$ref": "#/components/schemas/webhook-installation-repositories-added" } } } @@ -8132,18 +7983,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "issue_comment", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "installation_repositories", + "supported-webhook-types": ["app"] } } }, - "issue-comment-deleted": { + "installation-repositories-removed": { "post": { - "summary": "This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see \"[About issues](https://docs.github.com/enterprise-server@3.17/issues/tracking-your-work-with-issues/about-issues)\" and \"[About pull requests](https://docs.github.com/enterprise-server@3.17/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#issuecomment) or \"[Issue comments](https://docs.github.com/enterprise-server@3.17/rest/issues/comments)\" in the REST API documentation.\n\nFor activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see \"[Working with comments](https://docs.github.com/enterprise-server@3.17/rest/guides/working-with-comments).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A comment on an issue or pull request was deleted.", - "operationId": "issue-comment/deleted", + "summary": "This event occurs when there is activity relating to which repositories a GitHub App installation can access. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.17/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.17/rest/apps)\" in the REST API documentation.", + "description": "Access to one or more repositories was revoked for a GitHub App installation.", + "operationId": "installation-repositories/removed", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#issue_comment" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#installation_repositories" }, "parameters": [ { @@ -8215,7 +8066,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issue-comment-deleted" + "$ref": "#/components/schemas/webhook-installation-repositories-removed" } } } @@ -8228,18 +8079,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "issue_comment", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "installation_repositories", + "supported-webhook-types": ["app"] } } }, - "issue-comment-edited": { + "installation-suspend": { "post": { - "summary": "This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see \"[About issues](https://docs.github.com/enterprise-server@3.17/issues/tracking-your-work-with-issues/about-issues)\" and \"[About pull requests](https://docs.github.com/enterprise-server@3.17/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#issuecomment) or \"[Issue comments](https://docs.github.com/enterprise-server@3.17/rest/issues/comments)\" in the REST API documentation.\n\nFor activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see \"[Working with comments](https://docs.github.com/enterprise-server@3.17/rest/guides/working-with-comments).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A comment on an issue or pull request was edited.", - "operationId": "issue-comment/edited", + "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.17/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.17/rest/apps)\" in the REST API documentation.", + "description": "Someone blocked access by a GitHub App to their user or organization account.", + "operationId": "installation/suspend", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#issue_comment" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#installation" }, "parameters": [ { @@ -8311,7 +8162,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issue-comment-edited" + "$ref": "#/components/schemas/webhook-installation-suspend" } } } @@ -8324,18 +8175,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "issue_comment", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "installation", + "supported-webhook-types": ["app"] } } }, - "issues-assigned": { + "installation-target-renamed": { "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.17/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.17/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was assigned to a user.", - "operationId": "issues/assigned", + "summary": "This event occurs when there is activity relating to the user or organization account that a GitHub App is installed on. For more information, see \"[About apps](https://docs.github.com/enterprise-server@3.17/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.17/rest/apps)\" in the REST API documentation.", + "description": "Somebody renamed the user or organization account that a GitHub App is installed on.", + "operationId": "installation-target/renamed", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#issues" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#installation_target" }, "parameters": [ { @@ -8407,7 +8258,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-assigned" + "$ref": "#/components/schemas/webhook-installation-target-renamed" } } } @@ -8420,112 +8271,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "issues", - "supported-webhook-types": ["repository", "organization", "app"] - } - } - }, - "issues-closed": { - "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.17/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.17/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was closed.", - "operationId": "issues/closed", - "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#issues" - }, - "parameters": [ - { - "name": "User-Agent", - "in": "header", - "example": "GitHub-Hookshot/123abc", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Id", - "in": "header", - "example": 12312312, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Event", - "in": "header", - "example": "issues", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Id", - "in": "header", - "example": 123123, - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Github-Hook-Installation-Target-Type", - "in": "header", - "example": "repository", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Delivery", - "in": "header", - "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-Hub-Signature-256", - "in": "header", - "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Version", - "in": "header", - "example": "3.1.9", - "schema": { "type": "string" }, - "required": true - }, - { - "name": "X-GitHub-Enterprise-Host", - "in": "header", - "example": "ghes.github.com", - "schema": { "type": "string" }, - "required": true - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-issues-closed" } - } - } - }, - "responses": { - "200": { - "description": "Return a 200 status to indicate that the data was received successfully" - } - }, - "x-github": { - "githubCloudOnly": false, - "category": "webhooks", - "subcategory": "issues", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "installation_target", + "supported-webhook-types": ["app"] } } }, - "issues-deleted": { + "installation-unsuspend": { "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.17/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.17/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was deleted.", - "operationId": "issues/deleted", + "summary": "This event occurs when there is activity relating to a GitHub App installation. All GitHub Apps receive this event by default. You cannot manually subscribe to this event.\n\nFor more information about GitHub Apps, see \"[About apps](https://docs.github.com/enterprise-server@3.17/developers/apps/getting-started-with-apps/about-apps#about-github-apps).\" For information about the APIs to manage GitHub Apps, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#app) or \"[Apps](https://docs.github.com/enterprise-server@3.17/rest/apps)\" in the REST API documentation.", + "description": "A GitHub App that was blocked from accessing a user or organization account was given access the account again.", + "operationId": "installation/unsuspend", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#issues" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#installation" }, "parameters": [ { @@ -8597,7 +8354,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-deleted" + "$ref": "#/components/schemas/webhook-installation-unsuspend" } } } @@ -8610,18 +8367,114 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "issues", + "subcategory": "installation", + "supported-webhook-types": ["app"] + } + } + }, + "issue-comment-created": { + "post": { + "summary": "This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see \"[About issues](https://docs.github.com/enterprise-server@3.17/issues/tracking-your-work-with-issues/about-issues)\" and \"[About pull requests](https://docs.github.com/enterprise-server@3.17/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#issuecomment) or \"[Issue comments](https://docs.github.com/enterprise-server@3.17/rest/issues/comments)\" in the REST API documentation.\n\nFor activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see \"[Working with comments](https://docs.github.com/enterprise-server@3.17/rest/guides/working-with-comments).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "A comment on an issue or pull request was created.", + "operationId": "issue-comment/created", + "externalDocs": { + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#issue_comment" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Enterprise-Version", + "in": "header", + "example": "3.1.9", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Enterprise-Host", + "in": "header", + "example": "ghes.github.com", + "schema": { "type": "string" }, + "required": true + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-issue-comment-created" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "issue_comment", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "issues-demilestoned": { + "issue-comment-deleted": { "post": { - "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.17/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.17/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was removed from a milestone.", - "operationId": "issues/demilestoned", + "summary": "This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see \"[About issues](https://docs.github.com/enterprise-server@3.17/issues/tracking-your-work-with-issues/about-issues)\" and \"[About pull requests](https://docs.github.com/enterprise-server@3.17/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#issuecomment) or \"[Issue comments](https://docs.github.com/enterprise-server@3.17/rest/issues/comments)\" in the REST API documentation.\n\nFor activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see \"[Working with comments](https://docs.github.com/enterprise-server@3.17/rest/guides/working-with-comments).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "A comment on an issue or pull request was deleted.", + "operationId": "issue-comment/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#issues" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#issue_comment" }, "parameters": [ { @@ -8693,7 +8546,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-demilestoned" + "$ref": "#/components/schemas/webhook-issue-comment-deleted" } } } @@ -8706,16 +8559,112 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "issues", + "subcategory": "issue_comment", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "issues-edited": { + "issue-comment-edited": { + "post": { + "summary": "This event occurs when there is activity relating to a comment on an issue or pull request. For more information about issues and pull requests, see \"[About issues](https://docs.github.com/enterprise-server@3.17/issues/tracking-your-work-with-issues/about-issues)\" and \"[About pull requests](https://docs.github.com/enterprise-server@3.17/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests).\" For information about the APIs to manage issue comments, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#issuecomment) or \"[Issue comments](https://docs.github.com/enterprise-server@3.17/rest/issues/comments)\" in the REST API documentation.\n\nFor activity relating to an issue as opposed to comments on an issue, use the `issue` event. For activity related to pull request reviews or pull request review comments, use the `pull_request_review` or `pull_request_review_comment` events. For more information about the different types of pull request comments, see \"[Working with comments](https://docs.github.com/enterprise-server@3.17/rest/guides/working-with-comments).\"\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "A comment on an issue or pull request was edited.", + "operationId": "issue-comment/edited", + "externalDocs": { + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#issue_comment" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Enterprise-Version", + "in": "header", + "example": "3.1.9", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Enterprise-Host", + "in": "header", + "example": "ghes.github.com", + "schema": { "type": "string" }, + "required": true + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-issue-comment-edited" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "issue_comment", + "supported-webhook-types": ["repository", "organization", "app"] + } + } + }, + "issues-assigned": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.17/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.17/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "The title or body on an issue was edited.", - "operationId": "issues/edited", + "description": "An issue was assigned to a user.", + "operationId": "issues/assigned", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#issues" }, @@ -8788,7 +8737,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-issues-edited" } + "schema": { + "$ref": "#/components/schemas/webhook-issues-assigned" + } } } }, @@ -8805,11 +8756,11 @@ } } }, - "issues-labeled": { + "issues-closed": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.17/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.17/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A label was added to an issue.", - "operationId": "issues/labeled", + "description": "An issue was closed.", + "operationId": "issues/closed", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#issues" }, @@ -8882,9 +8833,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-issues-labeled" - } + "schema": { "$ref": "#/components/schemas/webhook-issues-closed" } } } }, @@ -8901,11 +8850,11 @@ } } }, - "issues-locked": { + "issues-deleted": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.17/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.17/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/enterprise-server@3.17/communities/moderating-comments-and-conversations/locking-conversations).\"", - "operationId": "issues/locked", + "description": "An issue was deleted.", + "operationId": "issues/deleted", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#issues" }, @@ -8978,7 +8927,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-issues-locked" } + "schema": { + "$ref": "#/components/schemas/webhook-issues-deleted" + } } } }, @@ -8995,11 +8946,11 @@ } } }, - "issues-milestoned": { + "issues-demilestoned": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.17/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.17/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was added to a milestone.", - "operationId": "issues/milestoned", + "description": "An issue was removed from a milestone.", + "operationId": "issues/demilestoned", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#issues" }, @@ -9073,7 +9024,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-milestoned" + "$ref": "#/components/schemas/webhook-issues-demilestoned" } } } @@ -9091,11 +9042,11 @@ } } }, - "issues-opened": { + "issues-edited": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.17/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.17/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was created. When a closed issue is reopened, the action will be `reopened` instead.", - "operationId": "issues/opened", + "description": "The title or body on an issue was edited.", + "operationId": "issues/edited", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#issues" }, @@ -9168,7 +9119,7 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-issues-opened" } + "schema": { "$ref": "#/components/schemas/webhook-issues-edited" } } } }, @@ -9185,11 +9136,11 @@ } } }, - "issues-pinned": { + "issues-labeled": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.17/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.17/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was pinned to a repository. For more information, see \"[Pinning an issue to your repository](https://docs.github.com/enterprise-server@3.17/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository).\"", - "operationId": "issues/pinned", + "description": "A label was added to an issue.", + "operationId": "issues/labeled", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#issues" }, @@ -9262,7 +9213,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-issues-pinned" } + "schema": { + "$ref": "#/components/schemas/webhook-issues-labeled" + } } } }, @@ -9279,11 +9232,11 @@ } } }, - "issues-reopened": { + "issues-locked": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.17/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.17/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A closed issue was reopened.", - "operationId": "issues/reopened", + "description": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/enterprise-server@3.17/communities/moderating-comments-and-conversations/locking-conversations).\"", + "operationId": "issues/locked", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#issues" }, @@ -9356,9 +9309,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-issues-reopened" - } + "schema": { "$ref": "#/components/schemas/webhook-issues-locked" } } } }, @@ -9375,11 +9326,11 @@ } } }, - "issues-transferred": { + "issues-milestoned": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.17/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.17/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was transferred to another repository. For more information, see \"[Transferring an issue to another repository](https://docs.github.com/enterprise-server@3.17/issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository).\"", - "operationId": "issues/transferred", + "description": "An issue was added to a milestone.", + "operationId": "issues/milestoned", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#issues" }, @@ -9453,7 +9404,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-transferred" + "$ref": "#/components/schemas/webhook-issues-milestoned" } } } @@ -9471,11 +9422,11 @@ } } }, - "issues-unassigned": { + "issues-opened": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.17/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.17/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A user was unassigned from an issue.", - "operationId": "issues/unassigned", + "description": "An issue was created. When a closed issue is reopened, the action will be `reopened` instead.", + "operationId": "issues/opened", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#issues" }, @@ -9548,9 +9499,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-issues-unassigned" - } + "schema": { "$ref": "#/components/schemas/webhook-issues-opened" } } } }, @@ -9567,11 +9516,11 @@ } } }, - "issues-unlabeled": { + "issues-pinned": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.17/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.17/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "A label was removed from an issue.", - "operationId": "issues/unlabeled", + "description": "An issue was pinned to a repository. For more information, see \"[Pinning an issue to your repository](https://docs.github.com/enterprise-server@3.17/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository).\"", + "operationId": "issues/pinned", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#issues" }, @@ -9644,9 +9593,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-issues-unlabeled" - } + "schema": { "$ref": "#/components/schemas/webhook-issues-pinned" } } } }, @@ -9663,11 +9610,11 @@ } } }, - "issues-unlocked": { + "issues-reopened": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.17/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.17/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/enterprise-server@3.17/communities/moderating-comments-and-conversations/locking-conversations).\"", - "operationId": "issues/unlocked", + "description": "A closed issue was reopened.", + "operationId": "issues/reopened", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#issues" }, @@ -9741,7 +9688,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unlocked" + "$ref": "#/components/schemas/webhook-issues-reopened" } } } @@ -9759,11 +9706,11 @@ } } }, - "issues-unpinned": { + "issues-transferred": { "post": { "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.17/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.17/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", - "description": "An issue was unpinned from a repository. For more information, see \"[Pinning an issue to your repository](https://docs.github.com/enterprise-server@3.17/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository).\"", - "operationId": "issues/unpinned", + "description": "An issue was transferred to another repository. For more information, see \"[Transferring an issue to another repository](https://docs.github.com/enterprise-server@3.17/issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository).\"", + "operationId": "issues/transferred", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#issues" }, @@ -9837,7 +9784,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-issues-unpinned" + "$ref": "#/components/schemas/webhook-issues-transferred" } } } @@ -9855,13 +9802,13 @@ } } }, - "label-created": { + "issues-unassigned": { "post": { - "summary": "This event occurs when there is activity relating to labels. For more information, see \"[Managing labels](https://docs.github.com/enterprise-server@3.17/issues/using-labels-and-milestones-to-track-work/managing-labels).\" For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#label) or \"[Labels](https://docs.github.com/enterprise-server@3.17/rest/issues/labels)\" in the REST API documentation.\n\nIf you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "A label was created.", - "operationId": "label/created", + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.17/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.17/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "A user was unassigned from an issue.", + "operationId": "issues/unassigned", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#label" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#issues" }, "parameters": [ { @@ -9932,7 +9879,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-label-created" } + "schema": { + "$ref": "#/components/schemas/webhook-issues-unassigned" + } } } }, @@ -9944,18 +9893,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "label", + "subcategory": "issues", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "label-deleted": { + "issues-unlabeled": { "post": { - "summary": "This event occurs when there is activity relating to labels. For more information, see \"[Managing labels](https://docs.github.com/enterprise-server@3.17/issues/using-labels-and-milestones-to-track-work/managing-labels).\" For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#label) or \"[Labels](https://docs.github.com/enterprise-server@3.17/rest/issues/labels)\" in the REST API documentation.\n\nIf you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "A label was deleted.", - "operationId": "label/deleted", + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.17/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.17/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "A label was removed from an issue.", + "operationId": "issues/unlabeled", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#label" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#issues" }, "parameters": [ { @@ -10026,7 +9975,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-label-deleted" } + "schema": { + "$ref": "#/components/schemas/webhook-issues-unlabeled" + } } } }, @@ -10038,18 +9989,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "label", + "subcategory": "issues", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "label-edited": { + "issues-unlocked": { "post": { - "summary": "This event occurs when there is activity relating to labels. For more information, see \"[Managing labels](https://docs.github.com/enterprise-server@3.17/issues/using-labels-and-milestones-to-track-work/managing-labels).\" For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#label) or \"[Labels](https://docs.github.com/enterprise-server@3.17/rest/issues/labels)\" in the REST API documentation.\n\nIf you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", - "description": "A label's name, description, or color was changed.", - "operationId": "label/edited", + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.17/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.17/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "Conversation on an issue was locked. For more information, see \"[Locking conversations](https://docs.github.com/enterprise-server@3.17/communities/moderating-comments-and-conversations/locking-conversations).\"", + "operationId": "issues/unlocked", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#label" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#issues" }, "parameters": [ { @@ -10120,7 +10071,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-label-edited" } + "schema": { + "$ref": "#/components/schemas/webhook-issues-unlocked" + } } } }, @@ -10132,18 +10085,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "label", + "subcategory": "issues", "supported-webhook-types": ["repository", "organization", "app"] } } }, - "member-added": { + "issues-unpinned": { "post": { - "summary": "This event occurs when there is activity relating to collaborators in a repository. For more information, see \"[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.17/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization).\" For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#repositorycollaboratorconnection) or \"[Collaborators](https://docs.github.com/enterprise-server@3.17/rest/collaborators/collaborators)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "A GitHub user accepted an invitation to a repository.", - "operationId": "member/added", + "summary": "This event occurs when there is activity relating to an issue. For more information about issues, see \"[About issues](https://docs.github.com/enterprise-server@3.17/issues/tracking-your-work-with-issues/about-issues).\" For information about the APIs to manage issues, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#issue) or \"[Issues](https://docs.github.com/enterprise-server@3.17/rest/issues)\" in the REST API documentation.\n\nFor activity relating to a comment on an issue, use the `issue_comment` event.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.", + "description": "An issue was unpinned from a repository. For more information, see \"[Pinning an issue to your repository](https://docs.github.com/enterprise-server@3.17/issues/tracking-your-work-with-issues/pinning-an-issue-to-your-repository).\"", + "operationId": "issues/unpinned", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#member" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#issues" }, "parameters": [ { @@ -10214,7 +10167,9 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-member-added" } + "schema": { + "$ref": "#/components/schemas/webhook-issues-unpinned" + } } } }, @@ -10226,23 +10181,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "member", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] + "subcategory": "issues", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "member-edited": { + "label-created": { "post": { - "summary": "This event occurs when there is activity relating to collaborators in a repository. For more information, see \"[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.17/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization).\" For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#repositorycollaboratorconnection) or \"[Collaborators](https://docs.github.com/enterprise-server@3.17/rest/collaborators/collaborators)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "Permissions were changed for a collaborator on a repository.", - "operationId": "member/edited", + "summary": "This event occurs when there is activity relating to labels. For more information, see \"[Managing labels](https://docs.github.com/enterprise-server@3.17/issues/using-labels-and-milestones-to-track-work/managing-labels).\" For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#label) or \"[Labels](https://docs.github.com/enterprise-server@3.17/rest/issues/labels)\" in the REST API documentation.\n\nIf you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "description": "A label was created.", + "operationId": "label/created", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#member" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#label" }, "parameters": [ { @@ -10313,7 +10263,7 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-member-edited" } + "schema": { "$ref": "#/components/schemas/webhook-label-created" } } } }, @@ -10325,23 +10275,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "member", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] + "subcategory": "label", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "member-removed": { + "label-deleted": { "post": { - "summary": "This event occurs when there is activity relating to collaborators in a repository. For more information, see \"[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.17/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization).\" For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#repositorycollaboratorconnection) or \"[Collaborators](https://docs.github.com/enterprise-server@3.17/rest/collaborators/collaborators)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "A collaborator was removed from a repository.", - "operationId": "member/removed", + "summary": "This event occurs when there is activity relating to labels. For more information, see \"[Managing labels](https://docs.github.com/enterprise-server@3.17/issues/using-labels-and-milestones-to-track-work/managing-labels).\" For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#label) or \"[Labels](https://docs.github.com/enterprise-server@3.17/rest/issues/labels)\" in the REST API documentation.\n\nIf you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "description": "A label was deleted.", + "operationId": "label/deleted", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#member" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#label" }, "parameters": [ { @@ -10412,9 +10357,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-member-removed" - } + "schema": { "$ref": "#/components/schemas/webhook-label-deleted" } } } }, @@ -10426,23 +10369,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "member", - "supported-webhook-types": [ - "business", - "repository", - "organization", - "app" - ] + "subcategory": "label", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "membership-added": { + "label-edited": { "post": { - "summary": "This event occurs when there is activity relating to team membership. For more information, see \"[About teams](https://docs.github.com/enterprise-server@3.17/organizations/organizing-members-into-teams/about-teams).\" For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#team) or \"[Team members](https://docs.github.com/enterprise-server@3.17/rest/teams/members)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "An organization member was added to a team.", - "operationId": "membership/added", + "summary": "This event occurs when there is activity relating to labels. For more information, see \"[Managing labels](https://docs.github.com/enterprise-server@3.17/issues/using-labels-and-milestones-to-track-work/managing-labels).\" For information about the APIs to manage labels, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#label) or \"[Labels](https://docs.github.com/enterprise-server@3.17/rest/issues/labels)\" in the REST API documentation.\n\nIf you want to receive an event when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` action type for the `issues`, `pull_request`, or `discussion` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Metadata\" repository permission.", + "description": "A label's name, description, or color was changed.", + "operationId": "label/edited", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#membership" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#label" }, "parameters": [ { @@ -10513,9 +10451,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-membership-added" - } + "schema": { "$ref": "#/components/schemas/webhook-label-edited" } } } }, @@ -10527,18 +10463,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "membership", - "supported-webhook-types": ["organization", "business", "app"] + "subcategory": "label", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "membership-removed": { + "member-added": { "post": { - "summary": "This event occurs when there is activity relating to team membership. For more information, see \"[About teams](https://docs.github.com/enterprise-server@3.17/organizations/organizing-members-into-teams/about-teams).\" For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#team) or \"[Team members](https://docs.github.com/enterprise-server@3.17/rest/teams/members)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "An organization member was removed from a team.", - "operationId": "membership/removed", + "summary": "This event occurs when there is activity relating to collaborators in a repository. For more information, see \"[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.17/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization).\" For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#repositorycollaboratorconnection) or \"[Collaborators](https://docs.github.com/enterprise-server@3.17/rest/collaborators/collaborators)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "description": "A GitHub user accepted an invitation to a repository.", + "operationId": "member/added", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#membership" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#member" }, "parameters": [ { @@ -10609,9 +10545,7 @@ "required": true, "content": { "application/json": { - "schema": { - "$ref": "#/components/schemas/webhook-membership-removed" - } + "schema": { "$ref": "#/components/schemas/webhook-member-added" } } } }, @@ -10623,18 +10557,23 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "membership", - "supported-webhook-types": ["organization", "business", "app"] + "subcategory": "member", + "supported-webhook-types": [ + "business", + "repository", + "organization", + "app" + ] } } }, - "meta-deleted": { + "member-edited": { "post": { - "summary": "This event occurs when there is activity relating to a webhook itself.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Meta\" app permission.", - "description": "The webhook was deleted.", - "operationId": "meta/deleted", + "summary": "This event occurs when there is activity relating to collaborators in a repository. For more information, see \"[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.17/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization).\" For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#repositorycollaboratorconnection) or \"[Collaborators](https://docs.github.com/enterprise-server@3.17/rest/collaborators/collaborators)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "description": "Permissions were changed for a collaborator on a repository.", + "operationId": "member/edited", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#meta" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#member" }, "parameters": [ { @@ -10705,7 +10644,7 @@ "required": true, "content": { "application/json": { - "schema": { "$ref": "#/components/schemas/webhook-meta-deleted" } + "schema": { "$ref": "#/components/schemas/webhook-member-edited" } } } }, @@ -10717,9 +10656,8 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "meta", + "subcategory": "member", "supported-webhook-types": [ - "marketplace", "business", "repository", "organization", @@ -10728,13 +10666,13 @@ } } }, - "milestone-closed": { + "member-removed": { "post": { - "summary": "This event occurs when there is activity relating to milestones. For more information, see \"[About milestones](https://docs.github.com/enterprise-server@3.17/issues/using-labels-and-milestones-to-track-work/about-milestones).\" For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#milestone) or \"[Milestones](https://docs.github.com/enterprise-server@3.17/rest/issues/milestones)\" in the REST API documentation.\n\nIf you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", - "description": "A milestone was closed.", - "operationId": "milestone/closed", + "summary": "This event occurs when there is activity relating to collaborators in a repository. For more information, see \"[Adding outside collaborators to repositories in your organization](https://docs.github.com/enterprise-server@3.17/organizations/managing-user-access-to-your-organizations-repositories/adding-outside-collaborators-to-repositories-in-your-organization).\" For more information about the API to manage repository collaborators, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#repositorycollaboratorconnection) or \"[Collaborators](https://docs.github.com/enterprise-server@3.17/rest/collaborators/collaborators)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "description": "A collaborator was removed from a repository.", + "operationId": "member/removed", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#milestone" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#member" }, "parameters": [ { @@ -10806,7 +10744,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-milestone-closed" + "$ref": "#/components/schemas/webhook-member-removed" } } } @@ -10819,18 +10757,23 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "milestone", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "member", + "supported-webhook-types": [ + "business", + "repository", + "organization", + "app" + ] } } }, - "milestone-created": { + "membership-added": { "post": { - "summary": "This event occurs when there is activity relating to milestones. For more information, see \"[About milestones](https://docs.github.com/enterprise-server@3.17/issues/using-labels-and-milestones-to-track-work/about-milestones).\" For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#milestone) or \"[Milestones](https://docs.github.com/enterprise-server@3.17/rest/issues/milestones)\" in the REST API documentation.\n\nIf you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", - "description": "A milestone was created.", - "operationId": "milestone/created", + "summary": "This event occurs when there is activity relating to team membership. For more information, see \"[About teams](https://docs.github.com/enterprise-server@3.17/organizations/organizing-members-into-teams/about-teams).\" For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#team) or \"[Team members](https://docs.github.com/enterprise-server@3.17/rest/teams/members)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "description": "An organization member was added to a team.", + "operationId": "membership/added", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#milestone" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#membership" }, "parameters": [ { @@ -10902,7 +10845,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-milestone-created" + "$ref": "#/components/schemas/webhook-membership-added" } } } @@ -10915,16 +10858,212 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "milestone", - "supported-webhook-types": ["repository", "organization", "app"] + "subcategory": "membership", + "supported-webhook-types": ["organization", "business", "app"] } } }, - "milestone-deleted": { + "membership-removed": { + "post": { + "summary": "This event occurs when there is activity relating to team membership. For more information, see \"[About teams](https://docs.github.com/enterprise-server@3.17/organizations/organizing-members-into-teams/about-teams).\" For more information about the APIs to manage team memberships, see [the GraphQL API documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#team) or \"[Team members](https://docs.github.com/enterprise-server@3.17/rest/teams/members)\" in the REST API documentation.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "description": "An organization member was removed from a team.", + "operationId": "membership/removed", + "externalDocs": { + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#membership" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Enterprise-Version", + "in": "header", + "example": "3.1.9", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Enterprise-Host", + "in": "header", + "example": "ghes.github.com", + "schema": { "type": "string" }, + "required": true + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-membership-removed" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "membership", + "supported-webhook-types": ["organization", "business", "app"] + } + } + }, + "meta-deleted": { + "post": { + "summary": "This event occurs when there is activity relating to a webhook itself.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Meta\" app permission.", + "description": "The webhook was deleted.", + "operationId": "meta/deleted", + "externalDocs": { + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#meta" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Enterprise-Version", + "in": "header", + "example": "3.1.9", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Enterprise-Host", + "in": "header", + "example": "ghes.github.com", + "schema": { "type": "string" }, + "required": true + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { "$ref": "#/components/schemas/webhook-meta-deleted" } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "meta", + "supported-webhook-types": [ + "marketplace", + "business", + "repository", + "organization", + "app" + ] + } + } + }, + "milestone-closed": { "post": { "summary": "This event occurs when there is activity relating to milestones. For more information, see \"[About milestones](https://docs.github.com/enterprise-server@3.17/issues/using-labels-and-milestones-to-track-work/about-milestones).\" For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#milestone) or \"[Milestones](https://docs.github.com/enterprise-server@3.17/rest/issues/milestones)\" in the REST API documentation.\n\nIf you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", - "description": "A milestone was deleted.", - "operationId": "milestone/deleted", + "description": "A milestone was closed.", + "operationId": "milestone/closed", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#milestone" }, @@ -10998,7 +11137,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-milestone-deleted" + "$ref": "#/components/schemas/webhook-milestone-closed" } } } @@ -11016,11 +11155,11 @@ } } }, - "milestone-edited": { + "milestone-created": { "post": { "summary": "This event occurs when there is activity relating to milestones. For more information, see \"[About milestones](https://docs.github.com/enterprise-server@3.17/issues/using-labels-and-milestones-to-track-work/about-milestones).\" For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#milestone) or \"[Milestones](https://docs.github.com/enterprise-server@3.17/rest/issues/milestones)\" in the REST API documentation.\n\nIf you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", - "description": "A milestone was edited.", - "operationId": "milestone/edited", + "description": "A milestone was created.", + "operationId": "milestone/created", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#milestone" }, @@ -11094,7 +11233,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-milestone-edited" + "$ref": "#/components/schemas/webhook-milestone-created" } } } @@ -11112,11 +11251,11 @@ } } }, - "milestone-opened": { + "milestone-deleted": { "post": { "summary": "This event occurs when there is activity relating to milestones. For more information, see \"[About milestones](https://docs.github.com/enterprise-server@3.17/issues/using-labels-and-milestones-to-track-work/about-milestones).\" For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#milestone) or \"[Milestones](https://docs.github.com/enterprise-server@3.17/rest/issues/milestones)\" in the REST API documentation.\n\nIf you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", - "description": "A milestone was opened.", - "operationId": "milestone/opened", + "description": "A milestone was deleted.", + "operationId": "milestone/deleted", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#milestone" }, @@ -11190,7 +11329,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-milestone-opened" + "$ref": "#/components/schemas/webhook-milestone-deleted" } } } @@ -11208,13 +11347,13 @@ } } }, - "organization-deleted": { + "milestone-edited": { "post": { - "summary": "This event occurs when there is activity relating to an organization and its members. For more information, see \"[About organizations](https://docs.github.com/enterprise-server@3.17/organizations/collaborating-with-groups-in-organizations/about-organizations).\" For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#organization) or \"[Organizations](https://docs.github.com/enterprise-server@3.17/rest/orgs)\" in the REST API documentation.\n\nIf you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "An organization was deleted.", - "operationId": "organization/deleted", + "summary": "This event occurs when there is activity relating to milestones. For more information, see \"[About milestones](https://docs.github.com/enterprise-server@3.17/issues/using-labels-and-milestones-to-track-work/about-milestones).\" For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#milestone) or \"[Milestones](https://docs.github.com/enterprise-server@3.17/rest/issues/milestones)\" in the REST API documentation.\n\nIf you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", + "description": "A milestone was edited.", + "operationId": "milestone/edited", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#organization" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#milestone" }, "parameters": [ { @@ -11286,7 +11425,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-organization-deleted" + "$ref": "#/components/schemas/webhook-milestone-edited" } } } @@ -11299,18 +11438,18 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "organization", - "supported-webhook-types": ["organization", "business", "app"] + "subcategory": "milestone", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "organization-member-added": { + "milestone-opened": { "post": { - "summary": "This event occurs when there is activity relating to an organization and its members. For more information, see \"[About organizations](https://docs.github.com/enterprise-server@3.17/organizations/collaborating-with-groups-in-organizations/about-organizations).\" For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#organization) or \"[Organizations](https://docs.github.com/enterprise-server@3.17/rest/orgs)\" in the REST API documentation.\n\nIf you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "A member accepted an invitation to join an organization.", - "operationId": "organization/member-added", + "summary": "This event occurs when there is activity relating to milestones. For more information, see \"[About milestones](https://docs.github.com/enterprise-server@3.17/issues/using-labels-and-milestones-to-track-work/about-milestones).\" For information about the APIs to manage milestones, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#milestone) or \"[Milestones](https://docs.github.com/enterprise-server@3.17/rest/issues/milestones)\" in the REST API documentation.\n\nIf you want to receive an event when an issue or pull request is added to or removed from a milestone, use the `milestoned` or `demilestoned` action type for the `issues` or `pull_request` events instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" or \"Pull requests\" repository permissions.", + "description": "A milestone was opened.", + "operationId": "milestone/opened", "externalDocs": { - "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#organization" + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#milestone" }, "parameters": [ { @@ -11382,7 +11521,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/webhook-organization-member-added" + "$ref": "#/components/schemas/webhook-milestone-opened" } } } @@ -11395,16 +11534,208 @@ "x-github": { "githubCloudOnly": false, "category": "webhooks", - "subcategory": "organization", - "supported-webhook-types": ["organization", "business", "app"] + "subcategory": "milestone", + "supported-webhook-types": ["repository", "organization", "app"] } } }, - "organization-member-invited": { + "organization-deleted": { "post": { "summary": "This event occurs when there is activity relating to an organization and its members. For more information, see \"[About organizations](https://docs.github.com/enterprise-server@3.17/organizations/collaborating-with-groups-in-organizations/about-organizations).\" For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#organization) or \"[Organizations](https://docs.github.com/enterprise-server@3.17/rest/orgs)\" in the REST API documentation.\n\nIf you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", - "description": "A member was invited to join the organization.", - "operationId": "organization/member-invited", + "description": "An organization was deleted.", + "operationId": "organization/deleted", + "externalDocs": { + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#organization" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Enterprise-Version", + "in": "header", + "example": "3.1.9", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Enterprise-Host", + "in": "header", + "example": "ghes.github.com", + "schema": { "type": "string" }, + "required": true + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-organization-deleted" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "organization", + "supported-webhook-types": ["organization", "business", "app"] + } + } + }, + "organization-member-added": { + "post": { + "summary": "This event occurs when there is activity relating to an organization and its members. For more information, see \"[About organizations](https://docs.github.com/enterprise-server@3.17/organizations/collaborating-with-groups-in-organizations/about-organizations).\" For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#organization) or \"[Organizations](https://docs.github.com/enterprise-server@3.17/rest/orgs)\" in the REST API documentation.\n\nIf you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "description": "A member accepted an invitation to join an organization.", + "operationId": "organization/member-added", + "externalDocs": { + "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#organization" + }, + "parameters": [ + { + "name": "User-Agent", + "in": "header", + "example": "GitHub-Hookshot/123abc", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Id", + "in": "header", + "example": 12312312, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Event", + "in": "header", + "example": "issues", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Id", + "in": "header", + "example": 123123, + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Github-Hook-Installation-Target-Type", + "in": "header", + "example": "repository", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Delivery", + "in": "header", + "example": "0b989ba4-242f-11e5-81e1-c7b6966d2516", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-Hub-Signature-256", + "in": "header", + "example": "sha256=6dcb09b5b57875f334f61aebed695e2e4193db5e", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Enterprise-Version", + "in": "header", + "example": "3.1.9", + "schema": { "type": "string" }, + "required": true + }, + { + "name": "X-GitHub-Enterprise-Host", + "in": "header", + "example": "ghes.github.com", + "schema": { "type": "string" }, + "required": true + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/webhook-organization-member-added" + } + } + } + }, + "responses": { + "200": { + "description": "Return a 200 status to indicate that the data was received successfully" + } + }, + "x-github": { + "githubCloudOnly": false, + "category": "webhooks", + "subcategory": "organization", + "supported-webhook-types": ["organization", "business", "app"] + } + } + }, + "organization-member-invited": { + "post": { + "summary": "This event occurs when there is activity relating to an organization and its members. For more information, see \"[About organizations](https://docs.github.com/enterprise-server@3.17/organizations/collaborating-with-groups-in-organizations/about-organizations).\" For information about the APIs to manage organizations, see [the GraphQL documentation](https://docs.github.com/enterprise-server@3.17/graphql/reference/objects#organization) or \"[Organizations](https://docs.github.com/enterprise-server@3.17/rest/orgs)\" in the REST API documentation.\n\nIf you want to receive an event when a non-member is blocked or unblocked from an organization, use the `org_block` event instead.\n\nTo subscribe to this event, a GitHub App must have at least read-level access for the \"Members\" organization permission.", + "description": "A member was invited to join the organization.", + "operationId": "organization/member-invited", "externalDocs": { "url": "https://docs.github.com/enterprise-server@3.17/webhooks/webhook-events-and-payloads#organization" }, @@ -25594,12 +25925,7 @@ "description": "A check performed on the code of a given code change", "type": "object", "properties": { - "app": { - "anyOf": [ - { "type": "null" }, - { "$ref": "#/components/schemas/integration" } - ] - }, + "app": { "$ref": "#/components/schemas/integration" }, "check_suite": { "$ref": "#/components/schemas/simple-check-suite" }, "completed_at": { "type": ["string", "null"], @@ -26389,6 +26715,7 @@ "type": ["object", "null"], "properties": { "advanced_security": { + "description": "Enable or disable GitHub Advanced Security for the repository.\n\nFor standalone Code Scanning or Secret Protection products, this parameter cannot be used.\n", "type": "object", "properties": { "status": { "type": "string", "enum": ["enabled", "disabled"] } @@ -29430,6 +29757,176 @@ "description": "The [`git ref`](https://docs.github.com/enterprise-server@3.17/rest/git/refs#get-a-reference) resource.", "type": "string" }, + "webhook-custom-property-created": { + "title": "custom property created event", + "type": "object", + "properties": { + "action": { "type": "string", "enum": ["created"] }, + "definition": { "$ref": "#/components/schemas/custom-property" }, + "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "sender": { "$ref": "#/components/schemas/simple-user" } + }, + "required": ["action", "definition"] + }, + "custom-property": { + "title": "Organization Custom Property", + "description": "Custom property defined on an organization", + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property" + }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL that can be used to fetch, update, or delete info about this property via the API." + }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": ["organization", "enterprise"], + "examples": ["organization"] + }, + "value_type": { + "type": "string", + "enum": ["string", "single_select", "multi_select", "true_false"], + "description": "The type of the value for the property", + "examples": ["single_select"] + }, + "required": { + "type": "boolean", + "description": "Whether the property is required." + }, + "default_value": { + "oneOf": [ + { "type": "string" }, + { "type": "array", "items": { "type": "string" } } + ], + "description": "Default value of the property", + "type": ["null", "string", "array"] + }, + "description": { + "type": ["string", "null"], + "description": "Short description of the property" + }, + "allowed_values": { + "type": ["array", "null"], + "items": { "type": "string", "maxLength": 75 }, + "maxItems": 200, + "description": "An ordered list of the allowed values of the property.\nThe property can have up to 200 allowed values." + }, + "values_editable_by": { + "type": ["string", "null"], + "enum": ["org_actors", "org_and_repo_actors", null], + "description": "Who can edit the values of the property", + "examples": ["org_actors"] + } + }, + "required": ["property_name", "value_type"] + }, + "webhook-custom-property-deleted": { + "title": "custom property deleted event", + "type": "object", + "properties": { + "action": { "type": "string", "enum": ["deleted"] }, + "definition": { + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property that was deleted." + } + }, + "required": ["property_name"] + }, + "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "sender": { "$ref": "#/components/schemas/simple-user" } + }, + "required": ["action", "definition"] + }, + "webhook-custom-property-updated": { + "title": "custom property updated event", + "type": "object", + "properties": { + "action": { "type": "string", "enum": ["updated"] }, + "definition": { "$ref": "#/components/schemas/custom-property" }, + "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "sender": { "$ref": "#/components/schemas/simple-user" } + }, + "required": ["action", "definition"] + }, + "webhook-custom-property-values-updated": { + "title": "Custom property values updated event", + "type": "object", + "properties": { + "action": { "type": "string", "enum": ["updated"] }, + "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, + "installation": { + "$ref": "#/components/schemas/simple-installation" + }, + "repository": { "$ref": "#/components/schemas/repository-webhooks" }, + "organization": { + "$ref": "#/components/schemas/organization-simple-webhooks" + }, + "sender": { "$ref": "#/components/schemas/simple-user" }, + "new_property_values": { + "type": "array", + "description": "The new custom property values for the repository.", + "items": { "$ref": "#/components/schemas/custom-property-value" } + }, + "old_property_values": { + "type": "array", + "description": "The old custom property values for the repository.", + "items": { "$ref": "#/components/schemas/custom-property-value" } + } + }, + "required": [ + "action", + "repository", + "organization", + "new_property_values", + "old_property_values" + ] + }, + "custom-property-value": { + "title": "Custom Property Value", + "description": "Custom property name and associated value", + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property" + }, + "value": { + "oneOf": [ + { "type": "string" }, + { "type": "array", "items": { "type": "string" } } + ], + "description": "The value assigned to the property", + "type": ["null", "string", "array"] + } + }, + "required": ["property_name", "value"] + }, "webhook-delete": { "title": "delete event", "type": "object", @@ -36169,6 +36666,10 @@ ] }, "app_id": { "type": "integer", "examples": [1] }, + "client_id": { + "type": "string", + "examples": ["Iv1.ab1112223334445c"] + }, "target_id": { "description": "The ID of the user or organization this token is being scoped to.", "type": "integer" @@ -37591,14 +38092,10 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -37868,6 +38365,32 @@ }, "required": ["action", "issue", "comment", "repository", "sender"] }, + "sub-issues-summary": { + "title": "Sub-issues Summary", + "type": "object", + "properties": { + "total": { "type": "integer" }, + "completed": { "type": "integer" }, + "percent_completed": { "type": "integer" } + }, + "required": ["total", "completed", "percent_completed"] + }, + "issue-dependencies-summary": { + "title": "Issue Dependencies Summary", + "type": "object", + "properties": { + "blocked_by": { "type": "integer" }, + "blocking": { "type": "integer" }, + "total_blocked_by": { "type": "integer" }, + "total_blocking": { "type": "integer" } + }, + "required": [ + "blocked_by", + "blocking", + "total_blocked_by", + "total_blocking" + ] + }, "issue-type": { "title": "Issue Type", "description": "The type of issue.", @@ -38583,14 +39106,10 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -39644,14 +40163,10 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -40480,14 +40995,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -40561,6 +41076,59 @@ "reactions" ] }, + "issue-field-value": { + "title": "Issue Field Value", + "description": "A value assigned to an issue field", + "type": "object", + "properties": { + "issue_field_id": { + "description": "Unique identifier for the issue field.", + "type": "integer", + "format": "int64", + "examples": [1] + }, + "node_id": { "type": "string", "examples": ["IFT_GDKND"] }, + "data_type": { + "description": "The data type of the issue field", + "type": "string", + "enum": ["text", "single_select", "number", "date"], + "examples": ["text"] + }, + "value": { + "description": "The value of the issue field", + "anyOf": [ + { "type": "string", "examples": ["Sample text"] }, + { "type": "number", "examples": [42.5] }, + { "type": "integer", "examples": [1] } + ], + "type": ["null", "string", "number", "integer"] + }, + "single_select_option": { + "description": "Details about the selected option (only present for single_select fields)", + "type": ["object", "null"], + "properties": { + "id": { + "description": "Unique identifier for the option.", + "type": "integer", + "format": "int64", + "examples": [1] + }, + "name": { + "description": "The name of the option", + "type": "string", + "examples": ["High"] + }, + "color": { + "description": "The color of the option", + "type": "string", + "examples": ["red"] + } + }, + "required": ["id", "name", "color"] + } + }, + "required": ["issue_field_id", "node_id", "data_type", "value"] + }, "webhook-issues-closed": { "title": "issues closed event", "type": "object", @@ -41229,14 +41797,16 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { + "$ref": "#/components/schemas/issue-field-value" + } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -42025,14 +42595,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -42745,14 +43315,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -43532,14 +44102,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -44233,14 +44803,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -44959,14 +45529,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -45657,14 +46227,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -46387,14 +46957,16 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { + "$ref": "#/components/schemas/issue-field-value" + } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -47448,14 +48020,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -48072,14 +48644,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -48781,14 +49353,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -49510,14 +50082,16 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { + "$ref": "#/components/schemas/issue-field-value" + } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -50710,14 +51284,14 @@ }, "repository_url": { "type": "string", "format": "uri" }, "sub_issues_summary": { - "title": "Sub-issues Summary", - "type": "object", - "properties": { - "total": { "type": "integer" }, - "completed": { "type": "integer" }, - "percent_completed": { "type": "integer" } - }, - "required": ["total", "completed", "percent_completed"] + "$ref": "#/components/schemas/sub-issues-summary" + }, + "issue_dependencies_summary": { + "$ref": "#/components/schemas/issue-dependencies-summary" + }, + "issue_field_values": { + "type": "array", + "items": { "$ref": "#/components/schemas/issue-field-value" } }, "state": { "description": "State of the issue; either 'open' or 'closed'", @@ -51205,7 +51779,7 @@ "action": { "type": "string", "enum": ["deleted"] }, "enterprise": { "$ref": "#/components/schemas/enterprise-webhooks" }, "hook": { - "description": "The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, business, app, or GitHub Marketplace.", + "description": "The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, business, app, or GitHub Marketplace.", "type": "object", "properties": { "active": { "type": "boolean" }, @@ -51224,6 +51798,7 @@ }, "created_at": { "type": "string" }, "events": { + "description": "", "type": "array", "items": { "type": "string", @@ -51720,6 +52295,18 @@ "properties": { "organization_url": { "type": "string", "format": "uri" }, "role": { "type": "string" }, + "direct_membership": { + "type": "boolean", + "description": "Whether the user has direct membership in the organization.", + "examples": [true] + }, + "enterprise_teams_providing_indirect_membership": { + "type": "array", + "description": "The slugs of the enterprise teams providing the user with indirect membership in the organization.\nA limit of 100 enterprise team slugs is returned.", + "maxItems": 100, + "items": { "type": "string" }, + "examples": ["ent:team-one", "ent:team-two"] + }, "state": { "type": "string" }, "url": { "type": "string", "format": "uri" }, "user": { @@ -53878,6 +54465,17 @@ { "type": "null" }, { "$ref": "#/components/schemas/simple-user" } ] + }, + "state": { "type": "string", "enum": ["open", "closed"] }, + "latest_status_update": { + "anyOf": [ + { "type": "null" }, + { "$ref": "#/components/schemas/projects-v2-status-update" } + ] + }, + "is_template": { + "type": "boolean", + "description": "Whether this project is a template" } }, "required": [ @@ -53897,6 +54495,54 @@ "deleted_by" ] }, + "projects-v2-status-update": { + "title": "Projects v2 Status Update", + "description": "An status update belonging to a project", + "type": "object", + "properties": { + "id": { "type": "number" }, + "node_id": { "type": "string" }, + "project_node_id": { "type": "string" }, + "creator": { "$ref": "#/components/schemas/simple-user" }, + "created_at": { + "type": "string", + "format": "date-time", + "examples": ["2022-04-28T12:00:00Z"] + }, + "updated_at": { + "type": "string", + "format": "date-time", + "examples": ["2022-04-28T12:00:00Z"] + }, + "status": { + "type": ["string", "null"], + "enum": [ + "INACTIVE", + "ON_TRACK", + "AT_RISK", + "OFF_TRACK", + "COMPLETE", + null + ] + }, + "start_date": { + "type": "string", + "format": "date", + "examples": ["2022-04-28"] + }, + "target_date": { + "type": "string", + "format": "date", + "examples": ["2022-04-28"] + }, + "body": { + "description": "Body of the status update", + "type": ["string", "null"], + "examples": ["The project is off to a great start!"] + } + }, + "required": ["id", "node_id", "created_at", "updated_at"] + }, "webhook-projects-v2-project-created": { "description": "A project was created", "type": "object", @@ -54235,8 +54881,10 @@ "properties": { "id": { "type": "string" }, "title": { "type": "string" }, + "title_html": { "type": "string" }, "duration": { "type": ["number", "null"] }, - "start_date": { "type": ["string", "null"] } + "start_date": { "type": ["string", "null"] }, + "completed": { "type": "boolean" } }, "required": ["id", "title"] }, @@ -73116,6 +73764,10 @@ "enum": ["dismissed", "approved", "changes_requested"] }, "submitted_at": { "type": "string", "format": "date-time" }, + "updated_at": { + "type": ["string", "null"], + "format": "date-time" + }, "user": { "title": "User", "type": ["object", "null"], @@ -74961,6 +75613,7 @@ "pull_request_url": { "type": "string", "format": "uri" }, "state": { "type": "string" }, "submitted_at": { "type": ["string", "null"], "format": "date-time" }, + "updated_at": { "type": ["string", "null"], "format": "date-time" }, "user": { "title": "User", "type": ["object", "null"], @@ -87201,7 +87854,8 @@ "node_id": { "type": "string" } }, "required": ["node_id", "comments"] - } + }, + "updated_at": { "type": ["string", "null"], "format": "date-time" } }, "required": ["action", "thread", "pull_request", "repository"] }, @@ -89191,7 +89845,8 @@ "node_id": { "type": "string" } }, "required": ["node_id", "comments"] - } + }, + "updated_at": { "type": ["string", "null"], "format": "date-time" } }, "required": ["action", "thread", "pull_request", "repository"] }, @@ -97983,6 +98638,7 @@ }, "body": { "type": ["string", "null"] }, "created_at": { "type": ["string", "null"], "format": "date-time" }, + "updated_at": { "type": ["string", "null"], "format": "date-time" }, "discussion_url": { "type": "string", "format": "uri" }, "draft": { "description": "Whether the release is a draft or published", @@ -97990,6 +98646,10 @@ }, "html_url": { "type": "string", "format": "uri" }, "id": { "type": "integer" }, + "immutable": { + "description": "Whether or not the release is immutable.", + "type": "boolean" + }, "name": { "type": ["string", "null"] }, "node_id": { "type": "string" }, "prerelease": { @@ -98051,10 +98711,12 @@ "draft", "author", "prerelease", + "immutable", "created_at", "published_at", "assets", "tarball_url", + "updated_at", "zipball_url", "body" ] @@ -98165,6 +98827,7 @@ "draft", "html_url", "id", + "immutable", "name", "node_id", "prerelease", @@ -98172,6 +98835,7 @@ "tag_name", "tarball_url", "target_commitish", + "updated_at", "upload_url", "url", "zipball_url" @@ -98325,6 +98989,10 @@ }, "html_url": { "type": "string", "format": "uri" }, "id": { "type": "integer" }, + "immutable": { + "description": "Whether or not the release is immutable.", + "type": "boolean" + }, "name": { "type": ["string", "null"] }, "node_id": { "type": "string" }, "prerelease": { @@ -98374,6 +99042,10 @@ "type": "string" }, "upload_url": { "type": "string", "format": "uri-template" }, + "updated_at": { + "type": ["string", "null"], + "format": "date-time" + }, "url": { "type": "string", "format": "uri" }, "zipball_url": { "type": ["string", "null"], "format": "uri" } } @@ -98417,10 +99089,12 @@ "name", "node_id", "prerelease", + "immutable", "published_at", "tag_name", "tarball_url", "target_commitish", + "updated_at", "upload_url", "url", "zipball_url" @@ -98556,6 +99230,10 @@ }, "html_url": { "type": "string", "format": "uri" }, "id": { "type": "integer" }, + "immutable": { + "description": "Whether or not the release is immutable.", + "type": "boolean" + }, "name": { "type": ["string", "null"] }, "node_id": { "type": "string" }, "prerelease": { @@ -98600,6 +99278,7 @@ "description": "Specifies the commitish value that determines where the Git tag is created from.", "type": "string" }, + "updated_at": { "type": ["string", "null"], "format": "date-time" }, "upload_url": { "type": "string", "format": "uri-template" }, "url": { "type": "string", "format": "uri" }, "zipball_url": { "type": ["string", "null"], "format": "uri" } @@ -98983,7 +99662,7 @@ "properties": { "actor_id": { "type": ["integer", "null"], - "description": "The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. If `actor_type` is `EnterpriseOwner`, `actor_id` is ignored. `OrganizationAdmin` and `EnterpriseOwner` are not applicable for personal repositories." + "description": "The ID of the actor that can bypass a ruleset. Required for `Integration`, `RepositoryRole`, and `Team` actor types. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. If `actor_type` is `EnterpriseOwner`, `actor_id` is ignored. `OrganizationAdmin` and `EnterpriseOwner` are not applicable for personal repositories." }, "actor_type": { "type": "string", @@ -99365,7 +100044,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Request Copilot code review for new pull requests automatically if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -99652,7 +100331,7 @@ "type": "integer", "description": "The maximum amount of characters allowed in file paths.", "minimum": 1, - "maximum": 256 + "maximum": 32767 } }, "required": ["max_file_path_length"] diff --git a/packages/openapi-webhooks/index.js b/packages/openapi-webhooks/index.js index 2cde05f..bd0bdf2 100644 --- a/packages/openapi-webhooks/index.js +++ b/packages/openapi-webhooks/index.js @@ -4,9 +4,6 @@ export const schemas = { ).default, ["ghec"]: (await import("./generated/ghec.json", { with: { type: "json" } })) .default, - ["ghes-3.13"]: ( - await import("./generated/ghes-3.13.json", { with: { type: "json" } }) - ).default, ["ghes-3.14"]: ( await import("./generated/ghes-3.14.json", { with: { type: "json" } }) ).default, diff --git a/packages/openapi-webhooks/types.d.ts b/packages/openapi-webhooks/types.d.ts index 3274562..535b3c8 100644 --- a/packages/openapi-webhooks/types.d.ts +++ b/packages/openapi-webhooks/types.d.ts @@ -1,7 +1,6 @@ export declare const schemas: { "api.github.com": Record; ghec: Record; - "ghes-3.13": Record; "ghes-3.14": Record; "ghes-3.15": Record; "ghes-3.16": Record;